X86-64: Use non-temporal store in memcpy on large data
[glibc.git] / ChangeLog
bloba32946ab38231d142e16d6111bfcdbf8aa1821be
1 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #19928]
4         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5         New.
6         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7         times of shared cache size.
8         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9         (VMOVNT): New.
10         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11         (VMOVNT): Likewise.
12         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13         (VMOVNT): Likewise.
14         (VMOVU): Changed to movups for smaller code sizes.
15         (VMOVA): Changed to movaps for smaller code sizes.
16         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17         comments.
18         (PREFETCH): New.
19         (PREFETCH_SIZE): Likewise.
20         (PREFETCHED_LOAD_SIZE): Likewise.
21         (PREFETCH_ONE_SET): Likewise.
22         Rewrite to use forward and backward loops, which move 4 vector
23         registers at a time, to support overlapping addresses and use
24         non temporal store if size is above the threshold and there is
25         no overlap between destination and source.
27 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
29         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
30         Include dl-vdso.
31         * sysdeps/unix/sysv/linux/mips/Versions: Add
32         __vdso_clock_gettime.
33         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
34         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
35         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
36         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
37         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
38         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
39         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
40         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
41         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
43 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
45         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
46         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
47         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
50         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
51         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
53         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
54         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
55         syscalls generation.
56         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57         [__NR_pwrite64] (__NR_write): Remove define.
58         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59         [__NR_pwrite64] (__NR_write): Remove define.
60         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
61         Remove define.
62         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
63         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
64         Remove define.
65         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
66         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
67         Linux implementation as base.
68         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
70         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
71         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
72         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
73         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
75         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
76         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
77         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
78         syscall generation.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
80         [__NR_pread64] (__NR_pread): Remove define.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82         [__NR_pread64] (__NR_pread): Likewise.
83         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
84         define.
85         (__libc_pread): Use SYSCALL_LL macro on offset argument.
86         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
87         Remove define.
88         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
89         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
90         Linux implementation as base.
91         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
92         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
93         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
95         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
96         definition.
97         (__ALIGNMENT_COUNT): Likewise.
98         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
99         (__ALIGNMENT_COUNT): Likewise.
100         (SYSCALL_LL): New define.
101         (SYSCALL_LL64): Likewise.
102         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
103         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
104         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
105         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
108         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
110         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
111         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
112         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
114 2016-04-11  Florian Weimer  <fweimer@redhat.com>
116         [BZ #19865]
117         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
118         original buffer before retry.
120 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
122         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
123         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
124         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
125         GLRO(dl_auxv) list.
126         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
127         including <ldsodefs.h>.
128         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
130 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
132         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
133         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
134         $(CPPFLAGS).
136 2016-04-09  Khem Raj  <raj.khem@gmail.com>
138         [BZ #17950]
139         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
140         Add -mfpmath=387.
142 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
144         * sysdeps/i386/configure.ac: Change == to = when calling test.
145         * sysdeps/x86_64/configure.ac: Likewise.
146         * sysdeps/i386/configure: Regenerated.
147         * sysdeps/x86_64/configure: Likewise.
149 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
151         [BZ #16137]
152         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
153         * benchtests/bench-strcoll.c (input_files): Likewise.
154         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
155         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
156         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
158 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
160         [BZ #19929]
161         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
162         [__USE_XOPEN2K8 && !__USE_GNU].
163         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
164         variable.
166         [BZ #19925]
167         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
168         define if [!__USE_MISC && __USE_XOPEN2K].
169         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
170         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
171         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
172         Likewise.
173         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
174         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
175         variable.
176         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
178 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
180         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
181         (sysdep_routines): Add new strspn targets.
182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
183         (__libc_ifunc_impl_list): Add strspn.
184         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
185         New file.
186         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
187         Likewise.
188         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
189         Likewise.
190         * sysdeps/powerpc/powerpc64/power8/strspn.S:
191         Likewise.
193 2016-04-07  Florian Weimer  <fweimer@redhat.com>
195         * misc/hsearch_r.c: Include <limits.h>.
197 2016-04-07  Florian Weimer  <fweimer@redhat.com>
199         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
201 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
203         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
204         (MEMCPY_SYMBOL): New.
205         (MEMPCPY_SYMBOL): Likewise.
206         (MEMMOVE_CHK_SYMBOL): Likewise.
207         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
208         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
209         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
210         Provide alias for memcpy in libc.a and ld.so.
212 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
214         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
215         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
216         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
217         Disabled fro now.
218         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
219         symbols.  Properly check USE_MULTIARCH on __memset symbols.
221 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
223         * benchtests/Makefile (string-benchset): Add memcpy-large,
224         memmove-large and memset-large.
225         * benchtests/bench-memcpy-large.c: New file.
226         * benchtests/bench-memmove-large.c: Likewise.
227         * benchtests/bench-memmove-large.c: Likewise.
228         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
230 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
232         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
233         32-bit displacement to avoid long nop between instructions.
235 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
237         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
238         a comment on VMOVU and VMOVA.
240 2016-04-04  Florian Weimer  <fweimer@redhat.com>
242         [BZ #19633]
243         Use specified locale for number formatting in strfmon_l.
244         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
245         (__nl_lookup_word): New inline functions.
246         * include/printf.h (__print_fp_l): Declare.
247         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
248         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
249         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
250         (___printf_fp): New function.
251         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
252         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
253         * stdlib/tst-strfmon_l.c (do_test): New test.
254         * stdlib/Makefile (tests): Add kt.
255         (LOCALES): Build additional locales.
256         (tst-strfmon_l.out): Require locales.
258 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
260         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
261         if not in libc.
262         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
263         Likewise.
264         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
265         Likewise.
266         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
267         Likewise.
269 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
271         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
272         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
273         with unaligned_erms.
274         (__memmove_erms): Skip if source == destination.
275         (__memmove_unaligned_erms): Don't check source == destination
276         first.
278 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
280         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
281         bit_arch_Fast_Copy_Backward for Intel Core proessors.
283 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
285         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
286         * string/strspn.c (strspn): Likewise.
288 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
290         * benchtests/bench-memset.c (do_test): Support 64-byte
291         alignment.
292         (test_main): Test 64-byte alignment.
294 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
296         * benchtests/bench-memmove.c (test_main): Test 64-byte
297         alignment.
299 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
301         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
303 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
305         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
306         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
307         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
309         * string/strpbrk.c (strpbrk): Rewrite function.
310         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
311         (__strpbrk_c2): Likewise.
312         (__strpbrk_c3): Likewise.
313         * string/string-inlines.c
314         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
315         Likewise.
316         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
317         Likewise.
319         * string/strspn.c (strcspn): Rewrite function.
320         * string/bits/string2.h (strspn): Use __builtin_strcspn.
321         (__strspn_c1): Remove inline function.
322         (__strspn_c2): Likewise.
323         (__strspn_c3): Likewise.
324         * string/string-inlines.c
325         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
326         compatibility symbol.
327         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
328         Likewise.
329         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
330         Likewise.
331         * string/string-inlines.c: Include generic version.
333 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
334             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
336         * string/Version (libc): Add GLIBC_2.24.
337         * string/strcspn.c (strcspn): Rewrite function.
338         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
339         (__strcspn_c1): Remove inline function.
340         (__strcspn_c2): Likewise.
341         (__strcspn_c3): Likewise.
342         * string/string-inline.c
343         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
344         compatibility symbol.
345         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
346         Likewise.
347         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
348         Likewise.
349         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
351 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
353         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
354         Use ahi instead of aghi to adjust stack pointer.
356 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
358         [BZ #19853]
359         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
360         TEST to take significant digits as second parameter.
361         [TEST]: Redefine in terms of TEST_N taking 30
362         significant digits.
363         (do_test): Add test case to demonstrate precision
364         failure in the ldbl-128ibm printf.
365         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
366         (__mpn_extract_long_double): Carry 7 extra intermediate
367         bits of precision to aide computing difference when
368         signs differ.
370 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
372         [BZ #19881]
373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
374         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
375         memset-avx512-unaligned-erms.
376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
377         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
378         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
379         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
380         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
381         __memset_sse2_unaligned_erms, __memset_erms,
382         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
383         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
384         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
385         file.
386         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
387         Likewise.
388         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
389         Likewise.
390         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
391         Likewise.
393 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
395         [BZ #19776]
396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
397         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
398         memmove-avx512-unaligned-erms.
399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
400         (__libc_ifunc_impl_list): Test
401         __memmove_chk_avx512_unaligned_2,
402         __memmove_chk_avx512_unaligned_erms,
403         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
404         __memmove_chk_sse2_unaligned_2,
405         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
406         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
407         __memmove_avx512_unaligned_erms, __memmove_erms,
408         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
409         __memcpy_chk_avx512_unaligned_2,
410         __memcpy_chk_avx512_unaligned_erms,
411         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
412         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
413         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
414         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
415         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
416         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
417         __mempcpy_chk_avx512_unaligned_erms,
418         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
419         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
420         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
421         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
422         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
423         __mempcpy_erms.
424         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
425         file.
426         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
427         Likwise.
428         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
429         Likwise.
430         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
431         Likwise.
433 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
435         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
436         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
437         (La_s390_64_regs): Likewise.
438         (La_s390_32_retval): Append vector register lrv_v24.
439         (La_s390_64_retval): Likeweise.
440         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
441         Handle extended structs La_s390_32_regs and La_s390_32_retval.
442         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
443         Handle extended structs La_s390_64_regs and La_s390_64_retval.
445 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
447         [BZ #19916]
448         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
449         to create a non-vector/vector version for _dl_runtime_resolve and
450         _dl_runtime_profile. Move implementation to ...
451         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
452         (_dl_runtime_resolve) Save and restore fpr/vrs.
453         (_dl_runtime_profile) Save and restore vrs and fix some issues
454         if _dl_call_pltexit is called.
455         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
456         Choose the correct resolver function if running on a machine with vx.
457         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
458         to create a non-vector/vector version for _dl_runtime_resolve and
459         _dl_runtime_profile. Move implementation to ...
460         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
461         (_dl_runtime_resolve) Save and restore fpr/vrs.
462         (_dl_runtime_profile) Save and restore vrs and fix some issues
463         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
464         Choose the correct resolver function if running on a machine with vx.
466 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
468         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
470 2016-03-31  Florian Weimer  <fweimer@redhat.com>
472         [BZ #19509]
473         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
474         skip_map != NULL.
475         * elf/tst-dlsym-error.c: New file.
476         * elf/Makefile (tests): Add tst-dlsym-error.
477         (tst-dlsym-error): Link against libdl.
479 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
482         (__ASSUME_FUTIMESAT): Remove macro.
483         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
485 2016-03-29  Florian Weimer  <fweimer@redhat.com>
487         [BZ #19879]
488         CVE-2016-3075
489         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
490         copy name.
492 2016-03-29  Florian Weimer  <fweimer@redhat.com>
494         [BZ #19837]
495         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
496         error if parse_line fails.
498 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
500         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
501         (index_cpu_ERMS): Likewise.
502         (reg_ERMS): Likewise.
504 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
506         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
507         PER_LINUX_FDPIC): Add.
509 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
512         memcpy-avx512-no-vzeroupper.
513         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
514         to ...
515         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
516         (MEMCPY): Don't define.
517         (MEMCPY_CHK): Likewise.
518         (MEMPCPY): Likewise.
519         (MEMPCPY_CHK): Likewise.
520         (MEMPCPY_CHK): Renamed to ...
521         (__mempcpy_chk_avx512_no_vzeroupper): This.
522         (MEMPCPY_CHK): Renamed to ...
523         (__mempcpy_chk_avx512_no_vzeroupper): This.
524         (MEMCPY_CHK): Renamed to ...
525         (__memmove_chk_avx512_no_vzeroupper): This.
526         (MEMCPY): Renamed to ...
527         (__memmove_avx512_no_vzeroupper): This.
528         (__memcpy_avx512_no_vzeroupper): New alias.
529         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
531 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
533         [BZ #18858]
534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
535         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
536         and mempcpy-avx512-no-vzeroupper.
537         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
538         New.
539         (MEMPCPY): Likewise.
540         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
541         (MEMPCPY_CHK): New.
542         (MEMPCPY): Likewise.
543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
544         (MEMPCPY): Likewise.
545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
546         (MEMPCPY): Likewise.
547         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
548         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
549         Likewise.
550         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
551         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
553 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
554              Amit Pawar  <Amit.Pawar@amd.com>
556         [BZ #19583]
557         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
558         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
559         processors.  Set Fast_Copy_Backward for AMD Excavator
560         processors.
561         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
562         New.
563         (index_arch_Fast_Unaligned_Copy): Likewise.
564         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
565         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
567 2016-03-25  Florian Weimer  <fweimer@redhat.com>
569         [BZ #19791]
570         * resolv/res_send.c (close_and_return_error): New function.
571         (send_dg): Initialize *resplen2 after reopen failure.  Call
572         close_and_return_error for error returns.  On error paths without
573         __res_iclose, initialze *resplen2 explicitly.  Update comment for
574         successful return.
576 2016-03-25  Florian Weimer  <fweimer@redhat.com>
578         [BZ# 19860]
579         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
580         zero if the compiler does not provide the AVX512F bit.
582 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
584         [BZ #19848]
585         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
586         from 8 to 4.
587         (__ieee754_powl): Compare integer exponent against 4 not 8.
588         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
589         from 8 to 4.
590         (__ieee754_powl): Compare integer exponent against 4 not 8.
591         * math/auto-libm-test-in: Add more tests of pow.
592         * math/auto-libm-test-out: Regenerated.
593         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
598         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
599         Make code unconditional.
600         [!__NR_utimensat]: Remove conditional code.
601         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
602         Make code unconditional.
603         [!__NR_utimensat]: Remove conditional code.
604         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
605         Make code unconditional.
606         [!__NR_utimensat]: Remove conditional code.
608 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
610         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
611         Make code unconditional.
613 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
615         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
616         call-clobbered %eax on retry path.
617         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
619 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
621         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
622         Don't set %rcx twice before "rep movsb".
624 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
626         [BZ #19583]
627         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
628         inline.  Check family before setting family, model and
629         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
630         bits here.
631         (init_cpu_features): Replace HAS_CPU_FEATURE and
632         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
633         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
634         for Intel processors with usable AVX2.  Call get_common_indeces
635         for other processors with family == NULL.
636         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
637         (CPU_FEATURES_ARCH_P): Likewise.
638         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
639         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
641 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
643         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
644         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
645         $(shared-thread-library) instead of hardcoding the path to libpthread.
647 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
649         * sysdeps/unix/sysv/linux/kernel-features.h
650         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
651         * sysdeps/unix/sysv/linux/getdents.c
652         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
653         [!have_no_getdents64_defined]: Likewise.
654         (__GETDENTS): Remove __have_no_getdents64 conditional.
656 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
659         Remove macro.
660         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
661         <kernel-features.h>.
662         (signalfd) [__NR_signalfd4]: Make code unconditional.
663         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
665 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
667         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
668         style.
670 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
672         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
673         (__pthread_enable_asynccancel): Use JUMPTARGET to call
674         __pthread_unwind.
675         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
676         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
677         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
678         (__condvar_cleanup1): Likewise.
680 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
682         [BZ #19822]
683         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
684         move it to the final $@ location.
686 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
688         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
689         access where posix_spawn success and pid argument is null.
690         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
691         success case.
693 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
695         * sysdeps/mach/hurd/i386/c++-types.data: New file.
697         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
699         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
700         and __fcntl.
701         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
702         __fcntl only.
703         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
704         adding attribute_hidden to __open and __fcntl.
706         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
707         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
708         depend on libc-modules.h,
709         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
711 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
714         Remove macro.
715         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
716         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
717         entry.
719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
720         Remove macro.
721         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
722         include <kernel-features.h>.
723         [!__ASSUME_FALLOCATE]: Remove conditional code.
724         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
726 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
729         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
730         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
731         (_ZGVdN4v_cos_avx2): Likewise.
732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
733         (_ZGVdN4v_cos): Likewise.
734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
735         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
736         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
737         (_ZGVdN4v_exp_avx2): Likewise.
738         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
739         (_ZGVdN4v_exp): Likewise.
740         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
741         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
742         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
743         (_ZGVdN4v_log_avx2): Likewise.
744         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
745         (_ZGVdN4v_log): Likewise.
746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
747         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
748         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
749         (_ZGVdN4vv_pow_avx2): Likewise.
750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
751         (_ZGVdN4vv_pow): Likewise.
752         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
753         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
754         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
755         (_ZGVdN4v_sin_avx2): Likewise.
756         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
757         (_ZGVdN4v_sin): Likewise.
758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
759         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
761         (_ZGVdN4vvv_sincos_avx2): Likewise.
762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
763         (_ZGVdN4vvv_sincos): Likewise.
764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
765         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
767         (_ZGVbN4v_cosf_sse4): Likewise.
768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
769         (_ZGVdN8v_cosf_avx2): Likewise.
770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
771         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
773         (_ZGVbN4v_expf_sse4): Likewise.
774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
775         (_ZGVdN8v_expf_avx2): Likewise.
776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
777         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
779         (_ZGVbN4v_logf_sse4): Likewise.
780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
781         (_ZGVdN8v_logf_avx2): Likewise.
782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
783         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
784         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
785         (_ZGVbN4vv_powf_sse4): Likewise.
786         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
787         (_ZGVdN8vv_powf_avx2): Likewise.
788         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
789         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
791         (_ZGVbN4vvv_sincosf_sse4): Likewise.
792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
793         (_ZGVdN8vvv_sincosf_avx2): Likewise.
794         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
795         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
796         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
797         (_ZGVbN4v_sinf_sse4): Likewise.
798         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
799         (_ZGVdN8v_sinf_avx2): Likewise.
800         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
801         Use JUMPTARGET to call callee.
802         (WRAPPER_IMPL_SSE2_ff): Likewise.
803         (WRAPPER_IMPL_SSE2_fFF): Likewise.
804         (WRAPPER_IMPL_AVX): Likewise.
805         (WRAPPER_IMPL_AVX_ff): Likewise.
806         (WRAPPER_IMPL_AVX_fFF): Likewise.
807         (WRAPPER_IMPL_AVX512): Likewise.
808         (WRAPPER_IMPL_AVX512_ff): Likewise.
809         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
810         Likewise.
811         (WRAPPER_IMPL_SSE2_ff): Likewise.
812         (WRAPPER_IMPL_SSE2_fFF): Likewise.
813         (WRAPPER_IMPL_AVX): Likewise.
814         (WRAPPER_IMPL_AVX_ff): Likewise.
815         (WRAPPER_IMPL_AVX_fFF): Likewise.
816         (WRAPPER_IMPL_AVX512): Likewise.
817         (WRAPPER_IMPL_AVX512_ff): Likewise.
818         (WRAPPER_IMPL_AVX512_fFF): Likewise.
820 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
822         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
823         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
824         qualifier.
825         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
826         internal_function qualifiers.
828 2016-03-15  Carlos O'Donell <carlos@redhat.com>
830         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
831         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
832         * math/atest-exp.c (exp_mpn): Mark chk unused.
833         * math/atest-exp2.c (exp_mpn): Likwise.
834         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
835         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
837 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
839         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
840         Remove macro.
841         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
842         <kernel-features.h>.
843         [__NR_ppoll]: Make code unconditional.
844         [!__ASSUME_PPOLL]: Remove conditional code.
846         * sysdeps/unix/sysv/linux/kernel-features.h
847         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
848         (__ASSUME_ACCEPT4): Likewise.
849         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
850         Define.
851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
852         Likewise.
853         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
854         Likewise.
855         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
856         Likewise.
857         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
858         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
859         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
860         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
861         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
863         * sysdeps/unix/sysv/linux/arm/kernel-features.h
864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
865         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
867         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
868         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
869         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
870         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
871         * sysdeps/unix/sysv/linux/i386/kernel-features.h
872         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
873         Likewise.
874         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
875         Likewise.
876         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
877         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
878         0x040300].
879         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
880         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
882         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
883         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
884         0x030300].
885         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
886         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
887         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
888         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
889         0x040300].
890         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
891         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
892         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
893         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
894         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
895         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
896         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
897         0x030300].
898         * sysdeps/unix/sysv/linux/mips/kernel-features.h
899         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
903         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
904         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
905         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
906         * sysdeps/unix/sysv/linux/s390/kernel-features.h
907         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
908         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
909         0x040300].
910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
912         * sysdeps/unix/sysv/linux/sh/kernel-features.h
913         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
916         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
917         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
918         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
921         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
924         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
925         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
926         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
927         Likewise.
928         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
929         Likewise.
931 2016-03-15  Andreas Schwab  <schwab@suse.de>
933         [BZ #19257]
934         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
935         statp->_u._ext.nscount as loop count.
937 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
939         * math/test-signgam-finite-c99.c: Also #undef
940         __LIBC_INTERNAL_MATH_INLINES.
941         * math/test-signgam-main.c: Likewise.
943 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
945         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
946         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
947         (MADV_FREE): Likewise.
948         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
949         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
950         EPOLLEXCLUSIVE.
952 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
954         * timezone/README: Remove mention of checktab.awk. Mention wiki
955         SharedSourceFiles.
957 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
959         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
960         WUNTRACED.
962 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
964         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
965         order to match the type of p when calling atomic_exchange_acq().
967 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
969         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
970         cfi_offset calls.
971         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
972         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
973         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
974         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
975         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
977 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
979         * timezone/checktab.awk: Removed.
981 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
983         * manual/math.texi (Errors in Math Functions): Document relaxed
984         accuracy goals for IBM long double.
985         * math/libm-test.inc (test_exceptions): Always allow spurious
986         "underflow" and "inexact" exceptions for IBM long double.
988 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
990         [BZ #19762]
991         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
992         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
993         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
994         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
995         (bit_arch_*): This for feature array.
996         (bit_*): Renamed to ...
997         (bit_cpu_*): This for cpu array.
998         (index_*): Renamed to ...
999         (index_arch_*): This for feature array.
1000         (index_*): Renamed to ...
1001         (index_cpu_*): This for cpu array.
1002         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1003         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1004         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1005         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1006         bit_##name with index_cpu_##name and bit_cpu_##name.
1007         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1008         bit_##name with index_arch_##name and bit_arch_##name.
1010 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1012         [BZ #19792]
1013         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1014         Terminate FDE before return label.
1016 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1018         [BZ #19790]
1019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1020         (rintl): Define as macro.
1021         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1022         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1023         of fesetround.  Ensure results are evaluated before end of scope.
1024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1025         USE_AS_NEARBYINTL and include s_rintl.c.
1026         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1027         Disable exception traps in new environment.
1028         (libc_feholdsetround_ppc_ctx): Likewise.
1030 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1032         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1033         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1034         (tst_audit10_aux) [__AVX512F__]: ... here.
1036 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1038         * include/sys/auxv.h: New file.
1040 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1042         [BZ #19759]
1043         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1045 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1047         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1048         operand modifier.
1049         (feclearexcept): Likewise.
1051 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1054         to reflect the entire 32-bit HWCAP.
1055         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1056         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1058 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1060         [BZ #19783]
1061         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1062         $(test-via-rtld-prefix).
1063         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1065 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1067         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1068         union wait.  Report any non-zero exit status as error.
1070 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1072         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1073         configured with --enable-hardcoded-path-in-tests.
1075 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1077         [BZ #19677]
1078         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1079         (__ieee754_remainderl): Put zero low parts in canonical form.
1080         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1081         file.  Based on
1082         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1083         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1084         with wrapper round test-fmodrem-ldbl-128ibm.c.
1085         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1086         file.
1087         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1088         Likewise.
1089         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1090         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1092 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1094         [BZ #19610]
1095         * elf/ldconfig.c (opt_link): Update comment.
1096         (options): Update help string for option -X.
1097         (search_dir): Unlink stale symbolic link only if updating symbolic
1098         links.
1099         * elf/tst-ldconfig-X.sh: New file.
1100         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1101         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1103 2016-03-07  Andreas Schwab  <schwab@suse.de>
1105         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1106         needed arguments.
1108 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1110         [BZ #15333]
1111         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1112         to lstat64.
1114 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1116         * libio/filedoalloc.c (isatty): Remove.
1117         (local_isatty): Add comment.  Call __isatty directly.
1118         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1119         * libio/wfiledoalloc.c (isatty): Remove.
1120         (_IO_wfile_doallocate): Update comment.
1122 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1124         [BZ #19269]
1125         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1126         tst-audit4-aux.o.
1127         (tst-audit10): Depend on tst-audit10-aux.o.
1128         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1129         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1130         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1131         instead of inline AVX code.
1132         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1133         instead of inline AVX512 code.
1134         * sysdeps/x86_64/tst-audit4-aux.c: New file
1135         * sysdeps/x86_64/tst-audit10-aux.c: New file
1137         [BZ #19648]
1138         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1140 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1142         [BZ #14750]
1143         [BZ #10354]
1144         [BZ #18433]
1145         * include/sched.h (__clone): Add hidden prototype.
1146         (__clone2): Likewise.
1147         * include/unistd.h (__dup): Likewise.
1148         * posix/Makefile (tests): Add tst-spawn2.
1149         * posix/tst-spawn2.c: New file.
1150         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1151         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1152         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1153         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1154         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1155         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1156         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1157         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1158         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1159         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1160         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1162         Likewise.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1164         Likewise.
1165         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1166         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1167         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1168         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1169         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1170         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1171         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1172         * sysdeps/unix/sysv/linux/nptl-signals.h
1173         (____nptl_is_internal_signal): New function.
1174         * sysdeps/unix/sysv/linux/spawni.c: New file.
1176         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1177         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1178         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1179         * posix/tst-execvp2.c (do_test): Likewise.
1180         * posix/tst-execvp3.c (do_test): Likewise.
1181         * posix/tst-execvp4.c (do_test): Likewise.
1182         * posix/tst-execvpe1.c: New file.
1183         * posix/tst-execvpe2.c: Likewise.
1184         * posix/tst-execvpe3.c: Likewise.
1185         * posix/tst-execvpe4.c: Likewise.
1186         * posix/tst-execvpe5.c: Likewise.
1187         * posix/tst-execvpe6.c: Likewise.
1189         [BZ #19534]
1190         * posix/execl.c (execl): Remove dynamic memory allocation.
1191         * posix/execle.c (execle): Likewise.
1192         * posix/execlp.c (execlp): Likewise.
1194 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1196         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1197         Replace .text with .text.avx512.
1198         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1199         Likewise.
1201 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1203         * sysdeps/generic/libnsl.abilist: New file.
1204         * sysdeps/generic/libutil.abilist: New file.
1206 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1208         [BZ #19762]
1209         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1210         HAS_ARCH_FEATURE with Fast_Rep_String.
1211         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1212         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1213         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1214         Likewise.
1215         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1216         Likewise.
1217         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1218         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1219         Likewise.
1220         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1221         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1222         Likewise.
1224 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1226         [BZ #19745]
1227         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1228         with *%rax in call.
1230 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1232         [BZ #19745]
1233         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1234         with *__libc_start_main@GOTPCREL(%rip) in call.
1236 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1238         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1239         inside conditional for nonempty $(CXX).
1241         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1242         nonempty.
1244         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1245         to test for empty $(CXX) rather than $(CXX) of "no".
1247 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1249         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1251 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1252             H.J. Lu  <hongjiu.lu@intel.com>
1254         [BZ #18880]
1255         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1256         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1257         enable __memcpy_ssse3_back.
1259 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1261         [BZ #19758]
1262         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1263         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1265 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1267         [BZ #19490]
1268         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1269         (__fentry__): Likewise.
1271 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1273         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1274         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1276 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1278         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1279         __mcount_internal directly.
1280         (C_LABEL(__fentry__)): Likewise.
1281         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1282         directly.
1284 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1286         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1287         (__start_context): Call __setcontext directly.
1289 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1291         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1292         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1293         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1294         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1296         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1297         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1298         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1299         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1300         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1301         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1302         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1304         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1305         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1306         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1307         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1309         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1310         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1311         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1313         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1314         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1315         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1316         Remove conditional code.
1317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1318         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1319         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1320         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1321         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1322         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1323         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1324         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1325         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1326         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1327         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1328         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1330 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1332         * NEWS (2.23): Fix typo in bug 19048 text.
1334 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1336         [BZ #14259]
1337         * Makeconfig: Rename msgcatdir to localedir.
1338         Rename inst_msgcatdir to inst_localedir.
1339         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1340         * config.make.in: Add localedir.
1341         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1342         (ldd-rewrite): Likewise.
1343         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1344         (install-others): Use inst_localedir.
1345         (CPPFLAGS): Use localedir.
1346         * locale/Makefile (locale-CPPFLAGS): Likewise.
1347         * po/Makefile (mo-installed): Use inst_localedir.
1349         [BZ #19575]
1350         * localedata/charmaps/GB18030: Update comments regarding PAU to
1351         non-PUA mappings.
1353 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1355         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1356         test for header.
1357         * sysdeps/unix/sysv/linux/configure: Regenerated.
1358         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1359         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1360         Remove conditional code.
1361         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1363         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1364         Define to 3.2.0.
1365         (arch_minimum_kernel): Likewise.
1366         * sysdeps/unix/sysv/linux/configure: Regenerated.
1367         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1368         Define to 2.6.32.
1369         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1370         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1371         (arch_minimum_kernel): Define to 2.6.32.
1372         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1373         * README: Document Linux 3.2 requirement.
1374         * manual/install.texi (Linux): Document Linux 3.2 headers
1375         requirement.
1376         * INSTALL: Regenerated.
1378 2016-02-24  Andreas Schwab  <schwab@suse.de>
1380         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1381         if !NO_LONG_DOUBLE.
1383 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1385         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1386         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1388 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1390         [BZ #19512]
1391         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1393 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1395         * posix/tst-dir.c: Include libc-internal.h.
1397 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1399         [BZ #19056]
1400         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1401         * manual/filesys.texi (Reading/Closing Directory): Mention
1402         deprecaion.
1403         * posix/tst-dir.c (main): Disable deprecation warning in test.
1405 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #19679]
1408         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1409         Renamed to ...
1410         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1411         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1412         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1413         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1414         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1415         * sysdeps/x86_64/dl-trampoline.h
1416         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1417         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1419 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1421         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1423 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1425         * elf/elf.h (R_386_GOT32X): New.
1426         (R_386_NUM): Update.
1427         (R_X86_64_GOTPCRELX: New.
1428         (R_X86_64_REX_GOTPCRELX): New.
1429         (R_X86_64_NUM): Update.
1431 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1433         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1435 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1437         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1438         assign attr->stackaddr to it, and adjust it down when
1439         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1440         [_STACK_GROWS_UP]: Delete assert.
1441         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1442         Implement stack grows up logic.
1443         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1444         stack grows up logic.
1446 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1448         * NEWS: Update with 2.24 template.
1450 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #19678]
1453         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1454         Ensure +0.0 is returned when taking the next value below the least
1455         positive value.
1457 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1459         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1460         available.  Do not define NO_THREADS.
1461         * malloc/malloc.c: Do not check NO_THREADS.
1462         * malloc/arena.c: Likewise.
1464 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1466         * malloc/malloc.c (__libc_mallinfo): Update comment.
1467         (struct malloc_par): Remove max_total_mem member, it was always 0.
1468         (int_mallinfo): Store 0 into usmblks (no functional change).
1469         * malloc/hooks.c (struct malloc_state): Document that
1470         max_total_mem is always 0.
1471         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1472         always 0.
1473         * manual/memory.texi (Statistics of Malloc): Likewise.
1475 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1477         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1478         * malloc/arena.c (arena_max): Remove.
1479         (heap_trim, _int_new_arena): Do not update arena_max.
1481 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1483         * resolv/res_init.c (res_ninit): Update comment.
1485 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1487         [BZ #19505]
1488         * posix/spawn_int.h: Add headers and include guard.
1489         (__spawn_valid_fd): New function.
1490         * posix/spawn_faction_addopen.c
1491         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1492         * posix/spawn_faction_addclose.c
1493         (posix_spawn_file_actions_addclose): Likewise.
1494         * posix/spawn_faction_adddup2.c
1495         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1496         second file descriptor.
1497         * posix/spawn_valid_fd.c: New file.
1498         * posix/tst-posix_spawn-fd.c: New file.
1499         * posix/Makefile (routines): Add spawn_valid_fd.
1500         (tests): Add tst-posix_spawn-fd.
1502 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1504         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1505         (do_test): Limit the number of arenas, so that we can use fewer
1506         outer threads.  Limit timeout to 3 seconds, in preparation for a
1507         larger TIMEOUT value.
1509 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #19674]
1512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1513         sign in overflowing and underflowing results when overflow or
1514         underflow is detected early.  Include sign in result before rather
1515         than after scaling.
1517         [BZ #19603]
1518         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1519         (__ieee754_remainderl): Adjust sign of integer version of low part
1520         when taking absolute value of high part.
1521         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1522         * math/libm-test.inc (remainder_test_data): Add another test.
1523         (remquo_test_data): Likewise.
1525 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1527         [BZ #19602]
1528         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1529         equal high parts and both low parts zero specially.
1530         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1531         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1532         Add test-fmodl-ldbl-128ibm.
1534         [BZ #19595]
1535         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1536         common logic for all cases of shifting subnormal results.  Do not
1537         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1538         exponent to ldbl_insert_mantissa in subnormal case.
1540         [BZ #19594]
1541         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1542         on high and low parts then adjust result and use
1543         ldbl_canonicalize_int if needed.
1545         [BZ #19593]
1546         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1547         on high part and __floor or __ceil on low part then use
1548         ldbl_canonicalize_int if needed.
1550         [BZ #19592]
1551         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1552         high and low parts then use ldbl_canonicalize_int if needed.
1554         [BZ #17899]
1555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1556         New function.
1557         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1558         on high and low parts then use ldbl_canonicalize_int if needed.
1560 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1562         * configure: Regenerated.
1564         * po/libc.pot: Regenerated.
1566         * po/be.po: Updated translation.
1567         * po/bg.po: Likewise.
1568         * po/ca.po: Likewise.
1569         * po/cs.po: Likewise.
1570         * po/da.po: Likewise.
1571         * po/el.po: Likewise.
1572         * po/eo.po: Likewise.
1573         * po/es.po: Likewise.
1574         * po/fi.po: Likewise.
1575         * po/fr.po: Likewise.
1576         * po/gl.po: Likewise.
1577         * po/hr.po: Likewise.
1578         * po/hu.po: Likewise.
1579         * po/ia.po: Likewise.
1580         * po/id.po: Likewise.
1581         * po/it.po: Likewise.
1582         * po/ja.po: Likewise.
1583         * po/lt.po: Likewise.
1584         * po/nb.po: Likewise.
1585         * po/nl.po: Likewise.
1586         * po/pt_BR.po: Likewise.
1587         * po/rw.po: Likewise.
1588         * po/sk.po: Likewise.
1589         * po/sl.po: Likewise.
1590         * po/sv.po: Likewise.
1591         * po/tr.po: Likewise.
1592         * po/zh_CN.po: Likewise.
1593         * po/zh_TW.po: Likewise.
1595         * version.h (RELEAES): Set to "development".
1596         (VERSION): Set to 2.23.90.
1598         * version.h (RELEASE): Set to "stable".
1599         (VERSION): Set to 2.23.
1600         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1602         * NEWS: Updated fixed bugs.
1604 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1605             Wilco Dijkstra  <wdijkstr@arm.com>
1607         [BZ #19462]
1608         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1609         (_STRING_INLINE_unaligned): This.
1610         * include/string.h: Include <string_private.h>.
1611         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1612         _STRING_INLINE_unaligned.
1613         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1614         (_STRING_INLINE_unaligned): New.
1615         * sysdeps/aarch64/string_private.h: New file.
1616         * sysdeps/generic/string_private.h: Likewise.
1617         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1618         * sysdeps/s390/string_private.h: Likewise.
1619         * sysdeps/x86/string_private.h: Likewise.
1620         * sysdeps/m68k/m680x0/m68020/bits/string.h
1621         (_STRING_ARCH_unaligned): Renamed to ...
1622         (_STRING_INLINE_unaligned): This.
1623         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1624         to ...
1625         (_STRING_INLINE_unaligned): This.
1626         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1627         to ...
1628         (_STRING_INLINE_unaligned): This.
1629         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1630         to ...
1631         (_STRING_INLINE_unaligned): This.
1633 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1634             H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #19590]
1637         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1638         relocation.
1640 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1642         [BZ #18665]
1643         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1644         *herrno_p.
1645         (gaih_getanswer): Document functional behviour. Return tryagain
1646         if any result is tryagain.
1647         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1648         when freed.
1649         * resolv/res_send.c: Add copyright text.
1650         (__libc_res_nsend): Document that MAXPACKET is expected.
1651         (send_vc): Document. Remove buffer reuse.
1652         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1653         size of the buffer. Add Dprint for truncated UDP buffer.
1655 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1657         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1658         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1659         * INSTALL: Regenerate.
1661 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1662             Jonathan Wakely  <jwakely@redhat.com>
1663             Carlos O'Donell  <carlos@redhat.com>
1665         [BZ 19439]
1666         * math/Makefile (tests): Add test-math-isinff.
1667         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1668         * math/bits/mathcalls.h [__USE_MISC]: Use
1669         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1670         functions not in C++11 and which don't conflict e.g. isinff,
1671         isinfl etc.
1672         * math/test-math-isinff.cc: New file.
1674 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1676         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1678 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1680         [BZ #19529]
1681         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1683 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1685         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1687 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1689         [BZ #19550]
1690         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1691         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1692         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1693         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1694         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1695         New syscall entry.
1696         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1697         New syscall entry.
1698         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1699         syscall entry.
1701 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1703         [BZ #18240]
1704         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1705         unsigned int wraparound.
1707 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1709         [BZ #18240]
1710         * misc/bug18240.c: New test.
1711         * misc/Makefile (tests): Add it.
1713 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1714             Joseph Myers  <joseph@codesourcery.com>
1716         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1717         load in branch delay slot when less than a word of input left.
1719 2016-01-27  Andreas Schwab  <schwab@suse.de>
1721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1722         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1723         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1724         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1726 2016-01-26  David S. Miller  <davem@davemloft.net>
1728         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1730 2016-01-25  David S. Miller  <davem@davemloft.net>
1732         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1733         __sqrtl_finite.
1734         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1735         instead using versioned_symbol.
1736         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1737         of entries.
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1740         __sqrtl_finite to GLIBC_2.23
1742 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1744         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1746 2016-01-25  Andreas Schwab  <schwab@suse.de>
1748         [BZ #17514]
1749         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1750         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1751         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1752         * nptl/tst-mutex-errorcheck.c: New file.
1754 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1756         [BZ #18560]
1757         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1758         (IPCOP_semop): Likewise.
1759         (IPCOP_semget): Likewise.
1760         (IPCOP_semctl): Likewise.
1761         (IPCOP_msgsnd): Likewise.
1762         (IPCOP_msgrcv): Likewise.
1763         (IPCOP_msgget): Likewise.
1764         (IPCOP_msgctl): Likewise.
1765         (IPCOP_shmat): Likewise.
1766         (IPCOP_shmdt): Likewise.
1767         (IPCOP_shmget): Likewise.
1768         (IPCOP_shmctl): Likewise.
1770 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1772         * string/tst-endian.c: Include <libc-internal.h>.
1773         (do_test): Ignore tautological-compare warnings around
1774         "htobeXX (beXXtoh (i)) != i" and
1775         "htoleXX (leXXtoh (i)) != i" if-statements.
1777 2016-01-24  David S. Miller  <davem@davemloft.net>
1779         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1780         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1781         alias.
1782         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1783         __sqrtl_finite.
1785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1787 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1789         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1790         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1791         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1793 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1795         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1796         (thread_func): Use new function to simplify barrier check.
1797         (do_test): Use new function to simplify checking barrier exit
1798         code, and actually join the child thread.
1800 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1802         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1803         semicolon.
1804         (__libc_tend): Likewise.
1805         (__libc_tabort): Likewise.
1807 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1809         * sysdeps/nios2/libm-test-ulps: Update.
1810         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1811         (__gtsf2): Likewise.
1812         (__unorddf2): Likewise.
1813         (__unordsf2): Likewise.
1814         (__ledf2): Likewise.
1816 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1818         * nis/nis_table.c (__follow_path): Disable diagnostic for
1819         uninitialized variable that is a false positive for gcc 4.7.
1820         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1822 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1824         * sysdeps/nacl/lowlevellock-futex.h
1825         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1826         Always evaluate PRIVATE argument.
1828 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1830         [BZ #19490]
1831         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1832         (pthread_cond_broadcast): Use ENTRY/END
1833         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1834         (pthread_cond_signal): Likewise.
1835         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1836         Likewise.
1837         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1838         Likewise.
1839         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1840         Likewise.
1842 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1844         * sysdeps/ieee754/dbl-64/s_finite.c
1845         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1846         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1847         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1848         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1849         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1852         (__gtsf2): Add as optional for libc.so.
1853         (__unordsf2): Likewise.
1854         (__signbit): Remove for libc.so.
1855         (__signbitl): Likewise.
1857 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1859         * iconvdata/bug-iconv11.c (test_ibm93x):
1860         Use %zu printf format specifier for size_t argument.
1862 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1864         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1865         already-recorded ulps.
1866         * sysdeps/arm/libm-test-ulps: Regenerated.
1867         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1868         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1869         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1871 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1872             Paul Pluzhnikov  <ppluzhnikov@google.com>
1874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1875         assembler not supporting AVX-512.
1877 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1879         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1881 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1883         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1884         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1886         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1888         * sysdeps/arm/libm-test-ulps: Regenerated.
1890 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1892         [BZ #19451]
1893         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1895 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1897         [BZ #19486]
1898         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1899         * sysdeps/generic/fix-fp-int-convert-overflow.h
1900         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1901         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1902         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1903         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1904         Likewise.
1905         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1906         Avoid conversions to long int where inexact exceptions
1907         could be raised.
1908         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1909         Likewise.
1910         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1911         Avoid conversions to long long int where inexact exceptions
1912         could be raised.
1913         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1914         Likewise.
1916 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1918         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1919         * configure: Regenerated.
1921 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1923         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1925 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1928         outside of comment.
1930 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1932         * nptl/tst-barrier1.c: Add description on first line.
1933         * nptl/tst-barrier2.c: Likewise.
1934         * nptl/tst-barrier3.c: Likewise.
1935         * nptl/tst-barrier4.c: Likewise.
1936         * nptl/tst-barrier5.c: Likewise.
1938 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1940         [BZ #18868]
1941         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1943 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1947         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1948         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1949         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1950         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1951         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1952         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1953         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1957 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1959         [BZ #13065]
1960         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1961         new implementation.
1962         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1963         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1964         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1965         (BARRIER_IN_THRESHOLD): New macro.
1966         * nptl/pthread_barrierattr_setpshared.c
1967         (pthread_barrierattr_setpshared): Clean up.
1968         * nptl/tst-barrier4.c: Correct comment.
1969         * nptl/tst-barrier5.c: New file.
1970         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1971         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1972         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1973         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1974         * nptl/lowlevelbarrier.sym: Remove.
1975         * nptl/DESIGN-barrier.txt: Remove.
1976         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1977         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1978         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1979         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1980         error.
1981         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1982         implementation.
1984 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1986         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1987         (do_child): Mask SIGRTMIN while thr is running.
1989 2016-01-15  Martin Sebor  <msebor@redhat.com>
1991         [BZ #19432]
1992         * iconvdata/Makefile: Add bug-iconv11.
1993         * iconvdata/bug-iconv11.c: New test.
1994         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1995         * iconvdata/ibm933.c: Same.
1996         * iconvdata/ibm935.c: Same.
1997         * iconvdata/ibm937.c: Same.
1998         * iconvdata/ibm939.c: Same.
2000 2016-01-15  Martin Sebor  <msebor@redhat.com>
2002         [BZ #19443]
2003         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2004         [DEBUG] (_ufc_set_bits): Declare used.
2005         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2006         [DEBUG] (print_all): Declare used.
2007         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2008         operands of the ternary ?: expression to target type.
2009         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2010         calling the undeclared abort.
2011         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2013 2016-01-15  Martin Sebor  <msebor@redhat.com>
2015         [BZ #18755]
2016         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2017         warnings.
2018         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2019         (__gai_create_helper_thread): Same.
2020         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2021         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2022         to suppress -Wmaybe-uninitialized warnings.
2024 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2026         [BZ #19465]
2027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2028         inside if.
2029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2030         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2033 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2035         [BZ #19466]
2036         * time/tst-mktime2.c (time_t_max): Removed.
2037         (time_t_min): Likewise.
2038         (TYPE_SIGNED): New.
2039         (TYPE_MINIMUM): Likewise.
2040         (TYPE_MAXIMUM): Likewise.
2041         (TIME_T_MIN): Likewise.
2042         (TIME_T_MAX): Likewise.
2043         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2044         and TIME_T_MIN.
2045         (do_test): Likewise.
2047 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2049         [BZ #19467]
2050         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2051         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2053 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2055         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2057 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2059         * benchtests/Makefile (PYTHON): Define.
2060         (bench-func): Use $(PYTHON) to run python scripts.
2061         ($(objpfx)bench-%.c): Likewise.
2063 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2065         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2066         leading slash when `file_name' is "/".
2068 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2070         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2071         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2076         Likewise.
2077         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2078         enum constant and macro.
2079         (PTRACE_SETSIGMASK): Likewise.
2080         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2081         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2082         (PTRACE_GETSIGMASK): Likewise.
2083         (PTRACE_SETSIGMASK): Likewise.
2084         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2085         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2086         Likewise.
2087         (PTRACE_SETSIGMASK): Likewise.
2088         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2090         (PTRACE_GETSIGMASK): Likewise.
2091         (PTRACE_SETSIGMASK): Likewise.
2092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2093         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2094         Likewise.
2095         (PTRACE_SETSIGMASK): Likewise.
2096         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2097         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2098         Likewise.
2099         (PTRACE_SETSIGMASK): Likewise.
2100         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2101         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2102         Likewise.
2103         (PTRACE_SETSIGMASK): Likewise.
2104         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2106 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2107             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2109         [BZ #19439]
2110         * math/bits/mathcalls.h
2111         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2112         prototype.
2113         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2115 2016-01-11  Andreas Schwab  <schwab@suse.de>
2117         [BZ #19253]
2118         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2119         cache when TZDEFRULES was used.
2120         * time/tst-tzname.c: New file.
2121         * time/Makefile (test): Add tst-tzname.
2122         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2123         * timezone/Makefile (test-zones): Add $(posixrules-file).
2124         ($(testdata)/$(posixrules-file)): New rule.
2126 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2128         Fix doc quoting problems with Texinfo 5
2129         Without this change, in the info file output, Texinfo 5 quotes code
2130         in text with undirected single quotes 'like this' and generates
2131         code examples that with many PDF readers cannot be cut out of PDFs
2132         and pasted into code.
2133         * manual/libc.texinfo: Configure the libc manual like the GNU
2134         Emacs manual, by using @documentencoding and setting
2135         txicodequoteundirected and txicodequotebacktick.  This way,
2136         Texinfo 5 quotes code in text with directed single quotes ‘like
2137         this’ and produces examples that can be cut out of PDFs.  This
2138         change causes Texinfo 5 to generate info files that contain UTF-8
2139         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2140         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2142 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2144         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2145         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2146         barriers to their respective compiler built-ins.
2147         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2148         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2149         * sysdeps/powerpc/sysdep.h: Likewise.
2150         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2152         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2154 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2156         * scripts/config.guess: Revert previous shebang change.
2157         * scripts/config.sub: Likewise.
2158         * scripts/mkinstalldirs: Likewise.
2160 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2162         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2163         PPC_FEATURE2_HAS_IEEE128.
2164         * sysdeps/powerpc/dl-procinfo.c:
2165         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2167 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2169         [BZ #19415]
2170         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2171         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2172         (_dl_lookup_address): Rewrite using function resolver trampoline.
2173         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2174         two bits in address.
2176 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2178         * longlong.h: Change !__SHMEDIA__ to
2179         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2180         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2182 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2183             Joseph Myers  <joseph@codesourcery.com>
2184             Mark Shinwell  <shinwell@codesourcery.com>
2185             Andrew Stubbs  <ams@codesourcery.com>
2186             Rich Felker <dalias@libc.org>
2188         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2190 2016-01-07  Richard Henderson  <rth@redhat.com>
2192         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2194 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2196         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2197         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2198         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2199         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2200         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2202 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2203             Joseph Myers  <joseph@codesourcery.com>
2205         * timezone/private.h: Update from tzcode 2015g.
2206         * timezone/tzfile.h: Likewise.
2207         * timezone/tzselect.ksh: Likewise.
2208         * timezone/zdump.c: Likewise.
2209         * timezone/zic.c: Likewise.
2210         * timezone/ialloc.c: Remove file.
2211         * timezone/scheck.c: Likewise.
2212         * timezone/Makefile (extra-objs): Remove variable.
2213         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2214         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2215         -Wno-maybe-uninitialized.
2216         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2217         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2218         (CFLAGS-ialloc.c): Remove variable.
2219         (CFLAGS-scheck.c): Likewise.
2220         * timezone/README: Update list of files from tzcode.
2222 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2224         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2225         instead of __fxprintf when _LIBC is undefined.
2227 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2229         * catgets/test-gencat.sh: Remove space after shebang.
2230         * conform/GlibcConform.pm: Likewise.
2231         * conform/check-header-lists.sh: Likewise.
2232         * conform/conformtest.pl: Likewise.
2233         * conform/linknamespace.pl: Likewise.
2234         * conform/list-header-symbols.pl: Likewise.
2235         * debug/catchsegv.sh: Likewise.
2236         * elf/genrtldtbl.awk: Likewise.
2237         * elf/tst-pathopt.sh: Likewise.
2238         * elf/tst-rtld-load-self.sh: Likewise.
2239         * grp/tst_fgetgrent.sh: Likewise.
2240         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2241         * iconvdata/gen-8bit-gap.sh: Likewise.
2242         * iconvdata/gen-8bit.sh: Likewise.
2243         * iconvdata/run-iconv-test.sh: Likewise.
2244         * intl/tst-gettext.sh: Likewise.
2245         * intl/tst-gettext2.sh: Likewise.
2246         * intl/tst-gettext4.sh: Likewise.
2247         * intl/tst-gettext6.sh: Likewise.
2248         * intl/tst-translit.sh: Likewise.
2249         * io/ftwtest-sh: Likewise.
2250         * libio/test-freopen.sh: Likewise.
2251         * locale/gen-translit.pl: Likewise.
2252         * malloc/tst-mtrace.sh: Likewise.
2253         * manual/check-safety.sh: Likewise.
2254         * manual/libc-texinfo.sh: Likewise.
2255         * manual/tsort.awk: Likewise.
2256         * manual/xtract-typefun.awk: Likewise.
2257         * nptl/tst-cancel-wrappers.sh: Likewise.
2258         * nptl/tst-tls6.sh: Likewise.
2259         * posix/globtest.sh: Likewise.
2260         * posix/tst-getconf.sh: Likewise.
2261         * posix/wordexp-tst.sh: Likewise.
2262         * scripts/check-c++-types.sh: Likewise.
2263         * scripts/check-local-headers.sh: Likewise.
2264         * scripts/config.guess: Likewise.
2265         * scripts/config.sub: Likewise.
2266         * scripts/cpp: Likewise.
2267         * scripts/cross-test-ssh.sh: Likewise.
2268         * scripts/documented.sh: Likewise.
2269         * scripts/evaluate-test.sh: Likewise.
2270         * scripts/gen-libc-abis: Likewise.
2271         * scripts/gen-sorted.awk: Likewise.
2272         * scripts/list-fixed-bugs.py: Likewise.
2273         * scripts/merge-test-results.sh: Likewise.
2274         * scripts/mkinstalldirs: Likewise.
2275         * scripts/rellns-sh: Likewise.
2276         * scripts/test-installation.pl: Likewise.
2277         * scripts/update-copyrights: Likewise.
2278         * stdio-common/tst-printf.sh: Likewise.
2279         * stdio-common/tst-unbputc.sh: Likewise.
2280         * stdlib/tst-fmtmsg.sh: Likewise.
2281         * stdlib/tst-setcontext3.sh: Likewise.
2282         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2283         * sysdeps/unix/make-syscalls.sh: Likewise.
2285 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2287         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2288         asm stw with atomic_exchange_rel.  Add explanatory comment.
2289         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2290         Likewise.
2292 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2294         [BZ #19122]
2295         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2296         * sysdeps/generic/dl-unistd.h: New file.
2297         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2299 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2301          [BZ #19122]
2302          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2303          * sysdeps/generic/dl-mman.h: New file.
2304          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2306 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2308         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2309         trailing whitespace removed.
2310         * scripts/config.guess: Update to version 2016-01-01.
2311         * scripts/config.sub: Update to version 2016-01-01.
2312         * scripts/move-if-change: Update from gnulib.
2314 2016-01-04  Anton Blanchard  <anton@samba.org>
2316         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2317         for array indices.
2318         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2320 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2322         * NEWS: Update copyright dates.
2323         * catgets/gencat.c (print_version): Likewise.
2324         * csu/version.c (banner): Likewise.
2325         * debug/catchsegv.sh: Likewise.
2326         * debug/pcprofiledump.c (print_version): Likewise.
2327         * debug/xtrace.sh (do_version): Likewise.
2328         * elf/ldconfig.c (print_version): Likewise.
2329         * elf/ldd.bash.in: Likewise.
2330         * elf/pldd.c (print_version): Likewise.
2331         * elf/sotruss.sh: Likewise.
2332         * elf/sprof.c (print_version): Likewise.
2333         * iconv/iconv_prog.c (print_version): Likewise.
2334         * iconv/iconvconfig.c (print_version): Likewise.
2335         * locale/programs/locale.c (print_version): Likewise.
2336         * locale/programs/localedef.c (print_version): Likewise.
2337         * login/programs/pt_chown.c (print_version): Likewise.
2338         * malloc/memusage.sh (do_version): Likewise.
2339         * malloc/memusagestat.c (print_version): Likewise.
2340         * malloc/mtrace.pl: Likewise.
2341         * manual/libc.texinfo: Likewise.
2342         * nptl/version.c (banner): Likewise.
2343         * nscd/nscd.c (print_version): Likewise.
2344         * nss/getent.c (print_version): Likewise.
2345         * nss/makedb.c (print_version): Likewise.
2346         * posix/getconf.c (main): Likewise.
2347         * scripts/test-installation.pl: Likewise.
2348         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2350         * All files with FSF copyright notices: Update copyright dates
2351         using scripts/update-copyrights.
2352         * intl/plural.c: Regenerated.
2353         * locale/programs/charmap-kw.h: Likewise.
2354         * locale/programs/locfile-kw.h: Likewise.
2356 2016-01-02  Helge Deller  <deller@gmx.de>
2358         [BZ #19285]
2359         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2360         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2361         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2362         (MADV_xxK_PAGES): Remove.
2364 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2366         [BZ #15421]
2367         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2368         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2369         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2370         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2372 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2374         [BZ #19408]
2375         * sysdeps/unix/sysv/linux/personality.c: New file.
2376         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2377         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2378         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2379         (sysdep_routines): Add personality.
2380         (tests): Add tst-personality.
2381         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2383         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2384         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2385         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2386         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2387         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2388         Likewise.
2389         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2390         Likewise.
2391         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2392         Likewise.
2393         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2394         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2395         Likewise.
2397 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2399         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2400         (PATH_ARM_SYSTYPE): Remove.
2401         (PATH_CPUINFO): Likewise.
2402         (IO_BASE_FOOTBRIDGE): Likewise.
2403         (IO_SHIFT_FOOTBRIDGE): Likewise.
2404         (struct platform): Likewise.
2405         (init_iosys): Remove compatibility code for 2.4 kernels.
2406         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2408 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2410         * malloc/tst-malloc-thread-fail.c: New file.
2411         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2412         (tst-malloc-thread-fail): Link against libpthread.
2414 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2416         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2417         (get_parser): New function.
2418         (main): New function.
2420 2015-12-29  Rob Wu  <rob@robwu.nl>
2422         [BZ #19369]
2423         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2425 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2427         [BZ #19270]
2428         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2430 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2432         [BZ #15421]
2433         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2435 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2437         [BZ #13690]
2438         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2439         after releasing it.
2440         (__lll_robust_unlock): Likewise.
2441         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2442         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2443         (lll_robust_unlock): Likewise.
2444         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2445         Prevent warnings in callers.
2447 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2449         * malloc/arena.c (list_lock): Update comment.
2451 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2453         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2454         __parse_hwcap_and_convert_at_platform to libc.a.
2456 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2458         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2459         platform and feature support for POWER9.
2460         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2461         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2462         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2463         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2464         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2465         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2466         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2467         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2469 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2471         Harmonize generic stdio-lock support with nptl
2473         This fixes build when _IO_funlockfile is a macro, fixes build where
2474         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2475         stack unwind.
2477         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2478         _IO_release_lock ): Use cleanup attribute on new
2479         _IO_acquire_lock_file variable instead of assuming that
2480         _IO_release_lock will be called.
2481         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2482         _IO_acquire_lock_needs_exceptions_enabled.
2483         (_IO_acquire_lock_clear_flags2): New macro.
2485 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2487         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2489 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2491         [BZ #19182]
2492         * malloc/arena.c (list_lock): Document lock ordering requirements.
2493         (free_list_lock): New lock.
2494         (ptmalloc_lock_all): Comment on free_list_lock.
2495         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2496         (detach_arena): Update comment.  free_list_lock is now needed.
2497         (_int_new_arena): Use free_list_lock around detach_arena call.
2498         Acquire arena lock after list_lock.  Add comment, including FIXME
2499         about incorrect synchronization.
2500         (get_free_list): Switch to free_list_lock.
2501         (reused_arena): Acquire free_list_lock around detach_arena call
2502         and attached threads counter update.  Add two FIXMEs about
2503         incorrect synchronization.
2504         (arena_thread_freeres): Switch to free_list_lock.
2505         * malloc/malloc.c (struct malloc_state): Update comments to
2506         mention free_list_lock.
2508 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2510         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2511         Remove functions.
2512         (sloww, sloww1): Accept argument to offset quadrant.
2513         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2514         quadrant.
2515         (__sin, __cos): Consolidate common code into new functions.
2516         (reduce_sincos_1, do_sincos_1): New functions.
2517         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2520         code to new functions.
2521         (reduce_sincos_2, do_sincos_2): New functions.
2522         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2525         common code for sincos.
2526         (__cos) [!IN_SINCOS]: Likewise.
2527         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2528         New function.
2529         (__sincos): Use it.
2531 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2533         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2534         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2535         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2537 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2539         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2542         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2544         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2545         index_Prefer_No_VZEROUPPER): New feature.
2546         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2547         Prefer_No_VZEROUPPER for Knights Landing.
2549 015-12-18  Torvald Riegel  <triegel@redhat.com>
2551         * math/atest-exp2.c (mp_exp_m1): Remove.
2553 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2555         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2556         syscalls.
2557         (__SYSCALL0): New macro.
2558         (__SYSCALL1): Likewise.
2559         (__SYSCALL2): Likewise.
2560         (__SYSCALL3): Likewise.
2561         (__SYSCALL4): Likewise.
2562         (__SYSCALL5): Likewise.
2563         (__SYSCALL6): Likewise.
2564         (__SYSCALL_CONCAT_X): Likewise.
2565         (__SYSCALL_CONCAT): Likewise.
2566         (__SYSCALL_DIST): Likewise.
2567         (__SYSCALL_CALL): Likewise.
2569 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2571         [BZ #19363]
2572         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2574 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2576         [BZ #19375]
2577         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2578         negative subnormals.
2580 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2583         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2584         (INTERNAL_SYSCALL_NCS): Use it.
2585         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2587 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2589         [BZ #19243]
2590         * malloc/arena.c (get_free_list): Remove assert and adjust
2591         reference count handling.  Add comment about reused_arena
2592         interaction.
2593         (reused_arena): Add comments abount get_free_list interaction.
2594         * malloc/tst-malloc-thread-exit.c: New file.
2595         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2596         (tst-malloc-thread-exit): Link against libpthread.
2598 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2600         [BZ #19367]
2601         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2602         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2603         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2604         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2605         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2607 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2609         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2610         Silvermont optimizations for Knights Landing.
2612 2015-12-15  Andreas Schwab  <schwab@suse.de>
2614         [BZ #17197]
2615         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2616         immediately after emitting SI.
2617         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2618         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2619         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2620         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2621         * iconvdata/bug-iconv10.c: New file.
2622         * iconvdata/Makefile (tests): Add bug-iconv10.
2623         ($(objpfx)bug-iconv10.out): New rule.
2625 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2627         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2628         aliasing violation.
2630 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2632         [BZ #18472]
2633         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2634         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2635         conditionals for them.
2636         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2637         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2639         sys/kdaemon.h.
2640         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2641         compat-only syscall, obsoleted in glibc 2.23.
2642         (create_module): Likewise.
2643         (get_kernel_syms): Likewise.
2644         (query_module): Likewise.
2645         (uselib): Likewise.
2646         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2648 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2650         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2651         <linux/version.h>.
2652         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2653         conditional code.
2654         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2655         and ioshift_name initialization.
2657 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2659         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2660         Fix indentation.
2662 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2664         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2666 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2668         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2670 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2671             Jakub Wilk  <jwilk@debian.org>
2673         [BZ #19347]
2674         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2675         to change the group of the device to the tty group.
2677 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2679         Split large string section; add truncation advice
2680         * manual/examples/strncat.c: Remove.
2681         This example was misleading, as the code would have undefined
2682         behavior if "hello" was longer than SIZE.  Anyway, the manual
2683         shouldn't encourage strncpy+strncat for this sort of thing.
2684         * manual/string.texi (Copying Strings and Arrays): Split into
2685         three sections Copying Strings and Arrays, Concatenating Strings,
2686         and Truncating Strings, as this section was way too long.  All
2687         cross-referenced changed.  Add advice about string-truncation
2688         functions.  Remove misleading strncat example.
2690 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2692         * manual/nss.texi (NSS Modules Interface): Document
2693         NSS_STATUS_NOTFOUND and SUCCESS.
2695 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2697         [BZ 18568]
2698         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2699         201505L, for Unicode 8.
2701 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2703         * locale/C-translit.h: Regenerate.
2705 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2707         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2708         and U+0153.
2710 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2712         [BZ #19351]
2713         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2714         expanding log(1+z), compare z rather than its square with epsilon
2715         to determine when to avoid evaluating the expansion.
2717         [BZ #19350]
2718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2719         Increase overflow threshold.
2721         [BZ #19349]
2722         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2723         when small.
2725         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2727         New macro.
2728         [__LINUX_KERNEL_VERSION >= 0x040300]
2729         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2731         Likewise.
2732         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2733         Likewise.
2734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2735         Likewise.
2736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2737         Likewise.
2738         [__LINUX_KERNEL_VERSION >= 0x040300]
2739         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2740         [__LINUX_KERNEL_VERSION >= 0x040300]
2741         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2742         [__LINUX_KERNEL_VERSION >= 0x040300]
2743         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2744         [__LINUX_KERNEL_VERSION >= 0x040300]
2745         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2746         [__LINUX_KERNEL_VERSION >= 0x040300]
2747         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2748         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2749         Likewise.
2750         [__LINUX_KERNEL_VERSION >= 0x040300]
2751         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2753         Likewise.
2754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2755         Likewise.
2756         [__LINUX_KERNEL_VERSION >= 0x040300]
2757         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2758         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2759         Likewise.
2760         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2761         Likewise.
2762         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2764         Likewise.
2765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2766         Likewise.
2767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2768         Likewise.
2769         [__LINUX_KERNEL_VERSION >= 0x040300]
2770         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2771         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2772         Likewise.
2773         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2774         Likewise.
2775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2776         Likewise.
2777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2778         Likewise.
2779         [__LINUX_KERNEL_VERSION >= 0x040300]
2780         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2781         [__LINUX_KERNEL_VERSION >= 0x040300]
2782         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2783         [__LINUX_KERNEL_VERSION >= 0x040300]
2784         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2785         [__LINUX_KERNEL_VERSION >= 0x040300]
2786         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2787         [__LINUX_KERNEL_VERSION >= 0x040300]
2788         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2790         Likewise.
2791         [__LINUX_KERNEL_VERSION >= 0x040300]
2792         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2794         Likewise.
2795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2796         Likewise.
2797         [__LINUX_KERNEL_VERSION >= 0x040300]
2798         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2799         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2800         Likewise.
2801         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2804         (__ASSUME_SOCKET_SYSCALL): Likewise.
2805         (__ASSUME_BIND_SYSCALL): Likewise.
2806         (__ASSUME_CONNECT_SYSCALL): Likewise.
2807         (__ASSUME_LISTEN_SYSCALL): Likewise.
2808         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2809         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2810         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2811         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2812         (__ASSUME_SEND_SYSCALL): Likewise.
2813         (__ASSUME_SENDTO_SYSCALL): Likewise.
2814         (__ASSUME_RECV_SYSCALL): Likewise.
2815         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2816         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2817         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2818         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2819         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2820         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2821         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2822         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2823         Likewise.
2824         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2825         Likewise.
2826         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2827         Likewise.
2828         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2829         Likewise.
2830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2831         Likewise.
2832         [__LINUX_KERNEL_VERSION >= 0x020625]
2833         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2834         [__LINUX_KERNEL_VERSION >= 0x020625]
2835         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2836         [__LINUX_KERNEL_VERSION >= 0x020625]
2837         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2838         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2839         Likewise.
2840         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2841         Likewise.
2842         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2843         Likewise.
2844         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2845         Likewise.
2846         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2847         Likewise.
2848         [__LINUX_KERNEL_VERSION >= 0x020625]
2849         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2850         [__LINUX_KERNEL_VERSION >= 0x020625]
2851         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2852         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2853         Likewise.
2854         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2855         Likewise.
2857 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2859         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2860         record the current if the current ABI and CPU support the FP64
2861         extension.
2862         (has-modd-spreg): Define to record the current if the current ABI and
2863         CPU support 32-bit floating point values in odd FPU registers.
2864         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2865         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2866         $(has-modd-spreg) equals yes.
2867         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2868         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2869         $(has-modd-spreg) equal yes.
2871 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2873         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2874         basename.
2876 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2878         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2879         (bench-string): ... here.
2880         (bench): Add bench-string.
2881         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2882         to *-benchset to reflect what they are.
2883         (benchset): Adjust.
2885         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2886         cos-inputs.
2888 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2890         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2891         __attribute__ ((__simd__)) for vector math function declarations.
2893 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2895         Fix typo in strncat, wcsncat manual entries
2896         * manual/string.texi (Copying and Concatenation): Fix typos in
2897         sample implementations of strncat and wcsncat, by having them use
2898         the old value of the destination length, not the new one.
2900 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2902         [BZ #16961]
2903         [BZ #16962]
2904         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2905         string on the stack for strtod.
2906         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2907         a string on the stack for strtof.
2908         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2909         constructing a string on the stack for strtold.
2910         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2911         __strtold_nan to GLIBC_PRIVATE.
2912         * math/test-nan-overflow.c: New file.
2913         * math/test-nan-payload.c: Likewise.
2914         * math/Makefile (tests): Add test-nan-overflow and
2915         test-nan-payload.
2917 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2919         Consistency about byte vs character in string.texi
2920         * manual/string.texi (String and Array Utilities):
2921         Distinguish more carefully among bytes, multibyte characters,
2922         and wide characters.  Use "byte" when talking about C 'char',
2923         to distinguish it more clearly from multibyte characters.
2924         Say "wide character" or "multibyte character" instead of
2925         "character", when a wide or multibyte character is intended.
2926         Similarly for "multibyte string" versus "string".
2927         Define these terms more carefully.
2929 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2931         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2932         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2933         Likewise.
2934         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2935         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2936         * sysdeps/sh/math_private.h: New file.
2937         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2938         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2939         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2940         long double function name.
2941         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2942         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2947         Remove __finitel, __isinfl, and __isnanl.
2948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2949         Likewise.
2950         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2952         Remove __finitel.
2953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2954         Likewise.
2955         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2957 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2959         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2960         installed libmvec_nonshared.a.
2962 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2964         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2965         (sysdep_routines): Likewise.
2966         (sysdep-rtld-routines): Likewise.
2967         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2968         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2969         * sysdeps/powerpc/Versions: Added new
2970         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2971         * sysdeps/powerpc/hwcapinfo.c: New file.
2972         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2973         and parse hwcap, hwcap2 and platform number information.
2974         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2975         to store HWCAP+HWCAP2 and platform number.
2976         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2977         for HWCAP+HWCAP2 and platform number in the TCB.
2978         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2979         the HWCAP, HWCAP2 and platform number in the TCB.
2980         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2981         (TLS_INIT_TP): Included calls to add the hwcap and
2982         at_platform values in the TCB in TP initialization.
2983         (TLS_DEFINE_INIT_TP): Likewise.
2984         (THREAD_GET_HWCAP): New macro.
2985         (THREAD_SET_HWCAP): Likewise.
2986         (THREAD_GET_AT_PLATFORM): Likewise.
2987         (THREAD_SET_AT_PLATFORM): Likewise.
2988         * sysdeps/powerpc/powerpc32/dl-machine.h:
2989         (dl_platform_init): New function that calls
2990         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2991         powerpc32.
2992         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2993         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2994         this functionality, static linking case.
2995         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2996         linking case.
2997         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2998         __parse_hwcap_and_convert_at_platform for the static linking case.
2999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3000         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3001         ABI list for GLIBC 2.23.
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3005         Likewise.
3007 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3009         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3010         * configure: Regenerate.
3011         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3012         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3014 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3016         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3017         * iconvdata/ibm933.c: Likewise.
3018         * iconvdata/ibm935.c: Likewise.
3019         * iconvdata/ibm937.c: Likewise.
3020         * iconvdata/ibm939.c: Likewise.
3022 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3024         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3025         pthread_join.
3026         * nptl/tst-cancel21.c (tf): Likewise.
3028 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3030         [BZ #19313]
3031         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3032         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3033         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3034         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3039         Likewise.
3040         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3043         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3044         unsigned long int with __CPU_MASK_TYPE.
3046 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3048         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3050 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3052         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3053         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3054         t512.x.
3055         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3057 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3059         [BZ #19214]
3060         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3061         argument to return extended model.  Update family and model
3062         with extended family and model when family == 0x0f.
3063         (init_cpu_features): Updated.
3065 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3067         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3068         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3070         * sysdeps/mach/hurd/mmap64.c: New file.
3072 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3074         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3075         rights for its main user thread in NEWTASK.
3077 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3079         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3080         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3082 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3084         [BZ #14259]
3085         * Makeconfig: Rename localedir to complocaledir.
3086         Rename inst_localedir to inst_complocaledir.
3087         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3088         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3089         * configure.ac: Use libc_cv_complocaledir.
3090         * configure: Regenerate.
3091         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3092         -DCOMPLOCALEDIR.
3093         * locale/findlocale.c: Use COMPLOCALEDIR.
3094         * locale/loadarchive.c: Likewise.
3095         * locale/programs/locale.c: Likewise.
3096         * locale/programs/localedef.c: Likewise.
3097         * locale/programs/locarchive.c: Likewise.
3098         * localedata/Makefile: Use inst_complocaledir.
3099         * sysdeps/gnu/configure: Regenerate.
3100         * sysdeps/hppa/configure: Regenerate.
3101         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3102         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3104         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3105         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3106         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3107         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3109 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3111         [BZ #19058]
3112         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3113         AS_NEEDED.
3114         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3115         workaround.
3116         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3117         libmvec-static-only-routines): Added new file.
3118         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3120 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3122         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3123         of interrupted RPC instead of restoring it.
3125         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3126         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3127         libc_hidden_def.
3128         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3129         into initialized data instead of common. Define rtld_hidden_data_def.
3130         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3131         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3132         libc_hidden_def.
3133         (if_freenameindex): Add libc_hidden_weak.
3134         (if_nameindex): Add libc_hidden_weak.
3135         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3136         __open64.
3137         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3138         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3139         * sysdeps/mach/nanosleep.c: Include <time.h>
3140         (__nanosleep): Rename to __libc_nanosleep.
3141         (__nanosleep): Add weak_alias.
3142         (nanosleep): Update alias.
3144 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3146         * stdlib/strtod_nan.c: New file.
3147         * stdlib/strtod_nan_double.h: Likewise.
3148         * stdlib/strtod_nan_float.h: Likewise.
3149         * stdlib/strtod_nan_main.c: Likewise.
3150         * stdlib/strtod_nan_narrow.h: Likewise.
3151         * stdlib/strtod_nan_wide.h: Likewise.
3152         * stdlib/strtof_nan.c: Likewise.
3153         * stdlib/strtold_nan.c: Likewise.
3154         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3155         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3156         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3157         * wcsmbs/wcstod_nan.c: Likewise.
3158         * wcsmbs/wcstof_nan.c: Likewise.
3159         * wcsmbs/wcstold_nan.c: Likewise.
3160         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3161         strtold_nan.
3162         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3163         wcstof_nan.
3164         * include/stdlib.h (__strtof_nan): Declare and use
3165         libc_hidden_proto.
3166         (__strtod_nan): Likewise.
3167         (__strtold_nan): Likewise.
3168         (__wcstof_nan): Likewise.
3169         (__wcstod_nan): Likewise.
3170         (__wcstold_nan): Likewise.
3171         * include/wchar.h (____wcstoull_l_internal): Declare.
3172         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3173         (____strtoull_l_internal): Remove declaration.
3174         (STRTOF_NAN): Define macro.
3175         (SET_MANTISSA): Remove macro.
3176         (STRTOULL): Likewise.
3177         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3178         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3179         (STRTOF_NAN): Define macro.
3180         (SET_MANTISSA): Remove macro.
3181         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3182         (SET_MANTISSA): Remove macro.
3183         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3184         macro.
3185         (SET_MANTISSA): Remove macro.
3186         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3187         macro.
3188         (SET_MANTISSA): Remove macro.
3189         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3190         (SET_MANTISSA): Remove macro.
3191         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3192         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3193         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3195         [BZ #19266]
3196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3197         upper case and lower case letters inside NAN(), not using TOLOWER.
3198         * stdlib/tst-strtod-nan-locale-main.c: New file.
3199         * stdlib/tst-strtod-nan-locale.c: Likewise.
3200         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3201         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3202         Depend on $(gen-locales).
3203         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3204         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3205         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3206         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3207         Depend on $(gen-locales).
3208         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3210 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3212         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3214         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3216         __finitel, __isinfl, and __isnanl.
3217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3218         Likewise.
3219         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3221         __finitel.
3222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3223         Likewise.
3224         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3226 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3228         * malloc/memusage.c (me): Remove redundant getenv call.
3230 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3232         [BZ #19143]
3233         [BZ #19164]
3234         * nptl/check-cpuset.h: Remove.
3235         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3236         Remove CPU set size check.
3237         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3238         Likewise.
3239         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3240         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3241         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3242         (__pthread_setaffinity_new): Remove CPU set size check.
3243         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3244         (__kernel_cpumask_size): Remove.
3245         (__sched_setaffinity_new): Remove CPU set size check.
3246         * manual/threads.texi (Default Thread Attributes): Remove stale
3247         reference to check_cpuset_attr, determine_cpumask_size in comment.
3248         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3249         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3250         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3251         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3252         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3253         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3254         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3255         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3256         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3257         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3258         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3259         skeleton test file.
3260         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3261         tst-affinity-pid.
3263 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3265         * scripts/update-abilist.sh: New file.
3266         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3267         * Makerules (update-all-abi-%, update-all-abi)
3268         (subdir_update-all-abi): New targets.
3269         * elf/Makefile (update-all-abi): New target.
3271 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3273         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3274         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3275         (__libc_lock_define_initialized): Use it.
3276         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3277         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3278         * malloc/malloc.c (main_arena): Likewise.
3279         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3280         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3282 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3284         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3285         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3286         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3287         (PTRACE_O_MASK): Update value.
3288         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3289         New value in enum __ptrace_setoptions.
3290         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3291         (PTRACE_O_MASK): Update value.
3292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3293         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3294         (PTRACE_O_MASK): Update value.
3295         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3296         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3297         (PTRACE_O_MASK): Update value.
3298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3299         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3300         (PTRACE_O_MASK): Update value.
3301         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3302         New value in enum __ptrace_setoptions.
3303         (PTRACE_O_MASK): Update value.
3304         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3305         New value in enum __ptrace_setoptions.
3306         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3307         (PTRACE_O_MASK): Update value.
3309         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3310         New macro.
3311         (PACKET_AUXDATA): Likewise.
3312         (PACKET_ORIGDEV): Likewise.
3313         (PACKET_VERSION): Likewise.
3314         (PACKET_HDRLEN): Likewise.
3315         (PACKET_RESERVE): Likewise.
3316         (PACKET_TX_RING): Likewise.
3317         (PACKET_LOSS): Likewise.
3318         (PACKET_VNET_HDR): Likewise.
3319         (PACKET_TX_TIMESTAMP): Likewise.
3320         (PACKET_TIMESTAMP): Likewise.
3321         (PACKET_FANOUT): Likewise.
3322         (PACKET_TX_HAS_OFF): Likewise.
3323         (PACKET_QDISC_BYPASS): Likewise.
3324         (PACKET_ROLLOVER_STATS): Likewise.
3325         (PACKET_FANOUT_DATA): Likewise.
3326         (PACKET_MR_UNICAST): Likewise.
3328         [BZ #19242]
3329         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3330         (TOUPPER): Likewise.
3331         * stdlib/tst-strtol-locale-main.c: New file.
3332         * stdlib/tst-strtol-locale.c: Likewise.
3333         * stdlib/Makefile (tests): Add tst-strtol-locale.
3334         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3335         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3336         Depend on $(gen-locales).
3337         * wcsmbs/tst-wcstol-locale.c: New file.
3338         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3339         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3340         tr_TR.ISO-8859-9.
3341         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3342         Depend on $(gen-locales).
3344 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3346         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3347         __glibc_likely instead of __builtin_expect.  After falling back to
3348         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3349         system interface to register the code pages as occupied.
3351 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3353         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3354         [!ARM_MATH_PRIVATE_H].
3355         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3356         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3357         [!HPPA_MATH_PRIVATE_H].
3358         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3359         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3360         to [!I386_MATH_PRIVATE_H].
3361         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3362         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3363         Change guard to [!M68K_MATH_PRIVATE_H].
3364         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3365         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3366         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3367         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3368         macro.
3369         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3370         [!MIPS_MATH_PRIVATE_H].
3371         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3372         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3373         [!NIO2_MATH_PRIVATE_H].
3374         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3375         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3376         [!TILE_MATH_PRIVATE_H].
3377         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3379         [BZ #15421]
3380         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3381         initialize with 0 and define as weak alias of __signgam.
3382         * include/math.h [!_ISOMAC] (__signgam): Declare.
3383         * math/Makefile (libm-calls): Add w_lgamma_compat.
3384         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3385         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3386         test-signgam-ullong-init.
3387         (tests-static): Add test-signgam-uchar-static,
3388         test-signgam-uchar-init-static, test-signgam-uint-static,
3389         test-signgam-uint-init-static, test-signgam-ullong-static and
3390         test-signgam-ullong-init-static.
3391         (CFLAGS-test-signgam-uchar.c): New variable.
3392         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3393         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3394         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3395         (CFLAGS-test-signgam-uint.c): Likewise.
3396         (CFLAGS-test-signgam-uint-init.c): Likewise.
3397         (CFLAGS-test-signgam-uint-static.c): Likewise.
3398         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3399         (CFLAGS-test-signgam-ullong.c): Likewise.
3400         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3401         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3402         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3403         * math/Versions (libm): Add GLIBC_2.23.
3404         * math/lgamma-compat.h: New file.
3405         * math/test-signgam-main.c: Likewise.
3406         * math/test-signgam-uchar-init-static.c: Likewise.
3407         * math/test-signgam-uchar-init.c: Likewise.
3408         * math/test-signgam-uchar-static.c: Likewise.
3409         * math/test-signgam-uchar.c: Likewise.
3410         * math/test-signgam-uint-init-static.c: Likewise.
3411         * math/test-signgam-uint-init.c: Likewise.
3412         * math/test-signgam-uint-static.c: Likewise.
3413         * math/test-signgam-uint.c: Likewise.
3414         * math/test-signgam-ullong-init-static.c: Likewise.
3415         * math/test-signgam-ullong-init.c: Likewise.
3416         * math/test-signgam-ullong-static.c: Likewise.
3417         * math/test-signgam-ullong.c: Likewise.
3418         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3419         wrapper of w_lgamma_main.c.
3420         * math/w_lgamma_compat.c: New file.
3421         * math/w_lgamma_compatf.c: Likewise.
3422         * math/w_lgamma_compatl.c: Likewise.
3423         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3424         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3425         defining compatibility symbols.
3426         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3427         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3428         wrapper of w_lgammaf_main.c.
3429         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3430         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3431         defining compatibility symbols.
3432         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3433         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3434         wrapper of w_lgammal_main.c.
3435         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3436         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3437         defining compatibility symbols.
3438         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3439         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3440         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3441         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3442         <lgamma-compat.h>.
3443         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3444         (__ieee754_gamma): Define as alias.
3445         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3446         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3447         <lgamma-compat.h>.
3448         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3449         (__ieee754_gammaf): Define as alias.
3450         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3451         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3452         <lgamma-compat.h>.
3453         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3454         (__ieee754_gammal): Define as alias.
3455         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3456         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3457         <math/w_lgamma_compat.c>.
3458         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3459         Define as alias of __lgamma_compat and use in defining lgammal.
3460         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3461         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3462         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3463         (USE_AS_COMPAT): New macro.
3464         (LGAMMA_OLD_VER): Undefine and redefine.
3465         (lgammal): Do not define here.
3466         (gammal): Only define here if [GAMMA_ALIAS].
3467         * conform/linknamespace.pl (@whitelist): Remove signgam.
3468         * sysdeps/nacl/libm.abilist: Update.
3469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3470         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3471         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3472         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3473         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3474         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3475         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3476         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3477         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3478         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3479         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3480         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3482         Likewise.
3483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3484         Likewise.
3485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3486         Likewise.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3488         Likewise.
3489         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3490         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3491         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3492         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3493         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3495         Likewise.
3496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3497         Likewise.
3498         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3499         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3500         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3502 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3504         [BZ #16364]
3505         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3506         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3508 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3510         * sysdeps/s390/fpu/bits/mathinline.h:
3511         Use __asm__ [__volatile__] instead of asm [volatile].
3512         * sysdeps/s390/abort-instr.h: Likewise.
3513         * sysdeps/s390/atomic-machine.h: Likewise.
3514         * sysdeps/s390/bits/string.h: Likewise.
3515         * sysdeps/s390/dl-tls.h: Likewise.
3516         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3517         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3518         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3519         * sysdeps/s390/fpu/fesetround.c: Likewise.
3520         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3521         * sysdeps/s390/fpu/s_fma.c: Likewise.
3522         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3523         * sysdeps/s390/memusage.h: Likewise.
3524         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3525         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3526         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3527         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3528         * sysdeps/s390/nptl/tls.h: Likewise.
3529         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3530         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3531         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3532         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3533         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3534         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3535         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3536         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3537         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3538         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3539         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3540         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3541         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3542         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3543         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3544         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3545         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3546         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3547         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3549         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3551         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3553 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3554             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3556         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3557         Add lwarx hint, and use macro for acquire instruction.
3558         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3559         Likewise.
3560         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3561         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3562         update to use new atomic macros.
3564 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3566         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3567         (__lll_trylock_elision): Fix setting of adapt_count.
3568         * sysdeps/unix/sysv/linux/powerpc/htm.h
3569         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3570         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3571         (_ABORT_SYSCALL): Renumber, and clarify definition.
3572         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3574 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3576         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3577         after system headers to prevent MIN/MAX redefinition.  Define
3578         HAVE_ALLOCA to preserve builtin alloca usage.
3580 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3582         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3583         static and don't set or restore rounding.
3584         (__cos)[IN_SINCOS]: Likewise.
3585         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3586         (__sincos): Set and restore rounding mode.  Remove check for infinite
3587         or NaN input.
3589         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3591         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3592         as used.
3594 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3596         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3598 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3600         * config.make.in (have-glob-dat-reloc): New.
3601         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3602         target supports GLOB_DAT relocaton. AC_SUBST.
3603         * configure: Regenerated.
3604         * elf/Makefile (tests): Add tst-prelink.
3605         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3606         (tst-prelink-ENV): New.
3607         ($(objpfx)tst-prelink-conflict.out): Likewise.
3608         ($(objpfx)tst-prelink-cmp.out): Likewise.
3609         * sysdeps/x86/tst-prelink.c: Moved to ...
3610         * elf/tst-prelink.c: Here.
3611         * sysdeps/x86/tst-prelink.exp: Moved to ...
3612         * elf/tst-prelink.exp: Here.
3613         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3614         (tst-prelink-ENV): Removed.
3615         ($(objpfx)tst-prelink-conflict.out): Likewise.
3616         ($(objpfx)tst-prelink-cmp.out): Likewise.
3617         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3619 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3621         [BZ #14551]
3622         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3623         (__mpn_construct_long_double): If high part overflows to infinity,
3624         set errno and recompute overflowed result of the correct sign.
3625         * sysdeps/ieee754/ldbl-128ibm/Makefile
3626         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3627         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3628         $(libm).
3629         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3631 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3633         [BZ #15479]
3634         [BZ #19238]
3635         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3636         floating-point state after first operation on input.  Restore full
3637         state rather than just rounding mode.
3638         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3639         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3640         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3642         [BZ #19235]
3643         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3644         add 0.5 to integer arguments.
3645         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3646         Likewise.
3647         (.LC2): New object.
3649 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3651         * scripts/pylintrc (reports): Set to no.
3653 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3655         * elf/dl-load.c (open_verify): Take new argument FD.
3656         Skip __open call if passed FD is not -1.
3657         (_dl_map_object, open_path): Update callers.
3658         * elf/dl-sysdep-open.h: New file.
3659         * elf/dl-load.c: Include it.
3660         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3661         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3662         * sysdeps/nacl/dl-sysdep-open.h: New file.
3663         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3664         from libc to rtld.
3666 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3668         [BZ #19228]
3669         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3670         and restore full floating-point state.
3671         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3672         Likewise.
3673         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3674         Likewise.
3675         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3676         Likewise.
3677         * math/test-nearbyint-except-2.c: New file.
3678         * math/Makefile (tests): Add test-nearbyint-except-2.
3680 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3682         [BZ #19178]
3683         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3684         (tst-prelink-ENV): New.
3685         ($(objpfx)tst-prelink-conflict.out): Likewise.
3686         ($(objpfx)tst-prelink-cmp.out): Likewise.
3687         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3688         * sysdeps/x86/tst-prelink.c: New file.
3689         * sysdeps/x86/tst-prelink.exp: Likewise.
3691 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3693         * math/auto-libm-test-in: Add another test of pow.
3694         * math/auto-libm-test-out: Regenerated.
3695         * math/libm-test.inc (pow_test_data): Add another test.
3697 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3699         [BZ #19219]
3700         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3701         weak_alias to nearbyintl.
3703 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3705         * sysdeps/aarch64/bits/string.h: New file.
3706         (_STRING_ARCH_unaligned): Define.
3708 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3710         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3711         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3712         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3713         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3716 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3718         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3719         for original name of the DSO.  Add it to the name list of the DSO
3720         if it is actually given.
3721         (_dl_map_object): Keep track of whether an audit module rewrote
3722         the file name.  If yes, pass the original name to
3723         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3724         debugging is enabled, log the change of the file name.
3725         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3726         _dl_map_object_from_fd.
3727         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3728         * elf/tst-audit11.c: New file
3729         * elf/tst-auditmod11.c: New file.
3730         * elf/tst-audit11mod1.c: New file.
3731         * elf/tst-audit11mod2.c: New file.
3732         * elf/tst-audit11mod2.map: New file.
3733         * elf/tst-audit12.c: New file
3734         * elf/tst-auditmod12.c: New file.
3735         * elf/tst-audit12mod1.c: New file.
3736         * elf/tst-audit12mod2.c: New file.
3737         * elf/tst-audit12mod2.map: New file.
3738         * elf/tst-audit12mod3.c: New file.
3740 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3742         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3743         Don't create weak aliases,
3744         because versioned symbols are created later.
3745         * sysdeps/s390/s390-32/setjmp.S
3746         (setjmp, _setjmp): Remove weak and rename to an unique name
3747         in SHARED case due to existing versioned symbols.
3748         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3749         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3750         (getcontext): Create weak alias only in non SHARED case.
3751         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3753 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3755         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3756         (__ASSUME_*_SYSCALL) Define new macros.
3757         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3758         Remove socketcall syscalls.
3759         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3760         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3761         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3762         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3763         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3764         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3766 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3768         [BZ #12926]
3769         Terminate process on invalid netlink response.
3770         * sysdeps/unix/sysv/linux/netlinkaccess.h
3771         (__netlink_assert_response): Declare.
3772         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3773         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3774         (sysdep_routines): Add netlink_assert_response.
3775         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3776         __netlink_assert_response.
3777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3778         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3779         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3780         __netlink_assert_response.
3782 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3784         [BZ #19178]
3785         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3786         (RTYPE_CLASS_PLT): Likewise.
3787         (RTYPE_CLASS_COPY): Likewise.
3788         (RTYPE_CLASS_TLS): Likewise.
3789         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3790         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3791         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3792         DL_DEBUG_PRELINK.
3794 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3796         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3797         calls with argument -0.5.
3798         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3800         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3801         (libc_cv_z_nodlopen): Likewise.
3802         (libc_cv_z_initfirst): Likewise.
3803         * configure: Regenerated.
3805 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3807         Simplify abilist format to be line-based.
3808         * scripts/abilist.awk: Collect descriptors in the descs variable.
3809         (emit): Write descs variable and sort it
3810         externally, with sort.
3811         * sysdeps/**/*.abilist: Convert to new format.
3813 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3815         [BZ #11460]
3816         * io/Makefile (routines): Add fts64.
3817         (tests): Add tst-fts and tst-fts-lfs.
3818         (CFLAGS-fts64.c): New.
3819         * io/Versions (GLIBC_2.23): New.
3820         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3821         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3822         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3823         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3824         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3825         (FTSENT64): Likewise.
3826         (fts64_children): Likewise.
3827         (fts64_close): Likewise.
3828         (fts64_open): Likewise.
3829         (fts64_read): Likewise.
3830         (fts64_set): Likewise.
3831         * io/fts64.c: New file.
3832         * io/tst-fts.c: New test.
3833         * io/tst-fts-lfs.c: Likewise.
3834         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3835         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3836         fts64_set.
3837         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3838         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3839         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3843         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3844         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3845         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3846         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3847         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3848         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3849         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3851         Likewise.
3852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3853         Likewise.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3856         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3857         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3858         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3860         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3863         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3864         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3865         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3866         * sysdeps/wordsize-64/fts.c: New file.
3867         * sysdeps/wordsize-64/fts64.c: Likewise.
3868         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3869         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3870         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3871         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3873 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3875         * math/libm-test.inc (NON_FINITE): New macro.
3876         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3877         * math/gen-libm-test.pl (show_exceptions): Add argument
3878         $non_finite.
3879         (parse_args): Update call to show_exceptions.
3880         * math/test-math-finite.h: New file.
3881         * math/test-math-no-finite.h: Likewise.
3882         * math/test-double-finite.c: Likewise.
3883         * math/test-float-finite.c: Likewise.
3884         * math/test-ldouble-finite.c: Likewise.
3885         * math/test-double.c: Include "test-math-no-finite.h".
3886         * math/test-float.c: Include "test-math-no-finite.h".
3887         * math/test-ldouble.c: Include "test-math-no-finite.h".
3888         * math/test-math-inline.h (TEST_FINITE): New macro.
3889         * math/test-math-vector.h (TEST_FINITE): Likewise.
3890         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3891         (libm-tests): Add test-float-finite and test-double-finite.
3892         ($(objpfx)test-float-finite.o): New dependency on
3893         $(objpfx)libm-test.stmp.
3894         ($(objpfx)test-double-finite.o): Likewise.
3895         ($(objpfx)test-ldouble-finite.o): Likewise.
3896         (libm-test-no-inline-cflags): New variable.
3897         (libm-test-finite-cflags): Likewise.
3898         (CFLAGS-test-float-finite.c): Likewise.
3899         (CFLAGS-test-double-finite.c): Likewise.
3900         (CFLAGS-test-ldouble-finite.c): Likewise.
3901         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3902         (CFLAGS-test-double.c): Likewise.
3903         (CFLAGS-test-ldouble.c): Likewise.
3905 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3907         * io/fcntl.c (__fcntl): Add ... to prototype.
3908         * misc/ioctl.c (__ioctl): Likewise.
3909         * misc/syscall.c (syscall): Likewise.
3911 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3913         * scripts/list-fixed-bugs.py: New file.
3915         [BZ #19213]
3916         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3917         returned for argument 1.
3918         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3919         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3920         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3921         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3922         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3923         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3925         [BZ #19211]
3926         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3927         __USE_XOPEN], not if [!__USE_ISOC99].
3928         (lgammaf): Likewise.
3929         (lgammal): Likewise.
3930         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3931         (gammaf): Likewise.
3932         (gammal): Likewise.
3933         * math/test-signgam-finite-c11.c: New file.
3934         * math/test-signgam-finite-c99.c: Likewise.
3935         * math/test-signgam-finite.c: Likewise.
3936         * math/Makefile (tests): Add test-signgam-finite,
3937         test-signgam-finite-c99 and test-signgam-finite-c11.
3938         (CFLAGS-test-signgam-finite.c): New variable.
3939         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3940         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3942         [BZ #19212]
3943         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3944         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3945         500].
3946         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3947         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3948         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3949         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3950         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3951         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3952         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3953         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3954         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3955         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3957         [BZ #19209]
3958         * math/bits/math-finite.h (ldexp): Remove declaration.
3959         (ldexpf): Likewise.
3960         (ldexpl): Likewise.
3962         [BZ #19205]
3963         * math/bits/math-finite.h (acosf): Condition declaration on
3964         [__USE_ISOC99].
3965         (acosl): Likewise.
3966         (acoshf): Likewise.
3967         (acoshl): Likewise.
3968         (asinf): Likewise.
3969         (asinl): Likewise.
3970         (atan2f): Likewise.
3971         (atan2l): Likewise.
3972         (atanhf): Likewise.
3973         (atanhl): Likewise.
3974         (coshf): Likewise.
3975         (coshl): Likewise.
3976         (expf): Likewise.
3977         (expl): Likewise.
3978         (fmodf): Likewise.
3979         (fmodl): Likewise.
3980         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3981         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3982         (j0l): Likewise.
3983         (y0f): Likewise.
3984         (y0l): Likewise.
3985         (j1f): Likewise.
3986         (j1l): Likewise.
3987         (y1f): Likewise.
3988         (y1l): Likewise.
3989         (jnf): Likewise.
3990         (jnl): Likewise.
3991         (ynf): Likewise.
3992         (ynl): Likewise.
3993         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3994         (lgammal_r): Likewise.
3995         (__lgamma_r_finite): New declaration.
3996         (__lgammaf_r_finite): Likewise.
3997         (__lgammal_r_finite): Likewise.
3998         (lgamma): Use __lgamma_r_finite.
3999         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4000         __lgammaf_r_finite.
4001         (lgammal): Condition definition on [__USE_ISOC99].  Use
4002         __lgammal_r_finite.
4003         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4004         __lgamma_r_finite.
4005         (gammaf): Condition definition on [__USE_ISOC99].  Use
4006         __lgammaf_r_finite.
4007         (gammal): Condition definition on [__USE_ISOC99].  Use
4008         __lgammal_r_finite.
4009         (logf): Condition declaration on [__USE_ISOC99].
4010         (logl): Likewise.
4011         (log10f): Likewise.
4012         (log10l): Likewise.
4013         (ldexpf): Likewise.
4014         (ldexpl): Likewise.
4015         (powf): Likewise.
4016         (powl): Likewise.
4017         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4018         __USE_ISOC99].
4019         (remainderf): Condition declaration on [__USE_ISOC99].
4020         (remainderl): Likewise.
4021         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4022         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4023         (scalbl): Likewise.
4024         (sinhf): Condition declaration on [__USE_ISOC99].
4025         (sinhl): Likewise.
4026         (sqrtf): Likewise.
4027         (sqrtl): Likewise.
4029 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4031         * sysdeps/arm/atomic-machine.h
4032         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4033         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4034         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4035         Remove conditional code.
4036         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4037         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4038         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4039         Change conditional to [__ASSEMBLER__].
4040         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4041         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4042         [!__ASSEMBLER__].
4043         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4044         code.
4045         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4046         conditional macro definitions.
4047         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4048         (__arch_compare_and_exchange_val_16_acq): Likewise.
4049         (__arch_compare_and_exchange_val_32_acq): Likewise.
4050         (atomic_exchange_and_add): Likewise.
4051         (atomic_add): Likewise.
4052         (atomic_add_negative): Likewise.
4053         (atomic_add_zero): Likewise.
4054         (atomic_bit_set): Likewise.
4055         (atomic_bit_test_set): Likewise.
4056         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4057         code unconditional.
4058         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4060         * math/test-math-errno.h: New file.
4061         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4062         empty.
4063         (TEST_ERRNO): New macro.
4064         (TEST_EXCEPTIONS): Likewise.
4065         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4066         (TEST_EXCEPTIONS): Likewise.
4067         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4068         * math/test-double.c: Include "test-math-errno.h".
4069         * math/test-float.c: Likewise.
4070         * math/test-ldouble.c: Likewise.
4071         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4072         code unconditional.
4073         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4074         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4075         unconditional.
4076         (test_errno): Only run code if TEST_ERRNO.
4077         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4079 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4081         * nptl/tst-once5.cc: Remove attribution.
4083 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4085         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4086         sqrt, tan, tanh, y0, y1 and yn.
4087         * math/auto-libm-test-out: Regenerated.
4088         * math/libm-test.inc (scalb_test_data): Add more tests.
4089         (scalbn_test_data): Likewise.
4090         (scalbln_test_data): Likewise.
4091         (signbit_test_data): Likewise.
4092         (sin_test_data): Likewise.
4093         (sincos_test_data): Likewise.
4094         (sinh_test_data): Likewise.
4095         (sqrt_test_data): Likewise.
4096         (tan_test_data): Likewise.
4097         (tanh_test_data): Likewise.
4098         (tgamma_test_data): Likewise.
4099         (y0_test_data): Likewise.
4100         (y1_test_data): Likewise.
4101         (yn_test_data): Likewise.
4102         (significand_test_data): Likewise.
4103         * sysdeps/i386/fpu/libm-test-ulps: Update.
4105 2015-11-03  David Kastrup  <dak@gnu.org>
4107         [BZ #18604]
4108         * assert/assert.h (assert): Don't macro-expand failed assertion
4109         expression in error message.
4110         * malloc/malloc.c (assert): Likewise.
4112 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4114         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4115         test.
4116         * configure: Regenerated.
4118 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4120         * math/libm-test.inc (modf_test_data): Add more tests.
4121         (nearbyint_test_data): Likewise.
4122         (nextafter_test_data): Likewise.
4123         (nexttoward_test_data): Likewise.
4124         (pow_test_data): Likewise.
4125         (remainder_test_data): Likewise.
4126         (remquo_test_data): Likewise.
4127         (rint_test_data): Likewise.
4129         [BZ #19201]
4130         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4131         Check for zero remainder in case of large exponents and ensure
4132         correct sign of result in that case.
4133         * math/libm-test.inc (remainder_test_data): Add more tests.
4135         [BZ #6799]
4136         * math/s_nextafter.c: Include <errno.h>.
4137         (__nextafter): Set errno on overflow and underflow.
4138         * math/s_nexttowardf.c: Include <errno.h>.
4139         (__nexttowardf): Set errno on overflow and underflow.
4140         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4141         (__nextafterl): Set errno on overflow and underflow.
4142         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4143         (__nexttoward): Set errno on overflow and underflow.
4144         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4145         (__nexttowardf): Set errno on overflow and underflow.
4146         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4147         (__nextafterf): Set errno on overflow and underflow.
4148         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4149         (__nextafterl): Set errno on overflow and underflow.
4150         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4151         (__nexttoward): Set errno on overflow and underflow.
4152         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4153         (__nexttowardf): Set errno on overflow and underflow.
4154         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4155         (__nextafterl): Set errno on overflow and underflow.
4156         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4157         (__nexttoward): Set errno on overflow and underflow.
4158         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4159         (__nexttowardf): Set errno on overflow and underflow.
4160         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4161         (__nexttoward): Set errno on overflow and underflow.
4162         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4163         (__nexttowardf): Set errno on overflow and underflow.
4164         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4165         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4166         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4167         (__nextafterl): Set errno on overflow and underflow.
4168         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4169         setting to be missing on overflow.  Add more tests.
4170         (nexttoward_test_data): Likewise.
4172         * configure.ac (libc_cv_initfini_array): Remove configure test.
4173         * configure: Regenerated.
4175 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4177         [BZ #19189]
4178         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4179         non-finite argument handle arguments with negative sign.
4181         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4182         result from infinite argument.
4183         (j1_test_data): Likewise.
4184         (jn_test_data): Likewise.
4185         (y0_test_data): Likewise.
4186         (y1_test_data): Likewise.
4187         (yn_test_data): Likewise.
4189         [BZ #16171]
4190         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4191         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4192         * math/w_remainderf.c (dremf): Define as weak alias of
4193         __remainderf.
4194         * math/w_remainderl.c (dreml): Define as weak alias of
4195         __remainderl.
4196         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4197         __remainder.
4198         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4199         __remainderf.
4200         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4201         __remainderl.
4202         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4203         weak alias of remainderl.
4204         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4205         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4206         alias of __remainder.
4207         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4208         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4209         strong alias of __remainderl.
4210         (dreml): Use long_double_symbol.
4211         * math/Makefile (libm-calls): Remove w_drem.
4212         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4213         (CFLAGS-nldbl-drem.c): Remove variable.
4214         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4215         * math/w_drem.c: Remove file.
4216         * math/w_dremf.c: Likewise.
4217         * math/w_dreml.c: Likewise.
4218         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4219         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4220         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4222         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4223         * sysdeps/i386/configure: Regenerated.
4224         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4225         * sysdeps/x86_64/configure: Regenerated.
4227         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4228         test.
4229         (libc_cv_visibility_attribute): Likewise.
4230         (libc_cv_protected_data): Test unconditionally.
4231         (libc_cv_broken_visibility_attribute): Remove configure test.
4232         (libc_cv_have_sdata_section): Test unconditionally.
4233         * configure: Regenerated.
4235         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4236         * include/scratch_buffer.h: Include <stddef.h> instead of
4237         <libc-internal.h>.
4238         (struct scratch_buffer): Use max_align_t instead of
4239         libc_max_align_t.
4241 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4243         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4244         instead of extend_alloca.  Change control flow to avoid a goto.
4245         Remove assert which is trivially always true.
4247 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4249         [BZ #16068]
4250         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4251         (FE_ALL_EXCEPT_X86): New macro.
4252         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4253         FE_ALL_EXCEPT.  Ensure precision control is included in
4254         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4255         handle "denormal operand exception" and clear FZ and DAZ bits.
4256         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4257         (FE_ALL_EXCEPT_X86): New macro.
4258         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4259         FE_ALL_EXCEPT.  Ensure precision control is included in
4260         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4261         handle "denormal operand exception" and clear FZ and DAZ bits.
4262         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4263         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4264         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4265         test-fenv-x87 and test-fenv-sse-2.
4266         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4268         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4269         * math/test-double.h (BUILD_COMPLEX): New macro.
4270         * math/test-float.h (BUILD_COMPLEX): Likewise.
4271         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4273         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4274         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4275         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4277         instead of DBL_DENORM_MIN in comment.
4278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4279         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4281         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4283         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4285 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4287         [BZ# 19048]
4288         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4289         attached_threads member.
4290         (main_arena): Initialize attached_threads.
4291         * malloc/arena.c (list_lock): Update comment.
4292         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4293         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4294         (deattach_arena): New function.
4295         (_int_new_arena): Initialize arena reference count and deattach
4296         replaced arena.
4297         (get_free_list, reused_arena): Update reference count and deattach
4298         replaced arena.
4299         (arena_thread_freeres): Update arena reference count and only put
4300         unreferenced arenas on the free list.
4302 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4304         [BZ #19181]
4305         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4306         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4307         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4308         * math/test-fenv-clear-main.c: New file.
4309         * math/test-fenv-clear.c: Likewise.
4310         * math/Makefile (tests): Add test-fenv-clear.
4311         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4312         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4313         test-fenv-clear-sse.
4314         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4316         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4317         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4318         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4320 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4322         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4323         static libc.
4325 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4327         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4328         test.
4329         * sysdeps/i386/configure: Regenerated.
4330         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4331         test.
4332         * sysdeps/x86_64/configure: Regenerated.
4333         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4335         memset-avx2 unconditionally instead of conditionally on
4336         [$(config-cflags-avx2) = yes].
4337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4338         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4339         unconditional.
4340         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4341         * sysdeps/x86_64/multiarch/memset_chk.S
4342         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4343         to [IS_IN (libc) && SHARED].
4345 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4347         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4348         configure test.
4349         * sysdeps/arm/configure: Regenerated.
4350         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4351         Define variable if not already defined.
4353         [BZ #17404]
4354         * sysdeps/mips/atomic-machine.h
4355         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4356         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4357         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4359         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4360         unconditional.
4361         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4362         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4363         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4364         unconditional.
4365         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4366         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4367         unconditional.
4368         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4369         * stdlib/setenv.c
4370         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4371         code unconditional.
4372         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4373         Remove conditional code.
4374         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4375         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4376         unconditional.
4377         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4378         code.
4379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4380         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4381         unconditional.
4382         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4383         code.
4384         * sysdeps/ieee754/ldbl-128/k_tanl.c
4385         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4386         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4387         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4388         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4389         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4390         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4391         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4392         unconditional.
4393         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4394         code.
4395         * sysdeps/ieee754/ldbl-96/k_tanl.c
4396         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4397         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4399         * nptl/tst-initializers1-c11.c: New file.
4400         * nptl/tst-initializers1-gnu11.c: Likewise.
4401         * nptl/Makefile (tests): Add these new tests.
4402         (CFLAGS-tst-initializers1-c11.c): New variable.
4403         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4405         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4406         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4407         instead of -std=gnu99.
4408         * configure.ac (systemtap): Test with -std=gnu11 instead of
4409         -std=gnu99.
4410         * configure: Regenerated.
4411         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4412         in compilation command in comment.
4414         * sysdeps/nptl/configure.ac: Remove file.
4415         * sysdeps/nptl/configure: Remove generated file.
4416         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4417         * configure: Regenerated.
4418         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4419         * config.make.in (have-forced-unwind): Remove variable.
4420         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4421         unconditional.
4422         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4423         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4424         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4425         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4426         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4427         unconditional.
4429 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4431         [BZ #19174]
4432         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4433         .skip_lock_out_of_tbegin_retries.
4434         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4435         (__lll_lock_elision): Likewise, and respect a value of
4436         try_tbegin <= 0.
4438 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4440         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4441         statement.
4443 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4445         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4446         variable.
4447         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4448         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4450         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4451         of -std=c1x -D_ISOC11_SOURCE.
4453         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4454         * configure: Regenerated.
4455         * manual/install.texi (Tools for Compilation): Document
4456         requirement for GCC 4.7 or later.
4457         * INSTALL: Regenerated.
4459 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4461         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4462         on CNT to a conditional jump to 'puntdata'.
4464 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4466         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4467         (libc_cv_gcc_tls_model_attr): Likewise.
4468         * configure: Regenerated.
4470         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4471         * configure: Regenerated.
4472         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4474 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4476         * configure.ac (old_glibc_headers): Remove configure test.
4477         * configure: Regenerated.
4478         * config.make.in (old-glibc-headers): Remove variable.
4479         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4480         (install): Remove dependency on remove-old-headers.
4481         (headers2_0): Remove variable.
4482         (remove-old-headers): Remove rule.
4484         * configure.ac (libc_cv_dot_text): Remove configure test.
4485         (libc_cv_asm_set_directive): Use .text instead of
4486         ${libc_cv_dot_text} in configure test.
4487         * configure: Regenerated.
4489 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4491         [BZ #19168]
4492         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4494 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4496         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4497         not support static linking.
4498         * configure: Regenerate.
4500 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4502         * math/libm-test.inc (check_float_internal): Do not special-case
4503         errors up to 0.5 ulp.
4505         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4506         log2.
4507         * math/auto-libm-test-out: Regenerated.
4508         * math/libm-test.inc (MAX_EXP): New macro.
4509         (ilogb_test_data): Add more tests.
4510         (isfinite_test_data): Likewise.
4511         (isgreater_test_data): Likewise.
4512         (isgreaterequal_test_data): Likewise.
4513         (isinf_test_data): Likewise.
4514         (isless_test_data): Likewise.
4515         (islessequal_test_data): Likewise.
4516         (islessgreater_test_data): Likewise.
4517         (isnan_test_data): Likewise.
4518         (isnormal_test_data): Likewise.
4519         (issignaling_test_data): Likewise.
4520         (isunordered_test_data): Likewise.
4521         (j0_test_data): Likewise.
4522         (j1_test_data): Likewise.
4523         (jn_test_data): Likewise.
4524         (lgamma_test_data): Likewise.
4525         (log_test_data): Likewise.
4526         (log10_test_data): Likewise.
4527         (log1p_test_data): Likewise.
4528         (log2_test_data): Likewise.
4529         (logb_test_data): Likewise.
4530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4532         [BZ #18611]
4533         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4534         avoid excess range and precision on underflow.
4535         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4536         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4537         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4539         underflow.
4540         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4542         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4543         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4544         * math/auto-libm-test-in: Do not allow missing errno setting for
4545         tests of j1 and jn.
4546         * math/auto-libm-test-out: Regenerated.
4548 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4550         [BZ #15491]
4551         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4552         floating-point environment instead of clearing all exceptions.
4553         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4554         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4555         merging in "invalid" exceptions from frndint.
4556         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4557         * math/test-nearbyint-except.c: New file.
4558         * math/Makefile (tests): Add test-nearbyint-except.
4560 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4562         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4564         * sysdeps/tile/libm-test-ulps: Regenerated.
4566 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4569         (__NR_sync_file_range2): Assume it is always defined.
4570         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4571         (__NR_sync_file_range): Assume it is always defined.
4573 2015-10-22  Andreas Schwab  <schwab@suse.de>
4575         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4576         INTERNAL_SYSCALL_ERRNO.
4577         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4578         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4579         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4580         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4581         Likewise.
4582         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4584 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4586         * io/tst-fcntl.c (fd): New static variable.
4587         (do_prepare): Open temporary file here....
4588         (do_test): ...not here.
4590         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4592 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4595         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4596         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4597         Moved before "#ifdef __ASSEMBLER__".
4599 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4601         [BZ #19156]
4602         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4603         arguments very close to 0.
4605 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4607         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4608         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4610 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4612         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4613         New.  Defined for GCC 5 and above when not compiling for
4614         profiling.
4615         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4617         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4618         Renamed to ...
4619         (CFLAGS-epoll_pwait.o): This.
4620         (CFLAGS-mmap.c): Renamed to ...
4621         (CFLAGS-mmap.o): This.
4622         (CFLAGS-mmap64.c): Renamed to ...
4623         (CFLAGS-mmap64.o): This.
4624         (CFLAGS-epoll_pwait.os): New.
4625         (CFLAGS-mmap.os): Likewise.
4626         (CFLAGS-mmap64.os): Likewise.
4627         (CFLAGS-semtimedop.os): Likewise.
4628         (CFLAGS-semtimedop.c): Renamed to ...
4629         (CFLAGS-semtimedop.o): This.
4631 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4633         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4634         warning message.
4636 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4638         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4639         * Makefile ($(objpfx)c++-types-check.out): Filter out
4640         $(+gccwarn-c) instead of -Wstrict-prototypes.
4642         * io/fts.c (fts_open): Convert to prototype-style function
4643         definition.
4644         * malloc/mcheck.c (mcheck): Likewise.
4645         (mcheck_pedantic): Likewise.
4646         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4647         internal_function.
4648         (re_search_internal): Likewise.
4649         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4650         prototype-style function definition.
4651         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4652         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4653         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4654         (xdr_utmpptr): Likewise.
4655         (xdr_utmparr): Likewise.
4656         (xdr_utmpidle): Likewise.
4657         (xdr_utmpidleptr): Likewise.
4658         (xdr_utmpidlearr): Likewise.
4660         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4661         log, log10 and log2.
4662         * math/auto-libm-test-out: Regenerated.
4663         * math/libm-test.inc (fmod_test_data): Add more tests.
4664         (fpclassify_test_data): Likewise.
4665         (frexp_test_data): Likewise.
4666         (hypot_test_data): Likewise.
4667         (ilogb_test_data): Likewise.
4669 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4671         * debug/fortify_fail.c (__fortify_fail): Convert to
4672         prototype-style function definition.  Use internal_function.
4673         * libio/genops.c (save_for_backup): Convert to prototype-style
4674         function definition.
4675         * libio/wgenops.c (save_for_wbackup): Likewise.
4676         * login/grantpt.c (grantpt): Likewise.
4677         * login/ptsname.c (ptsname): Likewise.
4678         (__ptsname_r): Likewise.
4679         * login/unlockpt.c (unlockpt): Likewise.
4680         * mach/msgserver.c (__mach_msg_server): Likewise.
4681         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4682         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4683         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4684         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4685         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4686         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4687         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4688         Likewise.
4689         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4690         internal_function.
4691         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4692         prototype-style function definition.
4693         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4694         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4695         (__pthread_create_2_0): Likewise.
4696         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4697         * nptl/register-atfork.c (__register_atfork): Likewise.
4698         * posix/glob.c (glob): Likewise.
4699         * posix/regcomp.c (re_comp): Likewise.
4700         * posix/regexec.c (re_exec): Likewise.
4701         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4702         [!__STDC__]: Remove conditional code.
4703         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4704         [!__STDC__]: Remove conditional code.
4705         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4706         [!__STDC__]: Remove conditional code.
4707         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4708         [!__STDC__]: Remove conditional code.
4709         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4710         [!__STDC__]: Remove conditional code.
4711         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4712         [!__STDC__]: Remove conditional code.
4713         * stdlib/mul.c [__STDC__]: Make code unconditional.
4714         [!__STDC__]: Remove conditional code.
4715         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4716         [!__STDC__]: Remove conditional code.
4717         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4718         [!__STDC__]: Remove conditional code.
4719         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4720         function definition.
4721         (STRTOF): Likewise.
4722         * stdlib/strtod_l.c (__STRTOF): Likewise.
4723         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4724         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4725         (__strtol_l): Likewise.
4726         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4727         [!__STDC__]: Remove conditional code.
4728         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4729         definition.
4730         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4731         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4732         type.
4733         (__strcasecmp): Convert to prototype-style function definition.
4734         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4735         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4736         type.
4737         (__strncasecmp): Convert to prototype-style function definition.
4738         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4739         * sunrpc/xdr.c (xdr_union): Likewise.
4740         * sunrpc/xdr_array.c (xdr_array): Likewise.
4741         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4742         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4743         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4744         Likewise.
4745         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4746         Likewise.
4747         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4748         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4749         Likewise.
4750         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4751         (LOCALE_PARAM_PROTO): Likewise.
4752         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4753         argument type.
4754         (ut_argument_spec): Remove macro.
4755         (ut_argument_spec_iso): Rename to ut_argument_spec.
4756         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4757         prototype-style function definition.
4758         (memcpy_uppcase): Likewise.
4759         (__strftime_internal): Likewise.
4760         (my_strftime): Likewise.
4761         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4762         (LOCALE_PARAM_DECL): Likewise.
4763         [_LIBC] (LOCALE_PARAM): Include argument type.
4764         (__strptime_internal): Convert to prototype-style function
4765         definition.
4766         (strptime): Likewise.
4767         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4768         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4769         type.
4770         (__wcscasecmp): Convert to prototype-style function definition.
4771         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4772         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4773         type.
4774         (__wcsncasecmp): Convert to prototype-style function definition.
4776         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4777         function definition.
4778         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4779         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4780         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4781         * elf/dl-minimal.c (_itoa): Likewise.
4782         * hurd/hurdmalloc.c (malloc): Likewise.
4783         (free): Likewise.
4784         (realloc): Likewise.
4785         * inet/inet6_option.c (inet6_option_space): Likewise.
4786         (inet6_option_init): Likewise.
4787         (inet6_option_append): Likewise.
4788         (inet6_option_alloc): Likewise.
4789         (inet6_option_next): Likewise.
4790         (inet6_option_find): Likewise.
4791         * io/ftw.c (FTW_NAME): Likewise.
4792         (NFTW_NAME): Likewise.
4793         (NFTW_NEW_NAME): Likewise.
4794         (NFTW_OLD_NAME): Likewise.
4795         * libio/iofwide.c (_IO_fwide): Likewise.
4796         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4797         (_IO_str_init_static): Likewise.
4798         (_IO_str_init_readonly): Likewise.
4799         (_IO_str_overflow): Likewise.
4800         (_IO_str_underflow): Likewise.
4801         (_IO_str_count): Likewise.
4802         (_IO_str_seekoff): Likewise.
4803         (_IO_str_pbackfail): Likewise.
4804         (_IO_str_finish): Likewise.
4805         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4806         (_IO_wstr_overflow): Likewise.
4807         (_IO_wstr_underflow): Likewise.
4808         (_IO_wstr_count): Likewise.
4809         (_IO_wstr_seekoff): Likewise.
4810         (_IO_wstr_pbackfail): Likewise.
4811         (_IO_wstr_finish): Likewise.
4812         * locale/programs/localedef.c (normalize_codeset): Likewise.
4813         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4814         (add_locales_to_archive): Likewise.
4815         (delete_locales_from_archive): Likewise.
4816         * malloc/malloc.c (__libc_mallinfo): Likewise.
4817         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4818         * misc/tsearch.c (__tfind): Likewise.
4819         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4820         * nptl/pthread_attr_getdetachstate.c
4821         (__pthread_attr_getdetachstate): Likewise.
4822         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4823         Likewise.
4824         * nptl/pthread_attr_getinheritsched.c
4825         (__pthread_attr_getinheritsched): Likewise.
4826         * nptl/pthread_attr_getschedparam.c
4827         (__pthread_attr_getschedparam): Likewise.
4828         * nptl/pthread_attr_getschedpolicy.c
4829         (__pthread_attr_getschedpolicy): Likewise.
4830         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4831         Likewise.
4832         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4833         Likewise.
4834         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4835         Likewise.
4836         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4837         Likewise.
4838         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4839         (__pthread_attr_init_2_0): Likewise.
4840         * nptl/pthread_attr_setdetachstate.c
4841         (__pthread_attr_setdetachstate): Likewise.
4842         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4843         Likewise.
4844         * nptl/pthread_attr_setinheritsched.c
4845         (__pthread_attr_setinheritsched): Likewise.
4846         * nptl/pthread_attr_setschedparam.c
4847         (__pthread_attr_setschedparam): Likewise.
4848         * nptl/pthread_attr_setschedpolicy.c
4849         (__pthread_attr_setschedpolicy): Likewise.
4850         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4851         Likewise.
4852         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4853         Likewise.
4854         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4855         Likewise.
4856         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4857         Likewise.
4858         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4859         Likewise.
4860         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4861         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4862         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4863         use internal_function.
4864         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4865         prototype-style function definition.
4866         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4867         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4868         internal_function.
4869         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4870         Convert to prototype-style function definition.
4871         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4872         Likewise.
4873         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4874         Likewise.
4875         (__pthread_mutex_unlock): Likewise.
4876         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4877         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4878         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4879         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4880         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4881         * nss/makedb.c (process_input): Likewise.
4882         * posix/fnmatch.c (__strchrnul): Likewise.
4883         (__wcschrnul): Likewise.
4884         (fnmatch): Likewise.
4885         * posix/fnmatch_loop.c (FCT): Likewise.
4886         * posix/glob.c (globfree): Likewise.
4887         (__glob_pattern_type): Likewise.
4888         (__glob_pattern_p): Likewise.
4889         * posix/regcomp.c (re_compile_pattern): Likewise.
4890         (re_set_syntax): Likewise.
4891         (re_compile_fastmap): Likewise.
4892         (regcomp): Likewise.
4893         (regerror): Likewise.
4894         (regfree): Likewise.
4895         * posix/regexec.c (regexec): Likewise.
4896         (re_match): Likewise.
4897         (re_search): Likewise.
4898         (re_match_2): Likewise.
4899         (re_search_2): Likewise.
4900         (re_search_stub): Likewise.  Use internal_function
4901         (re_copy_regs): Likewise.
4902         (re_set_registers): Convert to prototype-style function
4903         definition.
4904         (prune_impossible_nodes): Likewise.  Use internal_function.
4905         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4906         prototype-style function definition.
4907         (inet_net_pton_ipv4): Likewise.
4908         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4909         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4910         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4911         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4912         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4913         Make variadic.
4914         * time/strptime_l.c (localtime_r): Convert to prototype-style
4915         function definition.
4916         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4917         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4918         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4919         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4921         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4922         definition.
4923         (_ufc_doit_r): Likewise.
4924         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4925         (_ufc_output_conversion_r): Likewise.
4926         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4927         * inet/rcmd.c (rcmd_af): Likewise.
4928         (rcmd): Likewise.
4929         (ruserok_af): Likewise.
4930         (ruserok): Likewise.
4931         (ruserok2_sa): Likewise.
4932         (ruserok_sa): Likewise.
4933         (iruserok_af): Likewise.
4934         (iruserok): Likewise.
4935         (__ivaliduser): Likewise.
4936         (__validuser2_sa): Likewise.
4937         * inet/rexec.c (rexec_af): Likewise.
4938         (rexec): Likewise.
4939         * inet/ruserpass.c (ruserpass): Likewise.
4940         * locale/programs/xmalloc.c (xcalloc): Likewise.
4941         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4942         * math/w_drem.c (__drem): Likewise.
4943         * math/w_dremf.c (__dremf): Likewise.
4944         * math/w_dreml.c (__dreml): Likewise.
4945         * misc/daemon.c (daemon): Likewise.
4946         * resolv/res_debug.c (p_fqnname): Likewise.
4947         * stdlib/div.c (div): Likewise.
4948         * string/memcmp.c (memcmp_bytes): Likewise.
4949         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4950         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4952         * crypt/cert.c (main): Convert to prototype-style function
4953         definition.
4954         * io/pipe.c (__pipe): Likewise.
4955         * io/pipe2.c (__pipe2): Likewise.
4956         * misc/futimesat.c (futimesat): Likewise.
4957         * misc/utimes.c (__utimes): Likewise.
4958         * posix/execve.c (__execve): Likewise.
4959         * posix/execvp.c (execvp): Likewise.
4960         * posix/execvpe.c (__execvpe): Likewise.
4961         * posix/fexecve.c (fexecve): Likewise.
4962         * socket/socketpair.c (socketpair): Likewise.
4963         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4964         * stdlib/erand48.c (erand48): Likewise.
4965         * stdlib/erand48_r.c (__erand48_r): Likewise.
4966         * stdlib/jrand48.c (jrand48): Likewise.
4967         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4968         * stdlib/lcong48.c (lcong48): Likewise.
4969         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4970         * stdlib/nrand48.c (nrand48): Likewise.
4971         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4972         * stdlib/seed48.c (seed48): Likewise.
4973         * stdlib/seed48_r.c (__seed48_r): Likewise.
4974         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4975         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4976         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4978 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4980         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4981         * configure: Regenerated.
4982         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4983         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4984         unconditional.
4985         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4986         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4987         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4988         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4989         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4990         unconditional.
4991         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4993         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4994         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4996         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4997         function definition.
4998         * crypt/crypt_util.c (__encrypt_r): Likewise.
4999         * libio/genops.c (_IO_no_init): Likewise.
5000         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5001         (_IO_old_fopencookie): Likewise.
5002         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5003         * libio/iogetline.c (_IO_getline): Likewise.
5004         (_IO_getline_info): Likewise.
5005         * libio/iogetwline.c (_IO_getwline): Likewise.
5006         (_IO_getwline_info): Likewise.
5007         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5008         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5009         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5010         (find_entry): Likewise.
5011         (iterate_table): Likewise.
5012         (lookup): Likewise.
5013         * login/forkpty.c (forkpty): Likewise.
5014         * misc/hsearch_r.c (__hsearch_r): Likewise.
5015         * misc/select.c (__select): Likewise.
5016         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5017         Likewise.
5018         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5019         Likewise.
5020         * nptl/old_pthread_cond_timedwait.c
5021         (__pthread_cond_timedwait_2_0): Likewise.
5022         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5023         * nptl/pthread_barrierattr_getpshared.c
5024         (pthread_barrierattr_getpshared): Likewise.
5025         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5026         Likewise.
5027         * nptl/pthread_mutex_setprioceiling.c
5028         (pthread_mutex_setprioceiling): Likewise.
5029         * nptl/pthread_mutexattr_getprioceiling.c
5030         (pthread_mutexattr_getprioceiling): Likewise.
5031         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5032         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5033         Likewise.
5034         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5035         Likewise.
5036         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5037         Likewise.
5038         * socket/recvfrom.c (__recvfrom): Likewise.
5039         * socket/sendto.c (__sendto): Likewise.
5040         * socket/setsockopt.c (__setsockopt): Likewise.
5041         * stdio-common/_itoa.c (_itoa): Likewise.
5042         * stdio-common/_itowa.c (_itowa): Likewise.
5043         * stdio-common/reg-printf.c (__register_printf_specifier):
5044         Likewise.
5045         (__register_printf_function): Likewise.
5046         * stdio-common/tempname.c (__path_search): Likewise.
5047         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5048         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5049         * stdlib/random_r.c (__initstate_r): Likewise.
5050         * stdlib/setenv.c (__add_to_environ): Likewise.
5051         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5052         * streams/getpmsg.c (getpmsg): Likewise.
5053         * streams/putmsg.c (putmsg): Likewise.
5054         * streams/putpmsg.c (putpmsg): Likewise.
5055         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5056         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5057         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5058         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5059         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5060         * sunrpc/svc_udp.c (cache_get): Likewise.
5061         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5062         * sysdeps/mach/hurd/getcwd.c
5063         (__canonicalize_directory_name_internal): Likewise.
5064         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5065         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5066         * sysdeps/mach/hurd/select.c (__select): Likewise.
5067         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5068         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5069         * sysdeps/sparc/nptl/pthread_barrier_init.c
5070         (__pthread_barrier_init): Likewise.
5071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5072         (__pthread_cond_timedwait): Likewise.
5073         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5074         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5075         Likewise.
5076         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5077         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5078         Likewise.
5079         * sysvipc/semtimedop.c (semtimedop): Likewise.
5080         * time/setitimer.c (__setitimer): Likewise.
5081         * time/strftime_l.c (emacs_strftime): Likewise.
5083 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5085         * config.make.in (have-ssp): Delete.
5086         (stack-protector): New variable.
5087         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5088         cache test for -fstack-protector-strong.  Export stack_protector to
5089         the best ssp flag.
5090         * configure: Regenerated.
5091         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5092         * nscd/Makefile (CFLAGS-nscd): Likewise.
5093         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5095 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5097         [BZ #19122]
5098         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5099         attribute_hidden.
5101 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5103         [BZ #18743]
5104         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5105         code to...
5106         (ELIDE_LOCK): ...here.
5107         (__get_new_count): New function with part of the code from
5108         __elide_lock that updates the value of adapt_count after a
5109         transaction abort.
5110         (__elided_trylock): Moved this code to...
5111         (ELIDE_TRYLOCK): ...here.
5113 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5115         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5116         * configure: Regenerate.
5117         * INSTALL: Regenerate.
5118         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5119         and tweak grammar.
5121 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5123         * login/programs/pt_chown.c: Include signal.h
5124         (main): Clear any signal mask from the parent process.
5126 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5128         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5129         * configure: Regenerated.
5130         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5131         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5132         $(gnu89-inline-CFLAGS).
5134         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5135         test.
5136         (libc_cv_asm_weakext_directive): Likewise.
5137         * configure: Regenerated.
5138         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5139         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5140         * include/libc-symbols.h
5141         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5142         #error.
5143         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5144         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5146         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5147         prototype-style function definition.
5148         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5149         * sysdeps/i386/ffs.c (__ffs): Likewise.
5150         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5151         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5152         Likewise.
5153         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5154         Likewise.
5155         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5156         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5157         Likewise.
5158         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5159         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5160         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5161         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5162         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5163         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5164         * sysdeps/mach/hurd/access.c (__access): Likewise.
5165         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5166         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5167         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5168         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5169         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5170         (cthread_getspecific): Likewise.
5171         (cthread_setspecific): Likewise.
5172         (__libc_getspecific): Likewise.
5173         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5174         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5175         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5176         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5177         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5178         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5179         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5180         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5181         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5182         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5183         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5184         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5185         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5186         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5187         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5188         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5189         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5190         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5191         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5192         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5193         * sysdeps/mach/hurd/link.c (__link): Likewise.
5194         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5195         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5196         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5197         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5198         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5199         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5200         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5201         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5202         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5203         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5204         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5205         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5206         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5207         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5208         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5209         * sysdeps/mach/hurd/send.c (__send): Likewise.
5210         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5211         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5212         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5213         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5214         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5215         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5216         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5217         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5218         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5219         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5220         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5221         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5222         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5223         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5224         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5225         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5226         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5227         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5228         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5229         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5230         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5231         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5232         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5233         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5234         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5235         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5236         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5237         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5238         * sysdeps/posix/alarm.c (alarm): Likewise.
5239         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5240         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5241         * sysdeps/posix/dup.c (__dup): Likewise.
5242         * sysdeps/posix/dup2.c (__dup2): Likewise.
5243         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5244         (main): Likewise.
5245         * sysdeps/posix/flock.c (__flock): Likewise.
5246         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5247         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5248         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5249         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5250         * sysdeps/posix/isatty.c (__isatty): Likewise.
5251         * sysdeps/posix/killpg.c (killpg): Likewise.
5252         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5253         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5254         * sysdeps/posix/raise.c (raise): Likewise.
5255         * sysdeps/posix/remove.c (remove): Likewise.
5256         * sysdeps/posix/rename.c (rename): Likewise.
5257         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5258         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5259         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5260         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5261         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5262         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5263         * sysdeps/posix/sigset.c (sigset): Likewise.
5264         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5265         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5266         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5267         * sysdeps/posix/time.c (time): Likewise.
5268         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5269         (ttyname): Likewise.
5270         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5271         * sysdeps/posix/utime.c (utime): Likewise.
5272         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5273         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5274         Likewise.
5275         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5276         (pthread_spin_trylock): Likewise.
5277         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5278         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5279         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5280         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5281         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5282         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5283         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5284         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5285         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5286         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5287         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5288         * sysdeps/s390/ffs.c (__ffs): Likewise.
5289         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5290         Likewise.
5291         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5292         Likewise.
5293         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5294         Likewise.
5295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5296         (pthread_barrier_destroy): Likewise.
5297         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5298         (__pthread_barrier_wait): Likewise.
5299         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5300         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5301         (__pthread_barrier_wait): Likewise.
5302         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5303         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5304         (memcmp_not_common_alignment): Likewise.
5305         (MEMCMP): Likewise.
5306         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5307         (_wordcopy_fwd_dest_aligned): Likewise.
5308         (_wordcopy_bwd_aligned): Likewise.
5309         (_wordcopy_bwd_dest_aligned): Likewise.
5310         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5311         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5312         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5313         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5314         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5315         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5316         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5317         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5318         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5319         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5320         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5321         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5322         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5323         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5324         * sysdeps/unix/stime.c (stime): Likewise.
5325         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5326         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5327         Likewise.  Use internal_function.
5328         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5329         Convert to prototype-style function definition.
5330         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5331         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5332         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5333         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5334         Likewise.  Use internal_function.
5335         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5336         prototype-style function definition
5337         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5338         Likewise.
5339         (__getlogin_r): Likewise.
5340         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5342         (__pthread_cond_broadcast): Likewise.
5343         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5344         (__pthread_cond_destroy): Likewise.
5345         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5346         (__pthread_cond_init): Likewise.
5347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5348         (__pthread_cond_signal): Likewise.
5349         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5350         (__pthread_cond_wait): Likewise.
5351         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5352         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5353         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5354         Likewise.
5355         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5356         Likewise.
5357         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5363         (__ftruncate64): Likewise.
5364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5365         (truncate64): Likewise.
5366         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5367         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5368         (pthread_getcpuclockid): Likewise.
5369         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5372         Likewise.
5373         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5378         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5379         (__libc_sigaction): Likewise.
5380         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5383         (__sigprocmask): Likewise.
5384         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5385         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5386         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5387         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5388         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5389         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5390         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5391         Likewise.
5392         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5393         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5394         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5395         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5396         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5397         Likewise.
5398         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5399         (__sigprocmask): Likewise.
5400         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5401         (cfgetispeed): Likewise.
5402         (cfsetospeed): Likewise.
5403         (cfsetispeed): Likewise.
5404         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5405         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5406         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5407         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5408         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5409         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5410         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5411         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5412         Likewise.
5413         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5414         Likewise.
5415         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5416         Likewise.
5417         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5418         Likewise.
5419         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5421 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5423         sunrpc: Rewrite with explicit TLS access using __thread.
5424         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5425         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5426         directly.
5427         (__rpc_thread_variables): Access thread_rpc_vars directly.
5428         Eliminate redundant assignment of the tvp variable.
5430 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5432         malloc: Rewrite with explicit TLS access using __thread.
5433         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5434         (tsd_setspecific, tsd_getspecific): Remove.
5435         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5436         (tsd_setspecific, tsd_getspecific): Likewise.
5437         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5438         (tsd_setspecific, tsd_getspecific): Likewise.
5439         * malloc/arena.c (thread_arena): New TLS variable.
5440         (arena_key): Remove variable.
5441         (arena_get): Use thread_arena.
5442         (arena_lookup): Remove macro.
5443         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5444         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5445         (_int_new_arena, get_free_list, reused_arena)
5446         (arena_thread_freeres): Use thread_arena.
5447         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5448         tsd_getspecific, tsd_setspecific from safety annotations.
5449         (Allocating Cleared Space): Remove arena_lookup from safety
5450         annotations.
5452 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5454         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5455         struct scratch_buffer instead of extend_alloca.
5457 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5459         * sysdeps/unix/sysv/linux/kernel-features.h
5460         (__ASSUME_SOCK_CLOEXEC): Remove.
5461         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5462         (__have_paccept): Remove unused macro.
5463         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5464         * misc/syslog.c (openlog_internal): Remove fallback code for
5465         !__ASSUME_SOCK_CLOEXEC.
5466         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5467         missing SOCK_CLOEXEC.
5468         * nscd/connections.c (have_sock_cloexec): Remove definition.
5469         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5470         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5471         !__ASSUME_SOCK_CLOEXEC.
5472         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5473         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5474         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5475         definition.
5476         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5477         code for !__ASSUME_SOCK_CLOEXEC.
5479 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5481         [BZ #18982]
5482         * manual/stdio.texi (Variable Arguments Output): Add portability
5483         note, explaining that vfprintf clobbers the va_list pointer.
5485 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5487         * math/libm-test.inc (fabs_test_data): Add more tests.
5488         (fdim_test_data): Likewise.
5489         (fma_test_data): Likewise.
5490         (fmax_test_data): Likewise.
5491         (fmin_test_data): Likewise.
5492         (fmod_test_data): Likewise.
5494 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5496         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5497         data.
5499 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5501         * math/libm-test.inc (ceil_test_data): Add more tests and more
5502         expectations for "inexact".
5503         (floor_test_data): Add more tests.
5504         (round_test_data): Likewise.
5505         (trunc_test_data): Likewise.
5507         * crypt/cert.c (good_bye): Convert to prototype-style function
5508         definition.
5509         (get8): Likewise.
5510         (put8): Likewise.
5511         * crypt/crypt-entry.c (crypt): Likewise.
5512         (__fcrypt): Likewise.
5513         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5514         (_ufc_set_bits): Likewise.
5515         (_ufc_clearmem): Likewise.
5516         (__init_des_r): Likewise.
5517         (shuffle_sb): Likewise.
5518         (shuffle_sb): Likewise.
5519         (_ufc_setup_salt_r): Likewise.
5520         (_ufc_mk_keytab_r): Likewise.
5521         (_ufc_dofinalperm_r): Likewise.
5522         (encrypt): Likewise.
5523         (__setkey_r): Likewise.
5524         (setkey): Likewise.
5525         * crypt/md5.c (md5_init_ctx): Likewise.
5526         (md5_read_ctx): Likewise.
5527         (md5_finish_ctx): Likewise.
5528         (md5_stream): Likewise.
5529         (md5_buffer): Likewise.
5530         (md5_process_bytes): Likewise.
5531         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5532         (__sha256_finish_ctx): Likewise.
5533         (__sha256_process_bytes): Likewise.
5534         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5535         (__sha512_finish_ctx): Likewise.
5536         (__sha512_process_bytes): Likewise.
5537         * ctype/isctype.c (__isctype): Likewise.
5538         * debug/backtrace.c (__backtrace): Likewise.
5539         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5540         * debug/fgets_chk.c (__fgets_chk): Likewise.
5541         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5542         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5543         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5544         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5545         * debug/memset_chk.c (__memset_chk): Likewise.
5546         * debug/strcat_chk.c (__strcat_chk): Likewise.
5547         * debug/strncat_chk.c (__strncat_chk): Likewise.
5548         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5549         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5550         * dirent/dirfd.c (dirfd): Likewise.
5551         * dirent/getdents.c (__getdirentries): Likewise.
5552         * dirent/getdents64.c (getdirentries64): Likewise.
5553         * dirent/rewinddir.c (__rewinddir): Likewise.
5554         * dirent/seekdir.c (seekdir): Likewise.
5555         * dirent/telldir.c (telldir): Likewise.
5556         * elf/sln.c (makesymlinks): Likewise.
5557         (makesymlink): Likewise.
5558         * gmon/gmon.c (__moncontrol): Likewise.
5559         (__monstartup): Likewise.
5560         (write_hist): Likewise.
5561         (write_call_graph): Likewise.
5562         (write_bb_counts): Likewise.
5563         * grp/setgroups.c (setgroups): Likewise.
5564         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5565         * inet/inet_net.c (inet_network): Likewise.
5566         * inet/inet_netof.c (inet_netof): Likewise.
5567         * inet/rcmd.c (rresvport_af): Likewise.
5568         (rresvport): Likewise.
5569         * io/access.c (__access): Likewise.
5570         * io/chdir.c (__chdir): Likewise.
5571         * io/chmod.c (__chmod): Likewise.
5572         * io/chown.c (__chown): Likewise.
5573         * io/close.c (__close): Likewise.
5574         * io/creat.c (creat): Likewise.
5575         * io/creat64.c (creat64): Likewise.
5576         * io/dup.c (__dup): Likewise.
5577         * io/dup2.c (__dup2): Likewise.
5578         * io/dup3.c (__dup3): Likewise.
5579         * io/euidaccess.c (__euidaccess): Likewise.
5580         * io/faccessat.c (faccessat): Likewise.
5581         * io/fchmod.c (__fchmod): Likewise.
5582         * io/fchmodat.c (fchmodat): Likewise.
5583         * io/fchown.c (__fchown): Likewise.
5584         * io/fchownat.c (fchownat): Likewise.
5585         * io/fcntl.c (__fcntl): Likewise.
5586         * io/flock.c (__flock): Likewise.
5587         * io/fts.c (fts_load): Likewise.
5588         (fts_close): Likewise.
5589         (fts_read): Likewise.
5590         (fts_set): Likewise.
5591         (fts_children): Likewise.
5592         (fts_build): Likewise.
5593         (fts_stat): Likewise.
5594         (fts_sort): Likewise.
5595         (fts_alloc): Likewise.
5596         (fts_lfree): Likewise.
5597         (fts_palloc): Likewise.
5598         (fts_padjust): Likewise.
5599         (fts_maxarglen): Likewise.
5600         (fts_safe_changedir): Likewise.
5601         * io/getwd.c (getwd): Likewise.
5602         * io/isatty.c (__isatty): Likewise.
5603         * io/lchown.c (__lchown): Likewise.
5604         * io/link.c (__link): Likewise.
5605         * io/linkat.c (linkat): Likewise.
5606         * io/lseek.c (__libc_lseek): Likewise.
5607         * io/mkdir.c (__mkdir): Likewise.
5608         * io/mkdirat.c (mkdirat): Likewise.
5609         * io/mkfifo.c (mkfifo): Likewise.
5610         * io/mkfifoat.c (mkfifoat): Likewise.
5611         * io/open.c (__libc_open): Likewise.
5612         * io/open64.c (__libc_open64): Likewise.
5613         * io/readlink.c (__readlink): Likewise.
5614         * io/readlinkat.c (readlinkat): Likewise.
5615         * io/rmdir.c (__rmdir): Likewise.
5616         * io/symlink.c (__symlink): Likewise.
5617         * io/symlinkat.c (symlinkat): Likewise.
5618         * io/ttyname.c (ttyname): Likewise.
5619         * io/ttyname_r.c (__ttyname_r): Likewise.
5620         * io/umask.c (__umask): Likewise.
5621         * io/unlink.c (__unlink): Likewise.
5622         * io/unlinkat.c (unlinkat): Likewise.
5623         * io/utime.c (utime): Likewise.
5624         * libio/clearerr.c (clearerr): Likewise.
5625         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5626         * libio/feof.c (_IO_feof): Likewise.
5627         * libio/feof_u.c (feof_unlocked): Likewise.
5628         * libio/ferror.c (_IO_ferror): Likewise.
5629         * libio/ferror_u.c (ferror_unlocked): Likewise.
5630         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5631         * libio/fileno.c (__fileno): Likewise.
5632         * libio/fputc.c (fputc): Likewise.
5633         * libio/fputc_u.c (fputc_unlocked): Likewise.
5634         * libio/fputwc.c (fputwc): Likewise.
5635         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5636         * libio/freopen.c (freopen): Likewise.
5637         * libio/freopen64.c (freopen64): Likewise.
5638         * libio/fseek.c (fseek): Likewise.
5639         * libio/fseeko.c (fseeko): Likewise.
5640         * libio/fseeko64.c (fseeko64): Likewise.
5641         * libio/ftello.c (__ftello): Likewise.
5642         * libio/ftello64.c (ftello64): Likewise.
5643         * libio/fwide.c (fwide): Likewise.
5644         * libio/genops.c (_IO_un_link): Likewise.
5645         (_IO_link_in): Likewise.
5646         (_IO_least_marker): Likewise.
5647         (_IO_switch_to_main_get_area): Likewise.
5648         (_IO_switch_to_backup_area): Likewise.
5649         (_IO_switch_to_get_mode): Likewise.
5650         (_IO_free_backup_area): Likewise.
5651         (_IO_switch_to_put_mode): Likewise.
5652         (__overflow): Likewise.
5653         (__underflow): Likewise.
5654         (__uflow): Likewise.
5655         (_IO_setb): Likewise.
5656         (_IO_doallocbuf): Likewise.
5657         (_IO_default_underflow): Likewise.
5658         (_IO_default_uflow): Likewise.
5659         (_IO_default_xsputn): Likewise.
5660         (_IO_sgetn): Likewise.
5661         (_IO_default_xsgetn): Likewise.
5662         (_IO_sync): Likewise.
5663         (_IO_default_setbuf): Likewise.
5664         (_IO_default_seekpos): Likewise.
5665         (_IO_default_doallocate): Likewise.
5666         (_IO_init): Likewise.
5667         (_IO_old_init): Likewise.
5668         (_IO_default_sync): Likewise.
5669         (_IO_default_finish): Likewise.
5670         (_IO_default_seekoff): Likewise.
5671         (_IO_sputbackc): Likewise.
5672         (_IO_sungetc): Likewise.
5673         (_IO_set_column): Likewise.
5674         (_IO_set_column): Likewise.
5675         (_IO_adjust_column): Likewise.
5676         (_IO_get_column): Likewise.
5677         (_IO_init_marker): Likewise.
5678         (_IO_remove_marker): Likewise.
5679         (_IO_marker_difference): Likewise.
5680         (_IO_marker_delta): Likewise.
5681         (_IO_seekmark): Likewise.
5682         (_IO_unsave_markers): Likewise.
5683         (_IO_nobackup_pbackfail): Likewise.
5684         (_IO_default_pbackfail): Likewise.
5685         (_IO_default_seek): Likewise.
5686         (_IO_default_stat): Likewise.
5687         (_IO_default_read): Likewise.
5688         (_IO_default_write): Likewise.
5689         (_IO_default_showmanyc): Likewise.
5690         (_IO_default_imbue): Likewise.
5691         (_IO_iter_next): Likewise.
5692         (_IO_iter_file): Likewise.
5693         * libio/getc.c (_IO_getc): Likewise.
5694         * libio/getwc.c (_IO_getwc): Likewise.
5695         * libio/iofclose.c (_IO_new_fclose): Likewise.
5696         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5697         * libio/iofflush.c (_IO_fflush): Likewise.
5698         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5699         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5700         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5701         * libio/iofgets.c (_IO_fgets): Likewise.
5702         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5703         * libio/iofgetws.c (fgetws): Likewise.
5704         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5705         * libio/iofopen64.c (_IO_fopen64): Likewise.
5706         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5707         (_IO_cookie_write): Likewise.
5708         (_IO_cookie_seek): Likewise.
5709         (_IO_cookie_close): Likewise.
5710         (_IO_cookie_seekoff): Likewise.
5711         (_IO_old_cookie_seek): Likewise.
5712         * libio/iofputs.c (_IO_fputs): Likewise.
5713         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5714         * libio/iofputws.c (fputws): Likewise.
5715         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5716         * libio/iofread.c (_IO_fread): Likewise.
5717         * libio/iofread_u.c (__fread_unlocked): Likewise.
5718         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5719         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5720         * libio/ioftell.c (_IO_ftell): Likewise.
5721         * libio/iofwrite.c (_IO_fwrite): Likewise.
5722         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5723         * libio/iogets.c (_IO_gets): Likewise.
5724         * libio/iopadn.c (_IO_padn): Likewise.
5725         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5726         (_IO_new_popen): Likewise.
5727         (_IO_new_proc_close): Likewise.
5728         * libio/ioputs.c (_IO_puts): Likewise.
5729         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5730         (_IO_seekoff): Likewise.
5731         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5732         (_IO_seekpos): Likewise.
5733         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5734         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5735         * libio/ioungetc.c (_IO_ungetc): Likewise.
5736         * libio/ioungetwc.c (ungetwc): Likewise.
5737         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5738         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5739         * libio/iowpadn.c (_IO_wpadn): Likewise.
5740         * libio/libc_fatal.c (__libc_fatal): Likewise.
5741         * libio/memstream.c (__open_memstream): Likewise.
5742         (_IO_mem_sync): Likewise.
5743         (_IO_mem_finish): Likewise.
5744         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5745         (_IO_old_file_close_it): Likewise.
5746         (_IO_old_file_finish): Likewise.
5747         (_IO_old_file_fopen): Likewise.
5748         (_IO_old_file_attach): Likewise.
5749         (_IO_old_file_setbuf): Likewise.
5750         (_IO_old_do_write): Likewise.
5751         (old_do_write): Likewise.
5752         (_IO_old_file_underflow): Likewise.
5753         (_IO_old_file_overflow): Likewise.
5754         (_IO_old_file_sync): Likewise.
5755         (_IO_old_file_seekoff): Likewise.
5756         (_IO_old_file_write): Likewise.
5757         (_IO_old_file_xsputn): Likewise.
5758         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5759         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5760         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5761         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5762         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5763         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5764         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5765         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5766         (_IO_old_popen): Likewise.
5767         (_IO_old_proc_close): Likewise.
5768         * libio/oldpclose.c (__old_pclose): Likewise.
5769         * libio/pclose.c (__new_pclose): Likewise.
5770         * libio/peekc.c (_IO_peekc_locked): Likewise.
5771         * libio/putc.c (_IO_putc): Likewise.
5772         * libio/putc_u.c (putc_unlocked): Likewise.
5773         * libio/putchar.c (putchar): Likewise.
5774         * libio/putchar_u.c (putchar_unlocked): Likewise.
5775         * libio/putwc.c (putwc): Likewise.
5776         * libio/putwc_u.c (putwc_unlocked): Likewise.
5777         * libio/putwchar.c (putwchar): Likewise.
5778         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5779         * libio/rewind.c (rewind): Likewise.
5780         * libio/setbuf.c (setbuf): Likewise.
5781         * libio/setlinebuf.c (setlinebuf): Likewise.
5782         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5783         * libio/vscanf.c (_IO_vscanf): Likewise.
5784         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5785         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5786         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5787         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5788         (_IO_switch_to_main_wget_area): Likewise.
5789         (_IO_switch_to_wbackup_area): Likewise.
5790         (_IO_wsetb): Likewise.
5791         (_IO_wdefault_pbackfail): Likewise.
5792         (_IO_wdefault_finish): Likewise.
5793         (_IO_wdefault_uflow): Likewise.
5794         (__woverflow): Likewise.
5795         (__wuflow): Likewise.
5796         (__wunderflow): Likewise.
5797         (_IO_wdefault_xsputn): Likewise.
5798         (_IO_wdefault_xsgetn): Likewise.
5799         (_IO_wdoallocbuf): Likewise.
5800         (_IO_wdefault_doallocate): Likewise.
5801         (_IO_switch_to_wget_mode): Likewise.
5802         (_IO_free_wbackup_area): Likewise.
5803         (_IO_switch_to_wput_mode): Likewise.
5804         (_IO_sputbackwc): Likewise.
5805         (_IO_sungetwc): Likewise.
5806         (_IO_adjust_wcolumn): Likewise.
5807         (_IO_init_wmarker): Likewise.
5808         (_IO_wmarker_delta): Likewise.
5809         (_IO_seekwmark): Likewise.
5810         (_IO_unsave_wmarkers): Likewise.
5811         * libio/wmemstream.c (open_wmemstream): Likewise.
5812         (_IO_wmem_sync): Likewise.
5813         (_IO_wmem_finish): Likewise.
5814         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5815         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5816         * locale/programs/simple-hash.c (init_hash): Likewise.
5817         (delete_hash): Likewise.
5818         (insert_entry): Likewise.
5819         (set_entry): Likewise.
5820         (next_prime): Likewise.
5821         (is_prime): Likewise.
5822         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5823         (xmalloc): Likewise.
5824         (xrealloc): Likewise.
5825         * locale/programs/xstrdup.c (xstrdup): Likewise.
5826         * localedata/collate-test.c (xstrcoll): Likewise.
5827         * localedata/xfrm-test.c (xstrcmp): Likewise.
5828         * login/getlogin_r.c (__getlogin_r): Likewise.
5829         * login/getpt.c (__posix_openpt): Likewise.
5830         * login/login_tty.c (login_tty): Likewise.
5831         * login/setlogin.c (setlogin): Likewise.
5832         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5833         (mach_msg_destroy_port): Likewise.
5834         (mach_msg_destroy_memory): Likewise.
5835         * malloc/mcheck.c (flood): Likewise.
5836         * misc/acct.c (acct): Likewise.
5837         * misc/brk.c (__brk): Likewise.
5838         * misc/chflags.c (chflags): Likewise.
5839         * misc/chroot.c (chroot): Likewise.
5840         * misc/fchflags.c (fchflags): Likewise.
5841         * misc/fstab.c (getfsspec): Likewise.
5842         (getfsfile): Likewise.
5843         * misc/fsync.c (fsync): Likewise.
5844         * misc/ftruncate.c (__ftruncate): Likewise.
5845         * misc/ftruncate64.c (__ftruncate64): Likewise.
5846         * misc/getdomain.c (getdomainname): Likewise.
5847         (getdomainname): Likewise.
5848         * misc/gethostname.c (__gethostname): Likewise.
5849         * misc/getpass.c (getpass): Likewise.
5850         * misc/getttyent.c (skip): Likewise.
5851         (value): Likewise.
5852         * misc/gtty.c (gtty): Likewise.
5853         * misc/hsearch.c (hsearch): Likewise.
5854         (hcreate): Likewise.
5855         * misc/hsearch_r.c (__hcreate_r): Likewise.
5856         (__hdestroy_r): Likewise.
5857         * misc/ioctl.c (__ioctl): Likewise.
5858         * misc/mkdtemp.c (mkdtemp): Likewise.
5859         * misc/mkostemp.c (mkostemp): Likewise.
5860         * misc/mkostemp64.c (mkostemp64): Likewise.
5861         * misc/mkostemps.c (mkostemps): Likewise.
5862         * misc/mkostemps64.c (mkostemps64): Likewise.
5863         * misc/mkstemp.c (mkstemp): Likewise.
5864         * misc/mkstemp64.c (mkstemp64): Likewise.
5865         * misc/mkstemps.c (mkstemps): Likewise.
5866         * misc/mkstemps64.c (mkstemps64): Likewise.
5867         * misc/mktemp.c (__mktemp): Likewise.
5868         * misc/preadv.c (preadv): Likewise.
5869         * misc/preadv64.c (preadv64): Likewise.
5870         * misc/pwritev.c (pwritev): Likewise.
5871         * misc/pwritev64.c (pwritev64): Likewise.
5872         * misc/readv.c (__readv): Likewise.
5873         * misc/revoke.c (revoke): Likewise.
5874         * misc/setdomain.c (setdomainname): Likewise.
5875         * misc/setegid.c (setegid): Likewise.
5876         * misc/seteuid.c (seteuid): Likewise.
5877         * misc/sethostid.c (sethostid): Likewise.
5878         * misc/sethostname.c (sethostname): Likewise.
5879         * misc/setregid.c (__setregid): Likewise.
5880         * misc/setreuid.c (__setreuid): Likewise.
5881         * misc/sstk.c (sstk): Likewise.
5882         * misc/stty.c (stty): Likewise.
5883         * misc/syscall.c (syscall): Likewise.
5884         * misc/syslog.c (setlogmask): Likewise.
5885         * misc/truncate.c (__truncate): Likewise.
5886         * misc/truncate64.c (truncate64): Likewise.
5887         * misc/ualarm.c (ualarm): Likewise.
5888         * misc/usleep.c (usleep): Likewise.
5889         * misc/ustat.c (ustat): Likewise.
5890         * misc/writev.c (__writev): Likewise.
5891         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5892         * nptl/old_pthread_cond_broadcast.c
5893         (__pthread_cond_broadcast_2_0): Likewise.
5894         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5895         Likewise.
5896         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5897         Likewise.
5898         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5899         Likewise.
5900         * nptl/pt-raise.c (raise): Likewise.
5901         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5902         Likewise.
5903         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5904         * nptl/pthread_barrierattr_destroy.c
5905         (pthread_barrierattr_destroy): Likewise.
5906         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5907         Likewise.
5908         * nptl/pthread_barrierattr_setpshared.c
5909         (pthread_barrierattr_setpshared): Likewise.
5910         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5911         Likewise.
5912         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5913         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5914         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5915         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5916         Likewise.
5917         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5918         Likewise.
5919         * nptl/pthread_condattr_getpshared.c
5920         (pthread_condattr_getpshared): Likewise.
5921         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5922         Likewise.
5923         * nptl/pthread_condattr_setpshared.c
5924         (pthread_condattr_setpshared): Likewise.
5925         * nptl/pthread_detach.c (pthread_detach): Likewise.
5926         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5927         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5928         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5929         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5930         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5931         Likewise.
5932         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5933         Likewise.
5934         * nptl/pthread_mutex_getprioceiling.c
5935         (pthread_mutex_getprioceiling): Likewise.
5936         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5937         Likewise.
5938         * nptl/pthread_mutexattr_getprotocol.c
5939         (pthread_mutexattr_getprotocol): Likewise.
5940         * nptl/pthread_mutexattr_getpshared.c
5941         (pthread_mutexattr_getpshared): Likewise.
5942         * nptl/pthread_mutexattr_getrobust.c
5943         (pthread_mutexattr_getrobust): Likewise.
5944         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5945         Likewise.
5946         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5947         Likewise.
5948         * nptl/pthread_mutexattr_setprioceiling.c
5949         (pthread_mutexattr_setprioceiling): Likewise.
5950         * nptl/pthread_mutexattr_setprotocol.c
5951         (pthread_mutexattr_setprotocol): Likewise.
5952         * nptl/pthread_mutexattr_setpshared.c
5953         (pthread_mutexattr_setpshared): Likewise.
5954         * nptl/pthread_mutexattr_setrobust.c
5955         (pthread_mutexattr_setrobust): Likewise.
5956         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5957         Likewise.
5958         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5959         Likewise.
5960         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5961         Likewise.
5962         * nptl/pthread_rwlockattr_getkind_np.c
5963         (pthread_rwlockattr_getkind_np): Likewise.
5964         * nptl/pthread_rwlockattr_getpshared.c
5965         (pthread_rwlockattr_getpshared): Likewise.
5966         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5967         Likewise.
5968         * nptl/pthread_rwlockattr_setkind_np.c
5969         (pthread_rwlockattr_setkind_np): Likewise.
5970         * nptl/pthread_rwlockattr_setpshared.c
5971         (pthread_rwlockattr_setpshared): Likewise.
5972         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5973         Likewise.
5974         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5975         Likewise.
5976         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5977         Likewise.
5978         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5979         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5980         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5981         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5982         * nptl/sem_close.c (sem_close): Likewise.
5983         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5984         * nptl/sem_init.c (__old_sem_init): Likewise.
5985         * nptl/sigaction.c (__sigaction): Likewise.
5986         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5987         * posix/_exit.c (_exit): Likewise.
5988         * posix/alarm.c (alarm): Likewise.
5989         * posix/confstr.c (confstr): Likewise.
5990         * posix/fpathconf.c (__fpathconf): Likewise.
5991         * posix/getgroups.c (__getgroups): Likewise.
5992         * posix/getpgid.c (__getpgid): Likewise.
5993         * posix/group_member.c (__group_member): Likewise.
5994         * posix/pathconf.c (__pathconf): Likewise.
5995         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5996         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5997         * posix/setgid.c (__setgid): Likewise.
5998         * posix/setpgid.c (__setpgid): Likewise.
5999         * posix/setuid.c (__setuid): Likewise.
6000         * posix/sleep.c (__sleep): Likewise.
6001         * posix/sysconf.c (__sysconf): Likewise.
6002         * posix/times.c (__times): Likewise.
6003         * posix/uname.c (__uname): Likewise.
6004         * posix/waitid.c (__waitid): Likewise.
6005         * pwd/getpw.c (__getpw): Likewise.
6006         * resolv/base64.c (b64_pton): Likewise.
6007         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6008         * resolv/gethnamaddr.c (Dprintf): Likewise.
6009         (gethostbyname): Likewise.
6010         (gethostbyname2): Likewise.
6011         (gethostbyaddr): Likewise.
6012         (_sethtent): Likewise.
6013         (_gethtbyname): Likewise.
6014         (_gethtbyname2): Likewise.
6015         (_gethtbyaddr): Likewise.
6016         (map_v4v6_address): Likewise.
6017         (map_v4v6_hostent): Likewise.
6018         (addrsort): Likewise.
6019         (ht_sethostent): Likewise.
6020         (ht_gethostbyname): Likewise.
6021         (ht_gethostbyaddr): Likewise.
6022         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6023         (inet_net_ntop_ipv4): Likewise.
6024         * resolv/inet_neta.c (inet_neta): Likewise.
6025         * resolv/inet_ntop.c (inet_ntop): Likewise.
6026         (inet_ntop4): Likewise.
6027         (inet_ntop6): Likewise.
6028         * resolv/inet_pton.c (__inet_pton): Likewise.
6029         (inet_pton4): Likewise.
6030         (inet_pton6): Likewise.
6031         * resolv/res_debug.c (loc_aton): Likewise.
6032         (loc_ntoa): Likewise.
6033         * resource/getpriority.c (__getpriority): Likewise.
6034         * resource/getrusage.c (__getrusage): Likewise.
6035         * resource/nice.c (nice): Likewise.
6036         * resource/setpriority.c (__setpriority): Likewise.
6037         * resource/setrlimit64.c (setrlimit64): Likewise.
6038         * resource/vlimit.c (vlimit): Likewise.
6039         * resource/vtimes.c (vtimes): Likewise.
6040         * rt/aio_error.c (aio_error): Likewise.
6041         * rt/aio_return.c (aio_return): Likewise.
6042         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6043         * signal/kill.c (__kill): Likewise.
6044         * signal/killpg.c (killpg): Likewise.
6045         * signal/raise.c (raise): Likewise.
6046         * signal/sigaction.c (__sigaction): Likewise.
6047         * signal/sigaddset.c (sigaddset): Likewise.
6048         * signal/sigaltstack.c (sigaltstack): Likewise.
6049         * signal/sigandset.c (sigandset): Likewise.
6050         * signal/sigblock.c (__sigblock): Likewise.
6051         * signal/sigdelset.c (sigdelset): Likewise.
6052         * signal/sigempty.c (sigemptyset): Likewise.
6053         * signal/sigfillset.c (sigfillset): Likewise.
6054         * signal/sighold.c (sighold): Likewise.
6055         * signal/sigignore.c (sigignore): Likewise.
6056         * signal/sigintr.c (siginterrupt): Likewise.
6057         * signal/sigisempty.c (sigisemptyset): Likewise.
6058         * signal/sigismem.c (sigismember): Likewise.
6059         * signal/signal.c (signal): Likewise.
6060         * signal/sigorset.c (sigorset): Likewise.
6061         * signal/sigpause.c (__sigpause): Likewise.
6062         * signal/sigpending.c (sigpending): Likewise.
6063         * signal/sigprocmask.c (__sigprocmask): Likewise.
6064         * signal/sigrelse.c (sigrelse): Likewise.
6065         * signal/sigreturn.c (__sigreturn): Likewise.
6066         * signal/sigset.c (sigset): Likewise.
6067         * signal/sigsetmask.c (__sigsetmask): Likewise.
6068         * signal/sigstack.c (sigstack): Likewise.
6069         * signal/sigsuspend.c (__sigsuspend): Likewise.
6070         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6071         * signal/sysv_signal.c (__sysv_signal): Likewise.
6072         * socket/accept.c (accept): Likewise.
6073         * socket/accept4.c (__libc_accept4): Likewise.
6074         * socket/bind.c (__bind): Likewise.
6075         * socket/connect.c (__connect): Likewise.
6076         * socket/getpeername.c (getpeername): Likewise.
6077         * socket/getsockname.c (__getsockname): Likewise.
6078         * socket/getsockopt.c (getsockopt): Likewise.
6079         * socket/listen.c (__listen): Likewise.
6080         * socket/recv.c (__recv): Likewise.
6081         * socket/recvmsg.c (__recvmsg): Likewise.
6082         * socket/send.c (__send): Likewise.
6083         * socket/sendmsg.c (__sendmsg): Likewise.
6084         * socket/shutdown.c (shutdown): Likewise.
6085         * socket/sockatmark.c (sockatmark): Likewise.
6086         * socket/socket.c (__socket): Likewise.
6087         * stdio-common/ctermid.c (ctermid): Likewise.
6088         * stdio-common/cuserid.c (cuserid): Likewise.
6089         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6090         * stdio-common/remove.c (remove): Likewise.
6091         * stdio-common/rename.c (rename): Likewise.
6092         * stdio-common/renameat.c (renameat): Likewise.
6093         * stdio-common/tempname.c (__gen_tempname): Likewise.
6094         * stdio-common/xbug.c (InitBuffer): Likewise.
6095         (AppendToBuffer): Likewise.
6096         (ReadFile): Likewise.
6097         * stdlib/a64l.c (a64l): Likewise.
6098         * stdlib/drand48_r.c (drand48_r): Likewise.
6099         * stdlib/getcontext.c (getcontext): Likewise.
6100         * stdlib/getenv.c (getenv): Likewise.
6101         * stdlib/l64a.c (l64a): Likewise.
6102         * stdlib/llabs.c (llabs): Likewise.
6103         * stdlib/lldiv.c (lldiv): Likewise.
6104         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6105         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6106         * stdlib/putenv.c (putenv): Likewise.
6107         * stdlib/random.c (__srandom): Likewise.
6108         (__initstate): Likewise.
6109         (__setstate): Likewise.
6110         * stdlib/random_r.c (__srandom_r): Likewise.
6111         (__setstate_r): Likewise.
6112         (__random_r): Likewise.
6113         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6114         * stdlib/setcontext.c (setcontext): Likewise.
6115         * stdlib/setenv.c (setenv): Likewise.
6116         (unsetenv): Likewise.
6117         * stdlib/srand48.c (srand48): Likewise.
6118         * stdlib/srand48_r.c (__srand48_r): Likewise.
6119         * stdlib/swapcontext.c (swapcontext): Likewise.
6120         * stdlib/system.c (__libc_system): Likewise.
6121         * stdlib/tst-strtod.c (expand): Likewise.
6122         * stdlib/tst-strtol.c (expand): Likewise.
6123         * stdlib/tst-strtoll.c (expand): Likewise.
6124         * streams/fattach.c (fattach): Likewise.
6125         * streams/fdetach.c (fdetach): Likewise.
6126         * streams/getmsg.c (getmsg): Likewise.
6127         * streams/isastream.c (isastream): Likewise.
6128         * string/ffs.c (__ffs): Likewise.
6129         * string/ffsll.c (ffsll): Likewise.
6130         * string/memcmp.c (memcmp_common_alignment): Likewise.
6131         (memcmp_not_common_alignment): Likewise.
6132         (MEMCMP): Likewise.
6133         * string/memcpy.c (memcpy): Likewise.
6134         * string/memmove.c (MEMMOVE): Likewise.
6135         * string/memset.c (memset): Likewise.
6136         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6137         * string/strchrnul.c (STRCHRNUL): Likewise.
6138         * string/strerror.c (strerror): Likewise.
6139         * string/strndup.c (__strndup): Likewise.
6140         * string/strverscmp.c (__strverscmp): Likewise.
6141         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6142         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6143         (clnttcp_freeres): Likewise.
6144         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6145         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6146         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6147         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6148         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6149         (xdr_callhdr): Likewise.
6150         * sunrpc/rpcinfo.c (udpping): Likewise.
6151         (tcpping): Likewise.
6152         (pstatus): Likewise.
6153         (pmapdump): Likewise.
6154         (brdcst): Likewise.
6155         (deletereg): Likewise.
6156         (getprognum): Likewise.
6157         (getvers): Likewise.
6158         (get_inet_address): Likewise.
6159         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6160         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6161         (svcudp_stat): Likewise.
6162         (svcudp_recv): Likewise.
6163         (svcudp_reply): Likewise.
6164         (svcudp_getargs): Likewise.
6165         (svcudp_freeargs): Likewise.
6166         (svcudp_destroy): Likewise.
6167         * sunrpc/xdr.c (xdr_bytes): Likewise.
6168         (xdr_netobj): Likewise.
6169         (xdr_string): Likewise.
6170         (xdr_wrapstring): Likewise.
6171         * sunrpc/xdr_float.c (xdr_float): Likewise.
6172         (xdr_double): Likewise.
6173         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6174         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6175         * sysvipc/ftok.c (ftok): Likewise.
6176         * sysvipc/msgctl.c (msgctl): Likewise.
6177         * sysvipc/msgget.c (msgget): Likewise.
6178         * sysvipc/msgrcv.c (msgrcv): Likewise.
6179         * sysvipc/msgsnd.c (msgsnd): Likewise.
6180         * sysvipc/semget.c (semget): Likewise.
6181         * sysvipc/semop.c (semop): Likewise.
6182         * sysvipc/shmat.c (shmat): Likewise.
6183         * sysvipc/shmctl.c (shmctl): Likewise.
6184         * sysvipc/shmdt.c (shmdt): Likewise.
6185         * sysvipc/shmget.c (shmget): Likewise.
6186         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6187         * termios/speed.c (cfgetospeed): Likewise.
6188         (cfgetispeed): Likewise.
6189         (cfsetospeed): Likewise.
6190         (cfsetispeed): Likewise.
6191         * termios/tcflow.c (tcflow): Likewise.
6192         * termios/tcflush.c (tcflush): Likewise.
6193         * termios/tcgetattr.c (__tcgetattr): Likewise.
6194         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6195         * termios/tcgetsid.c (tcgetsid): Likewise.
6196         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6197         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6198         * time/adjtime.c (__adjtime): Likewise.
6199         * time/dysize.c (dysize): Likewise.
6200         * time/ftime.c (ftime): Likewise.
6201         * time/getitimer.c (__getitimer): Likewise.
6202         * time/gettimeofday.c (__gettimeofday): Likewise.
6203         * time/gmtime.c (__gmtime_r): Likewise.
6204         (gmtime): Likewise.
6205         * time/localtime.c (__localtime_r): Likewise.
6206         (localtime): Likewise.
6207         * time/offtime.c (__offtime): Likewise.
6208         * time/settimeofday.c (__settimeofday): Likewise.
6209         * time/stime.c (stime): Likewise.
6210         * time/strftime_l.c (tm_diff): Likewise.
6211         (iso_week_days): Likewise.
6212         * time/strptime.c (strptime): Likewise.
6213         * time/time.c (time): Likewise.
6214         * time/timespec_get.c (timespec_get): Likewise.
6215         * time/tzset.c (tzset_internal): Likewise.
6216         (compute_change): Likewise.
6217         (__tz_compute): Likewise.
6218         * wcsmbs/btowc.c (__btowc): Likewise.
6219         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6220         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6221         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6222         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6223         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6224         * wcsmbs/wcscat.c (__wcscat): Likewise.
6225         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6226         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6227         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6228         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6229         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6230         * wcsmbs/wcslen.c (__wcslen): Likewise.
6231         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6232         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6233         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6234         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6235         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6236         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6237         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6238         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6239         * wcsmbs/wcstok.c (wcstok): Likewise.
6240         * wcsmbs/wctob.c (wctob): Likewise.
6241         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6242         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6243         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6244         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6245         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6246         * wcsmbs/wmemset.c (__wmemset): Likewise.
6247         * wctype/wcfuncs.c (__towlower): Likewise.
6248         (__towupper): Likewise.
6250         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6251         (lll_unlock_elision): Add adapt_count parameter.
6253 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6255         * sysdeps/nptl/configure.ac: Do not give errors based on the
6256         results of top-level configure tests.
6257         * sysdeps/nptl/configure: Regenerated.
6259         * configure.ac (libc_cv_Bgroup): Remove configure test.
6260         * configure: Regenerated.
6261         * config.make.in (have-Bgroup): Remove variable.
6263         * configure.ac (sizeof_long_double): Remove configure test.
6264         * configure: Regenerated.
6265         * config.make.in (sizeof-long-double): Remove variable.
6267         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6268         * configure: Regenerated.
6269         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6270         variable.
6271         (exceptions): Likewise.
6272         * sysdeps/arm/configure: Regenerated.
6273         * config.make.in (exceptions): Remove variable.
6274         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6275         $(exceptions).
6276         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6277         (CFLAGS-vdprintf_chk.c): Likewise.
6278         (CFLAGS-printf_chk.c): Likewise.
6279         (CFLAGS-fprintf_chk.c): Likewise.
6280         (CFLAGS-vprintf_chk.c): Likewise.
6281         (CFLAGS-vfprintf_chk.c): Likewise.
6282         (CFLAGS-gets_chk.c): Likewise.
6283         (CFLAGS-fgets_chk.c): Likewise.
6284         (CFLAGS-fgets_u_chk.c): Likewise.
6285         (CFLAGS-fread_chk.c): Likewise.
6286         (CFLAGS-fread_u_chk.c): Likewise.
6287         (CFLAGS-wprintf_chk.c): Likewise.
6288         (CFLAGS-fwprintf_chk.c): Likewise.
6289         (CFLAGS-vwprintf_chk.c): Likewise.
6290         (CFLAGS-vfwprintf_chk.c): Likewise.
6291         (CFLAGS-fgetws_chk.c): Likewise.
6292         (CFLAGS-fgetws_u_chk.c): Likewise.
6293         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6294         (CFLAGS-fputc.c): Likewise.
6295         (CFLAGS-fputwc.c): Likewise.
6296         (CFLAGS-freopen64.c): Likewise.
6297         (CFLAGS-freopen.c): Likewise.
6298         (CFLAGS-fseek.c): Likewise.
6299         (CFLAGS-fseeko64.c): Likewise.
6300         (CFLAGS-fseeko.c): Likewise.
6301         (CFLAGS-ftello64.c): Likewise.
6302         (CFLAGS-ftello.c): Likewise.
6303         (CFLAGS-fwide.c): Likewise.
6304         (CFLAGS-genops.c): Likewise.
6305         (CFLAGS-getc.c): Likewise.
6306         (CFLAGS-getchar.c): Likewise.
6307         (CFLAGS-getwc.c): Likewise.
6308         (CFLAGS-getwchar.c): Likewise.
6309         (CFLAGS-iofclose.c): Likewise.
6310         (CFLAGS-iofflush.c): Likewise.
6311         (CFLAGS-iofgetpos64.c): Likewise.
6312         (CFLAGS-iofgetpos.c): Likewise.
6313         (CFLAGS-iofgets.c): Likewise.
6314         (CFLAGS-iofgetws.c): Likewise.
6315         (CFLAGS-iofputs.c): Likewise.
6316         (CFLAGS-iofputws.c): Likewise.
6317         (CFLAGS-iofread.c): Likewise.
6318         (CFLAGS-iofsetpos64.c): Likewise.
6319         (CFLAGS-iofsetpos.c): Likewise.
6320         (CFLAGS-ioftell.c): Likewise.
6321         (CFLAGS-iofwrite.c): Likewise.
6322         (CFLAGS-iogetdelim.c): Likewise.
6323         (CFLAGS-iogetline.c): Likewise.
6324         (CFLAGS-iogets.c): Likewise.
6325         (CFLAGS-iogetwline.c): Likewise.
6326         (CFLAGS-ioputs.c): Likewise.
6327         (CFLAGS-ioseekoff.c): Likewise.
6328         (CFLAGS-ioseekpos.c): Likewise.
6329         (CFLAGS-iosetbuffer.c): Likewise.
6330         (CFLAGS-iosetvbuf.c): Likewise.
6331         (CFLAGS-ioungetc.c): Likewise.
6332         (CFLAGS-ioungetwc.c): Likewise.
6333         (CFLAGS-oldfileops.c): Likewise.
6334         (CFLAGS-oldiofclose.c): Likewise.
6335         (CFLAGS-oldiofgetpos64.c): Likewise.
6336         (CFLAGS-oldiofgetpos.c): Likewise.
6337         (CFLAGS-oldiofsetpos64.c): Likewise.
6338         (CFLAGS-oldiofsetpos.c): Likewise.
6339         (CFLAGS-peekc.c): Likewise.
6340         (CFLAGS-putc.c): Likewise.
6341         (CFLAGS-putchar.c): Likewise.
6342         (CFLAGS-putwc.c): Likewise.
6343         (CFLAGS-putwchar.c): Likewise.
6344         (CFLAGS-rewind.c): Likewise.
6345         (CFLAGS-wfileops.c): Likewise.
6346         (CFLAGS-wgenops.c): Likewise.
6347         (CFLAGS-oldiofopen.c): Likewise.
6348         (CFLAGS-iofopen.c): Likewise.
6349         (CFLAGS-iofopen64.c): Likewise.
6350         (CFLAGS-oldtmpfile.c): Likewise.
6351         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6352         (CFLAGS-fprintf.c): Likewise.
6353         (CFLAGS-printf.c): Likewise.
6354         (CFLAGS-vfwprintf.c): Likewise.
6355         (CFLAGS-vfscanf.c): Likewise.
6356         (CFLAGS-vfwscanf.c): Likewise.
6357         (CFLAGS-fscanf.c): Likewise.
6358         (CFLAGS-scanf.c): Likewise.
6359         (CFLAGS-isoc99_vfscanf.c): Likewise.
6360         (CFLAGS-isoc99_vscanf.c): Likewise.
6361         (CFLAGS-isoc99_fscanf.c): Likewise.
6362         (CFLAGS-isoc99_scanf.c): Likewise.
6363         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6364         (CFLAGS-isoc99_fwscanf.c): Likewise.
6365         (CFLAGS-isoc99_vwscanf.c): Likewise.
6366         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6368         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6369         after mkstemp64.
6370         * login/tst-utmp.c (do_prepare): Likewise.
6371         * rt/tst-aio.c (do_prepare): Likewise.
6372         * rt/tst-aio64.c (do_prepare): Likewise.
6374 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6376         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6377         (__lll_lock_elision): Remove adapt_count decrement...
6378         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6379         (__lll_trylock_elision): Likewise.
6380         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6381         (__lll_unlock_elision): ... to here. And utilize
6382         new adapt_count parameter.
6383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6384         (__lll_unlock_elision): Update to include adapt_count
6385         parameter.
6386         (lll_unlock_elision): Pass pointer to adapt_count
6387         variable.
6389 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6391         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6392         Add elision adapt_count parameter to list of arguments.
6393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6394         (lll_unlock_elision): Update with new parameter list
6395         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6396         (lll_unlock_elision): Likewise.
6397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6398         (lll_unlock_elision): Likewise.
6400 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6402         [BZ #19122]
6403         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6404         attribute_hidden.
6406         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6407         attribute_hidden.
6408         [IS_IN (rtld)] (__strdup): Likewise.
6409         [IS_IN (rtld)] (__strerror_r): Likewise.
6410         [IS_IN (rtld)] (__strsep_g): Likewise.
6411         [IS_IN (rtld)] (memchr): Likewise.
6412         [IS_IN (rtld)] (memcmp): Likewise.
6413         [IS_IN (rtld)] (memcpy): Likewise.
6414         [IS_IN (rtld)] (memmove): Likewise.
6415         [IS_IN (rtld)] (memset): Likewise.
6416         [IS_IN (rtld)] (rawmemchr): Likewise.
6417         [IS_IN (rtld)] (stpcpy): Likewise.
6418         [IS_IN (rtld)] (strchr): Likewise.
6419         [IS_IN (rtld)] (strcmp): Likewise.
6420         [IS_IN (rtld)] (strlen): Likewise.
6421         [IS_IN (rtld)] (strnlen): Likewise.
6422         [IS_IN (rtld)] (strsep): Likewise.
6424         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6425         attribute_hidden.
6426         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6428         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6429         attribute_hidden.
6430         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6432         * include/setjmp.h (__longjmp): Add attribute_hidden.
6433         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6435         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6436         Add attribute_hidden.
6438         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6439         [IS_IN (rtld)] (__open): Likewise.
6440         [IS_IN (rtld)] (__fcntl): Likewise.
6442         * include/dirent.h (__opendirat): Add attribute_hidden.
6443         (__getdents): Likewise.
6444         (__getdents64): Likewise.
6445         (__alloc_dir): Likewise.
6446         [IS_IN (rtld)] (__closedir): Likewise.
6447         [IS_IN (rtld)] (__fdopendir): Likewise.
6448         [IS_IN (rtld)] (__readdir): Likewise.
6449         [IS_IN (rtld)] (__readdir64): Likewise.
6450         [IS_IN (rtld)] (__rewinddir): Likewise.
6452         * include/dlfcn.h (_dl_catch_error): Moved to ...
6453         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6454         attribute_hidden.
6456         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6457         (_itoa_word): Likewise.
6459         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6460         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6461         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6462         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6463         (_dl_higher_prime_number): Likewise.
6464         (_dl_debug_printf_c): Likewise.
6465         (_dl_signal_cerror): Likewise.
6466         (_dl_receive_error): Likewise.
6467         (_dl_reloc_bad_type): Likewise.
6468         (_dl_resolve_conflicts): Likewise.
6469         (_dl_check_all_versions): Likewise.
6470         (_dl_check_map_versions): Likewise.
6471         (_dl_sort_fini): Likewise.
6472         (_dl_debug_initialize): Likewise.
6473         (_dl_init_paths): Likewise.
6474         (_dl_show_auxv): Likewise.
6475         (_dl_next_ld_env_entry): Likewise.
6476         (_dl_important_hwcaps): Likewise.
6477         (_dl_load_cache_lookup): Likewise.
6478         (_dl_update_slotinfo): Likewise.
6479         (_dl_show_scope): Likewise.
6481         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6482         attribute_hidden.
6483         (_wordcopy_fwd_dest_aligned): Likewise.
6484         (_wordcopy_bwd_aligned): Likewise.
6485         (_wordcopy_bwd_dest_aligned): Likewise.
6487         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6488         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6489         Likewise.
6490         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6491         Likewise.
6492         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6494 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6496         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6497         GCC 5 requirement.
6499 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6501         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6502         test.
6503         * sysdeps/i386/configure: Regenerated.
6504         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6505         code unconditional.
6507         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6508         test.
6509         (libc_cv_asm_popsection_directive): Likewise.
6510         * configure: Regenerated.
6511         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6512         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6513         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6514         (__make_section_unallocated): Make definition unconditional.
6515         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6516         Remove conditional definition.
6517         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6518         (__make_section_unallocated): Likewise.
6520         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6521         * configure: Regenerated.
6522         * config.make.in (static-libgcc): Remove variable.
6523         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6524         $(static-libgcc).
6525         (build-module-helper): Likewise.
6527         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6528         * configure: Regenerated.
6530 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6532         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6533         (struct char_buffer): New type.
6534         (char_buffer_start, char_buffer_size, char_buffer_error)
6535         (char_buffer_rewind, char_buffer_add): New functions.
6536         (ADDW): Remove macro, replaced by the char_buffer_add function.
6537         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6538         of extend_alloca.  Make control flow more explicit.
6540 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6542         [BZ #19137]
6543         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6544         Add -fomit-frame-pointer.
6545         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6547 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6549         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6550         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6551         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6552         only if !__GNUC_PREREQ (5,0).
6553         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6554         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6555         (INTERNAL_SYSCALL_NCS): Likewise.
6556         (LOADREGS_0): New macro for GCC 5.
6557         (ASMARGS_0): Likewise.
6558         (LOADREGS_1): Likewise.
6559         (ASMARGS_1): Likewise.
6560         (LOADREGS_2): Likewise.
6561         (ASMARGS_2): Likewise.
6562         (LOADREGS_3): Likewise.
6563         (ASMARGS_3): Likewise.
6564         (LOADREGS_4): Likewise.
6565         (ASMARGS_4): Likewise.
6566         (LOADREGS_5): Likewise.
6567         (ASMARGS_5): Likewise.
6568         (LOADREGS_6): Likewise.
6569         (ASMARGS_6): Likewise.
6571 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6573         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6574         -fomit-frame-pointer.
6575         (CFLAGS-mmap64.c): Likewise.
6576         (CFLAGS-semtimedop.c): Likewise.
6577         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6578         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6579         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6580         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6582 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6584         [BZ #18928]
6585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6586         _dl_pointer_guard member.
6587         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6588         initializer.
6589         (security_init): Always set up pointer guard.
6590         (process_envvars): Do not process LD_POINTER_GUARD.
6592 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6594         [BZ #19134]
6595         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6596         (.LC2): Likewise.
6597         (.LC3): Likewise.
6598         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6600 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6602         [BZ #19129]
6603         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6604         r0 and r1.
6606 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6608         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6610 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6612         * include/stap-probe.h: Fix macro definition formatting.
6614 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6616         [BZ #19074]
6617         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6618         load and store num_ifs.
6620 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6622         [BZ #18822]
6623         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6624         (__sched_getaffinity_new): Add libc_hidden_proto and
6625         libc_hidden_def.
6627 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6629         [BZ #19007]
6630         * scripts/localplt.awk: Also allow GOT references.
6631         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6632         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6633         with "+ REL R_386_GLOB_DAT".
6634         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6635         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6637 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6639         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6640         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6641         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6642         Likewise.
6643         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6644         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6645         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6646         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6647         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6648         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6649         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6650         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6651         Likewise.
6652         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6654 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6656         [BZ #19125]
6657         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6658         <math_private.h> and <stdint.h>.
6659         (__llround): Avoid conversions to and from long long int, and
6660         subtractions, where those might raise spurious exceptions.
6661         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6662         <math_private.h> and <stdint.h>.
6663         (__llroundf): Avoid conversions to and from long long int, and
6664         subtractions, where those might raise spurious exceptions.
6666 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6668         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6669         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6670         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6671         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6672         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6673         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6674         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6675         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6676         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6677         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6678         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6679         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6680         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6681         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6682         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6683         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6684         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6685         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6686         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6687         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6688         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6689         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6690         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6691         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6692         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6693         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6694         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6695         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6696         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6697         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6698         (__xstat64_conv): Likewise.
6699         (__xstat32_conv): Likewise.
6701 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6703         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6704         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6705         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6706         <sysdeps/unix/sysv/linux/sysdep.h>.
6707         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6708         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6709         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6710         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6711         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6712         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6713         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6714         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6715         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6720         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6721         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6723         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6724         (sysdep-dl-routines): Add sysdep.
6725         [$(subdir) == nptl] (libpthread-routines): Likewise.
6726         [$(subdir) == rt] (librt-routines): Likewise.
6727         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6728         PIC when branching to SYSCALL_ERROR_LABEL.
6729         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6731         <sysdeps/unix/sysv/linux/sysdep.h>.
6732         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6733         (SYSCALL_ERROR_ERRNO): Removed.
6734         (SYSCALL_ERROR_HANDLER): Changed to empty.
6735         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6736         (__syscall_error): New prototype.
6737         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6738         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6740 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6742         [BZ #19124]
6743         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6744         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6745         _dl_runtime_resolve_avx.
6746         (_dl_runtime_profile_avx512): Make it a hidden alias of
6747         _dl_runtime_profile_avx.
6749 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6751         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6752         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6753         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6754         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6756         [BZ #16422]
6757         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6758         New configure test.
6759         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6760         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6761         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6762         <math_private.h> and <stdint.h>.
6763         (__llrint): Avoid conversions to long long int where those might
6764         raise spurious exceptions.
6765         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6766         <math_private.h> and <stdint.h>.
6767         (__llrintf): Avoid conversions to long long int where those might
6768         raise spurious exceptions.
6770 2015-10-12  Andreas Schwab  <schwab@suse.de>
6772         [BZ #18969]
6773         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6774         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6775         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6776         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6777         $(gen-locales).
6778         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6779         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6780         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6781         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6782         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6783         $(gen-locales).
6784         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6785         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6786         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6787         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6788         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6789         ($(objpfx)tst-ftell-active-handler.out)
6790         ($(objpfx)tst-ftell-append.out)
6791         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6792         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6793         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6794         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6795         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6796         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6797         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6798         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6799         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6800         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6801         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6802         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6803         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6804         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6805         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6806         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6807         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6808         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6809         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6810         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6811         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6812         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6813         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6814         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6815         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6816         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6817         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6818         $(gen-locales).
6819         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6820         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6821         $(gen-locales).
6822         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6823         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6824         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6825         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6826         $(gen-locales).
6827         * libio/tst_wprintf2.c (main): Use explicit locale.
6828         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6830 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6832         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6833         __msg_sig_post.
6834         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6836 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6838         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6839         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6841         * sysdeps/arm/libm-test-ulps: Regenerated.
6843         [BZ #15470]
6844         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6846         [BZ #16399]
6847         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6848         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6849         and <fix-fp-int-convert-overflow.h>.
6850         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6851         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6852         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6853         and <fix-fp-int-convert-overflow.h>.
6854         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6856         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6857         <fix-fp-int-convert-overflow.h>.
6858         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6860         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6861         <fix-fp-int-convert-overflow.h>.
6862         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6864         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6865         and <fix-fp-int-convert-overflow.h>.
6866         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6868         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6869         <limits.h> and <fix-fp-int-convert-overflow.h>.
6870         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6871         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6872         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6873         and <fix-fp-int-convert-overflow.h>.
6874         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6875         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6876         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6877         and <fix-fp-int-convert-overflow.h>.
6878         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6879         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6880         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6882 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6884         [BZ #18589]
6885         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6886         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6887         $(gen-locales).
6889 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6890             Phil Blundell <pb@pbcl.net>
6892         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6893         * nptl/tst-cancel26.c: New file.
6894         * nptl/tst-cancel27.c: Likewise.
6896 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6898         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6899         __ILP32__ isn't defined.
6900         (lrint): Likewise.
6901         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6902         (lrintf): Likewise.
6903         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6904         (lrintl): Likewise.
6905         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6906         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6907         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6909 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6911         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6912         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6915         file.
6916         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6917         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6919 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6921         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6922         configure test.
6923         * sysdeps/i386/configure: Regenerated.
6924         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6925         configure test.
6926         * sysdeps/x86_64/configure: Regenerated.
6927         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6928         Make code unconditional.
6930         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6931         test.
6932         * sysdeps/i386/configure: Regenerated.
6933         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6934         test.
6935         * sysdeps/x86_64/configure: Regenerated.
6936         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6937         Make code unconditional.
6938         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6939         Likewise.
6940         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6941         Likewise.
6942         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6943         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6944         code unconditional.
6945         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6946         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6947         code unconditional.
6948         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6949         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6950         code unconditional.
6951         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6952         code unconditional.
6953         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6954         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6955         code unconditional.
6956         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6957         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6958         code unconditional.
6959         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6960         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6961         code unconditional.
6962         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6963         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6964         code unconditional.
6965         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6966         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6968         [BZ #19095]
6969         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6970         mantissa to long int before shifting left.
6972 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6974         [BZ #19094]
6975         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6976         <limits.h>.
6977         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6978         when result overflows but exception would not result from cast.
6979         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6980         <limits.h>.
6981         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6982         when result overflows but exception would not result from cast.
6983         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6984         <limits.h>.
6985         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6986         when result overflows but exception would not result from cast.
6987         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6988         <limits.h>.
6989         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6990         when result overflows but exception would not result from cast.
6991         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6992         <limits.h>.
6993         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6994         when result overflows but exception would not result from cast.
6995         * math/libm-test.inc (lrint_test_data): Add more tests.
6996         (llrint_test_data): Likewise.
6998 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7000         [BZ #18872]
7001         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7002         Move out from under [$(run-built-tests) = yes] conditional.
7003         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7004         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7006 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7008         [BZ #18589]
7009         * string/Makefile (tests): Add bug-strcoll2.
7010         (LOCALES): Add cs_CZ.UTF-8.
7011         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7013         [BZ #18589]
7014         * string/bug-strcoll2.c: New file.
7015         * locale/categories.def: Revert commit
7016         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7017         * locale/langinfo.h: Likewise.
7018         * locale/localeinfo.h: Likewise.
7019         * locale/C-collate.c: Likewise.
7020         * locale/programs/ld-collate.c (collate_output): Likewise.
7021         * string/strcoll_l.c (STRDIFF): Likewise.
7022         (STRCOLL): Likewise.
7023         * wcsmbs/wcscoll_l.c: Likewise.
7025 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7027         * math/libm-test.inc (lround_test_data): Do not expect the absence
7028         of "inexact" for some tests with non-integer arguments.
7029         (llround_test_data): Likewise.
7031         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7032         test.
7033         (libc_cv_cc_sse2avx): Likewise.
7034         * sysdeps/i386/configure: Regenerated.
7035         * sysdeps/i386/i686/multiarch/Makefile
7036         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7037         [$(subdir) = math].
7038         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7039         code unconditional.
7040         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7041         Likewise.
7042         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7043         Likewise.
7044         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7045         Likewise.
7046         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7047         test.
7048         (libc_cv_cc_sse2avx): Likewise.
7049         * sysdeps/x86_64/configure: Regenerated.
7050         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7051         unconditional.
7052         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7053         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7054         unconditional.
7055         (_dl_runtime_profile)
7056         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7057         conditional code.
7058         * sysdeps/x86_64/fpu/multiarch/Makefile
7059         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7060         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7061         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7062         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7063         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7064         * sysdeps/x86_64/fpu/multiarch/e_log.c
7065         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7066         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7067         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7068         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7069         Likewise.
7070         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7071         Likewise.
7072         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7073         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7074         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7075         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7076         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7077         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7078         (HAVE_SSE2AVX_SUPPORT): Likewise.
7080 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7082         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7083         instead of #pragma optimize.
7085 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7087         [BZ #17195]
7088         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7089         as is similarly done in systrim and _int_free already.
7091 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7093         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7095 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7097         [BZ #19088]
7098         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7099         <limits.h>.
7100         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7101         overflows but exception would not result from cast.
7102         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7103         and <limits.h>.
7104         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7105         overflows but exception would not result from cast.
7106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7107         <limits.h>.
7108         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7109         overflows but exception would not result from cast.
7110         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7111         <limits.h>.
7112         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7113         overflows but exception would not result from cast.
7114         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7115         <limits.h>.
7116         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7117         overflows but exception would not result from cast.
7118         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7119         <limits.h>.
7120         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7121         overflows but exception would not result from cast.
7122         * math/libm-test.inc (lround_test_data): Add more tests.
7123         (llround_test_data): Likewise.
7125 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7127         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7128         (CFLAGS-ialloc.c): Ditto.
7129         (CFLAGS-scheck.c): Ditto.
7131 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7133         [BZ #19086]
7134         * manual/filesys.texi (Storage Allocation): Fix argument order for
7135         posix_fallocate64.
7137 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7139         [BZ #19085]
7140         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7141         exponent below 48 inside case for non-overflowing exponent.
7142         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7144 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7146         * iconvdata/cp737.h (from_idx): Add const.
7147         * iconvdata/cp775.h (from_idx): Likewise.
7149 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7151         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7152         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7153         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7155         [BZ #19079]
7156         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7157         file, conditioned on [!_LP64].
7158         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7159         [!_LP64] (__lround): Do not define as function or alias.
7160         [!_LP64] (lround): Likewise.
7161         [!_LP64] (__lroundl): Likewise.
7162         [!_LP64] (lroundl): Likewise.
7163         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7164         macro.
7165         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7166         Likewise.
7168 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7170         * math/libm-test.inc (lrint_test_data): Add more tests.
7171         (llrint_test_data): Likewise.
7172         (lround_test_data): Likewise.
7173         (llround_test_data): Likewise.
7175         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7176         (llrint_test_data): Add tests used for lrint.
7178         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7179         test.
7180         * sysdeps/i386/configure: Regenerated.
7181         * sysdeps/i386/i686/multiarch/Makefile
7182         [$(config-cflags-sse4) = yes]: Make code unconditional.
7183         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7184         Likewise.
7185         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7186         Likewise.
7187         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7188         test.
7189         * sysdeps/x86_64/configure: Regenerated.
7190         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7191         Make code unconditional.
7192         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7193         Likewise.
7194         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7195         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7197         * scripts/rpm2dynsym.sh: Remove file.
7199 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7201         * configure.ac (libc_cv_cxx_thread_local): Define.
7202         * configure: Regenerate.
7203         * config.make.in (have-cxx-thread_local): Define.
7204         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7205         (LDLIBS-tst-thread_local1): Define.
7206         (tests): Add tst-thread_local1.
7207         [have-cxx-thread_local != yes] (tests-unsupported): Add
7208         tst-thread_local1.
7209         * nptl/tst-thread_local1.cc: New file.
7211 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7213         [BZ #19078]
7214         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7215         (u_thres): Likewise.
7216         (__expl): Determine whether to call __kernel_standard_l based on
7217         value of result, not argument.
7219         * math/libm-test.inc (scalb_test_data): Add more expectations for
7220         the "inexact" exception.
7222         [BZ #19077]
7223         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7224         0.0L for argument 1.0L.
7226         [BZ #19076]
7227         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7228         constant 0.0L when computing infinite result.
7230 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7232         [BZ #10432]
7233         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7234         malloc_usable_size.
7236 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7238         [BZ #19018]
7239         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7240         Mangle function pointer before storing it.
7241         (__call_tls_dtors): Demangle function pointer before calling it.
7243 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7245         [BZ #19012]
7246         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7247         Clean up on failure.
7249 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #19071]
7252         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7253         long int variable to store possibly incremented high part of
7254         mantissa.
7255         * math/libm-test.inc (lround_test_data): Add tests used for
7256         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7257         for tests requiring 64-bit long.  Do not condition tests on
7258         [TEST_FLOAT] unnecessarily.
7259         (llround_test_data): Add tests used for lround.  Add another
7260         expectation for the "inexact" exception.  Do not condition tests
7261         on [TEST_FLOAT] unnecessarily.
7263         [BZ #887]
7264         [BZ #19049]
7265         [BZ #19050]
7266         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7267         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7268         <fix-int-fp-convert-zero.h>.
7269         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7270         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7271         <fix-int-fp-convert-zero.h>.
7272         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7273         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7274         <fix-int-fp-convert-zero.h>.
7275         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7276         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7277         <fix-int-fp-convert-zero.h>.
7278         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7279         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7280         <fix-int-fp-convert-zero.h>.
7281         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7282         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7283         <fix-int-fp-convert-zero.h>.
7284         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7285         * sysdeps/ieee754/flt-32/s_erff.c: Include
7286         <fix-int-fp-convert-zero.h>.
7287         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7288         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7289         <fix-int-fp-convert-zero.h>.
7290         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7292         <fix-int-fp-convert-zero.h>.
7293         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7295         <fix-int-fp-convert-zero.h>.
7296         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7297         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7298         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7299         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7300         file.
7301         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7303 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7307 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7309         [BZ #19059]
7310         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7311         overflowing computation.
7312         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7313         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7314         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7315         Likewise.
7316         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7317         Likewise.
7318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7319         Likewise.
7320         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7321         Likewise.
7322         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7323         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7324         Likewise.
7325         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7326         Likewise.
7327         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7329         * nss/rewrite_field.c (__nss_rewrite_field): Use
7330         internal_function.
7331         * nss/valid_field.c (__nss_valid_field): Likewise.
7332         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7334 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7336         [BZ #18724]
7337         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7338         (__nss_invalid_field_characters, __nss_valid_field)
7339         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7340         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7341         tst-field.c: New file.
7342         * nss/Makefile (routines): Add valid_field, rewrite_field.
7343         (tests-static): Define unconditionally.
7344         (tests): Include tests-static.
7345         [build-static-nss] (tests-static): Use append.
7346         [build-static-nss] (tests): Remove modification.
7347         * nss/getent.c (print_group): Call putgrent.  Report error.
7348         (print_gshadow): Call putsgent.  Report error.
7349         (print_passwd): Call putpwent.  Report error.
7350         (print_shadow): Call putspent.  Report error.
7351         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7352         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7353         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7354         name, password, directory, shell fields for valid syntax.  Rewrite
7355         GECOS field to match syntax.
7356         * pwd/Makefile (tests): Add tst-putpwent.
7357         * pwd/tst-putpwent.c: New file.
7358         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7359         Check grName, grpasswd, gr_mem fields for valid syntax.
7360         Change loop variable i to size_t.
7361         * grp/Makefile (tests): Add tst-putgrent.
7362         * grp/tst-putgrent.c: New file.
7363         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7364         valid syntax.
7365         * shadow/Makefile (tests): Add tst-putspent.
7366         * shadow/tst-putspent.c: New file.
7367         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7368         sg_mem fields for valid syntax.
7369         * gshadow/Makefile (tests): Add tst-putsgent.
7370         * gshadow/tst-putsgent.c: New file.
7372 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7374         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7375         assembly instructions.
7377 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7379         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7380         prefix from operands.
7382 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7384         [BZ #16347]
7385         [BZ #19046]
7386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7387         <libc-internal.h>.
7388         (MAXLGM): Do not use diagnostic control macros.
7389         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7390         threshold for ldbl-128ibm.
7391         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7392         instead of multiplying by log then subtracting.
7393         * math/auto-libm-test-in: Add more tests of lgamma.
7394         * math/auto-libm-test-out: Regenerated.
7396         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7397         (TYPE_HEX_DIG): Likewise.
7398         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7399         precisions when printing floating-point numbers.
7400         (check_float_internal): Likewise.
7402 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7404         [BZ #16620]
7405         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7406         of log (10) rounded downward to 48 bits.
7407         (log10_low): Use corresponding low part of log (10).
7409         [BZ #19032]
7410         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7411         compute result as (x - x) / (x - x) not as 0 / 0.
7412         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7413         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7415         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7416         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7417         and expm1.
7418         * math/auto-libm-test-out: Regenerated.
7419         * math/libm-test.inc (acos_test_data): Add more tests.
7420         (asin_test_data): Likewise.
7421         (asinh_test_data): Likewise.
7422         (atan_test_data): Likewise.
7423         (atanh_test_data): Likewise.
7424         (atan2_test_data): Likewise.
7425         (cbrt_test_data): Likewise.
7426         (ceil_test_data): Likewise.
7427         (copysign_test_data): Likewise.
7428         (cos_test_data): Likewise.
7429         (cosh_test_data): Likewise.
7430         (erf_test_data): Likewise.
7431         (erfc_test_data): Likewise.
7432         (exp_test_data): Likewise.
7433         (exp10_test_data): Likewise.
7434         (exp2_test_data): Likewise.
7435         (expm1_test_data): Likewise.
7436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7438 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7440         [BZ #19006]
7441         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7442         to ...
7443         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7444         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7445         to ...
7446         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7447         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7448         to ...
7449         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7450         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7451         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7452         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7453         to ...
7454         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7455         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7456         Moved to ...
7457         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7458         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7459         Moved to ...
7460         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7461         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7462         to ...
7463         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7464         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7465         Moved to ...
7466         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7467         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7468         to ...
7469         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7470         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7471         Removed.
7472         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7473         Likewise.
7474         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7475         Likewise.
7476         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7477         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7478         Likewise.
7479         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7484         Likewise.
7485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7486         Likewise.
7487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7488         Likewise.
7489         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7490         Likewise.
7491         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7492         Likewise.
7493         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7494         Likewise.
7495         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7496         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7497         Likewise.
7498         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7499         Likewise.
7500         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7503         Likewise.
7504         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7505         Likewise.
7506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7507         Replace ../i486/pthread_cond_timedwait.S with
7508         ../pthread_cond_timedwait.S.
7510 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7512         * math/libm-test.inc (acos_test_data): Refine expectations for
7513         errno and "inexact" exceptions.
7514         (acosh_test_data): Likewise.
7515         (asin_test_data): Likewise.
7516         (asinh_test_data): Likewise.
7517         (atan_test_data): Likewise.
7518         (atanh_test_data): Likewise.
7519         (atan2_test_data): Likewise.
7520         (cbrt_test_data): Likewise.
7521         (ceil_test_data): Likewise.
7522         (copysign_test_data): Likewise.
7523         (cosh_test_data): Likewise.
7524         (erf_test_data): Likewise.
7525         (erfc_test_data): Likewise.
7526         (exp_test_data): Likewise.
7527         (exp10_test_data): Likewise.
7528         (exp2_test_data): Likewise.
7529         (expm1_test_data): Likewise.
7530         (fabs_test_data): Likewise.
7531         (floor_test_data): Likewise.
7532         (fma_test_data): Likewise.
7533         (fmax_test_data): Likewise.
7534         (fmin_test_data): Likewise.
7535         (fmod_test_data): Likewise.
7536         (fpclassify_test_data): Likewise.
7537         (frexp_test_data): Likewise.
7538         (hypot_test_data): Likewise.
7539         (ilogb_test_data): Likewise.
7540         (isgreater_test_data): Likewise.
7541         (isgreaterequal_test_data): Likewise.
7542         (isinf_test_data): Likewise.
7543         (isless_test_data): Likewise.
7544         (islessequal_test_data): Likewise.
7545         (islessgreater_test_data): Likewise.
7546         (isnan_test_data): Likewise.
7547         (isnormal_test_data): Likewise.
7548         (issignaling_test_data): Likewise.
7549         (isunordered_test_data): Likewise.
7550         (j0_test_data): Likewise.
7551         (j1_test_data): Likewise.
7552         (jn_test_data): Likewise.
7553         (lgamma_test_data): Likewise.
7554         (lrint_test_data): Likewise.
7555         (llrint_test_data): Likewise.
7556         (log_test_data): Likewise.
7557         (log10_test_data): Likewise.
7558         (log1p_test_data): Likewise.
7559         (log2_test_data): Likewise.
7560         (logb_test_data): Likewise.
7561         (lround_test_data): Likewise.
7562         (llround_test_data): Likewise.
7563         (modf_test_data): Likewise.
7564         (nearbyint_test_data): Likewise.
7565         (nextafter_test_data): Likewise.
7566         (nexttoward_test_data): Likewise.
7567         (pow_test_data): Likewise.
7568         (remainder_test_data): Likewise.
7569         (remquo_test_data): Likewise.
7570         (rint_test_data): Likewise.
7571         (round_test_data): Likewise.
7572         (signbit_test_data): Likewise.
7573         (sinh_test_data): Likewise.
7574         (sqrt_test_data): Likewise.
7575         (tanh_test_data): Likewise.
7576         (tgamma_test_data): Likewise.
7577         (trunc_test_data): Likewise.
7578         (y0_test_data): Likewise.
7579         (y1_test_data): Likewise.
7580         (yn_test_data): Likewise.
7581         (significand_test_data): Likewise.
7583 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7585         * manual/filesys.texi (Storage Allocation): Document that
7586         posix_fallocate emulation fails when fd is open with O_WRONLY.
7588 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7590         [BZ #19016]
7591         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7592         allow more cases with X^2 + Y^2 >= 0.5.
7593         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7594         normal element in sum instead of special-casing based on values of
7595         arguments.
7596         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7597         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7598         -1 as normal element in sum instead of special-casing based on
7599         values of arguments.
7600         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7601         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7602         (__x2y2m1): Update comment.
7603         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7604         as normal element in sum instead of special-casing based on values
7605         of arguments.
7606         * math/s_clog.c (__clog): Handle more cases using log1p without
7607         hypot.
7608         * math/s_clog10.c (__clog10): Likewise.
7609         * math/s_clog10f.c (__clog10f): Likewise.
7610         * math/s_clog10l.c (__clog10l): Likewise.
7611         * math/s_clogf.c (__clogf): Likewise.
7612         * math/s_clogl.c (__clogl): Likewise.
7613         * math/auto-libm-test-in: Add more tests of clog and clog10.
7614         * math/auto-libm-test-out: Regenerated.
7615         * sysdeps/i386/fpu/libm-test-ulps: Update.
7616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7618 2015-09-28  Martin Sebor  <msebor@redhat.com>
7620         [BZ #18969]
7621         * string/Makefile (LOCALES): Define.
7622         (gen-locales.mk): Include.
7623         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7624         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7625         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7626         on setlocale failure.
7628 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7630         [BZ #18985]
7631         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7632         (__strftime_internal): Likewise.
7633         * time/tst-strftime.c (do_bz18985): New test.
7634         (do_test): Call it.
7636 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7638         [BZ #18956]
7639         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7640         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7641         extracting high part.
7642         * math/auto-libm-test-in: Add another test of pow.
7643         * math/auto-libm-test-out: Regenerated.
7644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7646 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7648         [BZ #18825]
7649         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7650         New macro.
7651         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7652         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7653         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7654         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7655         DBL_NARROW_EVAL, reloading the PIC register as needed.
7656         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7657         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7658         FLT_NARROW_EVAL.  Use separate return path for case when first
7659         argument is NaN.
7660         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7661         DEFINE_LDBL_MIN.
7662         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7663         PIC register.
7664         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7665         math_check_force_underflow_nonneg.
7666         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7667         underflow for subnormal result.
7668         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7670         math_check_force_underflow_nonneg.
7671         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7672         math_check_force_underflow.
7673         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7674         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7675         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7676         DEFINE_LDBL_MIN.
7677         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7678         * math/auto-libm-test-in: Add more tests of pow.
7679         * math/auto-libm-test-out: Regenerated.
7681 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7683         * nss/bug17079.c (init_test_items): Add diagnostic for
7684         inconsistent entries.
7685         (test_buffer_size): Skip inconsistent entries.
7687 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7689         [BZ #13304]
7690         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7691         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7692         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7694         [BZ #13304]
7695         * sysdeps/microblaze/s_fma.c: New file.
7696         * sysdeps/microblaze/s_fmaf.c: Likewise.
7697         * sysdeps/microblaze/sfp-machine.h: Likewise.
7699 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7701         [BZ #17250]
7702         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7703         member.
7705 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7707         [BZ #18803]
7708         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7709         (MO): New macro.
7710         (__ieee754_hypot) [PIC]: Load PIC register.
7711         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7712         DBL_NARROW_EVAL.
7713         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7714         math_check_force_underflow_nonneg in case where result might be
7715         tiny.
7716         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7717         Likewise.
7718         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7719         Likewise.
7720         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7721         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7722         * math/auto-libm-test-in: Add more tests of hypot.
7723         * math/auto-libm-test-out: Regenerated.
7725 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7727         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7729 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7731         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7732         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7733         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7734         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7735         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7736         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7737         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7739         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7740         LOAD_PIC_REG.
7742         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7743         (FLT_CHECK_FORCE_UFLOW): Likewise.
7744         (DBL_CHECK_FORCE_UFLOW): Likewise.
7745         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7746         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7747         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7748         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7749         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7750         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7751         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7752         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7753         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7755         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7756         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7757         (flt_min): Replace with use of DEFINE_FLT_MIN.
7758         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7759         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7760         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7761         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7762         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7763         (flt_min): Replace with use of DEFINE_FLT_MIN.
7764         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7765         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7766         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7767         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7768         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7769         (flt_min): Replace with use of DEFINE_FLT_MIN.
7770         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7771         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7772         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7773         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7774         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7775         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7776         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7777         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7778         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7779         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7780         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7781         (flt_min): Replace with use of DEFINE_FLT_MIN.
7782         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7783         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7784         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7785         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7786         main computation.
7787         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7788         (flt_min): Replace with use of DEFINE_FLT_MIN.
7789         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7790         main computation.
7791         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7792         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7793         (MO): New macro.
7794         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7795         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7796         (flt_min): Replace with use of DEFINE_FLT_MIN.
7797         (MO): New macro.
7798         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7799         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7800         (__log1pl): Use MO.
7802         [BZ #19003]
7803         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7804         $(config-cflags-nofma).
7806 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7808         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7810 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7812         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7813         (TWO127): Likewise.
7815         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7816         (min_of_type): Likewise.
7817         (math_check_force_underflow): Likewise.
7818         (math_check_force_underflow_nonneg): Likewise.
7819         (math_check_force_underflow_complex): Likewise.
7820         * math/e_exp2l.c (__ieee754_exp2l): Use
7821         math_check_force_underflow_nonneg.
7822         * math/k_casinh.c (__kernel_casinh): Likewise.
7823         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7824         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7825         * math/s_catan.c (__catan): Use
7826         math_check_force_underflow_complex.
7827         * math/s_catanf.c (__catanf): Likewise.
7828         * math/s_catanh.c (__catanh): Likewise.
7829         * math/s_catanhf.c (__catanhf): Likewise.
7830         * math/s_catanhl.c (__catanhl): Likewise.
7831         * math/s_catanl.c (__catanl): Likewise.
7832         * math/s_ccosh.c (__ccosh): Likewise.
7833         * math/s_ccoshf.c (__ccoshf): Likewise.
7834         * math/s_ccoshl.c (__ccoshl): Likewise.
7835         * math/s_cexp.c (__cexp): Likewise.
7836         * math/s_cexpf.c (__cexpf): Likewise.
7837         * math/s_cexpl.c (__cexpl): Likewise.
7838         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7839         * math/s_clog10.c (__clog10): Likewise.
7840         * math/s_clog10f.c (__clog10f): Likewise.
7841         * math/s_clog10l.c (__clog10l): Likewise.
7842         * math/s_clogf.c (__clogf): Likewise.
7843         * math/s_clogl.c (__clogl): Likewise.
7844         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7845         * math/s_csinf.c (__csinf): Likewise.
7846         * math/s_csinh.c (__csinh): Likewise.
7847         * math/s_csinhf.c (__csinhf): Likewise.
7848         * math/s_csinhl.c (__csinhl): Likewise.
7849         * math/s_csinl.c (__csinl): Likewise.
7850         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7851         * math/s_csqrtf.c (__csqrtf): Likewise.
7852         * math/s_csqrtl.c (__csqrtl): Likewise.
7853         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7854         * math/s_ctanf.c (__ctanf): Likewise.
7855         * math/s_ctanh.c (__ctanh): Likewise.
7856         * math/s_ctanhf.c (__ctanhf): Likewise.
7857         * math/s_ctanhl.c (__ctanhl): Likewise.
7858         * math/s_ctanl.c (__ctanl): Likewise.
7859         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7860         instead of volatile.
7861         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7862         math_check_force_underflow.
7863         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7864         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7865         volatile when forcing underflow.
7866         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7867         math_check_force_underflow_nonneg.
7868         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7869         Likewise.
7870         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7871         math_check_force_underflow.
7872         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7873         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7874         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7875         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7876         math_check_force_underflow_nonneg.
7877         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7878         math_check_force_underflow.
7879         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7881         instead of volatile.
7882         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7883         math_check_force_underflow.
7884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7885         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7886         math_check_force_underflow_nonneg.
7887         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7888         math_check_force_underflow.
7889         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7890         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7891         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7892         math_check_force_underflow_nonneg.
7893         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7894         Likewise.
7895         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7896         math_check_force_underflow.
7897         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7898         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7899         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7900         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7901         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7902         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7903         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7904         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7905         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7906         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7907         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7908         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7909         Likewise.
7910         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7911         math_check_force_underflow_nonneg.
7912         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7913         Likewise.
7914         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7915         math_check_force_underflow.
7916         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7917         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7918         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7919         Likewise.
7920         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7921         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7922         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7923         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7924         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7925         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7927         instead of volatile.
7928         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7929         math_check_force_underflow.
7930         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7931         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7932         math_check_force_underflow.
7933         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7934         Likewise.
7935         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7936         Use math_check_force_underflow_nonneg.
7937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7938         math_check_force_underflow.
7939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7940         Likewise.
7941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7942         Likewise.
7943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7944         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7946         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7947         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7948         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7949         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7950         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7951         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7952         math_check_force_underflow_nonneg.
7953         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7954         math_check_force_underflow.
7955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7956         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7957         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7958         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7959         math_check_force_underflow_nonneg.
7960         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7961         math_check_force_underflow.
7962         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7963         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7964         instead of volatile.
7965         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7966         math_check_force_underflow.
7968         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7969         * stdlib/strtod_l.c: Include <math_private.h>.
7970         (overflow_value): Use math_narrow_eval.
7971         (underflow_value): Likewise.
7972         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7973         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7974         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7975         (__ieee754_gamma_r): Likewise.
7976         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7977         Likewise.
7978         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7979         Likewise.
7980         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7981         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7982         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7983         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7984         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7985         (__ieee754_gammaf_r): Likewise.
7986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7987         Likewise.
7988         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7989         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7990         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7991         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7992         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7993         volatile.
7994         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7995         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7996         math_narrow_eval.
7997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7998         Likewise.
7999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8000         Likewise.
8001         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8002         Likewise.
8003         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8004         volatile.
8005         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8006         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8007         math_narrow_eval.
8008         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8009         Likewise.
8010         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8011         Likewise.
8013 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8015         * nptl/Versions: Remove ignored symbols.
8017 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8019         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8020         * nss/Makefile (tests): Update.
8022 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8024         * nss/bug18287.c: New file.
8025         * nss/Makefile (tests): Add bug18287.
8027 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8029         * mach/Versions (__mach_host_self_): Add symbol.
8031 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8033         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8034         vm_page_size.
8036 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8038         Really fix sysdeps/i386/fpu/s_scalbn.S build
8040         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8041         (libc: GLIBC_2_22): Remove unused version set.
8043 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8045         * config.make.in (enable-timezone-tools): New variable.
8046         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8047         (enable_timezone_tools): Export to generated files.
8048         * configure: Regenerate.
8049         * INSTALL: Regenerate.
8050         * manual/install.texi (--disable-timezone-tools): Document new flag.
8051         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8052         ifeq ($(enable-timezone-tools),yes) check.
8054 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8056         * timezone/Makefile: Revert previous change.
8058         [BZ #18980]
8059         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8060         (DEFINE_DBL_MIN): Likewise.
8061         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8062         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8063         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8064         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8065         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8066         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8067         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8068         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8069         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8070         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8071         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8072         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8073         (flt_min): Replace with use of DEFINE_FLT_MIN.
8074         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8075         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8076         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8077         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8078         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8079         (flt_min): Replace with use of DEFINE_FLT_MIN.
8080         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8081         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8082         (flt_min): Replace with use of DEFINE_FLT_MIN.
8083         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8084         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8085         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8086         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8087         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8088         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8089         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8090         (__ieee754_pow): Use DBL_NARROW_EVAL.
8091         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8092         (__ieee754_powf): Use FLT_NARROW_EVAL.
8093         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8094         (__ieee754_expf_sse2): Convert double-precision result to single
8095         precision.
8096         * sysdeps/i386/fpu/libm-test-ulps: Update.
8098 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8100         * timezone/Makefile: Ignore unused variable errors due to private.h
8101         (time_t_min) and (time_t_max).
8102         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8103         Likewise.
8105 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8107         [BZ #18981]
8108         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8109         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8110         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8111         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8112         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8113         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8114         (__scalbn): Use DBL_NARROW_EVAL.
8115         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8116         (__scalbnf): Use FLT_NARROW_EVAL.
8118 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8120         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8121         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8122         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8123         * stdio-common/printf_fp.c (___printf_fp):
8124         Use signbit to get the sign. Use isinf macro to allow inlining.
8125         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8126         * stdio-common/printf_size.c (__printf_size): Likewise.
8128 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8130         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8132 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8134         [BZ #18980]
8135         * sysdeps/generic/math_private.h: Include <float.h>.
8136         (math_narrow_eval): New macro.
8137         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8138         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8139         math_narrow_eval on overflowing return value.
8140         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8141         Likewise.
8142         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8143         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8144         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8145         Likewise.
8146         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8148 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8150         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8151         * math/Makefile: Remove isinf_ns.c.
8152         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8153         * math/multc3.c (__multc3): Likewise.
8154         * math/s_casin.c (__casin): Likewise.
8155         * math/s_casinf.c (__casinf): Likewise.
8156         * math/s_casinl.c (__casinl): Likewise.
8157         * math/s_cproj.c (__cproj): Likewise.
8158         * math/s_cprojf.c (__cprojf): Likewise.
8159         * math/s_cprojl.c (__cprofl): Likewise.
8160         * math/s_ctan.c (__ctan): Likewise.
8161         * math/s_ctanf.c (__ctanf): Likewise.
8162         * math/s_ctanh.c (__ctanh): Likewise.
8163         * math/s_ctanhf.c (__ctanhf): Likewise.
8164         * math/s_ctanhl.c (__ctanhl): Likewise.
8165         * math/s_ctanl.c (__ctanl): Likewise.
8166         * math/w_fmod.c (__fmod): Likewise.
8167         * math/w_fmodf.c (__fmodf): Likewise.
8168         * math/w_fmodl.c (_fmodl): Likewise.
8169         * math/w_remainder.c (__remainder): Likewise.
8170         * math/w_remainderf.c (__remainderf): Likewise.
8171         * math/w_remainderl.c (__remainderl): Likewise.
8172         * math/w_scalb.c (__scalb): Likewise.
8173         * math/w_scalbf.c (__scalbf): Likewise.
8174         * math/w_scalbl.c (__scalbl): Likewise.
8175         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8176         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8177         with isinf.
8178         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8180         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8181         __isinf_nsf with isinf.
8182         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8183         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8184         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8185         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8186         with isinf.
8187         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8188         __isinf_nsl with isinf.
8189         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8190         with isinf.
8191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8192         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8193         __isinf_nsl with isinf.
8194         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8195         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8196         with isinf.
8198 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8200         * resolv/base64.c (rcsid): Remove unused static.
8201         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8202         static.  (tqpi1): Likewise.
8203         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8204         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8205         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8206         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8207         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8208         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8209         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8210         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8211         Likewise.
8213 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8215         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8216         <nptl/pthreadP.h>.
8217         (_longjmp_unwind): Use __libc_ptf_call.
8218         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8220 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8222         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8223         * sysdeps/arm/__longjmp.S: Likewise.
8225 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8227         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8228         Use __builtin_signbit.
8229         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8230         Use __builtin_signbitf.
8231         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8232         Use __builtin_signbitl.
8233         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8234         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8236 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8238         [BZ #15367]
8239         [BZ #17441]
8241         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8242         * math/math.h (fpclassify): Use __builtin_fpclassify when
8243         available.  (signbit): Use __builtin_signbit(f/l).
8244         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8245         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8246         (isinf): Use __builtin_isinf_sign.
8248 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8250         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8251         * benchtests/bench-math-inlines.c: New benchmark.
8252         * benchtests/bench-util.h: New file.
8253         * benchtests/bench-util.c: New file.
8254         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8256 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8258         * elf/tst-dlmopen1.c: Define TEST_SO.
8259         (do_test): Use TEST_SO.
8261         * elf/dl-load.c: Include libc-internal.h.
8262         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8264 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8266         [BZ #17887]
8267         * time/strptime_l.c (__strptime_internal): Make %z accept
8268         [+-]HH:MM time zones.
8270 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8272         [BZ #17886]
8273         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8274         valid time zone.
8276 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8278         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8279         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8281         (__ASSUME_FDATASYNC): Delete.
8283 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8285         * conform/linknamespace.pl: Require weak undefined symbols to be
8286         in the standard namespace.
8287         (%strong_syms): Rename to %seen_syms.
8288         (%strong_seen): Rename to %seen_where.
8290 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8292         [BZ #18970]
8293         * misc/error.c (error): Replace pthread_setcancelstate with
8294         __pthread_setcancelstate.
8295         (error_at_line): Likewise.
8296         * posix/wordexp.c (parse_comm): Likewise.
8297         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8298         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8299         (__pthread_setcancelstate): This.
8300         (pthread_setcancelstate): Add an alias.
8301         * nptl/nptl-init.c (pthread_functions): Replace
8302         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8303         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8304         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8305         hidden_proto.
8306         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8307         it with hidden_def.
8308         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8309         (pthread_setcancelstate): Renamed to ...
8310         (__pthread_setcancelstate): This.
8311         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8312         __libc_ptf_call with __pthread_setcancelstate.
8314 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8315             Andreas Schwab  <schwab@suse.de>
8317         [BZ #17118]
8318         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8319         result when imaginary part of argument is infinite using sine and
8320         cosine.
8321         * math/s_ctanf.c (__ctanf): Likewise.
8322         * math/s_ctanl.c (__ctanl): Likewise.
8323         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8324         of result when real part of argument is infinite using sine and
8325         cosine.
8326         * math/s_ctanhf.c (__ctanhf): Likewise.
8327         * math/s_ctanhl.c (__ctanhl): Likewise.
8328         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8329         (ctanh_test_data): Add more tests of ctanh.
8331 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8333         [BZ #15384]
8334         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8335         bit-mask as in subtraction.
8336         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8337         Likewise.
8338         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8339         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8340         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8342         [BZ #18951]
8343         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8344         underflow exception for small results.
8345         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8346         Likewise.
8347         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8348         Likewise.
8349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8350         Likewise.
8351         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8352         Likewise.
8353         * math/auto-libm-test-in: Add more tests of tgamma.
8354         * math/auto-libm-test-out: Regenerated.
8356 2015-09-17  Andreas Schwab  <schwab@suse.de>
8358         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8360 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8362         [BZ #18977]
8363         * math/bits/mathcalls.h
8364         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8365         not declare.
8366         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8367         Likewise.
8368         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8369         Likewise.
8370         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8371         Likewise.
8372         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8373         Likewise.
8374         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8375         Likewise.
8376         * conform/data/math.h-data
8377         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8378         function.
8379         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8380         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8381         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8382         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8383         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8384         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8385         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8386         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8387         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8388         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8391         [BZ #6803]
8392         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8393         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8394         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8395         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8396         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8397         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8398         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8399         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8400         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8402         Likewise.
8403         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8404         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8405         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8407         long_double_symbol calls.
8408         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8409         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8410         strong alias of __ldexpl.
8411         (scalbnl): Define using long_double_symbol.
8412         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8413         Remove alias.
8414         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8415         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8416         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8417         (scalbln_test_data): Add more errno expectations.
8419 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8421         Cache the host port like we cache the task port.  This way we do not
8422         need to call the kernel just to get the port.  Furthermore, we no
8423         longer increase the reference count on every invocation of
8424         `mach_host_self'.
8426         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8427         Protect declarations against the macro expansion.
8428         * mach/mach_init.c (__mach_host_self_): New variable.
8429         (mach_init): Initialize `__mach_host_self_'.
8430         * mach/mach_init.h (__mach_host_self_): New declaration.
8431         (__mach_host_self, mach_host_self): New macros.
8432         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8433         Release reference.
8435 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8437         [BZ #4404]
8438         * po/de.po: Update from Translation Project.
8440         [BZ #16415]
8441         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8442         (__expm1l): Remove code to handle positive infinity and overflow.
8443         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8444         variable.
8445         (__expm1l): Remove code to handle positive infinity and overflow.
8447 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8448             Paul Pluzhnikov  <ppluzhnikov@google.com>
8450         [BZ #18872]
8451         * stdio-common/Makefile (tst-printf-bz18872): New test.
8452         (tst-printf-bz18872-mem.out): Likewise.
8453         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8454         * stdio-common/vfprintf.c: Fix memory leaks.
8456 2015-09-16  Andreas Schwab  <schwab@suse.de>
8458         [BZ #17244]
8459         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8460         Remove extra va_start/va_end calls.
8462         [BZ #17243]
8463         * posix/execl.c (execl): Add missing va_end.
8464         * posix/execle.c (execle): Likewise.
8465         * posix/execlp.c (execlp): Likewise.
8467 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8469         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8470         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8472 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #18967]
8475         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8476         undefine around includes of <bits/mathcalls.h>.
8477         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8478         not declare function.
8479         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8480         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8481         (scalb): Likewise.
8482         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8483         not define macro.
8484         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8485         variable.
8486         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8487         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8488         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8490         [BZ #18857]
8491         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8492         return non-finite argument without doing ordered comparisons on
8493         it.
8495         [BZ #16296]
8496         * math/fenv.h (fegetround): Use __attribute_pure__.
8497         * include/fenv.h (__fegetround): Likewise.
8499         [BZ #18595]
8500         * math/s_ctan.c (__ctan): Force underflow exception for results
8501         whose real or imaginary part has small absolute value.
8502         * math/s_ctanf.c (__ctanf): Likewise.
8503         * math/s_ctanh.c (__ctanh): Likewise.
8504         * math/s_ctanhf.c (__ctanhf): Likewise.
8505         * math/s_ctanhl.c (__ctanhl): Likewise.
8506         * math/s_ctanl.c (__ctanl): Likewise.
8507         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8508         and ctanh.  Add more tests of ctan and ctanh.
8510         [BZ #15918]
8511         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8512         handling of cases where one argument is an infinity.
8514         [BZ #18875]
8515         [BZ #18966]
8516         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8517         (MO): New macro.
8518         (__ieee754_exp10): For small results, force underflow exception
8519         and remove excess range and precision from return value.
8520         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8521         (MO): New macro.
8522         (__ieee754_exp10f): For small results, force underflow exception
8523         and remove excess range and precision from return value.
8524         * math/auto-libm-test-in: Add more tests of exp10.
8525         * math/auto-libm-test-out: Regenerated.
8527 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #18875]
8530         [BZ #18961]
8531         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8532         (MO): New macro.
8533         (__ieee754_exp): For small results, force underflow exception and
8534         remove excess range and precision from return value.
8535         (__exp_finite): Likewise.
8536         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8537         (MO): New macro.
8538         (__ieee754_expf): For small results, force underflow exception and
8539         remove excess range and precision from return value.
8540         (__expf_finite): Likewise.
8541         * math/auto-libm-test-in: Add more tests of exp.
8542         * math/auto-libm-test-out: Regenerated.
8544         [BZ #16521]
8545         [BZ #18875]
8546         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8547         small results.
8548         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8549         (MO): New macro.
8550         (__ieee754_exp2): For small results, force underflow exception and
8551         remove excess range and precision from return value.
8552         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8553         (MO): New macro.
8554         (__ieee754_exp2f): For small results, force underflow exception
8555         and remove excess range and precision from return value.
8556         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8557         (MO): New macro.
8558         (__ieee754_exp2l): Force underflow exception for small results.
8559         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8560         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8561         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8562         (MO): New macro.
8563         (__ieee754_exp2l): Force underflow exception for small results.
8564         * math/auto-libm-test-in: Add more tests or exp2.
8565         * math/auto-libm-test-out: Regenerated.
8567 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8569         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8571         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8572         /dev/null.
8574 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8576         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8577         io fs process)): Drop spurious backslash.
8579 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8581         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8582         Use sysinfo system call instead of parsing /proc/meminfo.
8583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8584         Likewise.
8586 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8588         [BZ #16985]
8589         * programs/localedef.c (main): Display argv[remaining] when
8590         output_path is NULL.
8592 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8594         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8595         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8596         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8597         tanh.
8598         * math/auto-libm-test-out: Regenerated.
8599         * sysdeps/i386/fpu/libm-test-ulps: Update.
8600         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8601         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8606         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8607         Use 'override' keyword to freeze the value here, preventing
8608         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8610 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8612         [BZ #14912]
8613         * sysdeps/aarch64/bits/atomic.h: Move to ...
8614         * sysdeps/aarch64/atomic-machine.h: ...here.
8615         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8616         _AARCH64_ATOMIC_MACHINE_H.
8617         * sysdeps/alpha/bits/atomic.h: Move to ...
8618         * sysdeps/alpha/atomic-machine.h: ...here.
8619         * sysdeps/arm/bits/atomic.h: Move to ...
8620         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8621         * bits/atomic.h: Move to ...
8622         * sysdeps/generic/atomic-machine.h: ...here.
8623         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8624         * sysdeps/i386/bits/atomic.h: Move to ...
8625         * sysdeps/i386/atomic-machine.h: ...here.
8626         * sysdeps/ia64/bits/atomic.h: Move to ...
8627         * sysdeps/ia64/atomic-machine.h: ...here.
8628         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8629         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8630         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8631         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8632         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8633         * sysdeps/microblaze/bits/atomic.h: Move to ...
8634         * sysdeps/microblaze/atomic-machine.h: ...here.
8635         * sysdeps/mips/bits/atomic.h: Move to ...
8636         * sysdeps/mips/atomic-machine.h: ...here.
8637         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8638         * sysdeps/powerpc/bits/atomic.h: Move to ...
8639         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8640         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8641         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8642         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8643         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8644         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8645         <atomic-machine.h> instead of <bits/atomic.h>.
8646         * sysdeps/s390/bits/atomic.h: Move to ...
8647         * sysdeps/s390/atomic-machine.h: ...here.
8648         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8649         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8650         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8651         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8652         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8653         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8654         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8655         * sysdeps/tile/bits/atomic.h: Move to ...
8656         * sysdeps/tile/atomic-machine.h: ...here.
8657         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8658         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8659         <sysdeps/tile/atomic-machine.h> instead of
8660         <sysdeps/tile/bits/atomic.h>.
8661         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8662         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8663         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8664         <sysdeps/tile/atomic-machine.h> instead of
8665         <sysdeps/tile/bits/atomic.h>.
8666         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8667         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8668         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8669         <sysdeps/arm/atomic-machine.h> instead of
8670         <sysdeps/arm/bits/atomic.h>.
8671         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8672         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8673         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8675         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8676         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8677         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8678         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8679         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8680         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8681         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8682         * sysdeps/x86_64/bits/atomic.h: Move to ...
8683         * sysdeps/x86_64/atomic-machine.h: ...here.
8684         * include/atomic.h: Include <atomic-machine.h> instead of
8685         <bits/atomic.h>.
8687         * sysdeps/mips/mips32/libm-test-ulps: Update.
8688         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8690         [BZ #18952]
8691         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8692         not convert non-integer negative arguments to int to determine the
8693         value of signgam.
8694         * math/auto-libm-test-in: Add more tests of lgamma.
8695         * math/auto-libm-test-out: Regenerated.
8697         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8698         cosh, csqrt, erfc, expm1 and lgamma.
8699         * math/auto-libm-test-out: Regenerated.
8700         * sysdeps/i386/fpu/libm-test-ulps: Update.
8701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8703 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #2542]
8706         [BZ #2543]
8707         [BZ #2558]
8708         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8709         __lgamma_neg for arguments from -28.0 to -2.0.
8710         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8711         __lgamma_negf for arguments from -15.0 to -2.0.
8712         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8713         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8714         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8715         Call __lgamma_negl for arguments from -33.0 to -2.0.
8716         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8717         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8718         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8719         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8720         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8721         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8722         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8723         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8724         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8725         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8726         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8727         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8728         (__lgamma_neg): Likewise.
8729         (__lgamma_negl): Likewise.
8730         (__lgamma_product): Likewise.
8731         (__lgamma_productl): Likewise.
8732         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8733         * math/auto-libm-test-in: Add more tests of lgamma.
8734         * math/auto-libm-test-out: Regenerated.
8735         * sysdeps/i386/fpu/libm-test-ulps: Update.
8736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8740         [BZ #18675]
8741         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8743 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #14912]
8746         * bits/libc-lock.h: Move to ...
8747         * sysdeps/generic/libc-lock.h: ...here.
8748         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8749         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8750         * sysdeps/mach/hurd/libc-lock.h: ...here.
8751         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8752         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8753         * sysdeps/mach/bits/libc-lock.h: Move to ...
8754         * sysdeps/mach/libc-lock.h: ...here.
8755         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8756         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8757         * sysdeps/nptl/libc-lock.h: ...here.
8758         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8759         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8760         * sysdeps/nptl/libc-lockP.h: ...here.
8761         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8762         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8763         <bits/libc-lock.h>.
8764         * dirent/scandir-tail.c: Likewise.
8765         * dlfcn/dlerror.c: Likewise.
8766         * elf/dl-close.c: Likewise.
8767         * elf/dl-iteratephdr.c: Likewise.
8768         * elf/dl-lookup.c: Likewise.
8769         * elf/dl-open.c: Likewise.
8770         * elf/dl-support.c: Likewise.
8771         * elf/dl-writev.h: Likewise.
8772         * elf/rtld.c: Likewise.
8773         * grp/fgetgrent.c: Likewise.
8774         * gshadow/fgetsgent.c: Likewise.
8775         * gshadow/sgetsgent.c: Likewise.
8776         * iconv/gconv_conf.c: Likewise.
8777         * iconv/gconv_db.c: Likewise.
8778         * iconv/gconv_dl.c: Likewise.
8779         * iconv/gconv_int.h: Likewise.
8780         * iconv/gconv_trans.c: Likewise.
8781         * include/link.h: Likewise.
8782         * inet/getnameinfo.c: Likewise.
8783         * inet/getnetgrent.c: Likewise.
8784         * inet/getnetgrent_r.c: Likewise.
8785         * intl/bindtextdom.c: Likewise.
8786         * intl/dcigettext.c: Likewise.
8787         * intl/finddomain.c: Likewise.
8788         * intl/gettextP.h: Likewise.
8789         * intl/loadmsgcat.c: Likewise.
8790         * intl/localealias.c: Likewise.
8791         * intl/textdomain.c: Likewise.
8792         * libidn/idn-stub.c: Likewise.
8793         * libio/libioP.h: Likewise.
8794         * locale/duplocale.c: Likewise.
8795         * locale/freelocale.c: Likewise.
8796         * locale/newlocale.c: Likewise.
8797         * locale/setlocale.c: Likewise.
8798         * login/getutent_r.c: Likewise.
8799         * login/getutid_r.c: Likewise.
8800         * login/getutline_r.c: Likewise.
8801         * login/utmp-private.h: Likewise.
8802         * login/utmpname.c: Likewise.
8803         * malloc/mtrace.c: Likewise.
8804         * misc/efgcvt.c: Likewise.
8805         * misc/error.c: Likewise.
8806         * misc/fstab.c: Likewise.
8807         * misc/getpass.c: Likewise.
8808         * misc/mntent.c: Likewise.
8809         * misc/syslog.c: Likewise.
8810         * nis/nis_call.c: Likewise.
8811         * nis/nis_callback.c: Likewise.
8812         * nis/nss-default.c: Likewise.
8813         * nis/nss_compat/compat-grp.c: Likewise.
8814         * nis/nss_compat/compat-initgroups.c: Likewise.
8815         * nis/nss_compat/compat-pwd.c: Likewise.
8816         * nis/nss_compat/compat-spwd.c: Likewise.
8817         * nis/nss_nis/nis-alias.c: Likewise.
8818         * nis/nss_nis/nis-ethers.c: Likewise.
8819         * nis/nss_nis/nis-grp.c: Likewise.
8820         * nis/nss_nis/nis-hosts.c: Likewise.
8821         * nis/nss_nis/nis-network.c: Likewise.
8822         * nis/nss_nis/nis-proto.c: Likewise.
8823         * nis/nss_nis/nis-pwd.c: Likewise.
8824         * nis/nss_nis/nis-rpc.c: Likewise.
8825         * nis/nss_nis/nis-service.c: Likewise.
8826         * nis/nss_nis/nis-spwd.c: Likewise.
8827         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8828         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8829         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8830         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8831         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8832         * nis/nss_nisplus/nisplus-network.c: Likewise.
8833         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8834         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8835         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8836         * nis/nss_nisplus/nisplus-service.c: Likewise.
8837         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8838         * nis/ypclnt.c: Likewise.
8839         * nptl/libc_pthread_init.c: Likewise.
8840         * nss/getXXbyYY.c: Likewise.
8841         * nss/getXXent.c: Likewise.
8842         * nss/getXXent_r.c: Likewise.
8843         * nss/nss_db/db-XXX.c: Likewise.
8844         * nss/nss_db/db-netgrp.c: Likewise.
8845         * nss/nss_db/nss_db.h: Likewise.
8846         * nss/nss_files/files-XXX.c: Likewise.
8847         * nss/nss_files/files-alias.c: Likewise.
8848         * nss/nsswitch.c: Likewise.
8849         * posix/regex_internal.h: Likewise.
8850         * posix/wordexp.c: Likewise.
8851         * pwd/fgetpwent.c: Likewise.
8852         * resolv/res_hconf.c: Likewise.
8853         * resolv/res_libc.c: Likewise.
8854         * shadow/fgetspent.c: Likewise.
8855         * shadow/lckpwdf.c: Likewise.
8856         * shadow/sgetspent.c: Likewise.
8857         * socket/opensock.c: Likewise.
8858         * stdio-common/reg-modifier.c: Likewise.
8859         * stdio-common/reg-printf.c: Likewise.
8860         * stdio-common/reg-type.c: Likewise.
8861         * stdio-common/vfprintf.c: Likewise.
8862         * stdio-common/vfscanf.c: Likewise.
8863         * stdlib/abort.c: Likewise.
8864         * stdlib/cxa_atexit.c: Likewise.
8865         * stdlib/fmtmsg.c: Likewise.
8866         * stdlib/random.c: Likewise.
8867         * stdlib/setenv.c: Likewise.
8868         * string/strsignal.c: Likewise.
8869         * sunrpc/auth_none.c: Likewise.
8870         * sunrpc/bindrsvprt.c: Likewise.
8871         * sunrpc/create_xid.c: Likewise.
8872         * sunrpc/key_call.c: Likewise.
8873         * sunrpc/rpc_thread.c: Likewise.
8874         * sysdeps/arm/backtrace.c: Likewise.
8875         * sysdeps/generic/ldsodefs.h: Likewise.
8876         * sysdeps/generic/stdio-lock.h: Likewise.
8877         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8878         * sysdeps/i386/backtrace.c: Likewise.
8879         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8880         * sysdeps/m68k/backtrace.c: Likewise.
8881         * sysdeps/mach/hurd/cthreads.c: Likewise.
8882         * sysdeps/mach/hurd/dirstream.h: Likewise.
8883         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8884         * sysdeps/nptl/malloc-machine.h: Likewise.
8885         * sysdeps/nptl/stdio-lock.h: Likewise.
8886         * sysdeps/posix/dirstream.h: Likewise.
8887         * sysdeps/posix/getaddrinfo.c: Likewise.
8888         * sysdeps/posix/system.c: Likewise.
8889         * sysdeps/pthread/aio_suspend.c: Likewise.
8890         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8891         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8892         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8893         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8894         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8895         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8896         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8897         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8898         * sysdeps/unix/sysv/linux/system.c: Likewise.
8899         * sysdeps/x86_64/backtrace.c: Likewise.
8900         * time/alt_digit.c: Likewise.
8901         * time/era.c: Likewise.
8902         * time/tzset.c: Likewise.
8903         * wcsmbs/wcsmbsload.c: Likewise.
8904         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8905         instead of <bits/libc-lock.h> in comment.
8907 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8909         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8910         Only use .set mips2 if the current ISA is below mips2.
8911         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8912         Likewise.
8913         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8914         mips32r2 if the current ISA is below mips32r2.
8915         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8916         (TLS_IE): Updated to use the TLD_RDHWR macro.
8917         (TLS_LE): Likewise.
8918         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8919         __ASSEMBLER__ condition.
8921 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8923         Fix parallel build of before-compile targets.
8925         * sysdeps/mach/Makefile ($(patsubst
8926         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8927         mach-before-compile target.
8928         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8929         io fs process)): Move rule to dedicated hurd-before-compile target.
8931 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8933         Fix rules generating headers in hurd/ and mach/ when initial make call
8934         has subdir= explicitly set.
8936         * sysdeps/mach/Makefile ($(patsubst
8937         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8938         calling $(MAKE).
8939         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8940         io fs process)): Force subdir to hurd when calling $(MAKE).
8941         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8942         subdir to mach when calling $(MAKE).
8944 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8946         Check sysheaders when looking for Mach and Hurd headers
8948         * sysdeps/mach/configure.ac: Add sysheaders check.
8949         * sysdeps/mach/configure: Regenerate.
8950         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8951         * sysdeps/mach/hurd/configure: Regenerate.
8953 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8955         [BZ #18921]
8956         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8957         Fix inverted sense of test of 'o_directory_works' value.
8958         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8959         Bernhard Voelker <mail@bernhard-voelker.de>.
8961 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8963         [BZ #14912]
8964         * bits/linkmap.h: Move to ...
8965         * sysdeps/generic/linkmap.h: ...here.
8966         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8967         * sysdeps/aarch64/linkmap.h: ...here.
8968         * sysdeps/arm/bits/linkmap.h: Move to ...
8969         * sysdeps/arm/linkmap.h: ...here.
8970         * sysdeps/hppa/bits/linkmap.h: Move to ...
8971         * sysdeps/hppa/linkmap.h: ...here.
8972         * sysdeps/ia64/bits/linkmap.h: Move to ...
8973         * sysdeps/ia64/linkmap.h: ...here.
8974         * sysdeps/mips/bits/linkmap.h: Move to ...
8975         * sysdeps/mips/linkmap.h: ...here.
8976         * sysdeps/s390/bits/linkmap.h: Move to ...
8977         * sysdeps/s390/linkmap.h: ...here.
8978         * sysdeps/sh/bits/linkmap.h: Move to ...
8979         * sysdeps/sh/linkmap.h: ...here.
8980         * sysdeps/x86/bits/linkmap.h: Move to ...
8981         * sysdeps/x86/linkmap.h: ...here.
8982         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8984 2015-09-04  Andreas Schwab  <schwab@suse.de>
8986         [BZ #18635]
8987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8988         (__makecontext): Terminate FDE before return label.
8989         (__novec_makecontext): Likewise.
8991 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8993         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8994         first member of struct sv in syscall macro.
8996 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8998         [BZ #14912]
8999         * bits/stdio-lock.h: Move to ...
9000         * sysdeps/generic/stdio-lock.h: ...here.
9001         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9002         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9003         * sysdeps/nptl/stdio-lock.h: ...here.
9004         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9005         * include/libio.h: Include <stdio-lock.h> instead of
9006         <bits/stdio-lock.h>.
9007         * sysdeps/nptl/fork.c: Likewise.
9008         * sysdeps/pthread/flockfile.c: Likewise.
9009         * sysdeps/pthread/ftrylockfile.c: Likewise.
9010         * sysdeps/pthread/funlockfile.c: Likewise.
9012         [BZ #14912]
9013         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9014         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9015         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9016         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9017         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9018         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9019         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9021 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9023         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9024         (test-xfail-tst-protected1b): New variable.
9026 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9028         [BZ #14912]
9029         * bits/libc-tsd.h: Move to ...
9030         * sysdeps/generic/libc-tsd.h: ...here.
9031         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9032         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9033         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9034         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9035         * include/ctype.h: Include <libc-tsd.h> instead of
9036         <bits/libc-tsd.h>.
9037         * include/rpc/rpc.h: Likewise.
9038         * locale/localeinfo.h: Likewise.
9039         * sunrpc/rpc_thread.c: Likewise.
9040         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9041         * sysdeps/nptl/malloc-machine.h: Likewise.
9043         * Makefile (headers): Remove bits/libc-lock.h.
9044         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9046         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9047         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9048         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9049         <bits/stdio-lock.h>.
9050         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9051         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9053 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9055         [BZ #18757]
9056         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9057         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9058         BZ #18757.
9060 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9062         * malloc/mtrace.pl: Filter out NULL entries.
9064 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9066         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9067         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9068         macro.
9070         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9071         (TCP_CC_INFO): Likewise.
9072         (TCP_SAVE_SYN): Likewise.
9073         (TCP_SAVED_SYN): Likewise.
9075 2015-08-31  Brett Neumeier <brett@neumeier.us>
9077         [BZ #18870]
9078         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9080 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9082         [BZ #18873]
9083         Fix broken overflow check in posix_fallocate
9084         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9085         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9086         Fix parenthesization typo.
9088 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9090         [BZ #18887]
9091         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9092         tst-mntent-blank-passno.
9093         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9094         * misc/tst-mntent-blank-corrupt.c: New test.
9095         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9096         * misc/tst-mntent.c (do_test): ... here.
9098 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9100         [BZ #4404]
9101         * po/de.po: Fix SIGALRM typo.
9103 2015-08-28  James Perkins  <james@loowit.net>
9105         * time/tst-strptime2.c (tests): Replace short list of test
9106         strings for strptime %z specifier with code which exhaustively
9107         tests every combination of sign and 0 to 5 digits. Tests for
9108         rejection of invalid strings.
9110 2015-08-28  James Perkins  <james@loowit.net>
9112         [BZ #16141]
9113         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9114         calculation, removing incorrect decimal time rounding, so that
9115         all minute values result in a valid seconds value.
9116         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9117         offset range limits to UTC-99:59 through UTC+99:59 to parse
9118         current and historical use cases.
9119         * time/tst-strptime2.c (tests): Modify and add tests for the
9120         strptime %z input field descriptor, specifically conversion of
9121         minutes to seconds and validating an offset range of -9959 to
9122         +9959.
9124 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9125             Dmitry V. Levin  <ldv@altlinux.org>
9127         [BZ #18877]
9128         * posix/Makefile (tests): Add tst-mmap-offset.
9129         * posix/tst-mmap.c: New file.
9130         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9131         offset calculation for negative values.
9133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9135         * sysdeps/i386/init-arch.h: New file.
9136         * sysdeps/i386/i586/init-arch.h: Likewise.
9137         * sysdeps/i386/i686/init-arch.h: Likewise.
9138         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9139         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9140         * sysdeps/x86/cpu-features.h (bit_I586): New.
9141         (bit_I686): Likewise.
9142         (bit_CX8): Likewise.
9143         (bit_CMOV): Likewise.
9144         (index_CX8): Likewise.
9145         (index_CMOV): Likewise.
9146         (index_I586): Likewise.
9147         (index_I686): Likewise.
9148         (reg_CX8): Likewise.
9149         (reg_CMOV): Likewise.
9150         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9151         available at compile-time.
9152         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9153         available at compile-time.
9154         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9155         (USE_I686): Likewise.
9157 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9159         * sysdeps/i386/bcopy.S: New file.
9160         * sysdeps/i386/bzero.S: Likewise.
9161         * sysdeps/i386/memcpy.S: Likewise.
9162         * sysdeps/i386/memmove.S: Likewise.
9163         * sysdeps/i386/mempcpy.S: Likewise.
9164         * sysdeps/i386/memset.S: Likewise.
9165         * sysdeps/i386/bzero.c: Removed.
9166         * sysdeps/i386/memset.c: Likewise.
9167         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9168         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9169         * sysdeps/i386/i586/memset_chk.S: Likewise.
9170         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9171         * sysdeps/i386/memcpy_chk.S: Here.
9172         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9173         * sysdeps/i386/memmove_chk.S: Here.
9174         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9175         * sysdeps/i386/mempcpy_chk.S: Likewise.
9176         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9177         * sysdeps/i386/memset_chk.S: Likewise.
9179 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9181         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9182         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9183         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9184         * soft-fp/fmadf4.c: Ditto.
9185         * soft-fp/fmatf4.c: Ditto.
9187 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9189         * sysdeps/i386/i586/Implies: Removed.
9190         * sysdeps/i386/i686/Implies: Likewise.
9192 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9194         * sysdeps/i386/i486/strlen.S: Moved to ...
9195         * sysdeps/i386/strlen.S: Here.
9197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9199         * sysdeps/i386/i486/strcat.S: Moved to ...
9200         * sysdeps/i386/strcat.S: Here.
9202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9204         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9205         * sysdeps/i386/pthread_spin_trylock.S: Here.
9206         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9207         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9209 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9211         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9212         * sysdeps/i386/string-inlines.c: Here.
9214 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9216         * sysdeps/i386/i486/htonl.S: Moved ...
9217         * sysdeps/i386/htonl.S: here.
9219 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9222         * sysdeps/i386/bits/atomic.h: Here.
9224 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9226         * sysdeps/i386/i486/Versions: Removed.
9228 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9230         [BZ #2898]
9231         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9232         Based on patch by Aurelien Jarno.
9234 2015-08-26  Stan Shebs  <stanshebs@google.com>
9236         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9237         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9239 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9241         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9242         * sysdeps/powerpc/dl-procinfo.c:
9243         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9244         feature so it shows when LD_SHOW_AUXV=1.
9246 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9248         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9249         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9250         definition.  ISA 2.07B no longer requires full sync.
9252 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9254         [BZ #18863]
9255         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9256         (si_call_addr): Define.
9257         (si_syscall): Define.
9258         (si_arch): Define.
9260 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9262         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9263         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9264         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9265         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9266         (__memset_zero_constant_len_parameter): New.
9267         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9268         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9269         (__memset_zero_constant_len_parameter): Don't define if
9270         __memset_chk or USE_AS_BZERO are defined.
9272         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9273         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9274         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9276         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9277         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9278         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9279         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9280         comments.
9281         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9282         -mno-mmx for $(all-rtld-routines).
9283         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9284         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9285         i386.
9287 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9289         * sysdeps/generic/unwind.h
9290         (_Unwind_Word): Use __mode__(__unwind_word__)
9291         instead of __mode__(__word__).
9292         (_Unwind_Sword): Likewise.
9294         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9295         (MAX_NEEDED_INPUT): New define.
9296         (MAX_NEEDED_OUTPUT): New define.
9298         * NEWS: New item for IBM z13 string optimizations.
9300         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9301         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9302         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9303         * sysdeps/s390/multiarch/Makefile
9304         (sysdep_routines): Add memrchr functions.
9305         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9306         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9308         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9309         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9310         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9311         * sysdeps/s390/multiarch/Makefile
9312         (sysdep_routines): Add wmemcmp functions.
9313         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9314         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9315         * benchtests/bench-wmemcmp.c: New File.
9316         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9318         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9319         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9320         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9321         * sysdeps/s390/multiarch/Makefile
9322         (sysdep_routines): Add wmemset functions.
9323         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9324         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9325         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9326         * string/test-memset.c: Add wmemset support.
9327         * wcsmbs/test-wmemset.c: New File.
9328         * wcsmbs/Makefile (strop-tests): Add wmemset.
9329         * benchtests/bench-memset.c: Add wmemset support.
9330         * benchtests/bench-wmemset.c: New File.
9331         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9333         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9334         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9335         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9336         * sysdeps/s390/multiarch/Makefile
9337         (sysdep_routines): Add memccpy functions.
9338         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9339         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9340         * string/memccpy.c: Use MEMCCPY if defined.
9342         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9343         * sysdeps/s390/multiarch/memchr.c: Likewise.
9344         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9345         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9346         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9347         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9348         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9349         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9350         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9351         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9353         and rawmemchr functions.
9354         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9355         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9356         and wmemchr.
9357         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9358         * string/test-memchr.c: Add wmemchr support.
9359         * wcsmbs/test-wmemchr.c: New File.
9360         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9361         * benchtests/bench-memchr.c: Add wmemchr support.
9362         * benchtests/bench-wmemchr.c: New File.
9363         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9365         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9366         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9367         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9368         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9369         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9370         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9372         wcscspn functions.
9373         * sysdeps/s390/multiarch/ifunc-impl-list.c
9374         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9375         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9376         * string/test-strcspn.c: Add wcscspn support.
9377         * wcsmbs/test-wcscspn.c: New File.
9378         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9379         * benchtests/bench-strcspn.c: Add wcscspn support.
9380         * benchtests/bench-wcscspn.c: New File.
9381         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9383         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9384         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9385         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9386         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9387         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9388         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9390         wcspbrk functions.
9391         * sysdeps/s390/multiarch/ifunc-impl-list.c
9392         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9393         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9394         * string/test-strpbrk.c: Add wcspbrk support.
9395         * wcsmbs/test-wcspbrk.c: New File.
9396         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9397         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9398         * benchtests/bench-wcspbrk.c: New File.
9399         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9401         * sysdeps/s390/multiarch/strspn-c.c: New File.
9402         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9403         * sysdeps/s390/multiarch/strspn.c: Likewise.
9404         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9405         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9406         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9407         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9409         wcsspn functions.
9410         * sysdeps/s390/multiarch/ifunc-impl-list.c
9411         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9412         * string/test-strspn.c: Add wcsspn support.
9413         * wcsmbs/test-wcsspn.c: New File.
9414         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9415         * benchtests/bench-strspn.c: Add wcsspn support.
9416         * benchtests/bench-wcsspn.c: New File.
9417         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9419         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9420         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9421         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9422         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9423         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9424         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9425         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9426         wcsrchr functions.
9427         * sysdeps/s390/multiarch/ifunc-impl-list.c
9428         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9429         * benchtests/bench-wcsrchr.c: New File.
9430         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9432         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9433         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9434         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9435         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9436         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9437         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9439         wcschrnul functions.
9440         * sysdeps/s390/multiarch/ifunc-impl-list.c
9441         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9442         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9443         * string/test-strchr.c: Add wcschrnul support.
9444         * wcsmbs/test-wcschrnul.c: New File.
9445         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9446         * benchtests/bench-strchr.c: Add wcschrnul support.
9447         * benchtests/bench-wcschrnul.c: New File.
9448         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9450         * sysdeps/s390/multiarch/strchr-c.c: New File.
9451         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9452         * sysdeps/s390/multiarch/strchr.c: Likewise.
9453         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9454         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9455         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9456         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9457         wcschr functions.
9458         * sysdeps/s390/multiarch/ifunc-impl-list.c
9459         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9460         * string/strchr.c (STRCHR): Define and use macro.
9461         * benchtests/bench-wcschr.c: New File.
9462         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9464         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9465         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9466         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9467         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9468         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9469         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9470         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9471         wcsncmp functions.
9472         * sysdeps/s390/multiarch/ifunc-impl-list.c
9473         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9474         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9475         * benchtests/bench-strncmp.c: Add wcsncmp support.
9476         * benchtests/bench-wcsncmp.c: New File.
9477         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9479         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9480         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9481         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9482         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9483         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9484         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9485         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9486         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9487         wcscmp functions.
9488         * sysdeps/s390/multiarch/ifunc-impl-list.c
9489         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9490         * string/strcmp.c (STRCMP): Define and use macro.
9491         * benchtests/bench-wcscmp.c: New File.
9492         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9493         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9494         instead of _HAVE_STRING_ARCH_memchr.
9496         * sysdeps/s390/multiarch/strncat-c.c: New File.
9497         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9498         * sysdeps/s390/multiarch/strncat.c: Likewise.
9499         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9500         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9501         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9503         wcsncat functions.
9504         * sysdeps/s390/multiarch/ifunc-impl-list.c
9505         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9506         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9507         * string/test-strncat.c: Add wcsncat support.
9508         * wcsmbs/test-wcsncat.c: New File.
9509         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9510         * benchtests/bench-strncat.c: Add wcsncat support.
9511         * benchtests/bench-wcsncat.c: New File.
9512         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9514         * sysdeps/s390/multiarch/strcat-c.c: New File.
9515         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9516         * sysdeps/s390/multiarch/strcat.c: Likewise.
9517         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9518         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9519         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9521         wcscat functions.
9522         * sysdeps/s390/multiarch/ifunc-impl-list.c
9523         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9524         * string/strcat.c (STRCAT): Define and use macro.
9525         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9526         * string/test-strcat.c: Add wcscat support.
9527         * wcsmbs/test-wcscat.c: New File.
9528         * wcsmbs/Makefile (strop-tests): Add wcscat.
9529         * benchtests/bench-strcat.c: Add wcscat support.
9530         * benchtests/bench-wcscat.c: New File.
9531         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9533         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9534         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9535         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9536         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9537         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9538         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9540         wcpncpy functions.
9541         * sysdeps/s390/multiarch/ifunc-impl-list.c
9542         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9543         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9544         * string/test-stpncpy.c: Add wcpncpy support.
9545         * wcsmbs/test-wcpncpy.c: New File.
9546         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9547         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9548         * benchtests/bench-wcpncpy.c: New File.
9549         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9551         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9552         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9553         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9554         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9555         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9556         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9557         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9558         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9559         wcsncpy functions.
9560         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9561         * sysdeps/s390/multiarch/ifunc-impl-list.c
9562         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9563         * string/test-strncpy.c: Add wcsncpy support.
9564         * wcsmbs/test-wcsncpy.c: New File.
9565         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9566         * benchtests/bench-strncpy.c: Add wcsncpy support.
9567         * benchtests/bench-wcsncpy.c: New File.
9568         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9570         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9571         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9572         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9573         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9574         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9575         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9576         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9577         wcpcpy functions.
9578         * string/stpcpy.c: Use STPCPY if defined.
9579         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9580         * sysdeps/s390/multiarch/ifunc-impl-list.c
9581         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9582         * string/test-stpcpy.c: Add wcpcpy support.
9583         * wcsmbs/test-wcpcpy.c: New File.
9584         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9585         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9586         * benchtests/bench-wcpcpy.c: New File.
9587         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9589         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9590         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9591         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9592         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9593         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9594         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9595         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9596         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9597         wcscpy functions.
9598         * sysdeps/s390/multiarch/ifunc-impl-list.c
9599         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9600         * benchtests/bench-wcscpy.c: New File.
9601         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9603         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9604         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9605         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9606         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9607         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9608         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9609         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9610         wcsnlen functions.
9611         * sysdeps/s390/multiarch/ifunc-impl-list.c
9612         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9613         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9614         * string/test-strnlen.c: Add wcsnlen support.
9615         * wcsmbs/test-wcsnlen.c: New File.
9616         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9617         * benchtests/bench-strnlen.c: Add wcsnlen support.
9618         * benchtests/bench-wcsnlen.c: New File.
9619         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9621         * sysdeps/s390/multiarch/Makefile: New File.
9622         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9623         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9624         * sysdeps/s390/multiarch/strlen.c: Likewise.
9625         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9626         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9627         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9628         * string/strlen.c (STRLEN): Define and use macro.
9629         * sysdeps/s390/multiarch/ifunc-impl-list.c
9630         (IFUNC_VX_IMPL): New macro function.
9631         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9632         * benchtests/Makefile (wcsmbs-bench): New variable.
9633         (string-bench-all): Added wcsmbs-bench.
9634         * benchtests/bench-wcslen.c: New File.
9636         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9637         s390_vx_libc_ifunc2): New macro function.
9639         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9640         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9641         assembler support.
9642         * sysdeps/s390/configure: Regenerated.
9644         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9645         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9647         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9648         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9649         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9651         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9652         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9653         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9654         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9655         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9656         (memcmp, bcmp): Use __memcmp_default as alias source.
9657         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9658         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9659         Rename to __memcmp_default.
9660         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9661         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9662         (memcpy): Use __memcpy_default as alias source.
9663         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9664         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9665         Rename to __memcpy_default.
9666         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9667         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9668         (memset): Use __memset_default as alias source.
9669         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9670         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9671         Rename to __memset_default.
9672         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9673         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9675         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9676         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9677         (memcmp, bcmp): Use __memcmp_default as alias source.
9678         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9679         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9680         Rename to __memcmp_default.
9681         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9682         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9683         (memcpy): Use __memcpy_default as alias source.
9684         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9685         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9686         Rename to __memcpy_default.
9687         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9688         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9689         (memset): Use __memset_default as alias source.
9690         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9691         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9692         Rename to __memset_default.
9693         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9694         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9696         [BZ #18610]
9697         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9698         __ieee_instruction_pointer to __unused.
9699         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9700         __ieee_instruction_pointer.
9701         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9702         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9703         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9704         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9705         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9706         Mark dxc-field as reserved.
9708 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9710         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9711         if the weak reference is not null.
9713 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9715         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9717         [BZ #11214]
9718         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9720 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9722         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9723         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9724         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9725         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9726         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9727         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9728         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9729         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9730         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9731         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9732         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9733         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9734         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9735         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9736         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9737         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9738         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9739         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9741 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9743         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9744         register other than r0 for tabort, it has special meaning.
9745         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9746         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9747         transaction before starting syscall.
9749 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9751         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9753 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9755         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9757         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9758         * sysdeps/x86_64/rtld-memset.S: Likewise.
9759         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9760         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9761         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9762         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9764         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9766 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9768         * debug/strcpy_chk.c: Improve performance.
9769         * debug/stpcpy_chk.c: Likewise.
9770         * sysdeps/x86_64/strcpy_chk.S: Remove.
9771         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9773         [BZ #18240]
9774         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9776 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9778         [BZ #15128]
9779         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9780         ifuncmain8.
9781         (modules-names): Add ifuncmod8.
9782         ($(objpfx)ifuncmain8): New rule.
9783         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9784         <cpuid.h>.
9785         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9786         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9787         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9788         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9789         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9790         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9791         * sysdeps/x86_64/ifuncmain8.c: New file.
9792         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9793         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9794         Removed.
9795         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9796         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9797         Change rtld_savespace_sse to __glibc_unused2.
9798         (RTLD_CHECK_FOREIGN_CALL): Removed.
9799         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9800         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9801         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9803 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9805         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9807 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9809         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9810         Unconditionally set __fpcr to avoid uninialized warning.
9811         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9813 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9816         is corrupt.
9818         * malloc/arena.c (arena_get2): Drop unused argument.
9819         (arena_lock): Adjust.
9820         (arena_get_retry): Likewise.
9822 2015-08-24  Andreas Schwab  <schwab@suse.de>
9824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9825         Don't define.
9826         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9827         (__ASSUME_IPC64): Don't undef.
9828         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9829         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9830         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9831         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9832         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9833         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9834         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9835         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9836         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9837         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9838         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9839         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9840         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9841         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9842         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9843         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9844         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9845         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9846         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9847         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9848         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9850 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9852         * manual/Makefile (install): Only build manual when perl is available.
9854 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9857         '#undef memcpy' by '#undef memchr'.
9859 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9861         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9862         memchr not point to the internal __GI_memchr implementation.
9864 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9866         * timezone/Makefile (CFLAGS-zdump.c): Remove
9867         -Wno-strict-prototypes.
9868         (CFLAGS-zic.c): Likewise.
9869         (CFLAGS-ialloc.c): Likewise.
9870         (CFLAGS-scheck.c): Likewise.
9872         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9873         -Wno-error=undef.
9875 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9877         * i386/i686/multiarch/strcasestr-c.c: Removed.
9878         * x86_64/multiarch/strcasestr.c: Likewise.
9879         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9880         Remove strcasestr.
9882 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9884         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9886         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9887         variables for high and low parts before possibly modifying them.
9889 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9891         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9892         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9893         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9894         of "multiarch/init-arch.h".
9895         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9896         * sysdeps/x86/init-arch.h: This.
9898 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9900         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9901         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9903 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9905         [BZ #17787]
9906         * manual/macros.texi: Add twoexp macro.
9907         * manual/filesys.texi: Fix exponents.
9908         * manual/llio.texi: Likewise.
9909         * manual/stdio.texi: Likewise.
9911 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9913         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9914         incorrect use.
9916 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9918         [BZ #18370]
9919         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9920         whose real or imaginary part has small absolute value.
9921         * math/s_csqrtf.c (__csqrtf): Likewise.
9922         * math/s_csqrtl.c (__csqrtl): Likewise.
9923         * math/auto-libm-test-in: Add more tests of csqrt.
9924         * math/auto-libm-test-out: Regenerated.
9925         * sysdeps/i386/fpu/libm-test-ulps: Update.
9927 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9929         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9930         __ppc_set_ppr_very_low): New functions.
9931         * manual/platform.texi: Add documentation about
9932         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9934 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9936         * string/stpncpy.c (stpncpy): Improve performance using
9937         __strnlen/memcpy/memset.
9939 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9941         [BZ #18796]
9942         * scripts/test-installation.pl: Don't add -lmvec to build options if
9943         libmvec wasn't built.
9945 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9947         [BZ #14341]
9948         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9949         case when there is a gap between DT_REL and DT_JMPREL sections.
9950         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9951         (LDFLAGS-tst-split-dynreloc): New.
9952         (tst-split-dynreloc-ENV): Likewise.
9953         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9954         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9956 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9958         [BZ #18822]
9959         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9960         attribute_hidden.
9961         (__xstat64_conv): Likewise.
9962         (__xstat32_conv): Likewise.
9964 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9966         [BZ #18822]
9967         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9968         Don't load %ebx when calling __setcontext.  Call __setcontext
9969         with HIDDEN_JUMPTARGET.
9970         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9971         libc_hidden_def.
9973 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9975         * sysdeps/i386/i686/Makefile
9976         [$(subdir) == string] (sysdep_routines): Moved to ...
9977         * sysdeps/i386/Makefile: Here.
9978         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9979         * sysdeps/i386/cacheinfo.c: Here.
9980         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9981         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9982         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9983         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9985 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9987         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9988         __i586__ is defined.
9989         (HAS_I686): Defined to 1 if __i686__ is defined.
9991 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9993         * elf/Makefile [$(have-z-execstack) = yes]
9994         (CPPFLAGS-tst-execstack.c): New variable.
9996         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9997         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9998         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9999         UTMPX || _HAVE_UT_TV].
10000         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10001         UTMPX || _HAVE_UT_TV - 0].
10003 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10005         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10006         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10007         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10009 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10011         * sysdeps/powerpc/dl-procinfo.c:
10012         (_dl_powerpc_cap_flags): Added missing strings for some
10013         hwcap features.
10014         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10016 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10018         Port the 0x7efe...feff pattern to GCC 6.
10019         See Steve Ellcey's bug report in:
10020         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10021         * string/memrchr.c (MEMRCHR):
10022         * string/rawmemchr.c (RAWMEMCHR):
10023         * string/strchr.c (strchr):
10024         * string/strchrnul.c (STRCHRNUL):
10025         Rewrite code to avoid issues with signed shift overflow.
10027 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10029         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10030         whether cpuid is available only if HAS_CPUID is 0.
10031         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10032         (HAS_I586): Likewise.
10033         (HAS_I686): Likewise.
10035 2015-08-18  Zack Weinberg  <zackw@panix.com>
10037         * misc/Versions (libc): Add GLIBC_2.23.
10039 2015-08-18  Alan Modra  <amodra@gmail.com>
10041         [BZ #18421]
10042         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10043         .Lp__global.
10044         (_start): Load %dp via .Lp__global.
10045         [!SHARED]: Use .section .rodata.
10047 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10049         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10050         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10052 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10054         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10055         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10057 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10059         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10060         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10062 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10064         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10065         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10067 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10069         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10070         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10072 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10074         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10075         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10077 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10079         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10081 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10083         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10084         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10085         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10086         (__ASSUME_LWS_CAS): Delete.
10088 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10090         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10091         * sysdeps/hppa/configure: Regenerated.
10092         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10093         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10094         * sysdeps/hppa/nptl/tls.h: Likewise.
10096 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10098         [BZ #18823]
10099         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10100         for scaling up small arguments.
10101         * math/s_csqrtf.c (__csqrtf): Likewise.
10102         * math/s_csqrtl.c (__csqrtl): Likewise.
10103         * math/auto-libm-test-in: Add more tests of csqrt.
10104         * math/auto-libm-test-out: Regenerated.
10106 2015-08-17  Andreas Schwab  <schwab@suse.de>
10108         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10109         version set GLIBC_2.19.
10111 2015-08-16  Zack Weinberg  <zackw@panix.com>
10113         [BZ #18681]
10114         * misc/regexp.h: This interface is no longer supported.
10115         Remove all contents, leaving only an #error directive.
10116         * misc/regexp.c (loc1, loc2, locs, step, advance):
10117         Demote to compatibility symbols.
10119 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10121         [BZ #18084]
10122         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10123         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10124         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10125         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10126         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10127         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10128         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10129         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10130         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10132 2015-08-15  Zack Weinberg  <zackw@panix.com>
10134         [BZ #18795]
10135         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10136         buffer length is known to be too large, not if it's known to be
10137         small enough.
10138         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10139         overflow at runtime, involving a length parameter, twice: once
10140         with a compile-time constant length parameter, once without.
10142 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10144         [BZ #18824]
10145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10146         scaling x * y up instead of down.
10147         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10148         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10149         * math/auto-libm-test-in: Add more tests of fma.
10150         * math/auto-libm-test-out: Regenerated.
10152 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10156 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10159         unnecessary movq.
10160         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10161         Likewise.
10163 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10165         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10166         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10167         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10168         and tgamma.
10169         * math/auto-libm-test-out: Regenerated.
10170         * sysdeps/i386/fpu/libm-test-ulps: Update.
10171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173         [BZ #16520]
10174         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10175         (__tanh): Force underflow exception for arguments with small
10176         absolute value.
10177         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10178         (__tanhf): Force underflow exception for arguments with small
10179         absolute value.
10180         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10181         (__tanhl): Force underflow exception for arguments with small
10182         absolute value.
10183         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10184         (__tanhl): Force underflow exception for arguments with small
10185         absolute value.
10186         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10187         (__tanhl): Force underflow exception for arguments with small
10188         absolute value.
10189         * math/auto-libm-test-in: Add more tests of tanh.
10190         * math/auto-libm-test-out: Regenerated.
10191         * sysdeps/i386/fpu/libm-test-ulps: Update.
10193 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10195         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10196         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10198 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10200         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10201         <cpuid.h>.
10203 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10205         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10206         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10208 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10210         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10211         Remove $(objpfx)init-arch.o.
10212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10213         init-arch.
10214         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10215         (INIT_ARCH_EXT): Defined as empty.
10216         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10218         __init_cpu_features call.  Replace HAS_XXX with
10219         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10220         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10224         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10225         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10226         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10227         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10228         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10237         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10239         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10240         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10242         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10244         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10245         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10254         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10256 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10258         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10259         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10260         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10261         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10262         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10263         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10264         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10265         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10266         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10267         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10268         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10269         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10270         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10271         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10272         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10273         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10281         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10282         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10283         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10284         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10285         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10286         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10287         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10288         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10289         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10290         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10291         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10292         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10293         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10294         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10295         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10296         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10297         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10298         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10299         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10300         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10302 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10304         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10305         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10307         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10308         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10309         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10311         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10312         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10313         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10315         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10316         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10317         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10318         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10319         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10320         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10321         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10322         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10323         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10325         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10326         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10327         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10328         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10329         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10330         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10331         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10332         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10333         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10334         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10335         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10336         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10337         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10338         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10339         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10340         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10341         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10342         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10343         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10344         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10345         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10346         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10348 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10350         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10351         (dl_platform_init): Call init_cpu_features.
10352         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10353         * sysdeps/i386/i686/cacheinfo.c
10354         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10355         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10356         * sysdeps/i386/i686/multiarch/Versions: Removed.
10357         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10358         Removed.
10359         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10360         * sysdeps/unix/sysv/linux/x86/Makefile
10361         (libpthread-sysdep_routines): Remove init-arch.
10362         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10363         <sysdeps/x86_64/dl-procinfo.c> instead of
10364         sysdeps/generic/dl-procinfo.c>.
10365         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10366         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10367         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10368         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10369         [$(subdir) == elf] (tests-static): Add
10370         tst-get-cpu-features-static.
10371         * sysdeps/x86/Versions: New file.
10372         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10373         * sysdeps/x86/cpu-features.c: Likewise.
10374         * sysdeps/x86/cpu-features.h: Likewise.
10375         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10376         * sysdeps/x86/libc-start.c: Likewise.
10377         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10378         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10379         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10380         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10381         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10382         Assume USE_MULTIARCH is defined and don't check it.
10383         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10384         (is_amd): Likewise.
10385         (max_cpuid): Likewise.
10386         (intel_check_word): Likewise.
10387         (__cache_sysconf): Don't call __init_cpu_features.
10388         (__x86_preferred_memory_instruction): Removed.
10389         (init_cacheinfo): Don't call __init_cpu_features. Replace
10390         __cpu_features with GLRO(dl_x86_cpu_features).
10391         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10392         (dl_platform_init): Call init_cpu_features.
10393         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10394         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10395         * sysdeps/x86_64/multiarch/Versions: Removed.
10396         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10397         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10398         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10399         Removed.
10400         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10402 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10404         [BZ #18820]
10405         * libio/Makefile (test-fmemopen-mem): New test.
10406         * libio/test-fmemopen.c (do_bz18820): New test.
10407         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10408         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10410 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10412         [BZ #16734]
10413         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10414         (FREE_BUF): Delete.
10415         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10416         * libio/genops.c (_IO_setb): Use malloc and free directly.
10417         (_IO_default_doallocate, _IO_default_finish): Likewise.
10418         ( _IO_unbuffer_all): Likewise.
10419         ( libc_freeres_fn): Likewise.
10420         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10421         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10422         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10423         (_IO_wdefault_doallocate): Likewise.
10425 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10427         [BZ #18086]
10428         * sysdeps/posix/nice.c (nice): Restore old errno.
10429         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10431 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10435 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10437         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10438         __bcopy and add a weak_alias to bcopy.
10439         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10440         for static build.
10442         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10443         cleanup macro usage.
10444         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10447         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10448         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10449         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10450         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10451         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10452         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10453         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10455         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10457         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10460         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10461         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10462         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10464         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10465         libc_hidden_def.
10466         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10468         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10469         (sysdep_routines): Add strstr-ppc64.
10470         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10472 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10474         [BZ #18778]
10475         * elf/Makefile (tests): Add Add tst-nodelete2.
10476         (modules-names): Add tst-nodelete2mod.
10477         (tst-nodelete2mod.so-no-z-defs): New.
10478         ($(objpfx)tst-nodelete2): Likewise.
10479         ($(objpfx)tst-nodelete2.out): Likewise.
10480         (LDFLAGS-tst-nodelete2): Likewise.
10481         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10482         out of loop through all loaded libraries.
10483         * elf/tst-nodelete2.c: New file.
10484         * elf/tst-nodelete2mod.c: Likewise.
10485         * elf/tst-znodelete-zlib.cc: Delete.
10487 2015-08-11  Andreas Schwab  <schwab@suse.de>
10489         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10490         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10491         (__openat64_nocancel): Likewise.
10493 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10495         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10496         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10497         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10498         * math/auto-libm-test-out: Regenerated.
10499         * sysdeps/i386/fpu/libm-test-ulps: Update.
10500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10502 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10504         [BZ #18790]
10505         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10506         threshold for returning +/- 1.
10507         * math/auto-libm-test-in: Add more tests of tanh.
10508         * math/auto-libm-test-out: Regenerated.
10509         * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 2015-08-10  Andreas Schwab  <schwab@suse.de>
10513         [BZ #18781]
10514         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10515         MORE_OFLAGS to oflag.
10516         * io/test-lfs.c (do_test): Test openat64.
10518 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10520         [BZ #18789]
10521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10522         smaller threshold for returning the argument.
10523         * math/auto-libm-test-in: Add more tests of sinh.
10524         * math/auto-libm-test-out: Regenerated.
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10527 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10529         [BZ #18674]
10530         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10531         break.
10533 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10535         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10536         (generated): Don't add $(addprefix z.,$(tzfiles)).
10538 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10540         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10541         * scripts/sysd-rules.awk: Likewise.
10543 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10545         * iconvdata/tst-tables.sh: Change echo -n to printf.
10546         * nss/db-Makefile: Likewise.
10547         * posix/tst-getconf.sh: Likewise.
10548         * stdio-common/tst-unbputc.sh: Likewise.
10550 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10552         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10553         MADV_*_PAGES defines behind this feature check.
10555 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10557         [BZ #18480]
10558         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10559         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10560         Define.
10561         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10562         LOAD_REGS_5, LOAD_REGS_6): Update.
10563         (INTERNAL_SYSCALL): Update using new LOAD defines.
10564         (INTERNAL_SYSCALL_NCS): Likewise.
10565         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10567 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10569         [BZ #16734]
10570         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10572 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10574         [BZ #17905]
10575         * catgets/Makefile (tst-catgets-mem): New test.
10576         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10577         * catgets/open_catalog.c (__open_catalog): Likewise.
10578         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10580 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10582         [BZ #18787]
10583         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10584         clobber registers.
10585         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10586         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10587         Cast return to __typeof (oldval).
10589 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10591         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10592         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10593         and delete sys/syscall.h include.
10595 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10597         [BZ #16517]
10598         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10599         (tan): Force underflow exception for arguments with small absolute
10600         value.
10601         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10602         (__kernel_tanf): Force underflow exception for arguments with
10603         small absolute value.
10604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10605         (__kernel_tanl): Force underflow exception for arguments with
10606         small absolute value.
10607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10608         (__kernel_tanl): Force underflow exception for arguments with
10609         small absolute value.
10610         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10611         (__kernel_tanl): Force underflow exception for arguments with
10612         small absolute value.
10613         * math/auto-libm-test-in: Add more tests of tan.
10614         * math/auto-libm-test-out: Regenerated.
10616 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10618         Fix sysdeps/i386/fpu/s_scalbn.S build
10620         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10622 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10624         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10626 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10628         Fix gcrt0.o compilation
10630         When static-start-installed-name is different from
10631         start-installed-name, we must not use the shared objects.
10633         * csu/Makefile
10634         (extra-objs): Add gmon-start.o when building shared library and
10635         $(static-start-installed-name) is different from
10636         $(start-installed-name).
10637         $(objpfx)g$(static-start-installed-name): When building shared
10638         library and $(static-start-installed-name) is different from
10639         $(static-start-installed-name), revert to non-shared rule,
10640         i.e. using $(objpfx)% and gmon-start.o.
10642 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10644         [BZ #16519]
10645         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10646         (__ieee754_sinh): Force underflow exception for arguments with
10647         small absolute value.
10648         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10649         (__ieee754_sinhf): Force underflow exception for arguments with
10650         small absolute value.
10651         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10652         (__ieee754_sinhl): Force underflow exception for arguments with
10653         small absolute value.
10654         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10655         (__ieee754_sinhl): Force underflow exception for arguments with
10656         small absolute value.
10657         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10658         (__ieee754_sinhl): Force underflow exception for arguments with
10659         small absolute value.
10660         * math/auto-libm-test-in: Add more tests of sinh.
10661         * math/auto-libm-test-out: Regenerated.
10662         * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10666         * libio/oldfileops.c: Include unistd.h.
10668 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10670         * stdlib/isomac.c: Include ctype.h.
10672 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10674         * dirent/tst-seekdir.c (main): Converted to ...
10675         (do_test): ... this.
10676         (TEST_FUNCTION): New macro.
10677         Include test-skeleton.c.
10678         * elf/tst-dlmodcount.c (main): Converted to ...
10679         (do_test): ... this.
10680         (TEST_FUNCTION): New macro.
10681         Include test-skeleton.c.
10682         * elf/tst-order-main.c (main): Converted to ...
10683         (do_test): ... this.
10684         (TEST_FUNCTION): New macro.
10685         Include test-skeleton.c.
10686         * elf/tst-pie2.c (main): Converted to ...
10687         (do_test): ... this.
10688         (TEST_FUNCTION): New macro.
10689         Include test-skeleton.c.
10690         * inet/tst-ether_aton.c (main): Converted to ...
10691         (do_test): ... this.
10692         (TEST_FUNCTION): New macro.
10693         Include test-skeleton.c.
10694         * misc/tst-mntent.c (main): Converted to ...
10695         (do_test): ... this.
10696         (TEST_FUNCTION): New macro.
10697         Include test-skeleton.c.
10698         * misc/tst-tsearch.c (main): Converted to ...
10699         (do_test): ... this.
10700         (TEST_FUNCTION): New macro.
10701         Include test-skeleton.c.
10702         * posix/tst-regexloc.c (main): Converted to ...
10703         (do_test): ... this.
10704         (TEST_FUNCTION): New macro.
10705         Include test-skeleton.c.
10706         * resolv/tst-aton.c (main): Converted to ...
10707         (do_test): ... this.
10708         (TEST_FUNCTION): New macro.
10709         Include test-skeleton.c.
10710         * stdio-common/test-fwrite.c (main): Converted to ...
10711         (do_test): ... this.
10712         (TEST_FUNCTION): New macro.
10713         Include test-skeleton.c.
10714         * stdio-common/tst-ferror.c (main): Converted to ...
10715         (do_test): ... this.
10716         (TEST_FUNCTION): New macro.
10717         Include test-skeleton.c.
10718         * stdio-common/tst-printf.c (main): Converted to ...
10719         (do_test): ... this.
10720         (TEST_FUNCTION): New macro.
10721         Include test-skeleton.c.
10722         * stdio-common/tst-printfsz.c (main): Converted to ...
10723         (do_test): ... this.
10724         (TEST_FUNCTION): New macro.
10725         Include test-skeleton.c.
10726         * stdlib/tst-strtod.c (main): Converted to ...
10727         (do_test): ... this.
10728         (TEST_FUNCTION): New macro.
10729         Include test-skeleton.c.
10730         * string/tst-strlen.c (main): Converted to ...
10731         (do_test): ... this.
10732         (TEST_FUNCTION): New macro.
10733         Include test-skeleton.c.
10734         * string/tst-svc.c (main): Converted to ...
10735         (do_test): ... this.
10736         (TEST_FUNCTION): New macro.
10737         Include test-skeleton.c.
10738         * time/tst-strptime.c (main): Converted to ...
10739         (do_test): ... this.
10740         (TEST_FUNCTION): New macro.
10741         Include test-skeleton.c.
10742         * timezone/tst-timezone.c (main): Converted to ...
10743         (do_test): ... this.
10744         (TEST_FUNCTION): New macro.
10745         Include test-skeleton.c.
10747 2015-08-05  Zack Weinberg  <zackw@panix.com>
10749         * misc/regexp.h: Update comments.
10751 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10753         [BZ #18635]
10754         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10755         before return label.
10757 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10759         [BZ #18661]
10760         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10761         when calling __errno_location.
10762         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10763         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10765 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10767         [BZ #18661]
10768         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10769         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10770         __gettimeofday.
10772 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10774         [BZ #18661]
10775         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10776         (__start_context): Don't use pop to restore %rdi so that stack
10777         is aligned to 16 bytes when calling __setcontext.
10779 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10781         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10782         only for libc.
10783         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10785 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10787         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10788         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10789         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10791 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10793         * string/memccpy.c (memccpy):
10794         Improve performance by using memchr/memcpy/__mempcpy.
10796 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10798         * string/strncpy.c (strncpy):
10799         Improve performance by using __strnlen/memcpy.
10801 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10803         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10804         Optimize to avoid an unnecessary FPCR read.
10806 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10808         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10809         Optimize to reduce FPCR/FPSR accesses.
10811 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10813         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10814         dead->data[category] != NULL.
10816 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10818         [BZ #18647]
10819         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10820         and |x| close to 1, use absolute value of x when computing log.
10821         * math/auto-libm-test-in: Add more tests of pow.
10822         * math/auto-libm-test-out: Regenerated.
10824 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10826         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10827         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10828         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10830 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10832         [BZ #18525]
10833         * locales/km_KH: Remove timezone definition.
10834         * locales/lo_LA: Likewise.
10835         * locales/my_MM: Likewise.
10836         * locales/nan_TW@latin: Likewise.
10837         * locales/th_TH: Likewise.
10838         * locales/uk_UA: Likewise.
10840 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10842         [BZ #18265]
10843         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10844         (wcsncat): Likewise.
10845         (wcscmp): Likewise.
10846         (wcsncmp): Likewise.
10848 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10850         * test-skeleton.c (usage): New function.
10851         (main): Call usage when opt is '?'.
10853 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10855         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10856         before first use.
10858 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10860         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10861         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10862         in there too.
10864 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10866         * version.h (RELEASE): Set to "development".
10867         (VERSION): Set to "2.22.90"
10869         * version.h (RELEASE): Set to "stable".
10870         (VERSION): Set to "2.22"
10871         * include/features.h (__GLIBC_MINOR__): Set to 22.
10873 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10875         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10876         Restructure macro to avoid "value computed is not used" warning.
10877         (atomic_compare_and_exchange_val_acq): Likewise.
10879 2015-08-04  Andreas Schwab  <schwab@suse.de>
10881         [BZ #18635]
10882         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10883         ret.
10884         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10886 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10888         * po/pl.po: Updated translation.
10889         * po/uk.po: Likewise.
10890         * po/fi.po: Likewise.
10891         * po/ko.po: Likewise.
10892         * po/ru.po: Likewise.
10893         * po/vi.po: Likewise.
10895 2015-07-31  Zack Weinberg  <zackw@panix.com>
10897         [BZ #18681]
10898         * regexp.h: Add unconditional #warning stating that this header
10899         will be removed soon.  Revise banner comment to match.
10900         (compile): Consistently use ERROR instead of RETURN to report
10901         errors (partial fix for bz#18681).
10902         * regexp.c: Don't include regexp.h. Remove some unnecessary
10903         declarations.
10905 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10907         * po/libc.pot: Regenerated.
10909 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10911         [BZ #18740]
10912         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10913         float-vlen4-arch-ext-cflags): Removed.
10914         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10915         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10917 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10919         [BZ #14113]
10920         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10921         aligned to __aligned__.
10922         (pthread_cond_t, pthread_rwlock_t): Likewise.
10924 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10926         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10928 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10930         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10931         (struct sigaction): Change sa_flags from a long to an int, and add
10932         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10934 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10936         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10937         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10938         sysdeps/generic/sysdep.h include.
10939         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10940         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10941         sysdeps/hppa/sysdep.h.
10942         (ENTRY, PSEUDO): Undefine before defining.
10944 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10946         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10947         from scratch to use INTERNAL_SYSCALL.
10949 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10951         [BZ #18078]
10952         * scripts/check-localplt.awk: Support alternate relocations.
10953         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10954         sections.
10955         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10956         malloc entries with + REL R_386_GLOB_DAT.
10957         * sysdeps/x86_64/localplt.data: New file.
10959 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10961         [BZ #18731]
10962         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10963         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10964         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10966 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10968         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10970 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10972         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10973         directly in terms of __sync_fetch_and_add and delete (int) cast.
10975 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10977         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10978         the -D_ASM_IA64_CURRENT_H flag.
10980 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10982         [BZ #18641]
10983         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10985 2015-07-27  Andreas Schwab  <schwab@suse.de>
10987         * conform/conformtest.pl (checknamespace): Filter out string
10988         literals while tokenizing.
10990 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10992         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10993         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10994         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10996 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10998         * nptl/tst-join7mod.c: Add #include <string.h>.
11000 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11002         * sysdeps/nios2/libm-test-ulps: Update.
11004 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11006         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11007         Fix order of arguments to the rt_sigprocmask syscall.
11008         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11009         Likewise.
11011 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11013         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11015 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11017         [BZ #18457]
11018         * nptl/Makefile (tests): New test case tst-join7.
11019         (modules-names): New test case module tst-join7mod.
11020         * nptl/tst-join7.c: New file.
11021         * nptl/tst-join7mod.c: New file.
11022         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11023         all translation units in libc.so, libpthread.so and rtld.
11025 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11029 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11033         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11034         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11035         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11038         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11040         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11041         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11043         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11044         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11046         implementation.
11048 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11050         [BZ #17711]
11051         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11052         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11053         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11054         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11055         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11056         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11058 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11060         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11061         instead of just saying load lock in the comments.
11063 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11065         * sysdeps/unix/Subdirs: Moved ...
11066         * sysdeps/posix/Subdirs: ... here.
11067         * login/pty.h (struct termios, struct winsize): Add forward decls.
11068         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11069         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11070         * sysdeps/arm/nacl/libc.abilist: Updated.
11071         * sysdeps/nacl/libutil.abilist: New file.
11073         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11074         (SIGWINCH): New macro.
11076         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11077         * sysdeps/arm/nacl/libc.abilist: Add it.
11079 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11081         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11083 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11085         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11086         Swap __glibc_reserved0 and sa_flags order.
11088 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11090         [BZ #18657]
11091         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11092         are pending TLS destructor calls.
11093         * include/link.h (struct link_map): Add concurrency note for
11094         L_TLS_DTOR_COUNT.
11095         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11096         Don't touch the link map flag.  Atomically increment
11097         l_tls_dtor_count.
11098         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11099         Avoid taking the load lock and don't touch the link map flag.
11100         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11101         * stdlib/Makefile (tests): Use it.
11102         * stdlib/tst-tls-atexit.c (do_test): dlopen
11103         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11104         to allow tst-tls-atexit-nodelete test case to use it.
11106 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11108         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11109         to bits/types.h.
11110         (msgqnum_t): New typedef.
11111         (msglen_t): Likewise.
11112         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11113         and msg_qbytes type to msglen_t.
11115 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11117         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11118         pad0 to __glibc_reserved0.
11119         (struct stat64): Likewise.
11121 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11123         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11124         Change sa_flags from a long to an int and add __glibc_reserved0 before
11125         it for padding.
11127 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11129         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11130         anonymous by deleting "siginfo" name.
11132 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11134         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11135         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11136         rather than __nacl_irt_filename.
11137         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11139         * NEWS: New item for arm-nacl port.
11140         * sysdeps/arm/nacl/libc.abilist: New file.
11141         * sysdeps/nacl/ld.abilist: New file.
11142         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11143         * sysdeps/nacl/libanl.abilist: New file.
11144         * sysdeps/nacl/libcrypt.abilist: New file.
11145         * sysdeps/nacl/libdl.abilist: New file.
11146         * sysdeps/nacl/libm.abilist: New file.
11147         * sysdeps/nacl/libpthread.abilist: New file.
11148         * sysdeps/nacl/libresolv.abilist: New file.
11149         * sysdeps/nacl/librt.abilist: New file.
11151 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11153         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11154         __startcontext to initialize the new context.
11155         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11156         up CFI directive to forbid further backtracing.
11158 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11160         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11161         reference.
11162         * charmaps/ANSI_X3.4-1968: Likewise.
11163         * charmaps/BS_4730: Likewise.
11164         * charmaps/BS_VIEWDATA: Likewise.
11165         * charmaps/CP1250: Likewise.
11166         * charmaps/CP1251: Likewise.
11167         * charmaps/CP1252: Likewise.
11168         * charmaps/CP1253: Likewise.
11169         * charmaps/CP1254: Likewise.
11170         * charmaps/CP1255: Likewise.
11171         * charmaps/CP1256: Likewise.
11172         * charmaps/CSN_369103: Likewise.
11173         * charmaps/EBCDIC-DK-NO: Likewise.
11174         * charmaps/GB_1988-80: Likewise.
11175         * charmaps/GREEK-CCITT: Likewise.
11176         * charmaps/GREEK7: Likewise.
11177         * charmaps/INIS-8: Likewise.
11178         * charmaps/ISIRI-3342: Likewise.
11179         * charmaps/ISO_2033-1983: Likewise.
11180         * charmaps/ISO_5427-EXT: Likewise.
11181         * locales/POSIX: Likewise.
11182         * locales/ar_SA: Likewise.
11183         * locales/be_BY: Likewise.
11184         * locales/be_BY@latin: Likewise.
11185         * locales/ca_ES: Likewise.
11186         * locales/cs_CZ: Likewise.
11187         * locales/da_DK: Likewise.
11188         * locales/de_BE: Likewise.
11189         * locales/de_CH: Likewise.
11190         * locales/de_LU: Likewise.
11191         * locales/en_AU: Likewise.
11192         * locales/en_BW: Likewise.
11193         * locales/en_CA: Likewise.
11194         * locales/en_DK: Likewise.
11195         * locales/en_GB: Likewise.
11196         * locales/en_IE: Likewise.
11197         * locales/en_NZ: Likewise.
11198         * locales/en_ZA: Likewise.
11199         * locales/en_ZW: Likewise.
11200         * locales/es_AR: Likewise.
11201         * locales/es_BO: Likewise.
11202         * locales/es_CL: Likewise.
11203         * locales/es_CO: Likewise.
11204         * locales/es_DO: Likewise.
11205         * locales/es_EC: Likewise.
11206         * locales/es_ES: Likewise.
11207         * locales/es_HN: Likewise.
11208         * locales/es_MX: Likewise.
11209         * locales/es_PA: Likewise.
11210         * locales/es_PE: Likewise.
11211         * locales/es_PY: Likewise.
11212         * locales/es_SV: Likewise.
11213         * locales/es_US: Likewise.
11214         * locales/es_UY: Likewise.
11215         * locales/es_VE: Likewise.
11216         * locales/et_EE: Likewise.
11217         * locales/fa_IR: Likewise.
11218         * locales/fo_FO: Likewise.
11219         * locales/fr_CA: Likewise.
11220         * locales/fr_CH: Likewise.
11221         * locales/gv_GB: Likewise.
11222         * locales/he_IL: Likewise.
11223         * locales/hr_HR: Likewise.
11224         * locales/id_ID: Likewise.
11225         * locales/is_IS: Likewise.
11226         * locales/it_CH: Likewise.
11227         * locales/iw_IL: Likewise.
11228         * locales/kl_GL: Likewise.
11229         * locales/ko_KR: Likewise.
11230         * locales/kw_GB: Likewise.
11231         * locales/lg_UG: Likewise.
11232         * locales/lt_LT: Likewise.
11233         * locales/lv_LV: Likewise.
11234         * locales/mi_NZ: Likewise.
11235         * locales/nhn_MX: Likewise.
11236         * locales/nl_BE: Likewise.
11237         * locales/pl_PL: Likewise.
11238         * locales/sk_SK: Likewise.
11239         * locales/sl_SI: Likewise.
11240         * locales/sv_FI: Likewise.
11241         * locales/tl_PH: Likewise.
11242         * locales/tr_TR: Likewise.
11243         * locales/vi_VN: Likewise.
11245 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11247         [BZ #17475]
11248         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11249         of tu_IN and bh_IN.
11251 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11253         [BZ #18694]
11254         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11255         bits/wordsize.h.
11256         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11258 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11260         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11261         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11262         (spawn_thread): New function.
11263         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11264         (do_test): ... here.  Use IS_LOADED to test for its
11265         availability.
11267 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11269         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11271 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11273         [BZ #18696]
11274         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11275         si_addr_bnd.
11276         (si_lower): New.
11277         (si_upper): Likewise.
11279 2015-07-16  David S. Miller  <davem@davemloft.net>
11281         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11283 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11285         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11286         buffer.
11287         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11288         fail output information.
11290 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11293         and strstr-ppc64..
11294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11295         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11296         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11297         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11298         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11300 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11302         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11303         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11304         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11305         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11307 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11309         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11310         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11311         rtld_hidden_proto.
11312         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11314 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11316         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11317         the test can fail.
11319         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11321         [BZ #18676]
11322         * elf/tst-nodelete-opened.c: New test case.
11323         * elf/tst-nodelete-opened-lib.c: New test case module.
11324         * elf/Makefile (tests, modules-names): Use them.
11325         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11326         early.
11328 2015-07-15  David S. Miller  <davem@davemloft.net>
11330         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11331         futex-intenal.h
11332         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11333         * sysdeps/sparc/sparc64/Makefile: Likewise.
11334         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11335         Remove space from macro define.
11336         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11338 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11340         [BZ #17475]
11341         * locale/iso-639.def: Update Bhili and Tulu language codes as
11342         per iso639-3.
11344 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11346         * elf/tst-leaks1.c (main): Converted to ...
11347         (do_test): ... this.
11348         (TEST_FUNCTION): New macro.
11349         Include test-skeleton.c.
11350         * localedata/tst-langinfo.c (main): Converted to ...
11351         (do_test): ... this.
11352         (TEST_FUNCTION): New macro.
11353         Include test-skeleton.c.
11354         * math/test-fpucw.c (main): Converted to ...
11355         (do_test): ... this.
11356         (TEST_FUNCTION): New macro.
11357         Include test-skeleton.c.
11358         * math/test-tgmath.c (main): Converted to ...
11359         (do_test): ... this.
11360         (TEST_FUNCTION): New macro.
11361         Include test-skeleton.c.
11362         * math/test-tgmath2.c (main): Converted to ...
11363         (do_test): ... this.
11364         (TEST_FUNCTION): New macro.
11365         Include test-skeleton.c.
11366         * setjmp/tst-setjmp.c (main): Converted to ...
11367         (do_test): ... this.
11368         (TEST_FUNCTION): New macro.
11369         Include test-skeleton.c.
11370         * stdio-common/tst-sscanf.c (main): Converted to ...
11371         (do_test): ... this.
11372         (TEST_FUNCTION): New macro.
11373         Include test-skeleton.c.
11374         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11375         (do_test): ... this.
11376         (TEST_FUNCTION): New macro.
11377         Include test-skeleton.c.
11379         * elf/tst-audit9.c (main): Converted to ...
11380         (do_test): ... this.
11381         (TEST_FUNCTION): New macro.
11382         Include test-skeleton.c.
11384 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11386         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11388 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11390         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11391         New variable.
11393 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11395         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11397 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11399         * sysdeps/generic/dl-fileid.h: New file.
11400         * sysdeps/posix/dl-fileid.h: New file.
11401         * sysdeps/nacl/dl-fileid.h: New file.
11402         * include/link.h: Include <dl-fileid.h>.
11403         (struct link_map): Replace l_dev and l_ino with l_file_id.
11404         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11405         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11406         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11408 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11410         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11412 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11414         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11415         Add iff $CXX is set.
11416         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11417         Likewise.
11418         (tst-nodelete-zmodiff): Likewise.
11419         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11421 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11423         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11425 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11427         * sysdeps/aarch64/fpu/math_private.h
11428         (define math_opt_barrier): Add AArch64 version.
11429         (math_force_eval): Likewise.
11431 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11433         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11435 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11437         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11438         %ld with %jd and cast to intmax_t.
11439         (do_test_length_zero): Likewise.
11441 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11443         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11445 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11447         * sysdeps/tile/libm-test-ulps: Regenerated.
11449         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11450         Comment out the whole function, not just its body.
11452 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11454         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11455         locks.
11457         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11459 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11461         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11462         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11464 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11466         * sysdeps/nptl/futex-internal.h: New file.
11467         * sysdeps/nacl/futex-internal.h: New file.
11468         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11469         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11470         error checking.
11471         (setxid_unmark_thread): Likewise.
11472         (__nptl_setxid): Likewise.
11473         (__wait_lookup_done): Likewise.
11474         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11475         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11476         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11477         * nptl/pthread_once.c (clear_once_control): Likewise.
11478         (__pthread_once_slow): Likewise.
11479         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11480         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11481         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11482         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11483         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11484         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11485         Likewise.
11486         (__pthread_rwlock_rdlock): Likewise.
11487         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11488         Likewise.
11489         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11490         Likewise.
11491         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11492         Likewise.
11493         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11494         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11495         Likewise.
11496         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11497         __ASSUME_PRIVATE_FUTEX check.
11498         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11499         Check that shared futexes are supported.
11500         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11501         wrappers with error checking.
11502         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11503         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11504         * nptl/pthread_barrierattr_setpshared.c
11505         (pthread_barrierattr_setpshared): Check that shared futexes are
11506         supported.
11507         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11508         Likewise.
11509         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11510         Likewise.
11511         * nptl/sem_init.c (futex_private_if_supported): Remove.
11512         (__new_sem_init): Adapt and check that shared futexes are supported.
11513         * nptl/sem_open.c (sem_open): Likewise.
11514         * nptl/sem_post.c (futex_wake): Remove.
11515         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11516         (do_futex_wait): Use futex wrappers with error checking.
11517         * nptl/sem_wait.c: Include lowlevellock.h.
11518         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11519         Use futex_supports_pshared.
11520         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11521         Use futex wrappers with error checking.
11522         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11523         Likewise.
11524         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11525         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11526         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11527         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11528         (futex_wake): Likewise.
11529         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11530         (do_futex_wait): Use futex wrappers with error checking.
11531         (__new_sem_wait_slow): Update EINTR handling.
11532         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11534 2015-07-09  Martin Sebor  <msebor@redhat.com>
11536         [BZ #18435]
11537         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11538         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11539         * nptl/Makefile (test-xfail-tst-once5): Define.
11541 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11543         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11544         * elf/dl-minimal.c: For readability, reorder some definitions and
11545         introduce more page breaks.  Include <stdio.h>.
11546         (__libc_fatal): New function.
11548         * include/unistd.h: Add rtld_hidden_proto for _exit.
11549         * posix/_exit.c: Add rtld_hidden_def.
11550         * sysdeps/mach/hurd/_exit.c: Likewise.
11551         * sysdeps/nacl/_exit.c: Likewise.
11552         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11553         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11555 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11558         bndmov encoding with zero displacement.
11560 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11561             H.J. Lu  <hongjiu.lu@intel.com>
11563         [BZ #18134]
11564         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11565         * sysdeps/i386/configure: Regenerated.
11566         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11567         (_dl_runtime_profile): Save and restore Intel MPX return bound
11568         registers when calling _dl_call_pltexit.  Add
11569         PRESERVE_BND_REGS_PREFIX before return.
11570         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11571         (LRV_BND1_OFFSET): Likewise.
11572         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11573         lrv_bnd1.
11574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11575         typo in bndmov encoding.
11576         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11577         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11578         branch instructions to preserve bounds.
11580 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11583         [GLIBC_2.22]: Add fmemopen.
11585 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11587         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11588         returns an error, also try to use host port from __mach_host_self for
11589         the __vm_wire call.
11590         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11592 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11594         [BZ #18400]
11595         [BZ #18648]
11596         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11597         Fix pr_uid and pr_gid members.
11598         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11599         definition to elf_greg_t.
11601 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11603         [BZ #18383]
11604         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11605         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11606         * sysdeps/arm/configure: Regenerated.
11607         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11608         (test-xfail-tst-tlsalign-static): Variable removed.
11610         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11611         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11612         rather than explicit 'ln -s'.
11614         * resolv/rpc/netdb.h: New file.
11615         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11617 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11619         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11620         length buffers.
11621         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11622         test-skeleton.c.
11624         [BZ #6544]
11625         [BZ #11216]
11626         [BZ #12836]
11627         [BZ #13151]
11628         [BZ #13152]
11629         [BZ #14292]
11630         * include/stdio.h (fmemopen): Remove hidden prototype.
11631         (__fmemopen): Add new hidden prototype.
11632         * libio/Makefile: Add oldfmemopen object.
11633         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11634         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11635         compliance.
11636         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11637         symbol compatibility.
11638         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11639         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11640         fmemopen.
11641         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11642         on append and read mode.
11643         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11644         fmemopen.
11645         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11646         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11647         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11648         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11649         Likewise.
11650         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11651         [GLIBC_2.22]: Likewise.
11652         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11653         Likewise.
11654         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11657         [GLIBC_2.22]: Likewise.
11658         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11659         [GLIBC_2.22]: Likewise.
11660         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11661         [GLIBC_2.22]: Likewise.
11662         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11663         [GLIBC_2.22]: Likewise.
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11665         [GLIBC_2.22]: Likewise.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11667         [GLIBC_2.22]: Likewise.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11669         [GLIBC_2.22]: Likewise.
11670         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11673         Likewise.
11674         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11675         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11676         [GLIBC_2.22]: Likewise.
11677         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11678         [GLIBC_2.22]: Likewise.
11679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11680         [GLIBC_2.22]: Likewise.
11681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11682         [GLIBC_2.22]: Likewise.
11683         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11686         Likewise.
11687         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11688         Likewise.
11689         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11690         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11692 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11694         [BZ #18643]
11695         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11696         IPV6_PATHMTU, and IPV6_DONTFRAG.
11698 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11700         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11701         and _IO_UNBUFFERED.
11702         * libio/oldfileops.c: Likewise.
11703         * libio/wfileops.c: Likewise.
11705 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11707         * nscd/selinux.c: Delete selinux/flask.h include.
11709 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11711         [BZ #18641]
11712         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11713         (putpwent): Likewise.
11714         (getpwnam): Likewise.
11715         (getpwent_r): Likewise.
11716         (getpwuid_r): Likewise.
11717         (getpwnam_r): Likewise.
11718         (fgetpwent_r): Likewise.
11720 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11722         [BZ #18557]
11723         * inet/rcmd.c (__validuser2_sa): Check user first to
11724         short-circuit host check.
11726 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11727             Mikhail Ilin  <m.ilin@samsung.com>
11729         [BZ #17833]
11730         * elf/Makefile (tests): Add tst-nodelete.
11731         (modules-names): Add tst-nodelete-uniquemod.
11732         (tst-nodelete-uniquemod.so-no-z-defs): New.
11733         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11734         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11735         ($(objpfx)tst-nodelete): Likewise.
11736         ($(objpfx)tst-nodelete.out): Likewise.
11737         (LDFLAGS-tst-nodelete): Likewise.
11738         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11739         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11740         implement forced object deletion.
11741         (_dl_close): Pass false to _dl_close_worker.
11742         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11743         * elf/tst-nodelete.cc: New file.
11744         * elf/tst-nodeletelib.cc: Likewise.
11745         * elf/tst-znodeletelib.cc: Likewise.
11746         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11748 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11750         [BZ #18508]
11751         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11752         Depend on $(libdl).
11753         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11754         is not called infinitely times.
11755         (backtrace_helper): New function.
11756         (trace_arg): New struct.
11757         (st1): Enlarge stack size.
11758         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11759         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11760         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11761         Likewise.
11763 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11765         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11767 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11769         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11770         Include sys/types.h instead of bits/types.h.
11771         Remove inclusion of bits/wordsize.h.
11773 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11775         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11776         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11777         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11778         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11779         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11780         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11782 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11784         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11785         link-defines.sym.
11786         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11787         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11788         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11789         and LR_SIZE.
11790         * sysdeps/i386/link-defines.sym: New file.
11792 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11794         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11795         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11796         ($(objpfx)tst-audit3): New rule.
11797         ($(objpfx)tst-audit3.out): Likewise.
11798         * sysdeps/i386/tst-audit3.c: New file.
11799         * sysdeps/i386/tst-audit3.h: Likewise.
11800         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11801         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11803 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11805         [BZ #18633]
11806         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11807         pointer in C code.
11808         (__strcat_c): Likewise.
11809         (__strcat_g): Likewise.
11811 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11813         [BZ #18592]
11814         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11816 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11818         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11819         New function.  (__ieee754_sqrtf): New function.
11820         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11821         New function.
11822         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11823         New function.
11825 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11827         * sysdeps/ieee754/support.c: Remove unused file.
11829 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11831         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11832         registers instead of d ones so the layout is kernel abi compatible.
11833         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11834         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11835         Likewise.
11837 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11839         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11841 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11843         [BZ #18619]
11844         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11845         and return argument in case of subnormal argument.
11847 2015-07-01  Martin Sebor  <msebor@redhat.com>
11849         [BZ #18435]
11850         * nptl/Makefile: Add tst-once5.cc.
11851         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11852         Remove macro redefinitions.
11853         * nptl/tst-once5.cc: New test.
11855 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11857         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11859         * sysdeps/arm/libm-test-ulps: Regenerated.
11861         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11862         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11864 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11866         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11867         lll_lock_wait_private and lll_futex_wake probes.
11869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11871         Likewise.
11872         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11873         atomic_spin_nop.
11874         * sysdeps/x86_64/bits/atomic.h: Likewise.
11875         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11876         to atomic_spin_nop and move ...
11877         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11878         ... here and ...
11879         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11880         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11881         atomic_spin_nop instead of BUSY_WAIT_NOP.
11882         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11883         Likewise.
11884         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11885         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11886         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11887         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11888         instead of atomic_delay.
11890 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11892         [BZ #18613]
11893         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11894         X_ADJ not X when adjusting exponent.
11895         (__ieee754_gamma_r): Do intermediate computations in
11896         round-to-nearest then adjust overflowing and underflowing results
11897         as needed.
11898         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11899         of X_ADJ not X when adjusting exponent.
11900         (__ieee754_gammaf_r): Do intermediate computations in
11901         round-to-nearest then adjust overflowing and underflowing results
11902         as needed.
11903         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11904         log of X_ADJ not X when adjusting exponent.
11905         (__ieee754_gammal_r): Do intermediate computations in
11906         round-to-nearest then adjust overflowing and underflowing results
11907         as needed.  Use 1.0L not 1.0f as numerator of division.
11908         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11909         log of X_ADJ not X when adjusting exponent.
11910         (__ieee754_gammal_r): Do intermediate computations in
11911         round-to-nearest then adjust overflowing and underflowing results
11912         as needed.  Use 1.0L not 1.0f as numerator of division.
11913         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11914         of X_ADJ not X when adjusting exponent.
11915         (__ieee754_gammal_r): Do intermediate computations in
11916         round-to-nearest then adjust overflowing and underflowing results
11917         as needed.  Use 1.0L not 1.0f as numerator of division.
11918         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11919         to auto-libm-test-in.
11920         (tgamma_test): Use ALL_RM_TEST.
11921         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11922         tests of tgamma with spurious-overflow.
11923         * math/auto-libm-test-out: Regenerated.
11924         * math/gen-libm-have-vector-test.sh: Do not check for START.
11925         * sysdeps/i386/fpu/libm-test-ulps: Update.
11926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11928         [BZ #18612]
11929         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11930         arguments, just return 0.5 times the argument, with underflow
11931         forced as needed.
11932         * math/auto-libm-test-in: Add more tests of j1.
11933         * math/auto-libm-test-out: Regenerated.
11935         [BZ #16559]
11936         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11937         (__ieee754_j1): Force underflow exception for small results.
11938         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11939         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11940         (__ieee754_j1f): Force underflow exception for small results.
11941         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11942         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11943         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11944         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11945         (__ieee754_j1l): Force underflow exception for small results.
11946         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11947         * math/auto-libm-test-in: Add more tests of j1 and jn.
11948         * math/auto-libm-test-out: Regenerated.
11950         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11951         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11952         (PF_MPLS): Likewise.
11953         (AF_IB): Likewise.
11954         (AF_MPLS): Likewise.
11955         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11956         value and macro.
11957         (MS_RMT_MASK): Include MS_LAZYTIME.
11959 2015-06-26  Mel Gorman  <mgorman@suse.de>
11961         [BZ #18502]
11962         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11963         already minimal.
11965 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11967         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11968         (DT_MIPS_NUM): Update.
11969         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11970         DT_MIPS_RLD_MAP_REL.
11972 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11974         [BZ #16559]
11975         [BZ #18602]
11976         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11977         round-to-nearest internally then recompute results that
11978         underflowed to zero in the original rounding mode.
11979         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11980         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11982         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11983         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11984         * sysdeps/i386/fpu/libm-test-ulps: Update.
11985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11987 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11989         * NEWS: Fixed description of link with vector math library.
11991 2015-06-25  Andreas Schwab  <schwab@suse.de>
11993         [BZ #18549]
11994         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11995         * libio/test-fmemopen.c (do_test): Add test for it.
11997 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11999         [BZ #17841]
12000         * Makeconfig (no-pie-ldflag): New.
12001         (+link): Set to $(+link-pie) if default to PIE.
12002         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12003         * config.make.in (build-pie-default): New.
12004         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12005         is default.  AC_SUBST.
12006         * configure: Regenerated.
12007         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12009 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12011         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12012         to 'unsigned int'.
12014         * resolv/gai_misc.h (struct waitlist): Change type of field
12015         counterp to 'volatile unsigned int *'.
12016         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12017         FUTEXADDR and OLDVAL.
12018         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12019         Give local variable TOTAL type 'volatile unsigned int'.
12020         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12021         * resolv/gai_suspend.c (gai_suspend):
12022         Give local variable CNTR type 'unsigned int'.
12024         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12025         counterp to 'volatile unsigned int *'.
12026         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12027         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12028         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12029         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12030         Give local variable TOTAL type 'volatile unsigned int'.
12031         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12033 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12035         [BZ #18383]
12036         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12037         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12038         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12039         comment for i386/x86-64.
12040         (test-xfail-tst-tlsalign-extern-static): Removed.
12042 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12044         * math/test-double.h: New file.
12045         * math/test-float.h: Likewise.
12046         * math/test-ldouble.h: Likewise.
12047         * math/test-math-inline.h: Likewise.
12048         * math/test-math-no-inline.h: Likewise.
12049         * math/test-math-scalar.h: Likewise.
12050         * math/test-math-vector.h: Likewise.
12051         * math/test-vec-loop.h: Remove file.  Contents moved into
12052         test-math-vector.h.
12053         * math/libm-test.inc (MATHCONST): Do not document macro.
12054         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12055         and test-math-scalar.h.
12056         (FUNC): Remove macro.
12057         (FUNC_TEST): Likewise.
12058         (FLOAT): Likewise.
12059         (MATHCONST): Likewise.
12060         (PRINTF_EXPR): Likewise.
12061         (PRINTF_XEXPR): Likewise.
12062         (PRINTF_NEXPR): Likewise.
12063         (TEST_DOUBLE): Likewise.
12064         (TEST_MATHVEC): Likewise.
12065         (__NO_MATH_INLINES): Likewise.
12066         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12067         and test-math-scalar.h.
12068         (FUNC): Remove macro.
12069         (FUNC_TEST): Likewise.
12070         (FLOAT): Likewise.
12071         (MATHCONST): Likewise.
12072         (PRINTF_EXPR): Likewise.
12073         (PRINTF_XEXPR): Likewise.
12074         (PRINTF_NEXPR): Likewise.
12075         (TEST_FLOAT): Likewise.
12076         (TEST_MATHVEC): Likewise.
12077         (__NO_MATH_INLINES): Likewise.
12078         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12079         and test-math-scalar.h.
12080         (FUNC): Remove macro.
12081         (FUNC_TEST): Likewise.
12082         (FLOAT): Likewise.
12083         (MATHCONST): Likewise.
12084         (PRINTF_EXPR): Likewise.
12085         (PRINTF_XEXPR): Likewise.
12086         (PRINTF_NEXPR): Likewise.
12087         (TEST_DOUBLE): Likewise.
12088         (TEST_MATHVEC): Likewise.
12089         (TEST_INLINE): Likewise.
12090         (__NO_MATH_INLINES): Likewise.
12091         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12092         test-math-scalar.h.
12093         (FUNC): Remove macro.
12094         (FUNC_TEST): Likewise.
12095         (FLOAT): Likewise.
12096         (MATHCONST): Likewise.
12097         (PRINTF_EXPR): Likewise.
12098         (PRINTF_XEXPR): Likewise.
12099         (PRINTF_NEXPR): Likewise.
12100         (TEST_FLOAT): Likewise.
12101         (TEST_MATHVEC): Likewise.
12102         (TEST_INLINE): Likewise.
12103         (__NO_MATH_INLINES): Likewise.
12104         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12105         and test-math-scalar.h.
12106         (FUNC): Remove macro.
12107         (FUNC_TEST): Likewise.
12108         (FLOAT): Likewise.
12109         (MATHCONST): Likewise.
12110         (PRINTF_EXPR): Likewise.
12111         (PRINTF_XEXPR): Likewise.
12112         (PRINTF_NEXPR): Likewise.
12113         (TEST_LDOUBLE): Likewise.
12114         (TEST_MATHVEC): Likewise.
12115         (TEST_INLINE): Likewise.
12116         (__NO_MATH_INLINES): Likewise.
12117         * math/test-ldouble.c: Include test-ldouble.h,
12118         test-math-no-inline.h and test-math-scalar.h.
12119         (FUNC): Remove macro.
12120         (FUNC_TEST): Likewise.
12121         (FLOAT): Likewise.
12122         (MATHCONST): Likewise.
12123         (PRINTF_EXPR): Likewise.
12124         (PRINTF_XEXPR): Likewise.
12125         (PRINTF_NEXPR): Likewise.
12126         (TEST_LDOUBLE): Likewise.
12127         (TEST_MATHVEC): Likewise.
12128         (__NO_MATH_INLINES): Likewise.
12129         * math/test-double-vlen2.h: Include test-double.h,
12130         test-math-no-inline.h and test-math-vector.h.
12131         (FLOAT): Remove macro.
12132         (FUNC): Likewise.
12133         (MATHCONST): Likewise.
12134         (PRINTF_EXPR): Likewise.
12135         (PRINTF_XEXPR): Likewise.
12136         (PRINTF_NEXPR): Likewise.
12137         (TEST_DOUBLE): Likewise.
12138         (TEST_MATHVEC): Likewise.
12139         (__NO_MATH_INLINES): Likewise.
12140         (CNCT): Likewise.
12141         (CONCAT): Likewise.
12142         (WRAPPER_NAME): Likewise.
12143         (WRAPPER_DECL): Likewise.
12144         (WRAPPER_DECL_ff): Likewise.
12145         (WRAPPER_DECL_fFF): Likewise.
12146         (VECTOR_WRAPPER): Likewise.
12147         (VECTOR_WRAPPER_ff): Likewise.
12148         (VECTOR_WRAPPER_fFF): Likewise.
12149         (VEC_LEN): New macro.
12150         * math/test-double-vlen4.h: Include test-double.h,
12151         test-math-no-inline.h and test-math-vector.h.
12152         (FLOAT): Remove macro.
12153         (FUNC): Likewise.
12154         (MATHCONST): Likewise.
12155         (PRINTF_EXPR): Likewise.
12156         (PRINTF_XEXPR): Likewise.
12157         (PRINTF_NEXPR): Likewise.
12158         (TEST_DOUBLE): Likewise.
12159         (TEST_MATHVEC): Likewise.
12160         (__NO_MATH_INLINES): Likewise.
12161         (CNCT): Likewise.
12162         (CONCAT): Likewise.
12163         (WRAPPER_NAME): Likewise.
12164         (WRAPPER_DECL): Likewise.
12165         (WRAPPER_DECL_ff): Likewise.
12166         (WRAPPER_DECL_fFF): Likewise.
12167         (VECTOR_WRAPPER): Likewise.
12168         (VECTOR_WRAPPER_ff): Likewise.
12169         (VECTOR_WRAPPER_fFF): Likewise.
12170         (VEC_LEN): New macro.
12171         * math/test-double-vlen8.h: Include test-double.h,
12172         test-math-no-inline.h and test-math-vector.h.
12173         (FLOAT): Remove macro.
12174         (FUNC): Likewise.
12175         (MATHCONST): Likewise.
12176         (PRINTF_EXPR): Likewise.
12177         (PRINTF_XEXPR): Likewise.
12178         (PRINTF_NEXPR): Likewise.
12179         (TEST_DOUBLE): Likewise.
12180         (TEST_MATHVEC): Likewise.
12181         (__NO_MATH_INLINES): Likewise.
12182         (CNCT): Likewise.
12183         (CONCAT): Likewise.
12184         (WRAPPER_NAME): Likewise.
12185         (WRAPPER_DECL): Likewise.
12186         (WRAPPER_DECL_ff): Likewise.
12187         (WRAPPER_DECL_fFF): Likewise.
12188         (VECTOR_WRAPPER): Likewise.
12189         (VECTOR_WRAPPER_ff): Likewise.
12190         (VECTOR_WRAPPER_fFF): Likewise.
12191         (VEC_LEN): New macro.
12192         * math/test-float-vlen4.h: Include test-float.h,
12193         test-math-no-inline.h and test-math-vector.h.
12194         (FLOAT): Remove macro.
12195         (FUNC): Likewise.
12196         (MATHCONST): Likewise.
12197         (PRINTF_EXPR): Likewise.
12198         (PRINTF_XEXPR): Likewise.
12199         (PRINTF_NEXPR): Likewise.
12200         (TEST_FLOAT): Likewise.
12201         (TEST_MATHVEC): Likewise.
12202         (__NO_MATH_INLINES): Likewise.
12203         (CNCT): Likewise.
12204         (CONCAT): Likewise.
12205         (WRAPPER_NAME): Likewise.
12206         (WRAPPER_DECL): Likewise.
12207         (WRAPPER_DECL_ff): Likewise.
12208         (WRAPPER_DECL_fFF): Likewise.
12209         (VECTOR_WRAPPER): Likewise.
12210         (VECTOR_WRAPPER_ff): Likewise.
12211         (VECTOR_WRAPPER_fFF): Likewise.
12212         (VEC_LEN): New macro.
12213         * math/test-float-vlen8.h: Include test-float.h,
12214         test-math-no-inline.h and test-math-vector.h.
12215         (FLOAT): Remove macro.
12216         (FUNC): Likewise.
12217         (MATHCONST): Likewise.
12218         (PRINTF_EXPR): Likewise.
12219         (PRINTF_XEXPR): Likewise.
12220         (PRINTF_NEXPR): Likewise.
12221         (TEST_FLOAT): Likewise.
12222         (TEST_MATHVEC): Likewise.
12223         (__NO_MATH_INLINES): Likewise.
12224         (CNCT): Likewise.
12225         (CONCAT): Likewise.
12226         (WRAPPER_NAME): Likewise.
12227         (WRAPPER_DECL): Likewise.
12228         (WRAPPER_DECL_ff): Likewise.
12229         (WRAPPER_DECL_fFF): Likewise.
12230         (VECTOR_WRAPPER): Likewise.
12231         (VECTOR_WRAPPER_ff): Likewise.
12232         (VECTOR_WRAPPER_fFF): Likewise.
12233         (VEC_LEN): New macro.
12234         * math/test-float-vlen16.h: Include test-float.h,
12235         test-math-no-inline.h and test-math-vector.h.
12236         (FLOAT): Remove macro.
12237         (FUNC): Likewise.
12238         (MATHCONST): Likewise.
12239         (PRINTF_EXPR): Likewise.
12240         (PRINTF_XEXPR): Likewise.
12241         (PRINTF_NEXPR): Likewise.
12242         (TEST_FLOAT): Likewise.
12243         (TEST_MATHVEC): Likewise.
12244         (__NO_MATH_INLINES): Likewise.
12245         (CNCT): Likewise.
12246         (CONCAT): Likewise.
12247         (WRAPPER_NAME): Likewise.
12248         (WRAPPER_DECL): Likewise.
12249         (WRAPPER_DECL_ff): Likewise.
12250         (WRAPPER_DECL_fFF): Likewise.
12251         (VECTOR_WRAPPER): Likewise.
12252         (VECTOR_WRAPPER_ff): Likewise.
12253         (VECTOR_WRAPPER_fFF): Likewise.
12254         (VEC_LEN): New macro.
12255         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12256         test-vec-loop.h.
12257         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12259         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12260         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12261         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12262         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12263         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12265 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12267         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12268         (__getlogin_r): ... this.
12270 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12272         [BZ #18594]
12273         * math/s_ccosh.c (__ccosh): Compare with least normal value
12274         instead of comparing class with FP_SUBNORMAL.
12275         * math/s_ccoshf.c (__ccoshf): Likewise.
12276         * math/s_ccoshl.c (__ccoshl): Likewise.
12277         * math/s_cexp.c (__cexp): Likewise.
12278         * math/s_cexpf.c (__cexpf): Likewise.
12279         * math/s_cexpl.c (__cexpl): Likewise.
12280         * math/s_csin.c (__csin): Likewise.
12281         * math/s_csinf.c (__csinf): Likewise.
12282         * math/s_csinh.c (__csinh): Likewise.
12283         * math/s_csinhf.c (__csinhf): Likewise.
12284         * math/s_csinhl.c (__csinhl): Likewise.
12285         * math/s_csinl.c (__csinl): Likewise.
12286         * math/s_ctan.c (__ctan): Likewise.
12287         * math/s_ctanf.c (__ctanf): Likewise.
12288         * math/s_ctanh.c (__ctanh): Likewise.
12289         * math/s_ctanhf.c (__ctanhf): Likewise.
12290         * math/s_ctanhl.c (__ctanhl): Likewise.
12291         * math/s_ctanl.c (__ctanl): Likewise.
12292         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12293         csin, csinh, ctan and ctanh.
12294         * math/auto-libm-test-out: Regenerated.
12295         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12296         * sysdeps/i386/fpu/libm-test-ulps: Update.
12297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12301         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12302         return value is wrong, print the expected value too.
12304 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12306         [BZ #18585]
12307         * elf/readlib.c (is_gdb_python_file): New.
12308         (process_file): Don't issue errors on filenames with -gdb.py
12309         suffix.
12311 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12313         * math/auto-libm-test-in: Add more tests of csin and csinh.
12314         * math/auto-libm-test-out: Regenerated.
12315         * math/libm-test.inc (csin_test_data): Remove tests moved to
12316         auto-libm-test-in.
12317         (csinh_test_data): Likewise.
12319         [BZ #18593]
12320         * math/s_csin.c (__csin): Negate before rather than after possibly
12321         overflowing multiplication.
12322         * math/s_csinf.c (__csinf): Likewise.
12323         * math/s_csinh.c (__csinh): Likewise.
12324         * math/s_csinhf.c (__csinhf): Likewise.
12325         * math/s_csinhl.c (__csinhl): Likewise.
12326         * math/s_csinl.c (__csinl): Likewise.
12327         * math/auto-libm-test-in: Add some tests of csin and csinh.
12328         * math/auto-libm-test-out: Regenerated.
12329         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12330         (csinh_test_data): Likewise.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12333         [BZ #18586]
12334         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12335         underflow exception for small results.
12337 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12341         variable and included header.
12342         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12344         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12350         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12351         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12352         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12353         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12354         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12355         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12356         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12357         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12359 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12361         [BZ #16526]
12362         [BZ #16538]
12363         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12364         (__sin): Force underflow exception for arguments with small
12365         absolute value.
12366         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12367         (__kernel_sinf): Force underflow exception for arguments with
12368         small absolute value.
12369         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12370         (__kernel_sincosl): Force underflow exception for arguments with
12371         small absolute value.
12372         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12373         (__kernel_sinl): Force underflow exception for arguments with
12374         small absolute value.
12375         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12376         (__kernel_sincosl): Force underflow exception for arguments with
12377         small absolute value.
12378         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12379         (__kernel_sinl): Force underflow exception for arguments with
12380         small absolute value.
12381         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12382         (__kernel_sinl): Force underflow exception for arguments with
12383         small absolute value.
12384         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12385         (__kernel_sinf): Force underflow exception for arguments with
12386         small absolute value.
12387         * math/auto-libm-test-in: Add more tests of sin and sincos.
12388         * math/auto-libm-test-out: Regenerated.
12390         [BZ #18245]
12391         [BZ #18583]
12392         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12393         (__kernel_standard_l): Use feholdexcept and fesetenv around
12394         conversion to double instead of special-casing overflow and
12395         underflow.
12396         * math/libm-test.inc (fmod_test_data): Add more tests.
12397         (remainder_test_data): Likewise.
12398         (sqrt_test_data): Likewise.
12400 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12402         [BZ #17403]
12403         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12404         atomic_read_barrier, atomic_write_barrier): Define.
12405         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12406         atomic_read_barrier, atomic_write_barrier): Define.
12408 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12410         * math/Makefile [$(PERL) != no]
12411         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12412         dependency on libm-test.stmp below the inclusion of Rules.
12414 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12416         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12418         and included header.
12419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12421         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12422         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12423         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12424         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12425         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12426         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12427         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12428         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12429         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12430         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12431         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12432         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12433         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12434         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12435         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12436         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12437         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12439 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12441         [BZ #18371]
12442         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12443         intermediate but not final result might underflow.
12444         * math/s_csqrtf.c (__csqrtf): Likewise.
12445         * math/s_csqrtl.c (__csqrtl): Likewise.
12446         * math/auto-libm-test-in: Add more tests of csqrt.
12447         * math/auto-libm-test-out: Regenerated.
12448         * sysdeps/i386/fpu/libm-test-ulps: Update.
12450         [BZ #18219]
12451         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12452         threshold on absolute value of exponent for which scaling is used.
12453         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12454         * math/auto-libm-test-in: Add more tests of exp2.
12455         * math/auto-libm-test-out: Regenerated.
12457 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12459         [BZ #17977]
12460         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12461         when initializing interface list, based on the bug analysis
12462         and the patch proposed by Eric Newton.
12463         * resolv/tst-res_hconf_reorder.c: New test.
12464         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12465         tst-res_hconf_reorder.
12466         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12467         and $(shared-thread-library).
12468         (tst-res_hconf_reorder-ENV): New variable.
12470         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12471         in comment.
12473 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #16353]
12476         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12477         (__expm1): Force underflow exception for arguments with small
12478         absolute value.
12479         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12480         (__expm1f): Force underflow exception for arguments with small
12481         absolute value.
12482         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12483         (__expm1): Force underflow exception for arguments with small
12484         absolute value.
12485         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12486         (__expm1f): Force underflow exception for arguments with small
12487         absolute value.
12488         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12489         Check for small arguments before calling __expm1.
12490         * math/auto-libm-test-in: Do not mark underflow exceptions as
12491         possibly missing for bug 16353.
12492         * math/auto-libm-test-out: Regenerated.
12494 2015-06-22  Andreas Schwab  <schwab@suse.de>
12496         [BZ #18513]
12497         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12498         PTR queries.
12500 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12502         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12504         * string/strcoll_l.c: Remove unused struct element idxnow.
12506 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12508         [BZ #18569]
12509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12510         underflow and return argument in case of subnormal argument.
12511         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12512         Likewise.
12513         * math/auto-libm-test-in: Add more tests of expm1.
12514         * math/auto-libm-test-out: Regenerated.
12516         [BZ #16361]
12517         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12518         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12519         tiny results.
12520         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12521         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12522         tiny results.
12523         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12524         mark underflow exceptions as possibly missing for bug 16361.
12525         * math/auto-libm-test-out: Regenerated.
12527 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12529         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12530         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12531         Remove variable.
12532         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12533         (test-xfail-XOPEN2K8/utmpx.h/conform).
12535         * conform/conformtest.pl ($xerrors): New variable.
12536         (note_error): New function.
12537         (compiletest): New argument $xfail.  Use not_error.
12538         (runtest): Likewise.
12539         (top level): Handle xfail- lines.  Update calls to compiletest and
12540         runtest.  Handle xfail- and optional- in headers listed with
12541         allow-header.
12542         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12543         (O_EXEC): Likewise.
12544         (O_SEARCH): Likewise.
12545         * conform/data/stropts.h-data (ioctl): Likewise.
12546         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12547         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12548         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12549         (msghdr.msg_controllen): Likewise.
12550         (cmsghdr.cmsg_len): Likewise.
12551         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12552         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12553         variable.
12554         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12555         (test-xfail-XPG4/stropts.h/conform): Likewise.
12556         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12557         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12558         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12559         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12560         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12561         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12562         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12563         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12564         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12565         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12566         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12567         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12568         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12569         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12570         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12571         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12572         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12573         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12574         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12576 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12578         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12579         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12580         definitions for proper unfolding of __MATHDECL_VEC.
12582 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12584         * benchtests/bench-strcoll.c:
12585         Include string.h.
12586         (main): Remove unused variable res.
12588 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12590         * timezone/Makefile (%/UTC %/Universal):
12591         Generate test-result files for UTC and Universal.
12593 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12595         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12597 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12599         [BZ #16350]
12600         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12601         for arguments with small absolute value.
12602         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12603         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12604         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12605         (__asinh): Force underflow exception for arguments with small
12606         absolute value.
12607         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12608         (__asinhf): Force underflow exception for arguments with small
12609         absolute value.
12610         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12611         (__asinhl): Force underflow exception for arguments with small
12612         absolute value.
12613         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12614         (__asinhl): Force underflow exception for arguments with small
12615         absolute value.
12616         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12617         (__asinhl): Force underflow exception for arguments with small
12618         absolute value.
12619         * math/auto-libm-test-in: Do not mark underflow exceptions as
12620         possibly missing for bug 16350.
12621         * math/auto-libm-test-out: Regenerated.
12623         * include/bits/ipc.h: Remove file.
12624         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12625         variable.
12626         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12627         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12628         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12629         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12630         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12631         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12632         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12633         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12634         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12636         * math/auto-libm-test-in: Remove spurious underflow allowance for
12637         tests of cexp.
12638         * math/auto-libm-test-out: Regenerated.
12640         [BZ #18558]
12641         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12642         unconditional definition.
12643         (MCAST_BLOCK_SOURCE): Likewise.
12644         (MCAST_UNBLOCK_SOURCE): Likewise.
12645         (MCAST_LEAVE_GROUP): Likewise.
12646         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12647         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12648         (MCAST_MSFILTER): Likewise.
12649         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12650         Remove variable.
12651         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12652         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12653         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12654         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12655         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12657 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12659         * NEWS: Mention addition of x86_64 vector sincosf.
12660         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12661         * math/test-float-vlen4.h: Likewise.
12662         * math/test-float-vlen8.h: Likewise.
12663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12664         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12665         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12666         * sysdeps/x86_64/fpu/Versions: New versions added.
12667         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12668         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12669         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12672         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12676         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12677         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12678         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12679         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12680         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12681         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12682         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12683         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12684         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12685         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12686         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12687         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12688         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12689         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12690         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12692         * NEWS: Mention addition of x86_64 vector sincos.
12693         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12694         * math/math.h (__MATHDECL_VEC): New macro.
12695         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12696         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12697         declaration under condition.
12698         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12699         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12700         TEST_VEC_LOOP change.
12701         * math/test-double-vlen4.h: Likewise.
12702         * math/test-double-vlen8.h: Likewise.
12703         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12704         * math/test-float-vlen4.h: Likewise.
12705         * math/test-float-vlen8.h: Likewise.
12706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12707         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12708         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12709         * sysdeps/x86_64/fpu/Versions: New versions added.
12710         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12711         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12712         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12713         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12714         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12716         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12718         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12719         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12720         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12721         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12722         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12723         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12724         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12725         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12726         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12727         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12728         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12730         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12731         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12732         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12733         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12736         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12737         redirections for powf.
12738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12739         * sysdeps/x86_64/fpu/Versions: New versions added.
12740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12741         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12742         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12743         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12744         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12746         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12747         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12748         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12750         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12751         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12752         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12753         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12754         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12755         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12756         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12757         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12758         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12759         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12760         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12762         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12763         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12764         * math/test-float-vlen16.h: Fixed 2 argument macro.
12765         * math/test-float-vlen4.h: Likewise.
12766         * math/test-float-vlen8.h: Likewise.
12767         * NEWS: Mention addition of x86_64 vector powf.
12769 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12771         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12772         and redefine.
12773         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12774         and redefine.
12775         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12776         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12777         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12779         [BZ #18553]
12780         * resource/getpriority.c (getpriority): Rename to __getpriority
12781         and define as weak alias of __getpriority.
12782         * resource/setpriority.c (setpriority): Rename to __setpriority
12783         and define as weak alias of __setpriority.
12784         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12785         __getpriority and define as weak alias of __getpriority.
12786         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12787         __setpriority and define as weak alias of __setpriority.
12788         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12789         strong name.
12790         (setpriority): Use __setpriority as strong name.
12791         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12792         __getpriority and define as weak alias of __getpriority.
12793         * include/sys/resource.h (__getpriority): Declare.  Use
12794         libc_hidden_proto.
12795         (__setpriority): Likewise.
12796         (getpriority): Don't use libc_hidden_proto.
12797         (setpriority): Likewise.
12798         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12799         getpriority.  Call __setpriority instead of setpriority.
12800         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12801         Remove variable.
12803         [BZ #18547]
12804         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12805         as weak alias of __getttynam.  Use prototype function definition.
12806         Call __setttyent, __getttyent and __endttyent instead of
12807         setttyent, getttyent and endttyent.
12808         (getttyent): Rename to __getttyent and define as weak alias of
12809         __getttyent.  Call __setttyent instead of setttyent.  Call
12810         __fgets_unlocked instead of fgets_unlocked.
12811         (setttyent): Rename to __setttyent and define as weak alias of
12812         __setttyent.
12813         (endttyent): Rename to __endttyent and define as weak alias of
12814         __endttyent.
12815         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12816         (__setttyent): Likewise.
12817         (__endttyent): Likewise.
12818         (getttyent): Don't use libc_hidden_proto.
12819         (setttyent): Likewise.
12820         (endttyent): Likewise.
12821         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12822         __endttyent instead of setttyent, getttyent and endttyent.
12823         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12824         Remove variable.
12826         [BZ #18546]
12827         * socket/recv.c (__recv): Use libc_hidden_def.
12828         * socket/socket.c (__socket): Likewise.
12829         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12830         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12831         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12832         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12833         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12834         libc_hidden_def.
12835         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12836         libc_hidden_weak.
12837         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12838         Use libc_hidden_proto.
12839         (__recv): Likewise.
12840         * socket/Versions (libc): Export __recv and __socket at version
12841         GLIBC_PRIVATE.
12842         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12843         instead of recv.
12844         (init_mq_netlink): Call __socket instead of socket.
12845         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12846         Remove variable.
12848         [BZ #18545]
12849         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12850         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12851         hidden_weak.
12852         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12853         define as alias of __mq_timedsend.  Use hidden_weak.
12854         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12855         __mq_timedsend as strong name.
12856         (mq_timedreceive): Use __mq_timedreceive as strong name.
12857         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12858         (__mq_timedreceive): Likewise.
12859         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12860         __mq_timedreceive instead of mq_timedreceive.
12861         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12862         instead of mq_timedsend.
12863         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12864         Remove variable.
12866         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12867         hidden_def and hidden_weak instead of libc_hidden_def and
12868         libc_hidden_weak.
12869         (top level): Refer to hidden_def in comment.
12870         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12871         macro.  Use it instead of libc_hidden_def.
12872         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12873         specify __GI_* name explicitly.
12874         (mq_timedreceive): Likewise.
12875         (mq_setattr): Likewise.
12877         [BZ #18544]
12878         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12879         __pthread_barrier_init and define as weak alias of
12880         __pthread_barrier_init.
12881         * sysdeps/sparc/nptl/pthread_barrier_init.c
12882         (pthread_barrier_init): Likewise.
12883         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12884         __pthread_barrier_wait and define as weak alias of
12885         __pthread_barrier_wait.
12886         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12887         (pthread_barrier_wait): Likewise.
12888         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12889         (pthread_barrier_wait): Likewise.
12890         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12891         (pthread_barrier_wait): Likewise.
12892         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12893         (pthread_barrier_wait): Likewise.
12894         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12895         __pthread_barrier_wait at version GLIBC_PRIVATE.
12896         * include/pthread.h (__pthread_barrier_init): Declare.
12897         (__pthread_barrier_wait): Likewise.
12898         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12899         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12900         (helper_thread): Likewise.
12901         (init_mq_netlink): Call __pthread_barrier_init instead of
12902         pthread_barrier_init.
12904         [BZ #18542]
12905         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12906         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12907         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12908         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12909         vswscanf.
12910         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12911         Remove variable.
12913         [BZ #18540]
12914         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12915         strong alias of _IO_fflush.  Use libc_hidden_def.
12916         * libio/iofflush_u.c (fflush_unlocked): Rename to
12917         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12918         Use libc_hidden_weak.
12919         * include/stdio.h (__fflush_unlocked): Declare.  Use
12920         libc_hidden_proto.
12921         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12922         fflush_unlocked.
12923         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12924         Remove variable.
12926         [BZ #18539]
12927         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12928         define as weak alias of __addseverity.
12929         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12930         Remove variable.
12931         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12932         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12933         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12935         [BZ #18536]
12936         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12937         (__tfind): Likewise.
12938         (__tdelete): Likewise.
12939         (__twalk): Likewise.
12940         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12941         __twalk to GLIBC_PRIVATE.
12942         * include/search.h (__tsearch): Use libc_hidden_proto.
12943         (__tfind): Likewise.
12944         (__tdelete): Likewise.
12945         (__twalk): Likewise.
12946         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12947         Call __tdelete instead of tdelete.
12948         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12949         tfind.  Call __tsearch instead of tsearch.
12950         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12951         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12952         Remove variable.
12953         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12955         [BZ #18534]
12956         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12957         (dprintf): Define as a weak alias of __dprintf, not a strong
12958         alias.
12959         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12960         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12961         dprintf.
12962         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12963         Remove variable.
12964         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12965         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12967         [BZ #18533]
12968         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12969         not a strong alias.
12970         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12971         Remove variable.
12973         [BZ #18532]
12974         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12975         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12976         (in6addr_loopback): Rename to __in6addr_loopback and define as
12977         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12978         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12979         libc_hidden_proto.
12980         (__in6addr_any): Likewise.
12981         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12982         in6addr_any.
12983         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12984         variable.
12985         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12987 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12989         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12990         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12992         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12993         redirections for pow.
12994         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12995         * sysdeps/x86_64/fpu/Versions: New versions added.
12996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12997         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12998         build of SSE, AVX2 and AVX512 IFUNC versions.
12999         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13002         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13003         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13004         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13005         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13006         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13007         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13008         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13009         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13010         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13011         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13013         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13014         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13017         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13019         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13020         * NEWS: Mention addition of x86_64 vector pow.
13022         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13023         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13024         redirections for expf.
13025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13026         * sysdeps/x86_64/fpu/Versions: New versions added.
13027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13029         build of SSE, AVX2 and AVX512 IFUNC versions.
13030         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13032         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13034         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13036         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13037         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13038         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13039         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13040         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13041         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13042         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13043         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13044         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13045         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13046         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13048         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13049         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13050         * NEWS: Mention addition of x86_64 vector expf.
13052         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13053         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13055         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13056         redirections for exp.
13057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13058         * sysdeps/x86_64/fpu/Versions: New versions added.
13059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13061         build of SSE, AVX2 and AVX512 IFUNC versions.
13062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13065         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13066         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13067         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13068         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13069         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13070         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13071         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13072         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13073         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13074         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13075         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13078         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13079         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13080         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13081         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13082         * NEWS: Mention addition of x86_64 vector exp.
13084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13086         redirections for logf.
13087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13088         * sysdeps/x86_64/fpu/Versions: New versions added.
13089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13091         build of SSE, AVX2 and AVX512 IFUNC versions.
13092         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13093         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13094         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13095         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13098         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13099         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13100         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13101         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13102         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13103         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13104         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13105         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13106         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13107         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13108         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13109         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13110         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13111         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13112         * NEWS: Mention addition of x86_64 vector logf.
13114         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13115         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13116         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13117         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13118         redirections for log.
13119         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13120         * sysdeps/x86_64/fpu/Versions: New versions added.
13121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13122         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13123         build of SSE, AVX2 and AVX512 IFUNC versions.
13124         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13125         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13126         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13127         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13128         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13130         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13131         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13132         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13133         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13134         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13135         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13136         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13137         test.
13138         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13139         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13141         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13142         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13143         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13144         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13145         * NEWS: Mention addition of x86_64 vector log.
13147 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13149         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13150         cfi_adjust_cfa_offset argument.
13151         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13152         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13154         [BZ #18034]
13155         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13156         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13157         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13158         ordering using ldar.
13159         (_dl_tlsdesc_dynamic): Likewise.
13160         (_dl_tlsdesc_return_lazy): Likewise.
13161         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13162         relaxed atomics instead of volatile and synchronize with release store.
13163         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13164         volatile.
13165         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13167 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13170         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13172         * sysdeps/x86_64/fpu/Versions: New versions added.
13173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13174         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13175         build of SSE, AVX2 and AVX512 IFUNC versions.
13176         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13177         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13178         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13179         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13180         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13182         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13183         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13184         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13185         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13186         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13187         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13188         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13189         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13190         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13191         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13193         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13194         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13195         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13196         * NEWS: Mention addition of x86_64 vector sinf.
13198 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13200         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13201         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13202         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13203         Remove variable.
13204         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13205         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13207 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13209         [BZ #18530]
13210         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13211         strong alias of _IO_fputs.  Use libc_hidden_def.
13212         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13213         and define as weak alias of __fputs_unlocked.  Use
13214         libc_hidden_weak.
13215         * include/stdio.h (__fputs_unlocked): Declare.  Use
13216         libc_hidden_proto.
13217         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13218         fputs_unlocked.
13220         [BZ #18529]
13221         * resolv/netdb.h [__USE_POSIX]: Change condition to
13222         [__USE_XOPEN2K].
13223         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13224         not expect.
13225         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13226         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13227         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13228         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13229         [XPG4 || UNIX98] (AI_ALL): Likewise.
13230         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13231         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13232         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13233         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13234         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13235         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13236         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13237         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13238         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13239         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13240         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13241         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13242         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13243         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13244         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13245         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13246         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13247         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13248         [XPG4 || UNIX98] (gai_strerror): Likewise.
13249         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13250         [XPG4 || UNIX98] (getnameinfo): Likewise.
13252         [BZ #18528]
13253         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13254         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13255         __USE_XOPEN2K8].
13256         (getgrent): Likewise.
13257         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13258         expect.
13259         [XPG3 || POSIX2008] (endgrent): Likewise.
13260         [XPG3] (setgrent): Likewise.
13261         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13262         variable.
13263         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13265         [BZ #18527]
13266         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13267         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13268         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13269         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13270         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13271         * include/unistd.h (__getlogin_r): Declare.  Use
13272         libc_hidden_proto.
13273         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13274         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13275         variable.
13276         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13277         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13278         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13280 2015-06-12  Martin Sebor  <msebor@redhat.com>
13282         [BZ #18512]
13283         * Makerules (check-install-supported): New target.
13284         (install): Add check-install-supported as a dependency.
13285         * manual/install.texi (Installing the C Library): Document
13286         that overriding prefix and exec_prefix is not supported.
13287         Mention DESTDIR.
13288         * INSTALL: Regenerate from the above.
13290 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13292         [BZ #18519]
13293         * posix/Versions (libc): Export __libc_pread at version
13294         GLIBC_PRIVATE.
13295         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13296         instead of pread.
13297         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13298         variable.
13300         [BZ #18522]
13301         * misc/efgcvt_r.c
13302         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13303         (cvt_symbol): Use weak_alias instead of strong_alias.
13304         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13305         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13306         Remove variable.
13307         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13308         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13310         [BZ #18520]
13311         * inet/herrno.c (h_errno): Rename to __h_errno.
13312         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13313         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13314         to __h_errno instead of h_errno.
13315         * nptl/herrno.c (h_errno): Rename to __h_errno.
13316         (__h_errno_location): Refer to __h_errno not h_errno.
13317         * resolv/Versions (h_errno): Rename to __h_errno.
13318         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13319         Remove variable.
13320         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13322 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13324         * configure.ac: More strict check for AVX512 assembler support.
13325         * configure: Regenerated.
13327         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13328         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13330         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13332         * sysdeps/x86_64/fpu/Versions: New versions added.
13333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13335         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13336         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13339         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13342         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13343         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13344         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13345         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13346         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13347         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13348         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13349         test.
13350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13354         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13356         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13357         * NEWS: Mention addition of x86_64 vector sin.
13359 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13361         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13362         comment.
13364 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13366         [BZ #18479]
13367         * nptl/pt-interp.c: New file.
13368         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13369         Add pt-interp.
13370         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13371         $(common-objpfx)runtime-linker.h.
13373 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13375         * Makeconfig (+interp): Remove unused variable.
13376         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13377         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13378         $(elf-objpfx)runtime-linker.h.
13379         ($(elf-objpfx)runtime-linker.h): Rename to
13380         $(common-objpfx)runtime-linker.h and move ...
13381         * Makerules [$(build-shared) = yes]: ... here.
13382         * elf/interp.c: Include <runtime-linker.h> instead of
13383         <elf/runtime-linker.h>.
13385 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13387         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13388         (__gettimeofday_syscall): Remove vsyscall fallback.
13389         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13390         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13391         Add syscall fallback function.
13392         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13393         if vDSO is not present.
13394         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13395         fallback function.
13396         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13397         present.
13398         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13399         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13401 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13403         [BZ #18497]
13404         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13405         of wcscmp.
13406         (wcscmp): Define as weak alias of WCSCMP.
13407         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13408         wcscoll.
13409         (USE_HIDDEN_DEF): Define.
13410         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13411         __wcscoll.  Don't use libc_hidden_weak.
13412         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13413         wcscmp.
13414         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13415         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13416         __GI_wcscmp.
13417         (weak_alias): Undefine and redefine.
13418         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13419         __wcscmp and define as weak alias of __wcscmp.
13420         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13421         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13422         (__wcscoll): Likewise.
13423         (wcscmp): Don't use libc_hidden_proto.
13424         (wcscoll): Likewise.
13425         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13426         wcscoll.
13427         * posix/regexec.c (check_node_accept_bytes): Likewise.
13428         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13429         variable.
13430         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13431         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13433         [BZ #18507]
13434         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13435         __fstatvfs and define as weak alias of __fstatvfs.  Use
13436         libc_hidden_weak.
13437         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13438         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13439         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13440         Define as alias of __fstatvfs, not fstatvfs.
13441         (fstatvfs64): Likewise.
13442         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13443         Define as alias of __statvfs, not statvfs.
13444         (statvfs64): Likewise.
13445         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13446         Remove variable.
13448 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13451         (HAVE_GETCPU_VSYSCALL): Define.
13452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13453         (HAVE_GETCPU_VSYSCALL): Likewise.
13454         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13455         * sysdeps/unix/sysv/linux/sched_getcpu.c
13456         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13457         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13458         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13459         prototype.
13460         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13461         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13462         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13464         Define.
13465         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13466         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13467         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13468         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13470 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13472         * sysdeps/x86_64/fpu/Makefile: New file.
13473         * sysdeps/x86_64/fpu/Versions: New file.
13474         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13475         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13476         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13477         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13478         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13479         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13480         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13481         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13482         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13486         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13487         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13488         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13489         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13490         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13491         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13492         * sysdeps/x86_64/configure: Regenerated.
13493         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13495         * manual/install.texi (Configuring and compiling): Document
13496         --disable-mathvec.
13497         * INSTALL: Regenerated.
13498         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13500         * math/Makefile: Added rules for vector tests.
13501         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13502         declaration under condition.
13503         * math/test-double-vlen2.h: New file.
13504         * math/test-double-vlen4.h: New file.
13505         * math/test-double-vlen8.h: New file.
13506         * math/test-vec-loop.h: Added initialization macro.
13507         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13509         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13510         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13511         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13512         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13514         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13515         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13516         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13517         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13520         * sysdeps/x86_64/fpu/Versions: New versions added.
13521         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13522         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13524         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13525         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13526         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13527         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13528         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13529         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13531         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13532         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13533         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13534         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13535         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13536         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13537         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13538         * NEWS: Mention addition of x86_64 vector cosf.
13540         * math/Makefile: Added CFLAGS for new tests.
13541         * math/test-float-vlen16.h: New file.
13542         * math/test-float-vlen4.h: New file.
13543         * math/test-float-vlen8.h: New file.
13544         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13545         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13547         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13548         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13549         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13550         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13551         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13552         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13553         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13554         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13556 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13558         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13559         * locale/programs/ld-ctype.c: Likewise.
13561 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13564         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13565         bit_ZMM16_31_state): New macro.
13566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13567         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13569 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13571         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13573 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13575         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13577 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13579         [BZ #18498]
13580         * libio/memstream.c (open_memstream): Rename to __open_memstream
13581         and define as weak alias of __open_memstream.
13582         * include/stdio.h (__open_memstream): Declare.  Use
13583         libc_hidden_proto.
13584         (open_memstream): Don't use libc_hidden_proto.
13585         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13586         open_memstream.
13587         * posix/getopt.c (_getopt_internal_r): Likewise.
13588         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13589         variable.
13590         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13591         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13592         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13594         [BZ #18496]
13595         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13596         instead of wcrtomb.
13598         [BZ #18483]
13599         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13600         [__USE_XOPEN2K8].  Remove redundant #endif.
13601         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13602         Remove redundant #if.
13603         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13604         Remove variable.
13605         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13606         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13608         [BZ #18495]
13609         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13610         (__iswlower): Likewise.
13611         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13612         (__iswlower): Likewise.
13613         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13614         instead of towlower.
13615         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13616         instead of iswlower.  Call __towupper instead of towupper.
13617         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13618         instead of iswalnum.
13620 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13622         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13623         errors to stderr.
13625 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13627         [BZ #15661]
13628         [BZ #17322]
13629         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13630         Check for overflow properly.  Check for O_APPEND.  Ignore large
13631         file system block sizes.  Add comments about problems.
13632         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13633         * manual/filesys.texi (Storage Allocation): New node.
13635 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13637         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13638         cancellable syscalls.
13639         (SYS_ify): Add guard to no redefine it.
13640         (INLINE_SYSCALL): Likewise.
13641         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13642         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13643         SYSCALL_CANCEL instead.
13644         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13645         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13646         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13647         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13648         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13649         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13650         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13651         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13652         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13653         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13654         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13655         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13656         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13657         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13658         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13660         Likewise.
13661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13662         (__libc_pread64): Likewise.
13663         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13664         (__libc_preadv): Likewise.
13665         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13666         (__libc_readv64): Likewise.
13667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13668         (__libc_pwrite): Likewise.
13669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13670         (__libc_pwrite64): Likewise.
13671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13672         (__libc_pwritev): Likewise.
13673         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13674         (__libc_pwritev64): Likewise.
13675         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13676         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13677         (sync_file_range): Likewise.
13678         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13679         Likewise.
13680         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13683         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13684         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13685         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13686         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13687         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13688         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13689         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13691         Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13693         (__libc_read64): Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13695         Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13697         Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13699         Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13701         Likewise.
13702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13703         (__libc_pread64): Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13705         Likewise.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13707         (__libc_pwrite64): Likewise.
13708         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13709         (sync_file_range): Likewise.
13710         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13711         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13712         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13713         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13714         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13715         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13716         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13717         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13718         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13719         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13720         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13721         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13722         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13723         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13724         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13725         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13726         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13727         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13728         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13729         Likewise.
13730         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13731         Likewise.
13732         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13733         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13734         Likewise.
13735         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13736         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13737         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13738         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13739         Likewise.
13740         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13741         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13742         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13743         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13744         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13746 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13748         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13749         Include dl-vdso.
13750         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13751         Use VDSO routines for gettimeofday, clock_gettime if
13752         available.
13753         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13754         Declare VDSO symbols.
13755         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13756         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13757         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13758         * sysdeps/unix/sysv/linux/arm/Versions: Add
13759         __vdso_clock_gettime.
13761 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13763         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13764         be an inline implementation regardless of library is built within.
13765         (open_not_cancel_2): Likewise.
13766         (__read_nocancel): Likewise.
13767         (__write_nocancel): Likewise.
13768         (openat_not_cancel): Likewise.
13769         (openat_not_cancel_3): Likewise.
13770         (openat64_not_cancel): Likewise.
13771         (openat64_not_cancel_3): Likewise.
13772         (__close_nocancel): Likewise.
13773         (pause_not_cancel): Likewise.
13774         (nanosleep_not_cancel): Likewise.
13775         (sigsuspend_not_cancel): Likewise.
13777 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13779         [BZ #14958]
13780         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13781         wake-up.
13782         (__pthread_rwlock_rdlock_slow): Likewise.
13783         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13784         Likewise.
13785         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13786         Likewise.
13787         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13788         * nptl/tst-rwlock16.c: New file.
13789         * nptl/Makefile (tests): Add new test.
13791 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13793         [BZ #18324]
13794         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13795         missing wake-up of readers.
13796         * nptl/tst-rwlock15.c: New file.
13797         * nptl/Makefile (tests): Add new test.
13799 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13801         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13802         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13803         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13804         and __nacl_supply_interface_rtld.
13805         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13806         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13807         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13808         Add __nacl_supply_interface_rtld.
13809         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13811 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13813         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13814         isfinite.
13815         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13816         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13818 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13820         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13821         __signbit* with standard C99 macros.
13822         * math/e_exp10l.c: Likewise.
13823         * math/e_exp2l.c: Likewise.
13824         * math/e_scalb.c: Likewise.
13825         * math/e_scalbf.c: Likewise.
13826         * math/e_scalbl.c: Likewise.
13827         * math/s_ldexp.c: Likewise.
13828         * math/s_ldexpf.c: Likewise.
13829         * math/s_ldexpl.c: Likewise.
13830         * math/w_atan2.c: Likewise.
13831         * math/w_atan2f.c: Likewise.
13832         * math/w_atan2l.c: Likewise.
13833         * math/w_cosh.c: Likewise.
13834         * math/w_coshf.c: Likewise.
13835         * math/w_coshl.c: Likewise.
13836         * math/w_exp10.c: Likewise.
13837         * math/w_exp10f.c: Likewise.
13838         * math/w_exp10l.c: Likewise.
13839         * math/w_exp2.c: Likewise.
13840         * math/w_exp2f.c: Likewise.
13841         * math/w_exp2l.c: Likewise.
13842         * math/w_fmod.c: Likewise.
13843         * math/w_fmodf.c: Likewise.
13844         * math/w_fmodl.c: Likewise.
13845         * math/w_hypot.c: Likewise.
13846         * math/w_hypotf.c: Likewise.
13847         * math/w_hypotl.c: Likewise.
13848         * math/w_jnl.c: Likewise.
13849         * math/w_lgamma.c: Likewise.
13850         * math/w_lgamma_r.c: Likewise.
13851         * math/w_lgammaf.c: Likewise.
13852         * math/w_lgammaf_r.c: Likewise.
13853         * math/w_lgammal.c: Likewise.
13854         * math/w_lgammal_r.c: Likewise.
13855         * math/w_pow.c: Likewise.
13856         * math/w_powf.c: Likewise.
13857         * math/w_powl.c: Likewise.
13858         * math/w_remainder.c: Likewise.
13859         * math/w_remainderf.c: Likewise.
13860         * math/w_remainderl.c: Likewise.
13861         * math/w_scalb.c: Likewise.
13862         * math/w_scalbf.c: Likewise.
13863         * math/w_scalbl.c: Likewise.
13864         * math/w_scalbln.c: Likewise.
13865         * math/w_scalblnf.c: Likewise.
13866         * math/w_scalblnl.c: Likewise.
13867         * math/w_sinh.c: Likewise.
13868         * math/w_sinhf.c: Likewise.
13869         * math/w_sinhl.c: Likewise.
13870         * math/w_tgamma.c: Likewise.
13871         * math/w_tgammaf.c: Likewise.
13872         * math/w_tgammal.c: Likewise.
13873         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13874         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13875         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13876         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13877         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13880         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13881         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13882         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13883         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13884         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13885         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13886         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13887         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13888         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13889         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13890         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13891         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13892         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13893         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13894         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13897         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13898         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13899         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13900         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13901         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13902         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13903         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13904         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13905         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13906         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13907         * stdio-common/printf_fp.c: Likewise.
13908         * stdio-common/printf_fphex.c: Likewise.
13909         * stdio-common/printf_size.c: Likewise.
13911 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #18470]
13914         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13915         strnlen.
13916         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13917         Remove variable.
13918         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13919         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13920         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13921         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13922         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13923         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13924         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13925         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13926         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13927         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13929         [BZ #18468]
13930         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13931         weak alias of __wmemchr.  Use libc_hidden_weak.
13932         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13933         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13934         instead of wmemchr.
13936 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13938         [BZ #18383]
13939         * elf/tst-tlsalign-extern.c: New file.
13940         * elf/tst-tlsalign-extern-static.c: New file.
13941         * elf/tst-tlsalign-vars.c: New file.
13942         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13943         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13944         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13945         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13946         (test-xfail-tst-tlsalign-extern-static): New variable.
13948 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13950         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13951         Use variable name _sc_err instead of err.
13952         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13953         instead of ret.
13954         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13955         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13956         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13957         (INLINE_SYSCALL): Likewise.
13959         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13960         * include/string.h (__strnlen): Use libc_hidden_proto.
13961         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13962         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13963         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13964         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13965         (libc_hidden_def): Undefine and redefine.
13966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13967         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13968         __GI_strnlen.
13969         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13970         libc_hidden_def.
13971         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13973         [BZ #18469]
13974         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13975         weak alias of __towlower.  Use libc_hidden_weak.
13976         (towupper): Rename to __towupper and define as weak alias of
13977         __towupper.  Use libc_hidden_weak.
13978         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13979         (__towupper): Likewise.
13980         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13981         __towlower instead of towlower.
13983 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13985         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13986         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13988 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13990         * sysdeps/aarch64/libm-test-ulps: Update.
13992 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13994         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13995         Define.
13996         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13998         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13999         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14000         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14001         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14002         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14004 2015-06-01  Martin Sebor  <msebor@redhat.com>
14006         [BZ #18116]
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14008         (__setcontext): Use extended four-operand version of mtsf whenever
14009         possible.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14011         (__novec_swapcontext): Likewise.
14013 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14015         * benchtests/scripts/compare_bench.py: New file.
14016         * benchtests/scripts/import_bench.py (mean): New function.
14017         (split_list): Likewise.
14018         (do_for_all_timings): Likewise.
14019         (compress_timings): Likewise.
14021         * benchtests/scripts/import_bench.py: New file.
14022         * benchtests/scripts/validate_benchout.py: Import import_bench
14023         instead of jsonschema.
14024         (validate_bench): Remove function.
14025         (main): Use import_bench.
14027 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14029         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14030         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14032 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14036 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14038         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14039         set THREAD_SELF->tid to a magic value and futex-wake it.
14040         Pass its address to the thread_exit system call.
14041         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14042         bit is clear.
14043         * sysdeps/nacl/lowlevellock.h: New file.
14044         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14046         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14047         Add TIMEOUT to current time, don't subtract it.
14049 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14051         [BZ #2981]
14052         [BZ #18422]
14053         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14054         ($(objpfx)tst-audit2.out): Also depend on
14055         $(objpfx)tst-auditmod9b.so.
14056         * elf/tst-audit2.c: Include <dlfcn.h>.
14057         (calloc_called): New.
14058         (calloc): Allow to be called more than once.
14059         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14061 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14063         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14064         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14066 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14068         * stdlib/monetary.h: Fix comment.
14070 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14072         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14073         Avoid using variables in #defines that might cause shadowing.
14074         (INTERNAL_VSYSCALL_CALL): Likewise.
14076 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14078         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14080         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14081         * nptl/lll_timedlock_wait.c: ... to this new file.
14082         * nptl/Makefile (libpthread-routines): Add it.
14083         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14084         * nptl/lll_timedwait_tid.c: ... to this new file.
14085         * nptl/Makefile (libpthread-routines): Add it.
14086         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14087         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14088         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14089         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14090         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14091         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14092         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14093         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14094         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14095         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14097 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14099         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14100         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14101         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14103         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14105         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14107         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14108         * sysdeps/unix/sysv/linux/tile/sysdep.h
14109         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14110         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14111         using vDSO syscall macro.
14113 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14115         [BZ #17293]
14116         * uk_UA: Fix sorting order for Ukrainian locale
14118 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14120         * stdlib/monetary.h: Fix comment.
14122 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14124         [BZ #18234]
14125         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14126         st_mtim and st_ctim members.
14127         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14128         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14129         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14130         (struct stat64): Likewise.
14131         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14132         (struct stat64): Likewise.
14133         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14134         (struct stat64): Likewise.
14136 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14138         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14139         Define and include sysdep-vdso.h.
14140         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14141         Likewise.
14142         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14143         Likewise.
14144         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14145         Define with VDSO_SYMBOL and use PTR_MANGLE.
14146         (__vdso_clock_gettime): Likewise.
14147         (__vdso_clock_getres): Likewise.
14148         (_libc_vdso_platform_setup): Likewise.
14149         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14150         Likewise.
14151         (_libc_vdso_platform_setup): Likewise.
14152         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14153         Likewise.
14154         (__vdso_clock_gettime): Likewise.
14155         (__vdso_clock_getres): Likewise.
14156         (__vdso_get_tbfreq): Likewise.
14157         (__vdso_getcpu): Likewise.
14158         (__vdso_time): Likewise.
14159         (__vdso_sigtramp_rt64): Likewise.
14160         (__vdso_signtramp32): Likewise.
14161         (__vdso_sigtramp_rt32): Likewise.
14162         (_libc_vdso_platform_setup): Likewise.
14163         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14164         Likewise.
14165         (__vdso_clock_gettime): Likewise.
14166         (__vdso_clock_getres): Likewise.
14167         (_libc_vdso_platform_setup): Likewise.
14168         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14169         Likewise.
14170         (__vdso_clock_gettime): Likewise.
14171         (_libc_vdso_platform_setup): Likewise.
14172         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14173         Likewise.
14174         (__vdso_getcpu): Likewise.
14175         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14176         Use VDSO_SYMBOL macro to define.
14177         (__vdso_clock_gettime): Likewise.
14178         (__vdso_clock_getres): Likewise.
14179         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14180         Likewise.
14181         (__vdso_clock_gettime): Likewise.
14182         (__vdso_clock_getres): Likewise.
14183         (__vdso_get_tbfreq): Likewise.
14184         (__vdso_getcpu): Likewise.
14185         (__vdso_time): Likewise.
14186         (__vdso_sigtramp_rt64): Likewise.
14187         (__vdso_signtramp32): Likewise.
14188         (__vdso_sigtramp_rt32): Likewise.
14189         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14190         Likewise.
14191         (__vdso_clock_gettime): Likewise.
14192         (__vdso_clock_getres): Likewise.
14193         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14194         Likewise.
14195         (__vdso_clock_gettime): Likewise.
14196         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14197         Likewise.
14198         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14199         macro.
14200         (INTERNAL_VSYSCALL): Likewise.
14201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14202         Remove macro.
14203         (INTERNAL_VSYSCALL): Likewise.
14204         (INTERNAL_VSYSCALL_NCS): Likewise.
14205         (INTERNAL_VSYSCALL_CALL): New macro.
14206         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14208         Likewise.
14209         (INTERNAL_VSYSCALL): Likewise.
14210         (INTERNAL_VSYSCALL_NCS): Likewise.
14211         (INTERNAL_VSYSCALL_CALL): New macro.
14212         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14214         (INLINE_VSYSCALL): Remove macro.
14215         (INTERNAL_VSYSCALL): Remove macro.
14216         (INTERNAL_VSYSCALL_NCS): Remove macro.
14217         (INTERNAL_VSYSCALL_CALL): New macro.
14218         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14219         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14220         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14221         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14222         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14224         (INLINE_VSYSCALL): Remove macro.
14225         (INTERNAL_VSYSCALL): Likewise.
14226         (INTERNAL_VSYSCALL_NCS): Likewise.
14227         (INTERNAL_VSYSCALL_CALL): New macro.
14228         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14229         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14230         PTR_DEMANGLE on vDSO pointer.
14231         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14232         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14233         macro.
14234         (INTERNAL_SYSCALL): Likewise.
14235         (INTERNAL_VSYSCALL_NCS): Remove macro.
14236         (INTERNAL_VSYSCALL_CALL): New macro.
14237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14238         Remove macro.
14239         (INTERNAL_VSYSCALL): Likewise.
14240         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14241         sysdep-vdso.h instead of libc-vdso.h.
14242         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14243         definition.
14244         (INLINE_VSYSCALL): Likewise.
14245         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14246         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14247         definition.
14248         (INLINE_VSYSCALL): Likewise.
14249         (INTERNAL_VSYSCALL): Likewise.
14250         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14251         * sysdeps/unix/sysv/linux/timespec_get.c
14252         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14253         (timespec_get): Use ANSI prototype.
14254         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14255         and definition for Linux.
14257 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14259         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14260         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14262 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14264         [BZ #2981]
14265         [BZ #18410]
14266         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14267         for missing DT_PLTRELSZ.
14269 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14271         Remove obsolete aliases that broke 'locale -a'
14272         [BZ #18412]
14273         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14274         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14275         breaking some applications that use 'locale -a' output.
14276         Change the encoding of this file from Latin-1 to ASCII to avoid
14277         other potential problems with people grepping this file.
14279 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14281         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14282         -fasynchronous-unwind-tables.
14283         (CFLAGS-sendto.c): Likewise.
14284         (CFLAGS-sendmsg.c): Likewise.
14285         (CFLAGS-connect.c): Likewise.
14286         (CFLAGS-recvmsg.c): Likewise.
14287         (CFLAGS-recvfrom.c): Likewise.
14288         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14289         (SOCKETCALL): New macro: non-cancellable socketcall.
14290         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14291         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14292         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14293         * sysdeps/unix/sysv/linux/accept.c: New file.
14294         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14295         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14296         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14297         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14298         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14299         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14300         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14301         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14302         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14303         * sysdeps/unix/sysv/linux/send.c: Likewise.
14304         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14305         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14306         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14307         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14308         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14309         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14310         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14311         prototype.
14312         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14313         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14314         instead of __internal_xxx function.
14315         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14316         prototype.
14317         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14318         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14319         instead of __internal_xxx function.
14320         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14321         prototype.
14322         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14323         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14324         instead of __internal_xxx function.
14325         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14326         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14327         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14328         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14329         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14330         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14331         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14332         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14333         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14334         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14335         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14336         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14337         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14338         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14339         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14340         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14341         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14342         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14343         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14344         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14347         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14348         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14349         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14350         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14351         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14352         * sysdeps/unix/sysv/linux/send.S: Likewise.
14353         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14354         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14355         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14356         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14357         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14358         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14359         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14361         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14362         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14363         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14364         socketcall is implemented in GLIBC.
14366 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14368         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14369         (__fma): Ignore uninitialized warnings around packing.
14370         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14371         (__fmaf): Ignore uninitialized warnings around packing.
14372         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14373         (__fmal): Ignore uninitialized warnings around packing.
14375         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14376         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14377         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14378         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14380         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14381         switch statement into default case.
14382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14384         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14385         a conditional in forcing "inexact".
14386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14387         Likewise.
14389 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14391         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14392         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14393         for each INTERNAL_SYSCALL use.
14395 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14397         [BZ #438]
14398         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14399         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14400         variable.
14402         [BZ #18444]
14403         * string/basename.c (basename): Rename to __basename and define as
14404         weak alias of __basename.  Use libc_hidden_weak.
14405         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14406         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14407         __basename instead of basename.
14408         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14409         Remove variable.
14410         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14412 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14414         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14415         (_IO_JUMPS_FILE_plus): New.
14416         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14417         _IO_CAST_FIELD_ACCESS.
14418         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14419         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14420         * libio/freopen.c (freopen): Likewise.
14421         * libio/freopen64.c (freopen64): Likewise.
14422         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14423         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14424         * libio/iofwide.c (_IO_fwide): Likewise.
14425         * libio/memstream.c (open_memstream): Likewise.
14426         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14427         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14428         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14430 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14432         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14433         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14434         NADJ.
14435         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14436         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14437         NADJ.
14438         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14439         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14440         NADJ.
14442         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14443         (p == 4) case.
14445         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14446         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14447         Remove variable.
14448         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14449         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14450         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14452 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14454         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14455         Adjust jump table label generation macros.
14457 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14459         * stdio-common/vfprintf.c (vfprintf): Move local variables
14460         args_malloced, specs, specs_malloced, and the code after
14461         do_positional to the printf_positional function.
14462         (printf_positional): New function.
14464 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14466         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14467         function.
14468         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14469         STEP4_TABLE, process_arg): Move macro definitions
14470         out of the vfprintf function.  (Cosmetic change only.)
14472 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14474         * benchtests/Makefile (stdio-common-bench): Define.
14475         (benchset): Add stdio-common-bench.
14476         * sprintf-inputs: New file.
14477         * sprintf-source.c: New file.
14479 2015-05-21  Andreas Schwab  <schwab@suse.de>
14481         [BZ #13028]
14482         [BZ #17053]
14483         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14484         of struct __res_state.
14485         * resolv/res_send.c (__libc_res_nsend): Likewise.
14486         (get_nsaddr): New function.
14487         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14488         statp directly.
14490 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14492         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14493         -D_POSIX_C_SOURCE=199506L.
14495         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14497         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14498         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14499         Do not mention otherwise.
14500         [POSIX] (_XOPEN_VERSION): Do not expect.
14501         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14502         [POSIX] (_POSIX2_C_BIND): Likewise.
14503         [POSIX] (_POSIX2_VERSION): Likewise.
14504         [POSIX] (_XOPEN_XPG2): Likewise.
14505         [POSIX] (_XOPEN_XPG3): Likewise.
14506         [POSIX] (_XOPEN_XPG4): Likewise.
14507         [POSIX] (_XOPEN_UNIX): Likewise.
14508         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14509         [POSIX] (_POSIX_BARRIERS): Likewise.
14510         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14511         [POSIX] (_POSIX_CPUTIME): Likewise.
14512         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14513         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14514         [POSIX] (_POSIX_SHELL): Likewise.
14515         [POSIX] (_POSIX_SPAWN): Likewise.
14516         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14517         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14518         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14519         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14520         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14521         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14522         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14523         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14524         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14525         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14526         [POSIX] (_POSIX2_PBS): Likewise.
14527         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14528         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14529         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14530         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14531         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14532         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14533         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14534         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14535         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14536         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14537         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14538         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14539         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14540         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14541         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14542         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14543         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14544         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14545         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14546         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14547         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14548         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14549         [POSIX] (_SC_2_C_BIND): Likewise.
14550         [POSIX] (_SC_2_C_VERSION): Likewise.
14551         [POSIX] (_SC_2_PBS): Likewise.
14552         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14553         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14554         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14555         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14556         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14557         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14558         [POSIX] (_SC_BARRIERS): Likewise.
14559         [POSIX] (_SC_BASE): Likewise.
14560         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14561         [POSIX] (_SC_DEVICE_IO): Likewise.
14562         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14563         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14564         [POSIX] (_SC_FD_MGMT): Likewise.
14565         [POSIX] (_SC_FIFO): Likewise.
14566         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14567         [POSIX] (_SC_FILE_LOCKING): Likewise.
14568         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14569         [POSIX] (_SC_IOV_MAX): Likewise.
14570         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14571         [POSIX] (_SC_NETWORKING): Likewise.
14572         [POSIX] (_SC_PAGE_SIZE): Likewise.
14573         [POSIX] (_SC_PASS_MAX): Likewise.
14574         [POSIX] (_SC_PIPE): Likewise.
14575         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14576         [POSIX] (_SC_REGEXP): Likewise.
14577         [POSIX] (_SC_SHELL): Likewise.
14578         [POSIX] (_SC_SIGNALS): Likewise.
14579         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14580         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14581         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14582         [POSIX] (_SC_USER_GROUPS): Likewise.
14583         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14584         [POSIX] (_SC_STREAMS): Likewise.
14585         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14586         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14587         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14588         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14589         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14590         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14591         [POSIX] (_PC_FILESIZEBITS): Likewise.
14592         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14593         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14594         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14595         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14596         [POSIX] (uid_t): Likewise.
14597         [POSIX] (gid_t): Likewise.
14598         [POSIX] (off_t): Likewise.
14599         [POSIX] (pid_t): Likewise.
14600         [POSIX] (cuserid): Allow.
14601         (_SC_2_CHAR_TERM): Require constant.
14602         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14603         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14604         variable.
14606 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14608         * sysdeps/nacl/pthread-pids.h: New file.
14609         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14610         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14612         * nptl/pthread-pids.h: New file.
14613         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14614         * nptl/nptl-init.c: Include <pthread-pids.h>.
14615         (__pthread_initialize_minimal_internal):
14616         Call __pthread_initialize_pids instead of set_tid_address syscall.
14618         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14619         * sysdeps/posix/usleep.c: ... here.
14621 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14623         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14624         call_pselect6 object.
14625         [$(subdir) = io]: Remove call_sync_file_range object.
14626         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14627         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14628         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14629         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14631 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14633         * math/s_cproj.c: Add include "math_private.h".
14634         * math/s_cprojf.c: Likewise.
14635         * math/s_cprojl.c: Likewise.
14637 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14639         [BZ #18244]
14640         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14641         high mantissa bit when testing whether P is a NaN.
14642         * math/libm-test.inc (remainder_test_data): Add more tests.
14643         (remquo_test_data): Likewise.
14645         [BZ #18049]
14646         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14647         below -32, return the argument, with underflow if subnormal.
14648         * math/auto-libm-test-in: Add more tests of atanh.
14649         * math/auto-libm-test-out: Regenerated.
14651 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14653         [BZ #18434]
14654         * nptl/tst-sem15.c: New file.
14655         * nptl/Makefile (tests): Add it.
14656         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14657         s/<</>>/ to fix typo in EOVERFLOW check.
14658         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14660 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14662         * manual/strings.texi (envz_remove): Fix typo in safety
14663         annotations.
14665 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14666             Steve Ellcey  <sellcey@imgtec.com>
14668         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14669         in order to avoid strict alias warnings.
14670         (iruserok_af): Ditto for ra.
14672 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14674         [BZ #17581]
14675         * malloc/hooks.c
14676         (magicbyte): Convert to a function and avoid returning 0x01.
14677         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14678         (mem2chunk_check): Fix unsigned comparisons to zero.
14679         Hoist defs of sz and magic.
14681 2015-05-19  Richard Henderson  <rth@redhat.com>
14683         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14685         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14687 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14689         [BZ #16159]
14690         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14691         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14692         (reused_arena): Find a non-corrupt arena.
14693         (heap_trim): Pass arena to unlink.
14694         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14695         malloc_printerr.
14696         (top_check): Likewise.
14697         (free_check): Likewise.
14698         (realloc_check): Likewise.
14699         * malloc/malloc.c (malloc_printerr): Add arena argument.
14700         (unlink): Likewise.
14701         (munmap_chunk): Adjust.
14702         (ARENA_CORRUPTION_BIT): New macro.
14703         (arena_is_corrupt): Likewise.
14704         (set_arena_corrupt): Likewise.
14705         (sysmalloc): Use mmap if there are no usable arenas.
14706         (_int_malloc): Likewise.
14707         (__libc_malloc): Don't fail if arena_get returns NULL.
14708         (_mid_memalign): Likewise.
14709         (__libc_calloc): Likewise.
14710         (__libc_realloc): Adjust for additional argument to
14711         malloc_printerr.
14712         (_int_free): Likewise.
14713         (malloc_consolidate): Likewise.
14714         (_int_realloc): Likewise.
14715         (_int_memalign): Don't touch corrupt arenas.
14716         * malloc/tst-malloc-backtrace.c: New test case.
14718         * Makefile (summarize-tests): Fix return value on success.
14720         * manual/string.texi (Envz Functions): Add envz_remove.
14722 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14724         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14725         (invalid_name): New function, broken out of ...
14726         (__opendirat): ... here.  Call it.
14727         (need_isdir_precheck): New function, broken out of ...
14728         (__opendirat): ... here.  Call it.
14729         Use __fxstatat64, not __xstatat64.
14730         (opendir_oflags): New function, broken out of ...
14731         (__opendirat): ... here.  Call it.
14732         (opendir_tail): New function, broken out of ...
14733         (__opendirat): ... here.  Call it.
14734         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14735         opendir_tail, rather than punting to __opendirat.
14736         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14738 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         * .gitignore: Ignore generated *.pyc.
14742 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14744         * include/stdio.h: Define __need_wint_t.
14745         * test-skeleton.c: Avoid `for' loop initial declaration.
14746         * nptl/tst-initializers1.c: Use test-skeleton.c.
14748 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14750         [BZ #18418]
14751         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14753 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14755         [BZ #16352]
14756         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14757         (__ieee754_atanh): Force underflow exception for results with
14758         small absolute value.
14759         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14760         (__ieee754_atanhf): Force underflow exception for results with
14761         small absolute value.
14762         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14763         (__ieee754_atanh): Force underflow exception for results with
14764         small absolute value.
14765         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14766         (__ieee754_atanhf): Force underflow exception for results with
14767         small absolute value.
14768         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14769         (__ieee754_atanhl): Force underflow exception for results with
14770         small absolute value.
14771         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14772         (__ieee754_atanhl): Force underflow exception for results with
14773         small absolute value.
14774         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14775         (__ieee754_atanhl): Force underflow exception for results with
14776         small absolute value.
14777         * math/auto-libm-test-in: Do not allow missing underflow
14778         exceptions from atanh.
14779         * math/auto-libm-test-out: Regenerated.
14781         [BZ #18221]
14782         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14783         2**-28 as threshold for returning x or +/- 1/x.
14784         * math/auto-libm-test-in: Add more tests of tan.
14785         * math/auto-libm-test-out: Regenerated.
14787         [BZ #18220]
14788         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14789         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14790         * math/auto-libm-test-in: Add another test of lgamma.
14791         * math/auto-libm-test-out: Regenerated.
14793 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14795         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14796         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14797         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14798         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14799         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14800         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14801         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14804         (log1): Use fabs.  (my_log2): Use fabs.
14805         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14806         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14807         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14808         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14810         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14811         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14812         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14813         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14814         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14815         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14817 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14819         [BZ #18217]
14820         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14821         as threshold for returning 1 - x.
14822         * math/auto-libm-test-in: Add more tests of erfc.
14823         * math/auto-libm-test-out: Regenerated.
14825 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14827         [BZ #18196]
14828         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14829         threshold for large arguments.
14830         * math/auto-libm-test-in: Add another test of atan.
14831         * math/auto-libm-test-out: Regenerated.
14833         [BZ #16339]
14834         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14835         (__log1p): Force underflow exception for results with small
14836         absolute value.
14837         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14838         (__log1pf): Force underflow exception for results with small
14839         absolute value.
14840         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14841         (__log1p): Force underflow exception for results with small
14842         absolute value.
14843         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14844         (__log1pf): Force underflow exception for results with small
14845         absolute value.
14846         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14847         (__log1pl): Force underflow exception for results with small
14848         absolute value.
14849         * math/auto-libm-test-in: Do not allow missing underflow
14850         exceptions from log1p.
14851         * math/auto-libm-test-out: Regenerated.
14853 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14854             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14856         [BZ #16704]
14857         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14859 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14861         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14862         (libmvec): New variable.
14863         * configure.ac: Added option for mathvec build.
14864         * configure: Regenerated.
14865         * mathvec/Depend: New file.
14866         * mathvec/Makefile: New file.
14867         * shlib-versions: Added libmvec.
14868         * math/Makefile: Added rule for libm.so installation.
14870         * bits/math-vector.h: New file.
14871         * bits/libm-simd-decl-stubs.h: New header.
14872         * math/Makefile (headers): Added new header
14873         libm-simd-decl-stubs.h.
14874         * math/math.h (__MATHCALL_VEC): New macro.
14876         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14877         for conditions in testing functions.
14878         * math/Makefile: Added call of libm-have-vector-test.sh.
14879         * math/libm-test.inc (HAVE_VECTOR): New macros.
14881         * math/libm-test.inc: START refactored.
14882         * math/test-double.c (TEST_MATHVEC): Add define.
14883         * math/test-float.c: Likewise.
14884         * math/test-idouble.c: Likewise.
14885         * math/test-ifloat.c: Likewise.
14886         * math/test-ildoubl.c: Likewise.
14887         * math/test-ldouble.c: Likewise.
14888         * sysdeps/generic/math-tests-arch.h
14889         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14890         architecture check.
14892         * math/test-double.c (FUNC_TEST): New macro.
14893         * math/test-float.c: Likewise.
14894         * math/test-idouble.c: Likewise.
14895         * math/test-ifloat.c: Likewise.
14896         * math/test-ildoubl.c: Likewise.
14897         * math/test-ldouble.c: Likewise.
14898         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14900 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14902         * sysdeps/nacl/fdopendir.c: New file.
14904         * dirent/scandir-tail.c: New file.
14905         * dirent/scandir64-tail.c: New file.
14906         * dirent/Makefile (routines): Add them.
14907         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14908         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14909         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14910         [!SCANDIR] (SCANDIR_TAIL): New macro.
14911         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14912         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14913         (SCANDIRAT): Macro removed.
14914         (SCANDIR_TAIL): New macro.
14915         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14916         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14917         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14918         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14919         (READDIR): Macro removed.
14920         (SCANDIR_TAIL): New macro.
14921         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14922         (SCANDIR_TAIL): New macro.
14924         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14925         * dirent/scandir-cancel.c: ... to this new file.
14926         * dirent/Makefile (routines): Add it.
14927         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14928         * sysdeps/unix/sysv/linux/i386/scandir64.c
14929         (SKIP_SCANDIR_CANCEL): Macro removed.
14930         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14932         * dirent/tst-scandir.c: New file.
14933         * dirent/tst-scandir64.c: New file.
14934         * dirent/Makefile (tests): Add them.
14936 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14938         [BZ #18409]
14939         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14941 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14943         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14944         list.
14946 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14948         * benchtests/bench-strcoll.c: New benchmark.
14949         * benchtests/Makefile: Generate locales and run benchmark.
14950         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14951         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14952         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14953         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14954         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14955         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14956         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14957         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14958         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14959         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14960         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14961         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14962         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14963         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14964         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14965         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14966         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14967         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14968         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14969         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14970         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14971         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14972         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14973         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14975 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14977         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14978         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14980 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14982         * posix/uname-values.h: New file.
14983         * posix/uname.c: Include that instead of <config-name.h>.
14984         * sysdeps/nacl/uname-values.h: New file.
14985         * sysdeps/arm/nacl/uname-values.h: New file.
14987 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14989         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14990         splitting into fields.
14992 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14994         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14995         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14996         * locale/localeinfo.h: Add enum collation_encoding_type.
14997         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14998         * programs/ld-collate.c (collate_output): Add encoding type info.
14999         * string/strcoll_l.c (STRDIFF): New function.
15000         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15001         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15003 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15005         [BZ #18397]
15006         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15007         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15008         <fpu_control.h> instead of <math/fpu_control.c>.
15009         * sysdeps/mips/mips32/fpu/Makefile: New file.
15011 2015-05-11  Andreas Schwab  <schwab@suse.de>
15013         [BZ #18007]
15014         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15015         nss_endgrent.
15016         (_nss_compat_endgrent): Call nss_endgrent.
15017         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15018         nss_endpwent.
15019         (_nss_compat_endpwent): Call nss_endpwent.
15020         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15021         needent, call nss_setspent only if non-zero.
15022         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15023         (internal_endspent): Don't call nss_endspent.
15024         (_nss_compat_endspent): Call nss_endspent.
15025         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15026         Remove.  All uses removed.
15027         (internal_setent): Remove parameter stayopen, add parameter
15028         stream.  Use it instead of global variable.
15029         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15030         (internal_endent, internal_getent): Add parameter stream.  Use it
15031         instead of global variable.
15032         (CONCAT(_nss_files_end,ENTNAME))
15033         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15034         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15035         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15036         uses removed.
15037         (internal_setent, internal_endent): Add parameter stream.  Use it
15038         instead of global variable.
15039         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15040         stream.
15041         (get_next_alias): Add parameter stream.
15042         (_nss_files_getaliasent_r): Pass global stream.
15043         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15044         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15045         (_nss_files_gethostbyname4_r): Pass local stream to
15046         internal_setent, internal_getent and internal_endent.  Remove
15047         locking.
15049 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15051         * tst-strfmon1.c (tests): Update expected currency symbol.
15053 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15055         * sysdeps/nacl/gethostname.c: New file.
15057 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15059         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15060         and sinh.
15061         * math/auto-libm-test-out: Regenerated.
15062         * sysdeps/i386/fpu/libm-test-ulps: Update.
15063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15065 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15067         [BZ #18125]
15068         * stdlib/tst-setcontext3.c: New file.
15069         * stdlib/tst-setcontext3.sh: New file.
15070         * stdlib/Makefile (tests): Add tst-setcontext3.
15071         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15072         to verify test program created output file.
15073         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15074         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15075         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15076         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15078 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15080         [BZ #18383]
15081         * elf/tst-tlsalign.c: New file.
15082         * elf/tst-tlsalign-static.c: New file.
15083         * elf/tst-tlsalign-lib.c: New file.
15084         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15085         (tests-static): Add tst-tlsalign-static.
15086         (modules-names): Add tst-tlsalign-lib.
15087         (test-xfail-tst-tlsalign): New variable.
15088         (test-xfail-tst-tlsalign-static): New variable.
15090         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15091         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15093 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15095         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15096         csqrt, erfc, sin and sincos.
15097         * math/auto-libm-test-out: Regenerated.
15098         * sysdeps/i386/fpu/libm-test-ulps: Update.
15099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15101 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15103         * sysdeps/aarch64/libm-test-ulps: Update.
15105 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15107         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15108         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15109         * math/auto-libm-test-out: Regenerated.
15110         * sysdeps/i386/fpu/libm-test-ulps: Update.
15111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15113 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15115         [BZ #18265]
15116         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15117         (wcsncpy): Likewise.
15119 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15121         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15122         Assume __ASSUME_FALLOCATE is always true.
15123         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15124         (__posix_fallocate64_l64): Likweise.
15125         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15126         (posix_fallocate): Likewise.
15127         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15128         (__posix_fallocate64_l64): Likewise.
15129         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15130         [!__ASSUME_FALLOCATE]: Add comment.
15132 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15134         * sysdeps/unix/sysv/linux/i386/Makefile
15135         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15136         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15137         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15138         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15139         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15140         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15141         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15143 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15145         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15146         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15147         tgamma.
15148         * math/auto-libm-test-out: Regenerated.
15149         * sysdeps/i386/fpu/libm-test-ulps: Update.
15150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15152 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15154         * math/auto-libm-test-in: Add more tests of tgamma.
15155         * math/auto-libm-test-out: Regenerated.
15156         * sysdeps/i386/fpu/libm-test-ulps: Update.
15157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15159         * math/auto-libm-test-in: Add more tests of tanh.
15160         * math/auto-libm-test-out: Regenerated.
15161         * sysdeps/i386/fpu/libm-test-ulps: Update.
15162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15164         * math/auto-libm-test-in: Add more tests of tan.
15165         * math/auto-libm-test-out: Regenerated.
15166         * sysdeps/i386/fpu/libm-test-ulps: Update.
15167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15169         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15170         * math/auto-libm-test-out: Regenerated.
15171         * sysdeps/i386/fpu/libm-test-ulps: Update.
15172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15174         * math/auto-libm-test-in: Add another test of pow.
15175         * math/auto-libm-test-out: Regenerated.
15176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15178         * math/auto-libm-test-in: Add more tests of lgamma.
15179         * math/auto-libm-test-out: Regenerated.
15180         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15183         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15184         log1p.
15185         * math/auto-libm-test-out: Regenerated.
15186         * sysdeps/i386/fpu/libm-test-ulps: Update.
15187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15189 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15191         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15192         Elf64_Chdr structs and ELFCOMPRESS constants.
15194 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15196         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15197         expm1.
15198         * math/auto-libm-test-out: Regenerated.
15199         * sysdeps/i386/fpu/libm-test-ulps: Update.
15200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15202         * math/auto-libm-test-in: Add more tests of erf and erfc.
15203         * math/auto-libm-test-out: Regenerated.
15204         * sysdeps/i386/fpu/libm-test-ulps: Update.
15205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15209         * config.h.in (HAVE_AARCH64_BE): Add.
15211 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15213         * math/auto-libm-test-in: Add more tests of csqrt.
15214         * math/auto-libm-test-out: Regenerated.
15215         * sysdeps/i386/fpu/libm-test-ulps: Update.
15216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15219         * math/auto-libm-test-out: Regenerated.
15220         * sysdeps/i386/fpu/libm-test-ulps: Update.
15221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15223         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15225 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15227         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15228         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15230         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15231         (euidaccess, eaccess): Define as weak aliases.
15233         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15234         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15235         but __suseconds_t is often 'long int' so some sources assume that
15236         type is being used (e.g. they use %ld to print tv_usec).
15238 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15240         [BZ #18007]
15241         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15242         (CVE-2014-8121)
15243         * nss/tst-nss-getpwent.c: New file.
15244         * nss/Makefile (tests): Add new test.
15246 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15248         [BZ #18346]
15249         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15250         exponents less than 48 as cases where high part of mantissa needs
15251         examining to determine whether argument is integral.
15252         * math/libm-test.inc (round_test_data): Add more tests.
15254 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15256         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15258 2015-04-27  David S. Miller  <davem@davemloft.net>
15260         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15261         __tls_get_addr.
15262         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15264 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15266         [BZ#18333]
15267         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15269 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15271         [BZ#18333]
15272         * time/tzset.c (parse_tzname): Return error on memory allocation
15273         failure.
15274         * test-skeleton.c (struct temp_name_list): Change type of name
15275         member to non-const.
15276         (add_temp_file): Create a copy of the file name.
15277         (delete_temp_files): Deallocate memory.
15278         (create_temp_file): Add comment.
15280 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15282         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15283         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15285 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15287         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15288         * sysdeps/arm/configure: Regenerated.
15290 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15292         [BZ #17715]
15293         * time/tzfile.c (__tzfile_read): Check for large values of
15294         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15295         * time/tzset.c (__tzstring_len): New function, based on the old
15296         __tzstring function.
15297         (__tzstring): Call __tzstring_len.
15298         (parse_tzname): New helper function extracted from
15299         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15300         the input string.
15301         (parse_offset): New helper function extracted from
15302         __tzset_parse_tz.  Replace switch with fallthrough with
15303         initialization before sscanf.
15304         (parse_rule): Likewise.
15305         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15306         new-style function definition.
15307         * timezone/Makefile (tests): Add tst-tzset.
15308         (tst-tzset.out): Dependencies on time zone files.
15309         (tst-tzset-ENV): Set TZDIR.
15310         (testdata/XT%): Copy crafted time zone files.
15311         * timezone/README: Mention crafted time zone files.
15312         * timezone/testdata/XT1, timezone/testdata/XT2,
15313         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15314         files.
15315         * timezone/tst-tzset.c: New test.
15317 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15319         * Makeconfig (+gccwarn): Remove -Winline.
15321 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15323         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15325 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15327         * NEWS: Mention sysconf() cache information support for s390.
15328         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15330 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15332         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15333         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15334         (__nearbyint): Likewise.
15335         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15336         (copysignl): Likewise.
15338 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15340         [BZ #18287]
15341         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15342         based on padding.  (CVE-2015-1781)
15344 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15346         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15347         libc-vdso.h.
15348         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15349         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15350         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15351         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15352         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15353         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15354         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15355         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15356         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15357         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15358         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15359         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15360         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15361         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15362         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15363         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15364         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15366         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15367         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15368         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15369         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15370         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15372 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15374         * stdlib/setenv.c (__add_to_environ):
15375         Dump core quickly if setenv (..., NULL, ...) is called.
15376         This time, do it the right way, and pacify GCC with a pragma.
15378 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15380         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15381         IMAP->l_prev cannot be null, and #if out the code for the contrary
15382         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15383         believe that NS (&_dl_ns[NSID]) could point outside the array.
15385         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15386         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15387         before using NSID as an index.
15389 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15391         [BZ #17825]
15392         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15393         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15394         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15396 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15398         Add preliminary port to Google Native Client on ARM.
15399         * abi-tags (.*-.*-nacl.*): New entry.
15400         * sysdeps/arm/nacl: New directory.
15401         * sysdeps/nacl: New directory.
15403 2015-04-16  David S. Miller  <davem@davemloft.net>
15405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15406         lowlevellock-futex.h
15408 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15410         * sysdeps/tile/configure.ac: New file.
15411         * sysdeps/tile/configure: Regenerated.
15413 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15415         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15416         conditionals for weak_alias and libc_hidden_weak.
15417         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15418         libc_hidden_weak and weak_alias.
15419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15420         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15421         and weak_alias for static one.
15423 2015-04-15  David S. Miller  <davem@davemloft.net>
15425         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15427 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15429         [BZ #18206]
15430         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15431           Use signed comparision instead of substraction to avoid
15432           overflow bug.
15433         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15434           Take the sign of ret.
15435         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15436           Do not expect precise return values. Only the sign matters.
15437         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15438         * wcsmbs/test-wcsncmp.c: New File.
15439         * string/test-strncmp.c: Add wcsncmp support.
15441 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15443         [BZ #6792]
15444         * math/w_log1p.c: New file.
15445         * math/w_log1pf.c: Likewise.
15446         * math/w_log1pl.c: Likewise.
15447         * math/Makefile (libm-calls): Add w_log1p.
15448         * math/s_log1pl.c (log1pl): Remove weak_alias.
15449         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15450         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15451         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15452         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15453         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15454         [NO_LONG_DOUBLE] (log1pl): Likewise.
15455         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15456         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15457         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15458         (log1p): Remove long_double_symbol.
15459         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15460         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15461         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15462         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15463         remove weak_alias for corresponding log1p function.
15464         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15465         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15466         * sysdeps/ia64/fpu/w_log1p.c: New file.
15467         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15468         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15469         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15471 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #18247]
15474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15475         decimal exponent by 1.
15476         * stdlib/tst-strtod-round-data: Add more tests.
15477         * stdlib/tst-strtod-round.c (tests): Regenerated.
15479 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15481         * math/auto-libm-test-in: Add more tests of clog and clog10.
15482         * math/auto-libm-test-out: Regenerated.
15483         * sysdeps/i386/fpu/libm-test-ulps: Update.
15484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15486 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15488         * Makeconfig (module-cppflags): Exclude all .v.i files.
15489         (skip-module-cppflags): Variable removed.
15491         * configure.ac (libc_config_ok): Initialize before reading
15492         preconfigure scripts, not after.
15493         * configure: Regenerated.
15495         * test-skeleton.c (TIMEOUT): Move #define to top level.
15496         (main): Grok environment variable TEST_DIRECT.  If set, print
15497         test expectation details into that file and then behave as if
15498         given --direct.
15500 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15502         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15503         warning on 32-bit.
15505 2015-04-08  David S. Miller  <davem@davemloft.net>
15507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15509 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15511         * math/auto-libm-test-in: Add more tests of atanh.
15512         * math/auto-libm-test-out: Regenerated.
15513         * sysdeps/i386/fpu/libm-test-ulps: Update.
15514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516         * math/auto-libm-test-in: Add more tests of atan.
15517         * math/auto-libm-test-out: Regenerated.
15518         * sysdeps/i386/fpu/libm-test-ulps: Update.
15519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15521 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15523         * elf/pldd.c (main): Rewrite to use struct
15524         scratch_buffer instead of extend_alloca.
15525         * elf/pldd-xx.c (find_maps): Likewise.
15526         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15527         <alloca.h>.
15528         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15529         scratch_buffer instead of extend_alloca.
15530         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15531         grp/compat-initgroups.c.
15532         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15533         Rewrite to use struct scratch_buffer instead of extend_alloca.
15534         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15535         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15537 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15539         * math/auto-libm-test-in: Add more tests of cbrt.
15540         * math/auto-libm-test-out: Regenerated.
15541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15543         * math/auto-libm-test-in: Add more tests of cabs.
15544         * math/auto-libm-test-out: Regenerated.
15545         * sysdeps/i386/fpu/libm-test-ulps: Update.
15546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15548         [BZ #18210]
15549         [BZ #18211]
15550         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15551         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15552         computations.
15553         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15554         clog10.
15555         * math/auto-libm-test-out: Regenerated.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559         [BZ #18197]
15560         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15561         (atan): Set FE_TONEAREST mode for internal computations.
15562         * math/auto-libm-test-in: Add more tests of atan.
15563         * math/auto-libm-test-out: Regenerated.
15565 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15567         [BZ #17930]
15568         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15570 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15572         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15574 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15576         * include/scratch_buffer.h: New file.
15577         * malloc/scratch_buffer_grow.c: Likewise.
15578         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15579         * malloc/scratch_buffer_set_array_size.c: Likewise.
15580         * malloc/tst-scratch_buffer.c: Likewise.
15581         * malloc/Makefile (routines): Add scratch_buffer_grow.
15582         (tests): Add test case.
15583         * malloc/Versions (GLIBC_PRIVATE): Export
15584         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15585         __libc_scratch_buffer_set_array_size.
15587 2015-04-06  Richard Henderson  <rth@redhat.com>
15589         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15590         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15592         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15593         unsigned int before printing.
15595 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15597         [BZ #17596]
15598         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15599         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15601 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15603         * include/libc-internal.h (libc_max_align_t): Define.
15605 2015-04-02  Andreas Schwab  <schwab@suse.de>
15607         [BZ #16850]
15608         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15610 2015-04-02  Mel Gorman  <mgorman@suse.de>
15612         [BZ #17195]
15613         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15614         as well as the main arena.
15616 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15618         [BZ #18185]
15619         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15620         sharing L2 cache to 2 for Silvermont/Knights Landing.
15622 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15624         [BZ #17711]
15625         * config.make.in (have-protected-data): New.
15626         * configure.ac: Check linker support for protected data symbol.
15627         * configure: Regenerated.
15628         * elf/Makefile (modules-names): Add tst-protected1moda and
15629         tst-protected1modb if $(have-protected-data) is yes.
15630         (tests): Add tst-protected1a and tst-protected1b if
15631         $(have-protected-data) is yes.
15632         ($(objpfx)tst-protected1a): New.
15633         ($(objpfx)tst-protected1b): Likewise.
15634         (tst-protected1modb.so-no-z-defs): Likewise.
15635         * elf/tst-protected1a.c: New file.
15636         * elf/tst-protected1b.c: Likewise.
15637         * elf/tst-protected1mod.h: Likewise.
15638         * elf/tst-protected1moda.c: Likewise.
15639         * elf/tst-protected1modb.c: Likewise.
15641 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15643         [BZ #17711]
15644         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15645         indicates it is called from do_lookup_x on relocation against
15646         protected data, skip the data definion in the executable from
15647         copy reloc.
15648         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15649         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15650         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15651         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15652         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15653         otherwise to 0.
15654         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15655         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15656         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15657         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15658         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15659         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15661 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15663         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15664         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15666 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15668         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15669         THREAD_SETMEM_NC.
15670         * sysdeps/x86_64/nptl/tls.h: Ditto.
15672 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15674         * dlfcn/tststatic.c (main): Converted to ...
15675         (do_test): ... this.
15676         (TEST_FUNCTION): New macro.
15677         Include test-skeleton.c.
15679 2015-03-26  Alan Modra  <amodra@gmail.com>
15681         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15682         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15683         zero for undefined weak.
15684         (elf_machine_plt_conflict): Similarly.
15686 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15688         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15689         atanh.
15690         * math/auto-libm-test-out: Regenerated.
15691         * sysdeps/i386/fpu/libm-test-ulps: Update.
15692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15694         * math/auto-libm-test-in: Add another test of asin.
15695         * math/auto-libm-test-out: Regenerated.
15696         * sysdeps/i386/fpu/libm-test-ulps: Update.
15697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15700         Remove macro.
15701         (LLL_EBX_REG): Likewise.
15702         (LLL_ENTER_KERNEL): Likewise.
15704         * math/auto-libm-test-in: Add more tests of asin.
15705         * math/auto-libm-test-out: Regenerated.
15706         * sysdeps/i386/fpu/libm-test-ulps: Update.
15707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709         [BZ #18138]
15710         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15711         libc_do_syscall_args): New structure.
15712         (INTERNAL_SYSCALL_MAIN_0): New macro.
15713         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15714         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15715         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15716         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15717         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15718         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15719         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15720         Replace conditional definitions by conditional definitions of ....
15721         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15722         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15723         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15724         (libpthread-sysdep_routines): Add libc-do-syscall.
15725         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15727         to __NR_futex not 240.
15729 2015-03-25  Alan Modra  <amodra@gmail.com>
15731         * NEWS: Advertise TLS optimization.
15732         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15733         (DT_PPC_NUM): Increment.
15734         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15735         (CHECK_STATIC_TLS): Use here.
15736         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15737         TLS descriptors.
15738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15739         * sysdeps/powerpc/dl-tls.c: New file.
15740         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15741         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15742         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15743         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15748 2015-03-25  Alan Modra  <amodra@gmail.com>
15750         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15751         for overlapping .opd entries" to "support...".
15752         * sysdeps/powerpc/powerpc64/configure: Regenerate
15754 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15756         * math/auto-libm-test-in: Add more tests of acos.
15757         * math/auto-libm-test-out: Regenerated.
15758         * sysdeps/i386/fpu/libm-test-ulps: Update.
15759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15761         * math/auto-libm-test-in: Add more tests of expm1.
15762         * math/auto-libm-test-out: Regenerated.
15763         * sysdeps/i386/fpu/libm-test-ulps: Update.
15764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15766 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15768         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15769         * math/auto-libm-test-out: Regenerated.
15770         * sysdeps/i386/fpu/libm-test-ulps: Update.
15771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15773         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15776         * math/auto-libm-test-in: Add more tests of log2.
15777         * math/auto-libm-test-out: Regenerated.
15778         * sysdeps/i386/fpu/libm-test-ulps: Update.
15779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15781 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15783         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15784         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15785         _IO_IS_APPENDING bit in READ_WRITE instead.
15787 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15789         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15790         (__determine_cpumask_size): Replace extend_alloca with a
15791         variable-length array.  Do not treat res == 0 as an error.
15793 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15795         [BZ #18100]
15796         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15797         and integer overflow.
15798         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15799         (main): Add integer overflow tests.
15800         * manual/pattern.texi (Calling Wordexp): Document additional use
15801         for WRDE_SYNTAX.
15803 2015-03-23  Alan Modra  <amodra@gmail.com>
15805         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15806         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15807         and false branch of conditional.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15809         Likewise.
15811 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15813         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15814         libc-modules.h
15815         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15816         unused declaration of _hurd_intr_rpc_msg_in_trap.
15817         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15818         defined instead of whether it is non-zero.
15819         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15820         input constraint instead of both input and output constraint.  Use ecx
15821         clobber instead of %ecx.
15822         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15823         mutex_unlock): Use a statement expression instead of an expression list.
15824         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15825         type to vm_size_t instead of vm_address_t.
15826         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15827         defined instead of whether it is non-zero.
15828         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15829         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15830         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15831         comparisons with mapaddr.
15832         * nscd/nscd-client.h: Include <time.h>.
15833         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15834         9th parameter to __vm_region instead of int.
15835         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15836         * scripts/check-local-headers.sh (exclude): Add device/,
15837         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15838         cthreads.h.
15840 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15842         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15843         to account for alignment padding.
15844         * sysdeps/arm/memmove.S: Likewise.
15846 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15848         * sysdeps/unix/sysv/linux/generic/README: New file.
15850 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15852         [BZ #18138]
15853         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15854         (futex_abstimed_wait)
15855         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15856         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15857         of lll_futex_timed_wait.
15859 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15861         [BZ #17542]
15862         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15864 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15866         [BZ #17090]
15867         [BZ #17620]
15868         [BZ #17621]
15869         [BZ #17628]
15870         * NEWS: Update.
15871         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15872         entries with Static TLS too.  Skip entries past the end of the
15873         allocated DTV, from Alan Modra.
15874         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15875         Static TLS DTV entry set up from...
15876         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15877         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15878         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15879         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15880         for Static TLS.
15881         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15882         that the slot we find is associated with the given map before
15883         using its generation count.
15884         * nptl_db/db_info.c: Include ldsodefs.h.
15885         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15886         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15887         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15888         (link_map::l_tls_offset): New struct field.
15889         (dtv_t::counter): Likewise.
15890         (rtld_global): New struct.
15891         (_rtld_global): New rtld variable.
15892         (dl_tls_dtv_slotinfo_list): New rtld global field.
15893         (dtv_slotinfo_list): New struct.
15894         (dtv_slotinfo): Likewise.
15895         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15896         (td_lookup): Rename to...
15897         (td_mod_lookup): ... this.  Use new mod parameter instead of
15898         LIBPTHREAD_SO.
15899         * nptl_db/td_thr_tlsbase.c: Include link.h.
15900         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15901         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15902         addresses even if the DTV is out of date or missing them.
15903         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15904         index zero-length arrays.
15905         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15906         (td_lookup): Make it a macro implemented in terms of...
15907         (td_mod_lookup): ... this declaration.
15908         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15909         (DB_MAIN_VARIABLE): Likewise.
15911 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15913         [BZ #18134]
15914         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15916 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15918         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15920 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15922         [BZ #18128]
15923         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15924         (atomic_add, atomic_increment_and_test)
15925         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15927 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15929         * stdlib/setenv.c (__add_to_environ):
15930         Dump core quickly if setenv (..., NULL, ...) is called.
15932 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15934         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15935         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15936         all the necessary asm magic in one place.
15937         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15938         using those.
15940 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15942         [BZ #14906]
15943         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15944         traced file mtime. Use consistent log message.
15945         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15946         (register_traced_file): Call install_watches. Always set mtime.
15947         (invalidate_cache): Iterate over all trace files. Call install_watches.
15948         (inotify_check_files): Don't inline. Handle watching parent
15949         directories and configuration file movement in and out.
15950         (handle_inotify_events): New function.
15951         (main_loop_poll): Call handle_inotify_events.
15952         (main_loop_epoll): Likewise.
15953         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15954         (struct traced_file): Use array of inotify fds. Add parent directory,
15955         and basename.
15956         (struct database_dyn): Remove unused file_mtime.
15957         (init_traced_file): New inline function.
15958         (define_traced_file): New macro.
15959         * nss/nss_db/db-init.c: Use define_traced_file.
15960         (_nss_db_init): Use init_traced_file.
15961         * nss/nss_files/files-init.c: Use define_traced_file.
15962         (_nss_files_init): Use init_traced_file.
15964 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15966         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15967         [_LIBC]: Do not include <stdlib.h>.
15968         [!_LIBC] (abort): Remove declaration.
15969         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15970         _FP_STATIC_ASSERT instead of conditionally calling abort.
15971         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15972         (_FP_EXTEND_CNAN): Likewise.
15973         (FP_TRUNC): Likewise.
15974         (__FP_CLZ): Likewise.
15975         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15977 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15979         * manual/string.texi (XPG basename): Fix prototype.
15981 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15983         [BZ #18080]
15984         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15985         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15986         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15987         (__setcontext): Likewise.
15988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15989         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15990         Call rt_sigprocmask syscall one time to set new signal mask
15991         and retrieve the current signal mask instead of two calls.
15992         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15993         (__swapcontext): Likewise.
15994         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15995         * stdlib/tst-setcontext2.c: New file.
15997 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15999         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16001 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16003         [BZ #18093]
16004         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16005         the wrong size.
16007 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16009         [BZ #18043]
16010         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16012 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16014         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16015         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16016         Remove define.
16017         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16018         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16019         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16020         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16021         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16022         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16023         define.
16024         * nptl_db/td_symbol_list.c (td_lookup): Remove
16025         HAVE_ASM_GLOBAL_DOT_NAME code.
16026         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16027         HAVE_ASM_GLOBAL_DOT_NAME check.
16028         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16029         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16030         (DOT_LABEL): Remove define.
16031         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16032         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16033         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16034         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16035         (__TLS_GET_ADDR): Likewise.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16037         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16039 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16041         [BZ #18111]
16042         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16043         (_FPU_SETCW): Initialize cw from fpsr before storing.
16044         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16045         (fesetexceptflag): Rewrite using fpu_control.h.
16046         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16048 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16050         [BZ #18110]
16051         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16052         asms.
16053         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16055 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16057         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16058         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16059         abort.
16060         (_FP_FMA): Likewise.
16061         (_FP_DIV): Likewise.
16063 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16065         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16066         with 0 in that case.
16067         * Makefile (summarize-tests): New canned sequence, factored out of
16068         commands for targets tests and xtests.  Display summary lines that
16069         don't start with PASS: or XFAIL: rather than ones that do start with
16070         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16071         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16072         do start with ERROR: or FAIL:.
16073         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16074         (except for [$(build-shared) = yes]).
16075         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16076         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16077         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16078         * nptl/Makefile: Revert 2015-03-04 changes.
16079         [$(CXX) empty] (tests-unsupported): New variable.
16080         * debug/Makefile: Likewise.
16082         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16083         gnulib file.  Replace __attribute with __attribute__ throughout.
16085 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16087         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16089 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16091         [BZ #18104]
16092         * math/auto-libm-test-in: Add another test of pow.
16093         * math/auto-libm-test-out: Regenerated.
16095 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16097         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16098         $(config-cflags-nofma).
16100 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16102         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16103         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16104         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16105         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16106         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16107         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16108         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16109         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16110         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16111         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16112         Add comment on closing #endif.
16114 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16116         * posix/wordexp.c (CHAR_IN_SET): New macro.
16117         (parse_param): Use it.
16119 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16121         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16123 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16125         [BZ #18043]
16126         * posix/wordexp.c (parse_param): Fix buffer overflow.
16127         * posix/wordexp-test.c (test_case): Add test case.
16129 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16131         [BZ #18042]
16132         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16133         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16135 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16137         [BZ #18043]
16138         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16139         (do_bz18043): Delete.
16140         (at_page_end): New.
16141         (testit): Refactor to have words at the edge of unreadable page.
16143 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16145         [BZ #16734]
16146         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16147         Cleanup read-only streams as well.
16148         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16150 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16152         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16153         <bits/libc-lockP.h>
16155 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16157         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16158         on [__KERNEL__].
16159         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16160         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16161         * soft-fp/op-common.h (_FP_DECL): Likewise.
16163 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16165         * elf/ifuncdep2.c (global): Replace
16166         __attribute__((visibility("protected"))) with
16167         asm (".protected global").
16168         * elf/ifuncmod1.c (global): Likewise.
16169         * elf/ifuncmod5.c (global): Likewise.
16171 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16173         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16174         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16176 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16178         * manual/install.texi (Configuring and compiling):
16179         Document test-wrapper-env-only.
16180         * INSTALL: Regenerated.
16182 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16184         [BZ #18043]
16185         * posix/wordexp.c (parse_param): Fix buffer overflow.
16186         * posix/wordexp-test.c (do_bz18043): Add test case.
16188 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16190         * time/tst-strptime2.c (do_test): Ensure failing tests are
16191         reported correctly.
16192         * time/tst-strptime3.c (do_test): Likewise.
16194 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16196         Fix aio_error thread-safety.
16197         * sysdeps/pthread/aio_error.c: New file
16198         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16199         synchronization.
16201 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16203         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16204         (group_number, vfprintf): Use it.
16205         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16206         (JUMP, REF): Use it.
16207         (WORK_BUFFER_SIZE): New enum constant.
16208         (process_arg, vfprintf): Use it.
16210 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16212         * manual/errno.texi (Error Messages): Complete example function
16213         by adding missing #define.
16214         (program_invocation_name): Add statement indicating GNU
16215         extension and reference which header file declares the variable.
16216         (program_invocation_short_name): Likewise.
16218 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16220         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16221         compatibility note.
16223 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16225         * Makeconfig (test-wrapper-env-only): New variable.
16226         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16227         then use that with $(test-wrapper-env-only) rather than using
16228         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16230 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16232         [BZ #18082]
16233         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16234         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16235         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16236         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16237         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16238         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16239         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16240         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16241         Likewise.
16242         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16243         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16244         Likewise.
16245         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16246         Likewise.
16247         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16248         Likewise.
16249         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16250         Likewise.
16251         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16252         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16253         Likewise.
16254         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16255         Likewise.
16256         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16257         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16259 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16261         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16262         (ETH_ALEN): New macro.
16263         (struct ether_addr): Use it for length of ether_addr_octet.
16265         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16266         (setdb): Don't call __nss_configure_lookup for "rpc".
16267         (do_test): Don't call test_rpc.
16268         (output_rpcent, test_rpc): Functions moved ...
16269         * sunrpc/test-rpcent.c: ... to this new file.
16270         * sunrpc/Makefile (tests): Add it.
16272         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16273         __xpg_sigpause.
16274         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16275         * nptl/tst-signal6.c: Likewise.
16276         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16277         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16279         * configure.ac (libc_cv_cxx_link_ok): New check.
16280         Reset CXX to empty if it fails to link.
16281         * configure: Regenerated.
16282         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16283         bug-atexit3-lib only if $(CXX) is nonempty.
16284         * nptl/Makefile (tests): Likewise for tst-cancel24.
16285         (tests, tests-static): Likewise for tst-cancel24-static.
16286         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16287         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16288         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16289         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16291 2015-03-04  Andreas Schwab  <schwab@suse.de>
16293         [BZ #17631]
16294         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16295         for non-GCC compilers.
16296         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16297         Likewise.
16299 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16301         [BZ #17776]
16302         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16303         integer before bitwise and assembly operations.
16304         (feclearexcept): Likewise.
16305         * math/test-fenvinline.c: New file.
16306         * math/Makefile: Add test-fenvinline test.
16308 2015-03-03  Alan Modra  <amodra@gmail.com>
16310         [BZ #16512]
16311         * scripts/localplt.awk: Strip off symbol version.
16312         * NEWS: Mention bug fix.
16314 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16316         * sysdeps/pthread/timer_routines.c
16317         (timer_free_list, thread_free_list, thread_active_list): Make static.
16319 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16321         [BZ #17779]
16322         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16323         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16324         Undefine.
16325         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16326         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16327         Likewise.
16328         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16329         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16330         Likewise.
16332 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16334         [BZ #18036]
16335         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16336         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16338 2015-03-02  Andreas Schwab  <schwab@suse.de>
16340         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16341         variable name.
16343 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16345         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16346         Return error status.
16348 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16350         [BZ #15969]
16351         * locale/findlocale.c (_nl_find_locale): Introduce const
16352         version of loc_name and drop unsafe type casts.
16354 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16356         * dlfcn/tststatic2.c (main): Converted to ...
16357         (do_test): ... this.
16358         (TEST_FUNCTION): New macro.
16359         Include test-skeleton.c.
16361 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16363         [BZ #17711]
16364         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16365         (tests-pie): Add vismain.
16366         (CFLAGS-vismain.c): New.
16367         * elf/vismain.c: Add comments for PIE requirement.
16369 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16371         [BZ #18046]
16372         [BZ #18047]
16373         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16374         0x1p-56L as threshold for just returning the argument.
16375         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16376         0x1p-32L as threshold for just returning the argument.
16377         * math/auto-libm-test-in: Add more tests of atanh.
16378         * math/auto-libm-test-out: Regenerated.
16379         * sysdeps/i386/fpu/libm-test-ulps: Update.
16380         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16382 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16384         * string/bcopy.c (bcopy): Call memmove for performance.
16386 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16388         * string/bzero.c (__bzero): Call memset for performance.
16390 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16392         [BZ #18068]
16393         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16394         to 00100000.
16396 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16398         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16400 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16402         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16403         (__kernel_standard): Use CSTR macro when setting exc.name.
16404         * sysdeps/ieee754/Makefile [$(subdir) = math]
16405         (CFLAGS-k_standard.c): Remove variable.
16407         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16408         setting p and q from "else if" to "else".
16409         (qzero): Likewise.
16410         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16411         (qone): Likewise.
16412         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16413         (qzerof): Likewise.
16414         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16415         (qonef): Likewise.
16416         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16417         (qzero): Likewise.
16418         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16419         (qone): Likewise.
16421         [BZ #18038]
16422         [BZ #18039]
16423         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16424         return pi/2 for arguments below 0x1p-113L.
16425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16426         return pi/2 for arguments below 0x1p-106L.
16427         * math/auto-libm-test-in: Add more tests of acos.
16428         * math/auto-libm-test-out: Regenerated.
16430         [BZ #16351]
16431         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16432         (MO): New macro.
16433         (__ieee754_asin): Force underflow exception for results with small
16434         absolute value.
16435         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16436         (MO): New macro.
16437         (__ieee754_asinf): Force underflow exception for results with
16438         small absolute value.
16439         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16440         (__ieee754_asin): Force underflow exception for results with small
16441         absolute value.
16442         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16443         (__ieee754_asinf): Force underflow exception for results with
16444         small absolute value.
16445         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16446         (__ieee754_asinl): Force underflow exception for results with
16447         small absolute value.
16448         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16449         (__ieee754_asinl): Force underflow exception for results with
16450         small absolute value.
16451         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16452         (__ieee754_asinl): Force underflow exception for results with
16453         small absolute value.
16454         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16455         Include <math.h>.
16456         * math/auto-libm-test-in: Do not mark underflow exceptions as
16457         possibly missing for bug 16351.
16458         * math/auto-libm-test-out: Regenerated.
16460         [BZ #18030]
16461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16462         of power of 2 down when low part has opposite sign.
16463         * math/libm-test.inc (logb_test_data): Add more tests.
16465 2015-02-26  Andreas Schwab  <schwab@suse.de>
16467         [BZ #18032]
16468         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16469         over collating symbol inside a bracket expression.  Minor cleanup.
16470         * posix/tst-fnmatch3.c (do_test): Add test case.
16472 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16474         [BZ #18029]
16475         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16476         Adjust exponent of power of 2 down when low part has opposite
16477         sign.
16478         * math/libm-test.inc (ilogb_test_data): Add more tests.
16480 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16482         [BZ #15969]
16483         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16484         the previous change.
16486         [BZ #15969]
16487         * locale/findlocale.c (_nl_find_locale): Retry archive search
16488         after alias expansion.
16490 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16492         * iconv/tst-iconv3.c (main): Converted to ...
16493         (do_test): ... this.
16494         (TEST_FUNCTION): New macro.
16495         Include test-skeleton.c.
16497         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16498         (convert): Make function static.
16499         (test_unalign): Likewise.  Add const to argument pointee types.
16500         (main): Replace with static function do_test.
16501         Print "Succeeded." only if RET is zero.
16502         (TEST_FUNCTION): New macro.
16503         Include test-skeleton.c.
16505         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16506         returns a null pointer.
16508 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16510         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16511         to __memcpy_ppc only for static builds.
16513 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16515         [BZ #18020]
16516         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16517         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16518         * math/auto-libm-test-in: Add more tests of asinh.
16519         * math/auto-libm-test-out: Regenerated.
16520         * sysdeps/i386/fpu/libm-test-ulps: Update.
16521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16525         [BZ #15850]
16526         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16527         and ip6_mtuinfo definitions here.
16528         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16529         in this define too.  Update comment.
16531 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16533         * elf/sprof.c (load_shobj): Tweak error message to match others.
16535 2015-02-24  Kevin Easton  <kevin@guarana.org>
16537         [BZ #16145] (partial fix)
16538         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16539         to reduce lock contention.
16541 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16543         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16544         (struct timex): Update time comment.
16545         (ADJ_SETOFFSET): Define.
16547 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16549         [BZ #18019]
16550         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16551         2**56 not 2**28 as threshold for log (2x) formula.
16552         * math/auto-libm-test-in: Add more tests of acosh.
16553         * math/auto-libm-test-out: Regenerated.
16554         * sysdeps/i386/fpu/libm-test-ulps: Update.
16555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16559         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16560         parenthesis around the buf assignment.
16561         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16563 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16565         [BZ #16783]
16566         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16567         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16568         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16569         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16570         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16571         * math/libm-test.inc (scalb_test_data): Add more tests.
16573 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16575         [BZ #17916]
16576         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16577         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16579 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16581         [BZ #17523]
16582         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16583         * io/bits/fcntl2.h (open): Use it.
16584         (openat): Likewise.
16585         * io/open.c (__libc_open): Likewise.
16586         * io/open64.c (__libc_open64): Likewise.
16587         * io/open64_2.c (__open64_2): Likewise.
16588         * io/open_2.c (__open_2): Likewise.
16589         * io/openat.c (__openat): Likewise.
16590         * io/openat64.c (__openat64): Likewise.
16591         * io/openat64_2.c (__openat64_2): Likewise.
16592         * io/openat_2.c (__openat_2): Likewise.
16593         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16594         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16595         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16596         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16597         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16598         (__open_nocancel): Likewise.
16599         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16600         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16601         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16603 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16605         [BZ #14841]
16606         * resolv/gethnamaddr.c (getanswer): Skip logging if
16607         RES_USE_DNSSEC is set.
16608         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16610 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16612         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16614 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16616         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16617         201304L, for Unicode 7.
16619 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16621         [BZ #17836]
16622         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16623         shared library.  Add gmon-start.os otherwise.
16624         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16625         $(objpfx)gmon-start.os if builing shared library.
16626         ($(objpfx)g$(static-start-installed-name)): Likewise.
16628 2015-02-23  Andreas Schwab  <schwab@suse.de>
16630         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16632 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16634         [BZ #17269]
16635         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16636         (enlarge_userbuf): Likewise.
16638 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16640         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16641         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16642         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16643         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16645 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16647         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16648         expression inside statement expression.
16650 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16652         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16653         <sysdeps/nptl/lowlevellock.h> and remove macros and
16654         functions that are now defined there.
16655         (SYS_futex): Remove.
16656         (lll_compare_and_swap): Remove.
16657         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16659 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16661         [BZ #17999]
16662         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16663         instead of scandirat.
16664         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16665         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16666         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16667         __scandirat.
16668         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16669         (__scandirat): Declare.  Use libc_hidden_proto.
16670         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16671         Remove variable.
16672         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16674 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16676         [BZ #15319]
16677         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16678         (MO): New macro.
16679         (__ieee754_atan2): For results with small absolute value, force
16680         underflow exception and remove excess range and precision from
16681         return value.
16682         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16683         (MO): New macro.
16684         (__ieee754_atan2f): For results with small absolute value, force
16685         underflow exception and remove excess range and precision from
16686         return value.
16687         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16688         (MO): New macro.
16689         (__atan): For results with small absolute value, force underflow
16690         exception and remove excess range and precision from return value.
16691         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16692         (MO): New macro.
16693         (__atanf): For results with small absolute value, force underflow
16694         exception and remove excess range and precision from return value.
16695         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16696         <math.h>.
16697         (__ieee754_atan2): Force underflow exception for results with
16698         small absolute value.
16699         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16700         <math_private.h>.
16701         (atan): Force underflow exception for results with small absolute
16702         value.
16703         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16704         (__atanf): Force underflow exception for results with small
16705         absolute value.
16706         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16707         <math.h>.
16708         (__atanl): Force underflow exception for results with small
16709         absolute value.
16710         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16711         (__atanl): Force underflow exception for results with small
16712         absolute value.
16713         * sysdeps/x86/fpu/bits/mathinline.h
16714         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16715         (__ieee754_atan2): Only define inline for long double.
16716         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16717         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16718         * math/auto-libm-test-in: Do not mark underflow exceptions as
16719         possibly missing for bug 15319.  Add more tests of atan2.
16720         * math/auto-libm-test-out: Regenerated.
16721         * math/libm-test.inc (casin_test_data): Do not mark underflow
16722         exceptions as possibly missing for bug 15319.
16723         (casinh_test_data): Likewise.
16724         * sysdeps/i386/fpu/libm-test-ulps: Update.
16726 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16728         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16729         * sysdeps/mips/bits/endian.h: Fix comments.
16731 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16733         [BZ #17996]
16734         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16735         (hdestroy_r): Likewise.
16736         (hsearch_r): Likewise.
16737         (__hcreate_r): Declare and use libc_hidden_proto.
16738         (__hdestroy_r): Likewise.
16739         (__hsearch_r): Likewise.
16740         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16741         (hcreate): Call __hcreate_r instead of hcreate_r.
16742         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16743         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16744         as weak alias of __hcreate_r.
16745         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16746         __hdestroy_r.
16747         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16748         __hsearch_r.
16749         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16750         Remove variable.
16751         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16752         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16753         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16754         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16756 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16758         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16759         arena_lock into a single arena_get.
16761 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16763         * dl-reloc.c: Inlucde libc-internal.h.
16764         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16765         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16766         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16767         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16768         (grow_heap): Likewise.
16769         * malloc/malloc.c: Include libc-internal.h.
16770         (do_check_malloc): Call powerof2.
16771         (sysmalloc): Use pagesize. Call ALIGN_UP.
16772         (systrim): Use pagesize.
16773         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16774         (__libc_valloc): Use pagesize.
16775         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16777 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16779         [BZ #17991]
16780         * include/sys/resource.h (__getrlimit64): Declare.  Use
16781         libc_hidden_proto.
16782         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16783         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16784         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16785         getrlimit64.
16786         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16787         __getrlimit64.
16788         [!getrlimit64] (getrlimit64): Define as weak alias of
16789         __getrlimit64.  Use libc_hidden_weak.
16790         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16791         using __getrlimit64 not __new_getrlimit64.
16792         (__GI_getrlimit64): Likewise.
16793         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16794         Likewise.
16795         (__GI_getrlimit64): Likewise.
16796         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16798         (getrlimit): Add __getrlimit64 alias.
16799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16800         Likewise.
16801         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16802         Remove variable.
16803         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16804         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16806 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16808         * libio/fileops.c: Add missing sys/mman.h
16809         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16811 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16813         * manual/math.texi (Errors in Math Functions): Clarify goals
16814         regarding inexact and underflow exceptions.
16816 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16818         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16819         * sysdeps/mips/memset.S: Ditto.
16821 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16823         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16825 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16827         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16828         (__v1longjmp): Remove versioned symbol.
16829         (__v1siglongjmp): Remove alias and versioned symbol.
16830         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16831         (__v2siglongjmp): Likewise.
16833 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16835         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16837 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16839         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16841 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16843         [BZ #17987]
16844         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16845         zero result does not depend on the sign resulting from
16846         subtraction.
16847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16848         Likewise.
16849         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16850         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16851         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16852         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16853         * math/libm-test.inc (remquo_test_data): Add more tests.
16855 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16857         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16858         Problem reported by J William Piggott.
16860 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16862         [BZ #17978]
16863         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16864         products 4 * y and 2 * y where those would overflow.
16865         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16866         Likewise.
16867         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16868         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16869         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16870         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16871         * math/libm-test.inc (remquo_test_data): Add more tests.
16873         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16875         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16876         [defined _COMPILING_NEWLIB].
16877         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16878         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16880         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16881         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16883 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16885         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16886         acquired.
16888 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16890         [BZ #17792]
16891         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16892         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16893         HOST_STACK_END_ADDR): Likewise.
16895 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16897         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16898         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16899         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16901 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16903         * sysdeps/generic/c++-types.data: New file.
16904         * sysdeps/generic/ld.abilist: New file.
16905         * sysdeps/generic/libBrokenLocale.abilist: New file.
16906         * sysdeps/generic/libanl.abilist: New file.
16907         * sysdeps/generic/libc.abilist: New file.
16908         * sysdeps/generic/libcrypt.abilist: New file.
16909         * sysdeps/generic/libdl.abilist: New file.
16910         * sysdeps/generic/libm.abilist: New file.
16911         * sysdeps/generic/libpthread.abilist: New file.
16912         * sysdeps/generic/libresolv.abilist: New file.
16913         * sysdeps/generic/librt.abilist: New file.
16915 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16917         [BZ #17569]
16918         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16919         Compute absolute value of x as modified by fmod, not original
16920         value of x.
16921         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16922         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16923         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16924         RUN_TEST_ffI_f1_mod8.
16925         (remquo_test_data): Add more tests.
16927 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16929         * sysdeps/init_array/pt-crti.S: New file.
16931 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16933         [BZ #17967]
16934         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16935         __builtin_fmaf instead of relying on contraction of a * b + c.
16937 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16939         [BZ #17969]
16940         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16941         node.
16943 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16945         [BZ #17964]
16946         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16947         __builtin_fma instead of relying on contraction of a * b + c.
16949 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16951         * Makeconfig (ASFLAGS): Add -Werror=undef.
16952         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16953         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16954         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16956         * Makeconfig (after-link): New variable.
16957         (+link-pie, +link-pie-tests): Use it.
16958         (+link-static, +link-static-tests): Likewise.
16959         (+link, +link-tests): Likewise.
16960         * Makerules (build-module, build-module-asneeded): Likewise.
16961         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16962         Likewise.
16963         * elf/Makefile ($(objpfx)ld.so): Likewise.
16965 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16967         [BZ #17965]
16968         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16969         both struct timeval and struct timespec.
16971 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16973         [BZ #16560]
16974         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16975         and redefine.
16976         (__ieee754_exp2l): Do not multiply small fractional parts by
16977         M_LN2l.
16978         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16979         small argument.
16980         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16981         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16982         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16983         * math/auto-libm-test-in: Add more tests of exp2.
16984         * math/auto-libm-test-out: Regenerated.
16986 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16988         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16989         unaligned path.
16991 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16993         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16994         little endian.
16996 2015-02-12  Andreas Schwab  <schwab@suse.de>
16998         [BZ #15790]
16999         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17000         Filter out elision flags from value returned in kind.
17001         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17002         * nptl/tst-pthread-mutexattr.c: New file.
17004 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17006         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17007         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17008         into gnu-gnu, and update comment to refer to abi-tags.
17010 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17012         [BZ #15467]
17013         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17014         (__sincos): Set errno to EDOM for infinite argument.
17015         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17016         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17017         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17018         (__sincosl): Set errno to EDOM for infinite argument.
17019         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17020         (__sincosl): Set errno to EDOM for infinite argument.
17021         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17022         (__sincosl): Set errno to EDOM for infinite argument.
17023         * math/libm-test.inc (sincos_test_data): Test errno setting.
17025 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17027         * string/strxfrm_l.c: Remove #define STRCMP.
17028         * string/strcoll_l.c: Remove #define STRLEN.
17029         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17030         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17032 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17034         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17035         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17036         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17037         * sysdeps/mips/mips64/Makefile: ... here.
17038         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17039         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17040         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17041         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17042         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17043         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17044         * sysdeps/mips/mips64/n64/Implies: Likewise.
17046 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17048         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17049         <sys/time.h>, <string.h>, and <errno.h>.
17050         (dest_offset, dest_address, value, zero): Remove unused variables.
17051         (ldouble): Remove typedef.
17052         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17053         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17054         1).  Fix code style.
17055         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17056         (check): Function removed.
17057         (CHECK): New macro.
17058         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17059         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17060         Don't call set_sigaction_FP and remove_sigaction_FP here.
17061         (ldouble_test): Just use 'long double' as macro argument, no need for
17062         the 'ldouble' typedef.
17063         (do_test): Set up SIGFPE handler at start, using plain signal rather
17064         than sigaction.  Fix code style.
17066 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17068         [BZ #17949]
17069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17070         jump label.
17072 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17074         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17075         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17077         * sysdeps/powerpc/configure.ac: Remove file.
17078         * sysdeps/powerpc/configure: Likewise.
17080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17081         [sysdep_routines]: Remove wordcopy-power6 object.
17082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17083         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17085         (__memmove_ppc32): Likewise.
17086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17087         file.
17088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17089         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17090         Remove preprocessor.
17092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17093         [sysdep_routines]: Remove wide chars objects.
17094         [wcsmbs]: New rule for wide char objects.
17096         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17097         Remove wordcopy-power6 obejct.
17098         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17099         Use local call for wordcopy and memcpy symbols.
17100         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17101         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17102         implementation for loader.
17103         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17105         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17106         Remove wordcopy-power7 object.
17107         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17108         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17109         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17110         (_wordcopy_fwd_dest_aligned): Likewise.
17111         (_wordcopy_bwd_aligned): Likewise.
17112         (_wordcopy_bwd_dest_aligned): Likewise.
17114         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17115         Rewrite to call __memmove_ppc instead of include default
17116         implementation.
17118         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17119         Remove wide chars objects.
17120         [wcsmbs]: New rule for wide char objects.
17122 2015-02-09  Andreas Schwab  <schwab@suse.de>
17124         [BZ #17912]
17125         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17126         in terms of __O_DIRECTORY.
17128 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17130         * time/getdate.c: Include <stdbool.h>.
17131         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17132         call PTR_MANGLE.
17133         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17134         PTR_DEMANGLE.
17136 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17138         Add ersatz _Static_assert on older C hosts
17139         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17140         pre-C11 C platform that is not known to support _Static_assert.
17142 2015-02-07  Richard Braun  <rbraun@sceen.net>
17144         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17145         sigstate.
17146         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17148 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17150         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17151         priority against unexistent AIO_PRIO_DELTA_MAX.
17152         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17153         instead of int.
17154         * misc/fchflags.c (fchflags): Likewise.
17155         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17156         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17157         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17158         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17159         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17160         Declare macros.
17161         [__USE_MISC] (chflags, fchflags): Declare functions.
17162         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17163         EINVAL when nfds is greater than FD_SETSIZE.
17164         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17165         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17166         45.
17167         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17168         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17169         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17170         MACH_RCV_TIMED_OUT.
17171         * hurd/hurd/signal.h (_hurd_self_sigstate,
17172         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17173         Explicit casts from void *.
17174         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17175         * abi-tags: Rename gnu-gnu os into gnu.
17177         [BZ #4719]
17178         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17179         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17180         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17181         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17182         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17183         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17185         [BZ #17944]
17186         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17187         duplicates ADDR->sun_path with sockaddr LEN limitation.
17188         * sysdeps/mach/hurd/connect.c: Include <string.h>
17189         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17190         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17191         * sysdeps/mach/hurd/sendto.c: Likewise.
17192         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17193         implementing it by hand.
17195 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17197         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17198         Use sfi_breg on ldr.
17199         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17200         Likewise.
17202         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17203         it's defined.
17204         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17205         Test SIGSETXID only if it's defined.
17207         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17209         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17210         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17212         * nptl/tst-align2.c: Moved ...
17213         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17214         * nptl/Makefile (tests): Remove tst-align2.
17215         * sysdeps/unix/sysv/linux/Makefile
17216         [$(subdir) = nptl] (tests): Add tst-align-clone.
17217         * nptl/tst-getpid1.c: Moved ...
17218         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17219         * nptl/tst-getpid2.c: Moved ...
17220         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17221         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17222         * sysdeps/unix/sysv/linux/Makefile
17223         [$(subdir) = nptl] (tests): ... here.
17224         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17225         * sysdeps/unix/sysv/linux/Makefile
17226         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17228         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17229         Drop trailing \n from perror argument.  Use return rather than exit.
17231         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17232         on [SA_SIGINFO].
17233         * nptl/tst-cancel21.c (do_test): Likewise.
17234         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17235         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17236         [!SA_SIGINFO]: Make it a stub test.
17238         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17239         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17241         * posix/tst-getlogin.c: Move to ...
17242         * login/tst-getlogin.c: ... here.
17243         * posix/Makefile (tests): Move tst-getlogin to ...
17244         * login/Makefile (tests): ... here.
17246         * libio/tst-atime.c (do_test): Move local variables SV and E
17247         inside [ST_NOATIME] conditional.
17249         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17251         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17253         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17254         (wait_code): New function replaces macro.
17255         Call nanosleep rather than syscall.
17257         * nptl/pt-system.c: Rewritten.  Put everything under
17258         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17259         Use IFUNC to redirect when possible.
17261         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17262         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17263         Use IFUNC to redirect when possible.
17265         * nptl/pt-fork.c: Rewritten.  Put everything under
17266         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17267         Use IFUNC to redirect when possible.
17268         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17271         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17272         unconditionally nowadays.  This included the only reference to
17273         __vdso_clock_gettime that appears outside libc proper.
17274         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17275         Remove version set (containing only __vdso_clock_gettime).
17276         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17277         Add attribute_hidden.
17278         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17279         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17280         libc_hidden_data_def.
17281         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17282         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17284         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17285         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17286         setrpcent, and getrpcport to ...
17287         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17288         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17289         getrpcbynumber_r, and getrpcent_r to ...
17290         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17291         * inet/getrpcbyname.c: Moved ...
17292         * sunrpc/getrpcbyname.c: ... here.
17293         * inet/getrpcbyname_r.c: Moved ...
17294         * sunrpc/getrpcbyname_r.c: ... here.
17295         * inet/getrpcbynumber.c: Moved ...
17296         * sunrpc/getrpcbynumber.c: ... here.
17297         * inet/getrpcbynumber_r.c: Moved ...
17298         * sunrpc/getrpcbynumber_r.c: ... here.
17299         * inet/getrpcent.c: Moved ...
17300         * sunrpc/getrpcent.c: ... here.
17301         * inet/getrpcent_r.c: Moved ...
17302         * sunrpc/getrpcent_r.c: ... here.
17303         * inet/Makefile (routines): Move those to ...
17304         * sunrpc/Makefile (routines): ... here.
17305         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17306         the $(subdirs) list.
17307         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17308         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17309         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17310         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17312         * elf/Makefile (routines): Include $(all-dl-routines), not just
17313         $(dl-routines).
17314         (rtld-routines): Likewise.  Use = rather than :=.
17315         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17316         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17317         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17318         * sysdeps/arm/Makefile: Likewise.
17319         * sysdeps/i386/Makefile: Likewise.
17320         * sysdeps/x86_64/Makefile: Likewise.
17321         * sysdeps/hppa/Makefile [$(subdir) = elf]
17322         (sysdep_routines, sysdep-rtld-routines): Don't add
17323         $(sysdep-dl-routines) to these.
17324         * sysdeps/ia64/Makefile: Likewise.
17325         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17326         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17327         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17328         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17329         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17330         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17331         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17332         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17333         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17334         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17335         these; sysdep-dl-routines alone is enough.
17337 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17339         [BZ #17932]
17340         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17341         where multiplication results in zero and third argument is finite
17342         and nonzero.
17343         * math/auto-libm-test-in: Add more tests of fma.
17344         * math/auto-libm-test-out: Regenerated.
17346         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17347         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17348         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17349         (_FP_CMP_EQ): Likewise.
17350         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17352         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17353         extra argument CHECK_NAN.  Redefine as wrapper around
17354         _FP_EXTEND_CNAN.
17356 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17358         * version.h (RELEASE): Set to "stable".
17359         (VERSION): Set to "2.21"
17360         * include/features.h (__GLIBC_MINOR__): Set to 21.
17362         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17364 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17365             Paul Eggert  <eggert@cs.ucla.edu>
17367         [BZ #16618]
17368         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17369         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17370         size in bytes. Store needed elements in wpmax. Use needed size
17371         in bytes for extend_alloca.
17373 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17375         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17376         binutls 2.25, and texinfo 5.2.
17377         * INSTALL: Regenerate.
17378         * sysdeps/nios2/configure: Regenerate.
17379         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17380         * manual/contrib.texi: Update.
17381         * po/be.po: Update.
17382         * po/bg.po: Update.
17383         * po/ca.po: Update.
17384         * po/cs.po: Update.
17385         * po/da.po: Update.
17386         * po/de.po: Update.
17387         * po/el.po: Update.
17388         * po/eo.po: Update.
17389         * po/es.po: Update.
17390         * po/fi.po: Update.
17391         * po/fr.po: Update.
17392         * po/gl.po: Update.
17393         * po/hr.po: Update.
17394         * po/hu.po: Update.
17395         * po/ia.po: Update.
17396         * po/id.po: Update.
17397         * po/it.po: Update.
17398         * po/ja.po: Update.
17399         * po/ko.po: Update.
17400         * po/lt.po: Update.
17401         * po/nb.po: Update.
17402         * po/nl.po: Update.
17403         * po/pl.po: Update.
17404         * po/pt_BR.po: Update.
17405         * po/ru.po: Update.
17406         * po/rw.po: Update.
17407         * po/sk.po: Update.
17408         * po/sl.po: Update.
17409         * po/sv.po: Update.
17410         * po/tr.po: Update.
17411         * po/uk.po: Update.
17412         * po/vi.po: Update.
17413         * po/zh_CN.po: Update.
17414         * po/zh_TW.po: Update.
17416         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17417         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17418         * sysdeps/hppa/dl-irel.h: Remove #warning.
17419         * sysdeps/hppa/entry.h: Provide prototype for
17420         __canonicalize_funcptr_for_compare and cast argument.
17421         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17422         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17423         * sysdeps/hppa/sotruss-lib.c: New file.
17424         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17425         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17426         (atomic_compare_and_exchange_bool_acq): Likewise.
17427         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17428         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17430         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17431         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17432         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17434 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17436         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17437         called function in non-PIC case.
17439 2015-01-31  David S. Miller  <davem@davemloft.net>
17441         * sysdeps/sparc/sparc32/bits/atomic.h
17442         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17443         unlock not after it.
17444         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17445         volatile register usage warnings from the compiler.
17447         * sysdeps/sparc/nptl/sem_init.c: Delete.
17448         * sysdeps/sparc/nptl/sem_post.c: Delete.
17449         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17450         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17451         * sysdeps/sparc/sparc32/sem_init.c: New file.
17452         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17453         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17454         padding explicitly initialized.
17455         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17456         padding for in-semaphore spinlock.
17457         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17458         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17459         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17460         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17461         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17462         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17463         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17464         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17465         version.
17466         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17467         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17469 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17471         [BZ #17801]
17472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17473         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17474         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17475         New.
17476         (index_AVX_Fast_Unaligned_Load): Likewise.
17477         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17479         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17480         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17481         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17482         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17483         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17484         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17485         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17487 2015-01-29  Andreas Schwab  <schwab@suse.de>
17489         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17491 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17493         [BZ #17892]
17494         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17496 2015-01-28  Martin Sebor  <msebor@redhat.com>
17498         * math/README.libm-test: Clarify. Add "How to read the test output."
17500 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17502         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17503         Define to 0.
17505 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17507         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17508         (__HAVE_64B_ATOMICS): Define to 0.
17510 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17512         [BZ #17885]
17513         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17514         value to set as new flag.
17516         [BZ #16576]
17517         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17518         and use _ARCH_PPCSQ instead.
17519         (__ieee754_sqrt): Likewise.
17520         (__ieee754_sqrtf): Likewise.
17521         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17522         _ARCH_PPCSQ is defined.
17523         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17524         fsqrt instruction.
17525         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17526         _ARCH_PPCSQ is defined.
17527         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17528         fsqrts instruction.
17529         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17531 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17533         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17534         bug (GCC BZ #64739).
17536 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17538         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17539         Mark _retval as used.
17540         (lll_futex_wake_unlock): Likewise.
17541         (lll_futex_timed_wait_requeue_pi): Likewise.
17543         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17544         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17545         register variables.
17547         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17548         libm_hidden_def.
17550         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17551         (__bswap_64): Mark as __always_inline.
17553 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17555         [BZ #15378]
17556         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17557         when none of the search directories exist.
17559 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17561         [BZ #17869]
17562         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17563         power8 in .machine directive.
17565         [BZ #17868]
17566         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17567         set dependency from opd value.
17569 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17572         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17573         architecture.
17575 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17577         [BZ #17870]
17578         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17579         with uint64_t.
17580         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17581         (uint64_t) 1.
17582         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17583         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17584         Replace 1UL with (uint64_t) 1.
17585         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17586         int with uint64_t.
17588 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17590         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17591         (if_freenameindex): Likewise.
17593         * resource/getrlimit64.c: Add missing libc_hidden_def.
17595 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17597         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17598         __label__.
17599         (_FP_FMA): Likewise.
17600         (_FP_TO_INT_ROUND): Likewise.
17601         (_FP_FROM_INT): Likewise.
17603 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17605         [BZ #16418]
17606         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17607         Make code racy and cancel safe.
17609 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17611         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17612         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17613         attribution.
17615         * pwd/tst-getpw.c: Rewrite.
17617         [BZ #17702]
17618         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17619         (modules-names): Add moddummy1 and moddummy2.
17620         ($(objpfx)tst-rec-dlopen): Define.
17621         * dlfcn/moddummy1.c: New file.
17622         * dlfcn/moddummy2.c: New file.
17623         * dlfcn/tst-rec-dlopen.c: New file.
17624         * elf/dl-cache.c (_dl_load_cache_lookup):
17625         Return char*. Copy result with alloca/strcpy/strdup.
17626         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17627         returns char*. Free cached. If not saving realname
17628         free cached.
17629         * elf/dl-open.c (dl_open_worker): Do not assert that
17630         _r_debug->r_state is RT_CONSISTENT.
17631         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17632         returns char*.
17634 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17635             Carlos O'Donell  <carlos@redhat.com>
17637         [BZ #12674]
17638         * nptl/sem_waitcommon.c: New file.
17639         * nptl/sem_wait.c: Include sem_waitcommon.c.
17640         (__sem_wait_cleanup, do_futex_wait): Remove.
17641         (__new_sem_wait): Adapt.
17642         (__new_sem_trywait): New function.
17643         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17644         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17645         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17646         (sem_timedwait): Adapt.
17647         * nptl/sem_post.c (__new_sem_post): Adapt.
17648         (futex_wake): New function.
17649         (__old_sem_post): Add release MO fence.
17650         * nptl/sem_open.c (sem_open): Adapt.
17651         * nptl/sem_init.c (__new_sem_init): Adapt.
17652         (futex_private_if_supported): New function.
17653         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17654         (__old_sem_getvalue): Add using previous code.
17655         * sysdeps/nptl/internaltypes.h: Adapt.
17656         * nptl/tst-sem13.c (do_test): Adapt.
17657         * nptl/tst-sem11.c (main): Adapt.
17658         * nptl/sem_trywait.c: Remove.
17659         * nptl/DESIGN-sem.txt: Remove.
17660         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17661         (gen-as-const-headers): Remove structsem.sym.
17662         * nptl/structsem.sym: Remove.
17663         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17664         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17665         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17666         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17667         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17668         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17669         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17670         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17671         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17672         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17673         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17674         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17675         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17676         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17677         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17678         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17679         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17680         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17681         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17682         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17683         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17684         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17686 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17688         * INSTALL: Regenerated.
17690         * po/libc.pot: Regenerated.
17692 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17693             Sandra Loosemore  <sandra@codesourcery.com>
17694             Andrew Jenner  <andrew@codesourcery.com>
17695             Joseph Myers  <joseph@codesourcery.com>
17696             Nathan Sidwell  <nathan@codesourcery.com>
17698         * NEWS: Mention new Nios II port.
17699         * sysdeps/nios2/Implies: New file.
17700         * sysdeps/nios2/Makefile: New file.
17701         * sysdeps/nios2/Subdirs: New file.
17702         * sysdeps/nios2/Versions: New file.
17703         * sysdeps/nios2/__longjmp.S: New file.
17704         * sysdeps/nios2/abort-instr.h: New file.
17705         * sysdeps/nios2/backtrace.c: New file.
17706         * sysdeps/nios2/bits/endian.h: New file.
17707         * sysdeps/nios2/bits/fenv.h: New file.
17708         * sysdeps/nios2/bits/link.h: New file.
17709         * sysdeps/nios2/bits/setjmp.h: New file.
17710         * sysdeps/nios2/bsd-_setjmp.S: New file.
17711         * sysdeps/nios2/bsd-setjmp.S: New file.
17712         * sysdeps/nios2/configure: New generated file.
17713         * sysdeps/nios2/configure.ac: New file.
17714         * sysdeps/nios2/crti.S: New file.
17715         * sysdeps/nios2/crtn.S: New file.
17716         * sysdeps/nios2/dl-init.c: New file.
17717         * sysdeps/nios2/dl-machine.h: New file.
17718         * sysdeps/nios2/dl-sysdep.h: New file.
17719         * sysdeps/nios2/dl-tls.h: New file.
17720         * sysdeps/nios2/dl-trampoline.S: New file.
17721         * sysdeps/nios2/gccframe.h: New file.
17722         * sysdeps/nios2/gmp-mparam.h: New file.
17723         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17724         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17725         * sysdeps/nios2/ldsodefs.h: New file.
17726         * sysdeps/nios2/libc-tls.c: New file.
17727         * sysdeps/nios2/libm-test-ulps: New file.
17728         * sysdeps/nios2/machine-gmon.h: New file.
17729         * sysdeps/nios2/math-tests.h: New file.
17730         * sysdeps/nios2/math_private.h: New file.
17731         * sysdeps/nios2/memusage.h: New file.
17732         * sysdeps/nios2/nptl/Makefile: New file.
17733         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17734         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17735         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17736         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17737         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17738         * sysdeps/nios2/nptl/tls.h: New file.
17739         * sysdeps/nios2/preconfigure: New file.
17740         * sysdeps/nios2/s_fma.c: New file.
17741         * sysdeps/nios2/s_fmaf.c: New file.
17742         * sysdeps/nios2/setjmp.S: New file.
17743         * sysdeps/nios2/sfp-machine.h: New file.
17744         * sysdeps/nios2/sotruss-lib.c: New file.
17745         * sysdeps/nios2/stackguard-macros.h: New file.
17746         * sysdeps/nios2/stackinfo.h: New file.
17747         * sysdeps/nios2/start.S: New file.
17748         * sysdeps/nios2/sysdep.h: New file.
17749         * sysdeps/nios2/tls-macros.h: New file.
17750         * sysdeps/nios2/tst-audit.h: New file.
17751         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17752         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17753         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17754         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17755         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17756         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17757         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17758         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17759         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17760         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17761         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17762         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17763         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17764         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17765         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17766         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17767         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17768         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17769         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17770         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17771         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17772         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17773         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17774         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17775         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17776         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17777         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17778         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17779         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17780         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17781         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17782         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17783         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17784         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17785         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17786         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17787         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17788         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17789         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17790         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17791         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17792         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17793         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17794         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17796 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17798         [BZ #17844]
17799         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17800         (getutent): Use weak_alias in non SHARED case
17801         and default_symbol_version in SHARED case.
17802         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17803         (getutent_r, pututline): Likewise.
17804         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17805         (getutid): Likewise.
17806         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17807         (getutid_r): Likewise.
17808         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17809         (getutline): Likewise.
17810         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17811         (getutline_r): Likewise.
17812         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17813         (updwtmp): Likewise.
17815 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17817         [BZ #17848]
17818         * sysdeps/s390/s390-32/memcmp.S
17819         (memcmp_g5): Rename to __memcmp_g5.
17820         * sysdeps/s390/s390-32/memcpy.S
17821         (memcpy_g5): Rename to __memcpy_g5.
17822         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17823         (memcpy_mvcle) Rename to __memcpy_mvcle.
17824         * sysdeps/s390/s390-32/memset.S
17825         (memset_g5): Rename to __memset_g5.
17826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17827         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17828         and use prefixed functions.
17829         * sysdeps/s390/s390-32/multiarch/memcmp.S
17830         (memcmp_z196): Rename to __memcmp_z196.
17831         (memcmp_z10): Rename to __memcmp_z10.
17832         (memcmp): Set alias to __memcmp_g5.
17833         (bcmp): Set alias to __memcmp_g5.
17834         * sysdeps/s390/s390-32/multiarch/memcpy.S
17835         (memcpy_z196): Rename to __memcpy_z196.
17836         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17837         (memcpy_z10): Rename to __memcpy_z10.
17838         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17839         (memcpy): Set alias to __memcpy_g5.
17840         * sysdeps/s390/s390-32/multiarch/memset.S
17841         (memset_z196): Rename to __memset_z196.
17842         Jump to __memset_mvcle instead of memset_mvcle.
17843         (memset_z10): Rename to __memset_z10.
17844         Jump to __memset_mvcle instead of memset_mvcle.
17845         (memset_mvcle) Rename to __memset_mvcle.
17846         (memset): Set alias to __memset_g5.
17847         * sysdeps/s390/s390-64/memcmp.S
17848         (memcmp_z900): Rename to __memcmp_z900.
17849         * sysdeps/s390/s390-64/memcpy.S
17850         (memcpy_z900): Rename to __memcpy_z900.
17851         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17852         (memcpy_mvcle) Rename to __memcpy_mvcle.
17853         * sysdeps/s390/s390-64/memset.S
17854         (memset_z900): Rename to __memset_z900.
17855         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17856         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17857         and use prefixed functions.
17858         * sysdeps/s390/s390-64/multiarch/memcmp.S
17859         (memcmp_z196): Rename to __memcmp_z196.
17860         (memcmp_z10): Rename to __memcmp_z10.
17861         (memcmp): Set alias to __memcmp_z900.
17862         (bcmp): Set alias to __memcmp_z900.
17863         * sysdeps/s390/s390-64/multiarch/memcpy.S
17864         (memcpy_z196): Rename to __memcpy_z196.
17865         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17866         (memcpy_z10): Rename to __memcpy_z10.
17867         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17868         (memcpy): Set alias to __memcpy_z900.
17869         * sysdeps/s390/s390-64/multiarch/memset.S
17870         (memset_z196): Rename to __memset_z196.
17871         Jump to __memset_mvcle instead of memset_mvcle.
17872         (memset_z10): Rename to __memset_z10.
17873         Jump to __memset_mvcle instead of memset_mvcle.
17874         (memset_mvcle) Rename to __memset_mvcle.
17875         (memset): Set alias to __memset_z900.
17877 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17879         [BZ #17748]
17880         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17881         __fesetenv instead of fesetenv.
17883 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17885         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17886         macro.
17888 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17891         regression on LE.
17893         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17894         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17896         strncmp-power8 object.
17897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17898         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17899         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17900         * NEWS: Update.
17902 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17903             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17905         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17906         trailing byte check.
17908 2015-01-13  David S. Miller  <davem@davemloft.net>
17910         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17912 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17914         * login/logout.c (logout): Use memset rather than bzero.
17915         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17916         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17917         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17918         (_gethtbyaddr): Likewise.
17919         * locale/programs/simple-hash.c (bcopy): Macro removed.
17921 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17923         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17924         Add strcmp-power8 object.
17925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17926         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17927         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17928         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17929         __strcmp_power8 implementation.
17930         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17931         * NEWS: Update.
17933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17934         Add strncpy-power8 and stpncpy-power8 objects.
17935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17936         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17937         implementations.
17938         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17939         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17940         __stpncpy_power8 implementation.
17941         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17942         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17943         __strncpy_power8 implementation.
17944         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17945         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17946         * NEWS: Update.
17948         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17949         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17950         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17952         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17953         strncat-power8 object.
17954         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17955         __strcat_power8 implementation.
17956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17957         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17958         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17959         optimized strcat for power8.
17961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17962         strcpy-power8 and stpcpy-power8 objects.
17963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17964         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17965         implementations.
17966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17967         multiarch stpcpy implementation for POWER8.
17968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17969         multiarch strcpy implementation for POWER8.
17970         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17971         __strcpy_power8 function.
17972         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17973         stpcpy for POWER8.
17974         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17975         strcpy for POWER8.
17976         * NEWS: Update.
17978 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17980         [BZ #16009]
17981         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17982         weights and rules. Use do_xfrm_cached if data fits in cache,
17983         do_xfrm otherwise.  Moved former main loop to...
17984         * (do_xfrm_cached): New function.
17985         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17986         find_idx, find_position and stack_push.
17987         * (find_idx): New function.
17988         * (find_position): Likewise.
17989         * localedata/sort-test.sh: Added test run for do_xfrm.
17990         * localedata/xfrm-test.c (main): Added command line option
17991         -nocache to run the test with strings that are too large for
17992         the STRXFRM cache.
17994 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17996         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17997         variable to lll_futex_wake call, not the value itself.
17999 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18001         [BZ #17803]
18002         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18003         twom64.  Adjust value to 0x1p-64L.
18004         (__scalblnl): Only return standard underflowing result for K <=
18005         -64 not K <= -63; adjust exponent for underflowing result by 64
18006         not 63.
18007         * math/libm-test.inc (scalbn_test_data): Add more tests.
18008         (scalbln_test_data): Likewise.
18010         [BZ #17834]
18011         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18012         0x1p63L.
18013         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18014         not HX.
18015         * math/libm-test.inc (scalbn_test_data): Add more tests.
18016         (scalbln_test_data): Likewise.
18018 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18019             Stefani Seibold  <stefani@seibold.net>
18021         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18022         (sysdep_routines): Add dl-vdso here, ...
18023         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18024         (sysdep_routines): ... not here.
18025         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18026         fallback when vDSO is not presented.
18027         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18028         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18029         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18030         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18031         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18032         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18033         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18034         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18035         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18036         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18037         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18038         fallback configurable symbol when vDSO is not available.
18039         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18040         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18041         be able to redefine fallback symbol when vDSO is not available.
18042         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18043         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18045 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18047         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18048         (TLS_INIT_TP): Add tm_capable initialization.
18049         (TLS_DEFINE_INIT_TP): Likewise.
18050         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18051         TCB.
18052         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18053         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18054         calculation.
18055         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18056         transactoion is lock elision is built and TCB tm_capable is set.
18057         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18059         (INTERNAL_SYSCALL_NCS): Likewise.
18060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18061         (INTERNAL_SYSCALL_NCS): Likewise.
18062         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18064         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18065         for powerpc.
18066         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18067         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18068         and remove it for 32 bits case.
18069         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18071         initialization.
18072         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18073         Disable lock elision with rdlocks if elision is not available.
18075         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18076         (sysdep_routines): Add lock elision objects.
18077         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18078         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18079         [pthread_mutex_t] (__elision): Add field.
18080         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18081         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18082         elision definitions for powerpc.
18083         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18084         implementation of lock elision for powerpc.
18085         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18086         implementation of timed lock elision for powerpc.
18087         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18088         implementation of trylock with lock elision for powerpc.
18089         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18090         implementaion of unlock for lock elision for powerpc.
18091         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18092         automatic enable lock elision for mutexes.
18093         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18094         transaction execution definitions for powerpc.
18095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18096         definitions.
18097         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18098         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18099         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18100         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18101         * NEWS: Update.
18103 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18105         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18106         for #include of <shm-directory.h>.
18108 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18111         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18113 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18115         [BZ #17791]
18116         * NEWS: Mention bug fix.
18117         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18118         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18119         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18121 2015-01-09  Torvald Riegel <triegel@redhat.com>
18123         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18125 2015-01-09  Torvald Riegel <triegel@redhat.com>
18127         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18129 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18131         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18132         pointer and cast to uintptr_t.
18134 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18136         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18137         removed.
18138         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18140 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18142         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18143         of 0.
18145 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18147         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18148         <nptl/pthreadP.h> instead.
18149         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18151         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18152         already defined.
18153         [__SIGRTMIN] (init): Function removed.
18154         [__SIGRTMIN] (initialized): Variable removed.
18155         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18156         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18157         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18158         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18159         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18160         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18161         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18162         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18163         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18164         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18165         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18166         * sysdeps/nptl/allocrtsig.c: New file.
18167         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18168         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18169         * sysdeps/generic/testrtsig.h: File removed.
18171         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18172         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18174         * nptl/nptl-init.c (pthread_functions): Conditionalize
18175         .ptr__nptl_setxid initialization on [SIGSETXID].
18177         * sysdeps/nptl/sys/procfs.h: New file.
18178         * nptl_db/Makefile (headers): Add it.
18179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18181         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18182         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18183         * nptl/pthread_attr_setaffinity.c: Include it.
18184         * nptl/pthread_setattr_default_np.c: Likewise.
18185         * nptl/check-cpuset.h: New file.
18187 2015-01-08  Richard Henderson  <rth@redhat.com>
18189         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18190         (CFLAGS-tst-execstack-prog.c): Likewise.
18191         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18193 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18194             Sandra Loosemore  <sandra@codesourcery.com>
18195             Andrew Jenner  <andrew@codesourcery.com>
18196             Joseph Myers  <joseph@codesourcery.com>
18197             Nathan Sidwell  <nathan@codesourcery.com>
18199         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18200         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18201         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18202         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18203         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18204         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18205         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18206         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18207         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18208         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18209         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18210         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18211         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18212         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18213         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18214         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18215         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18217 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18219         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18220         timespec struct member in syscall macro.
18221         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18222         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18223         first timeval struct member in syscall macro.
18224         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18226 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18228         [BZ #17748]
18229         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18230         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18231         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18232         __feupdateenv and define as weak alias of __feupdateenv.  Use
18233         libm_hidden_weak.
18234         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18235         libm_hidden_def.
18236         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18237         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18238         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18239         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18240         libm_hidden_def.
18241         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18242         __feupdateenv and define as weak alias of __feupdateenv.  Use
18243         libm_hidden_weak.
18244         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18245         libm_hidden_def.
18246         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18247         __feupdateenv and define as weak alias of __feupdateenv.  Use
18248         libm_hidden_weak.
18249         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18250         libm_hidden_def.
18251         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18252         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18253         (__feupdateenv): Likewise.
18254         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18255         __feupdateenv and define as weak alias of __feupdateenv.  Use
18256         libm_hidden_weak.
18257         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18258         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18259         libm_hidden_def.
18260         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18261         function.
18262         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18263         libm_hidden_def.
18264         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18265         __feupdateenv instead of feupdateenv.
18266         (default_libc_feupdateenv_test): Likewise.
18267         (libc_feresetround_ctx): Likewise.
18269 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18271         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18272         prototype.
18274 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18276         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18277         COLL_SYM in a couple of places to avoid uninitialized variable
18278         wanings on tilegx gcc 4.8.2.
18280 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18282         * sysdeps/aarch64/strcpy.S: New file.
18283         * sysdeps/aarch64/stpcpy.S: New file.
18284         * NEWS: Updated.
18286 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18288         * sysdeps/aarch64/strrchr.S: New file.
18289         * NEWS: Updated.
18291 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18293         [BZ #17658]
18294         * stdlib/setenv.c: Fix memory leak when setting large,
18295         duplicate string.
18297 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18299         [BZ #17273]
18300         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18301         and tabs from buffer before parsing fstab entry.
18302         * misc/tst-mntent.c (main): Add test for mount entry with
18303         trailing spaces and tabs.
18305 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18307         [BZ #17748]
18308         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18309         * math/fesetround.c (fesetround): Rename to __fesetround and
18310         define as weak alias of __fesetround.  Use libm_hidden_weak.
18311         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18312         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18313         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18314         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18315         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18316         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18317         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18318         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18319         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18320         __fesetround_inline.
18321         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18322         __fesetround_inline instead of __fesetround.
18323         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18324         __fesetround and define as weak alias of __fesetround.  Use
18325         libm_hidden_weak.  Call __fesetround_inline instead of
18326         __fesetround.
18327         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18328         __fesetround and define as weak alias of __fesetround.  Use
18329         libm_hidden_weak.
18330         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18331         Likewise.
18332         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18333         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18334         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18335         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18336         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18337         __fesetround and define as weak alias of __fesetround.  Use
18338         libm_hidden_weak.
18339         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18340         __fesetround instead of fesetround.
18341         (default_libc_feholdexcept_setround): Likewise.
18342         (libc_feholdsetround_ctx): Likewise.
18343         (libc_feholdsetround_noex_ctx): Likewise.
18345         [BZ #17748]
18346         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18347         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18348         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18349         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18350         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18351         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18352         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18353         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18354         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18355         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18356         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18357         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18358         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18359         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18360         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18361         libm_hidden_def.
18362         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18363         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18364         Likewise.
18365         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18366         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18367         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18368         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18369         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18370         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18371         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18372         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18373         __fesetenv instead of fesetenv.
18374         (libc_feresetround_noex_ctx): Likewise.
18375         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18376         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18377         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18378         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18379         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18380         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18381         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18383         (__feupdateenv): Likewise.
18384         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18385         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18386         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18387         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18389 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18391         [BZ #17806]
18392         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18393         addresses have been freed.
18395 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18397         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18398         and nservall.
18400 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18402         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18403         Clean up check_pf allocation pattern. addresses
18405 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18407         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18408         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18409         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18410         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18411         * nptl/pthread_join.c (pthread_join): Likewise.
18412         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18413         * sysdeps/posix/waitid.c (__waitid): Likewise.
18414         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18415         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18416         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18417         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18419         Likewise.
18420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18421         (__libc_pread64): Likewise.
18422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18423         (__libc_pwrite): Likewise.
18424         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18425         (__libc_pwrite64): Likewsie.
18426         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18427         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18428         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18429         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18430         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18431         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18432         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18434         Likewise.
18435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18436         (__libc_pread64): Likewise.
18437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18438         Likewise.
18439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18440         (__libc_pwrite64): Likewise.
18441         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18442         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18443         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18444         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18445         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18446         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18447         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18448         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18449         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18450         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18451         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18452         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18453         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18454         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18455         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18456         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18457         Likewise.
18459 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18461         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18462         (CFLAGS-test-double.c): Likewise.
18463         (CFLAGS-test-ldouble.c): Likewise.
18464         (CPPFLAGS-test-ifloat.c): Likewise.
18465         (CPPFLAGS-test-idouble.c): Likewise.
18466         (CPPFLAGS-test-ildoubl.c): Likewise.
18467         (CFLAGS-test-test-fenv.c): Remove variable.
18468         (CFLAGS-test-misc.c): Likewise.
18470 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18472         [BZ #17797]
18473         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18474         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18475         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18476         CLOCKS_PER_SEC == 1000000.
18477         * time/clocktest.c (main): Replace %ld with %jd and cast to
18478         intmax_t.
18480 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18482         * sysdeps/generic/unwind-resume.h: New file.
18483         * sysdeps/gnu/unwind-resume.c: Include it.
18484         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18485         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18486         argument list.
18487         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18488         global rather than static.
18489         (_Unwind_Resume): Update user.
18490         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18491         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18492         rather than static.  Add __attribute__ ((cold)).
18493         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18494         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18495         * sysdeps/arm/arm-unwind-resume.S: New file.
18496         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18497         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18498         * sysdeps/arm/Makefile [$(subdir) = csu]
18499         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18500         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18501         Add rt-arm-unwind-resume.
18502         [$(subdir) = nptl]
18503         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18504         Add pt-arm-unwind-resume.
18505         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18506         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18508 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18510         [BZ #17748]
18511         * include/fenv.h (__feholdexcept): Declare.  Use
18512         libm_hidden_proto.
18513         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18514         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18515         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18516         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18517         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18518         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18519         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18520         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18521         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18522         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18523         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18524         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18525         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18526         (feholdexcept): Likewise.
18527         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18528         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18529         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18530         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18531         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18532         __feholdexcept instead of feholdexcept.
18533         (default_libc_feholdexcept_setround): Likewise.
18535 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18537         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18538         to avoid using stl/str to align destination.
18540 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18542         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18544 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18546         [BZ #17796]
18547         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18548         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18549         Define as weak alias not strong alias.
18551 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18553         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18554         bltzal with addiupc.
18555         (RTLD_START): Ditto.
18557 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18559         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18560         for __vdso_* functions in declarations.
18561         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18562         definitions.
18563         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18564         INTERNAL_VSYSCALL): Use struct return types to check for error.
18566         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18567         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18568         function with cast from llround().
18569         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18570         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18571         Define.
18573 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18575         [BZ #17793]
18576         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18577         Define as weak alias not strong alias.
18579         [BZ #17635]
18580         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18581         ...
18582         * ctype/ctype-extn.c: ... here.
18583         (__isblank_l): Move to ...
18584         * ctype/ctype-c99_l.c: ... here.  New file.
18585         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18586         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18587         Remove variable.
18588         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18589         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18590         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18591         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18592         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18594         [BZ #17777]
18595         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18596         (posix_fadvise64): Define as weak alias not strong alias.
18597         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18598         (posix_fallocate64): Likewise.
18599         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18600         Remove variable.
18601         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18602         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18603         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18604         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18605         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18607 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18609         [BZ #16191]
18610         * NEWS: Mention bug fix.
18611         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18612         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18613         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18614         (HOST_STACK_END_ADDR): Likewise.
18616 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18618         [BZ #17748]
18619         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18620         * math/fegetround.c (fegetround): Rename to __fegetround and
18621         define as weak alias of __fegetround.  Use libm_hidden_weak.
18622         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18623         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18624         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18625         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18626         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18627         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18628         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18629         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18630         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18631         Undefine after rather than before function definition; use
18632         parentheses around function name in definition.
18633         (__fegetround): Also undefine macro after function definition.
18634         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18635         __fegetround and define as weak alias of __fegetround.  Use
18636         libm_hidden_weak.  Do not undefine as macro.
18637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18638         Likewise.
18639         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18640         __fegetround and define as weak alias of __fegetround.  Use
18641         libm_hidden_weak.
18642         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18643         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18644         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18645         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18646         __fegetround and define as weak alias of __fegetround.  Use
18647         libm_hidden_weak.
18648         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18649         __fegetround instead of fegetround.
18651         [BZ #17782]
18652         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18653         Condition macro definition on [__USE_MISC].
18655         [BZ #17781]
18656         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18657         (struct sigaction): Change type of sa_flags field to int.
18659         [BZ #17780]
18660         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18661         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18662         __glibc_reserved0.
18664         * nptl/version.c (banner): Use single year in copyright notice.
18666         * NEWS: Update copyright dates.
18667         * catgets/gencat.c (print_version): Likewise.
18668         * csu/version.c (banner): Likewise.
18669         * debug/catchsegv.sh: Likewise.
18670         * debug/pcprofiledump.c (print_version): Likewise.
18671         * debug/xtrace.sh (do_version): Likewise.
18672         * elf/ldconfig.c (print_version): Likewise.
18673         * elf/ldd.bash.in: Likewise.
18674         * elf/pldd.c (print_version): Likewise.
18675         * elf/sotruss.sh: Likewise.
18676         * elf/sprof.c (print_version): Likewise.
18677         * iconv/iconv_prog.c (print_version): Likewise.
18678         * iconv/iconvconfig.c (print_version): Likewise.
18679         * locale/programs/locale.c (print_version): Likewise.
18680         * locale/programs/localedef.c (print_version): Likewise.
18681         * login/programs/pt_chown.c (print_version): Likewise.
18682         * malloc/memusage.sh (do_version): Likewise.
18683         * malloc/memusagestat.c (print_version): Likewise.
18684         * malloc/mtrace.pl: Likewise.
18685         * manual/libc.texinfo: Likewise.
18686         * nptl/version.c (banner): Likewise.
18687         * nscd/nscd.c (print_version): Likewise.
18688         * nss/getent.c (print_version): Likewise.
18689         * nss/makedb.c (print_version): Likewise.
18690         * posix/getconf.c (main): Likewise.
18691         * scripts/test-installation.pl: Likewise.
18692         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18694 2015-01-02  Will Newton  <will.newton@linaro.org>
18696         * sysdeps/arm/armv7/configure: Removed.
18697         * sysdeps/arm/armv7/configure.ac: Likewise.
18699 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18701         * All files with FSF copyright notices: Update copyright dates
18702         using scripts/update-copyrights.
18703         * intl/plural.c: Regenerated.
18704         * locale/programs/charmap-kw.h: Likewise.
18705         * locale/programs/locfile-kw.h: Likewise.
18707 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18709         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18711 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18713         [BZ #17748]
18714         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18715         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18716         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18717         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18718         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18719         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18720         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18721         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18722         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18723         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18724         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18725         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18726         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18727         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18728         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18729         libm_hidden_def.
18730         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18731         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18732         Likewise.
18733         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18734         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18735         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18736         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18737         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18738         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18739         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18740         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18741         __fegetenv instead of fegetenv.
18742         (libc_feholdsetround_noex_ctx): Likewise.
18744 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18746         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18747         (Elf_MIPS_ABIFlags_v0): New structure.
18748         (EF_MIPS_FP64): Define.
18749         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18750         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18751         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18752         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18753         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18754         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18755         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18756         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18757         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18758         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18759         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18760         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18761         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18762         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18763         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18764         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18765         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18766         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18767         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18768         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18769         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18770         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18771         field.
18772         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18773         EF_MIPS_FP64.
18774         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18775         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18776         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18777         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18778         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18779         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18780         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18781         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18782         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18783         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18784         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18785         record the current FP ABI extension.
18786         (mips-mode-switch): Define to show if kernel headers support mode
18787         switching.
18788         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18789         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18790         supported SYSV ABI version to 3.
18791         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18792         feature.
18794 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18795             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18797         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18798         path.
18799         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18801 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18803         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18804         __fegetround and redefine to call __fegetround.  Remove condition
18805         on [!__NO_MATH_INLINES].
18806         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18807         function.
18808         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18809         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18810         Remove macro.
18811         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18812         instead of <fenv_libc.h>.
18813         (__llrintl): Call fegetround instead of __fegetround.
18814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18815         instead of <fenv_libc.h>.
18816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18817         (__lrintl): Call fegetround instead of __fegetround.
18818         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18819         instead of <fenv_libc.h>.
18820         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18821         (__rintl): Call fegetround instead of __fegetround.
18823 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18825         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18826         arrays.
18828 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18830         [BZ #17775]
18831         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18832         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18833         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18835 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18837         * sysdeps/i386/tls-macros.h: Include <features.h>.
18838         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18839         (TLS_IE): Likewise.
18840         (TLS_LD): Likewise.
18841         (TLS_GD): Likewise.
18842         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18843         define for GCC >= 5.0.
18845 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18847         * math/test-fenv.c (test_single_exception, set_single_exc,
18848         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18849         feexcp_mask_test, feenable_test, fe_single_test): Add
18850         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18851         case where they are not used.
18852         * math/libm-test.inc: Likewise.
18853         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18854         unused in the absence of FP rounding/exception support.
18855         * stdio-common/tst-printf-round.c: Likewise.
18856         * stdlib/tst-strtod-round.c: Likewise.
18857         * stdlib/tst-strtod-underflow.c: Likewise.
18859 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18861         [BZ #17723]
18862         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18863         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18864         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18865         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18866         libm_hidden_weak.
18867         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18868         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18869         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18870         libm_hidden_def.
18871         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18872         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18873         libm_hidden_weak.
18874         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18875         Likewise.
18876         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18877         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18878         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18879         libm_hidden_weak.
18880         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18881         libm_hidden_def.
18882         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18883         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18884         (__feraiseexcept): Likewise.
18885         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18886         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18887         libm_hidden_weak.
18888         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18889         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18890         libm_hidden_def.
18891         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18892         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18893         Use libm_hidden_def.
18894         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18895         libm_hidden_def.
18896         (feraiseexcept): Define as weak not strong alias.  Use
18897         libm_hidden_weak.
18898         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18899         New inline function.  Factored out of ...
18900         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18901         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18902         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18903         feraiseexcept.
18904         * math/w_acos.c (__acos): Likewise.
18905         * math/w_asin.c (__asin): Likewise.
18906         * math/w_ilogb.c (__ilogb): Likewise.
18907         * math/w_j0.c (y0): Likewise.
18908         * math/w_j1.c (y1): Likewise.
18909         * math/w_jn.c (yn): Likewise.
18910         * math/w_log.c (__log): Likewise.
18911         * math/w_log10.c (__log10): Likewise.
18912         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18913         * sysdeps/aarch64/fpu/math_private.h
18914         (libc_feupdateenv_test_aarch64): Likewise.
18915         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18916         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18917         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18918         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18919         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18920         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18921         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18922         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18923         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18924         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18926 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18928         [BZ #17732]
18929         * io/test-utime.c (main): Replace %ld with %jd and cast to
18930         intmax_t.
18931         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18932         * nptl/tst-mutex5.c: Include <stdint.h>.
18933         (do_test): Replace %ld with %jd and cast to intmax_t.
18934         * posix/tst-regex.c (run_test): Likewise.
18935         (run_test_backwards): Likewise.
18936         * rt/tst-clock.c: Include <stdint.h>.
18937         (clock_test): Replace %ld with %jd and cast to intmax_t.
18938         * rt/tst-cpuclock1.c: Include <stdint.h>.
18939         (do_test): Replace %lu with %ju and cast to uintmax_t.
18940         * rt/tst-cpuclock2.c: Include <stdint.h>.
18941         (do_test): Replace %lu with %ju and cast to uintmax_t.
18942         * rt/tst-mqueue1.c: Include <stdint.h>.
18943         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18944         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18945         intmax_t.
18946         * rt/tst-mqueue4.c (do_test): Likewise.
18947         * rt/tst-timer4.c: Include <stdint.h>.
18948         (check_ts): Replace %ld with %jd and cast to intmax_t.
18949         (do_test): Likewise.
18950         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18951         and cast to intmax_t.
18952         * sysdeps/pthread/tst-timer.c (main): Likewise.
18953         * time/clocktest.c (main): Likewise.
18954         * time/tst-posixtz.c (do_test): Likewise.
18955         * timezone/tst-timezone.c (main): Likewise.
18957 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18958             H.J. Lu  <hongjiu.lu@intel.com>
18960         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18961         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18962         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18963         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18964         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18965         version if bit_Fast_Unaligned_Load is set.
18966         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18967         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18968         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18969         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18970         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18971         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18972         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18973         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18974         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18975         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18976         to 4.
18977         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18978         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18979         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18980         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18982 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18984         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18985         instead of #if to avoid a Wundef warning.
18986         * stdlib/tst-limits.c (do_test): Likewise.
18988         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18989         parallel other exception macros.
18990         (fegetenv): Convert from macro to extern inline so that it applies
18991         retroactively to inline functions already seen by the compiler.
18992         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18994         * posix/Makefile (before-compile): Use $(objpfx) for
18995         posix-conf-vars-def.h.
18997 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999         * posix/getconf.c (main): Use size_t for type of I.
19000         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19001         NSPEC.
19003         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19004         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19005         * posix/posix-envs.def: Likewise.
19006         * sysdeps/posix/sysconf.c: Likewise.
19007         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19008         (specs): Remove array.
19009         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19010         array.
19012         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19013         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19014         (__sysconf): Use CONF_IS_* macros.
19016         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19017         ($(objpfx)posix-conf-vars-def.h): New target.
19018         * posix/posix-conf-vars.list: New file.
19019         * posix/posix-conf-vars.h: New file.
19020         * posix/confstr.c: Include posix-conf-vars.h.
19021         (confstr): Use CONF_IS_* macros.
19022         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19023         CONF_IS_* macros.
19024         * scripts/gen-posix-conf-vars.awk: New file.
19026 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19028         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19029         fegetround): Add no-op macros to avoid linknamespace issues.
19031         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19032         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19034         * sysdeps/unix/sysv/linux/tile/sysdep.h
19035         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19036         assembly-specific section to avoid a redefinition warning.
19038         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19039         long before casting to pointer to avoid a cast warning.
19041 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19043         * sysdeps/tile/tilegx/Implies: New file.
19045 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19047         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19049 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19051         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19053 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19056         not define.
19057         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19058         <kernel-features.h>.
19059         (__utimes) [__NR_utimes]: Make code unconditional.
19060         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19061         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19062         (__ASSUME_UTIMES): Do not undefine.
19063         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19064         (__ASSUME_UTIMES): Likewise.
19065         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19066         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19067         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19068         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19070 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19072         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19074 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19076         [BZ #17747]
19077         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19078         alias to weak alias for j0l, y0l.
19079         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19080         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19082         [BZ #17746]
19083         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19084         conversion.
19086 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19088         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19089         to zero if not already defined.
19091 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19093         [BZ #17724]
19094         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19095         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19096         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19097         (char *) casts added.
19098         * sysdeps/ieee754/k_standardf.c: New file.
19099         * sysdeps/ieee754/k_standardl.c: Likewise.
19100         * math/Makefile (libm-support): Remove k_standard.
19101         (libm-calls): Add k_standard.
19103 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19105         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19106         Optimize to avoid an unnecessary FPCR read.
19108 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19110         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19111         Optimize to reduce FPCR/FPSR accesses.
19113 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19115         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19116         Call libc_fetestexcept_aarch64.
19118 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19120         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19121         Call libc_fesetround_aarch64.
19123 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19125         [BZ #17733]
19126         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19127         (__bind): Do not define as weak alias.
19128         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19129         define.
19130         (__getsockname): Do not define as weak alias.
19132 2014-12-22  Will Newton  <will.newton@linaro.org>
19134         * manual/install.texi: Document that we require bison 2.7
19135         or above.
19136         * INSTALL: Regenerate.
19137         * configure.ac: Use AC_CHECK_PROG_VER instead of
19138         AC_PATH_PROG when checking for bison and check for
19139         version 2.7 or above.
19140         * configure: Regenerate.
19142 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19144         [BZ #17745]
19145         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19146         * sysdeps/tile/ffsll.c (ffsll): To here.
19148         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19150 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19152         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19153         if not defined.
19154         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19155         definition.
19156         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19157         hidden ___tls_get_addr.
19158         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19159         hidden __tls_get_addr.
19160         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19161         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19162         Likewise.
19164 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19166         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19167         _dl_init call.
19169 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19171         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19172         from "call _dl_init@PLT".
19173         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19175 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19177         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19178         guarantees.
19180 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19182         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19184 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19186         [BZ #17744]
19187         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19188         strnlen.
19190 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19192         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19193         of multu on MIPSr6.
19194         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19195         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19196         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19197         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19198         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19200 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19202         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19203         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19204         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19205         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19206         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19207         mips32r6/mips64r6.
19208         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19210 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19212         * string/strncat.c (STRNCAT): Simplify implementation.
19214 2014-12-19  David S. Miller  <davem@davemloft.net>
19216         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19217         access the quad as both a long double and as a series of 4 words.
19219         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19220         link_map->l_info array access.
19222 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19224         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19226         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19227         * math/atest-exp2.c (TIMEOUT): Likewise.
19228         * math/atest-sincos.c (TIMEOUT): Likewise.
19230 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19232         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19233         -Wno-error with -fno-builtin-lround.
19235 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19237         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19238         Contains futex constants and functions moved over from ...
19239         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19240         <lowlevellock-futex.h>.
19241         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19242         (lll_timedwait_tid): Add comments and parentheses around macro
19243         arguments.
19245 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19248         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19249         (__lll_private_flag): Remove.
19250         (lll_futex_wait): Likewise.
19251         (lll_futex_timed_wait): Likewise.
19252         (lll_futex_wake): Likewise.
19253         (lll_futex_requeue): Likewise.
19254         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19255         (__lll_timedwait_tid): Spell out argument names.
19256         (lll_timedwait_tid): Add comments and parentheses around macro
19257         arguments.
19258         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19259         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19261 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19263         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19264         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19265         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19266         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19267         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19268         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19269         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19270         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19271         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19272         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19273         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19274         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19275         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19277         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19278         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19279         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19280         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19281         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19283 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19285         * sysdeps/x86_64/x32/Makefile: New file.
19287 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19289         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19290         1L with (mp_limb_t) 1.
19292 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19294         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19295         * nptl/libc_pthread_init.c: ... here.
19296         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19297         * nptl/register-atfork.c: ... here.
19299         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19300         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19301         Use assert_perror to check its return value.
19302         (__gai_create_helper_thread): Likewise.
19304         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19306         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19308 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19310         [BZ #17725]
19311         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19312         __profil_counter.
19313         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19314         Likewise.
19315         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19316         Likewise.
19317         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19318         Likewise.
19319         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19320         (profil_counter): Likewise.
19321         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19322         (profil_counter): Likewise.
19323         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19324         Likewise.
19325         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19326         Likewise.
19327         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19328         (profil_counter): Likewise.
19329         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19330         Likewise.
19331         [!__profil_counter] (profil_counter): Define as weak alias of
19332         __profil_counter.
19333         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19334         (profil_counter): Rename to __profil_counter.
19335         [!__profil_counter] (profil_counter): Define as weak alias of
19336         __profil_counter.
19337         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19338         (profil_counter): Rename to __profil_counter.
19339         [!__profil_counter] (profil_counter): Define as weak alias of
19340         __profil_counter.
19341         * sysdeps/posix/profil.c: Update comment referring to
19342         profil_counter.
19343         (__profil): Use __profil_counter instead of profil_counter.
19344         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19345         __profil_counter.  Use __profil_counter_ushort and
19346         __profil_counter_uint in definitions.
19347         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19348         instead of profil_counter_uint and profil_counter_ushort.
19350         [BZ #17722]
19351         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19352         define as weak alias of __inet_makeaddr.
19353         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19354         as weak alias of __inet_addr.
19355         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19356         as weak alias of __inet_pton.  Use libc_hidden_weak.
19357         * include/arpa/inet.h (__inet_pton): Declare.  Use
19358         libc_hidden_proto.
19359         (inet_makeaddr): Don't use libc_hidden_proto.
19360         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19361         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19362         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19363         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19364         Remove variable.
19365         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19366         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19368 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19370         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19372 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19374         * stdio-common/bug-vfprintf-nargs.c (do_test):
19375         Cast value to intptr_t to avoid format warning
19376         for usage with PRIdPTR printing macro.
19378 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19380         * libio/tst-widetext.c (do_test):
19381         Use format type %td instead of %Zd for ptrdiff_t
19382         in order to avoid format warning.
19384 2014-12-17  Andreas Schwab  <schwab@suse.de>
19386         * nscd/mem.c (gc): Add size_t cast to match printf format.
19388 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19390         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19391         (init): Apply PTR_MANGLE to pointers before storing them.
19392         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19393         before using them.
19395 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19397         [BZ #17719]
19398         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19399         define as weak alias of __memrchr.
19400         (__memrchr): Do not define as strong alias of memrchr.
19401         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19402         Remove variable.
19403         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19404         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19405         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19407         [BZ #17717]
19408         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19409         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19410         (if_indextoname): Rename to __if_indextoname and define as weak
19411         alias of __if_indextoname.  Use libc_hidden_weak.
19412         (if_freenameindex): Rename to __if_freenameindex and define as
19413         weak alias of __if_freenameindex.
19414         (if_nameindex): Rename to __if_nameindex and define as weak alias
19415         of __if_nameindex.
19416         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19417         __if_nametoindex and define as weak alias of __if_nametoindex.
19418         Use libc_hidden_weak.
19419         (if_freenameindex): Rename to __if_freenameindex and define as
19420         weak alias of __if_freenameindex.
19421         (if_nameindex): Rename to __if_nameindex and define as weak alias
19422         of __if_nameindex.
19423         (if_indextoname): Rename to __if_indextoname and define as weak
19424         alias of __if_indextoname.  Use libc_hidden_weak.
19425         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19426         __if_nametoindex and define as weak alias of __if_nametoindex.
19427         Use libc_hidden_weak.
19428         (if_freenameindex): Rename to __if_freenameindex and define as
19429         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19430         (if_nameindex_netlink): Use __if_freenameindex instead of
19431         if_freenameindex.
19432         (if_nameindex): Rename to __if_nameindex and define as weak alias
19433         of __if_nameindex.  Use libc_hidden_weak.
19434         (if_indextoname): Rename to __if_indextoname and define as weak
19435         alias of __if_indextoname.  Use libc_hidden_weak.
19436         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19437         libc_hidden_proto.
19438         [!_ISOMAC] (__if_freenameindex): Likewise.
19439         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19440         if_nametoindex.
19441         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19442         variable.
19443         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19444         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19445         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19446         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19447         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19448         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19449         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19451         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19452         Remove variable.
19453         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19454         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19456 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19458         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19459         subscript above bounds'
19461         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19462         bounds.
19464 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19466         * libio/tst-fopenloc.c: Use test-skeleton.c.
19468         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19469         (entry): Rename to ITEM.
19470         (do_test, comp): Adjust.
19472         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19474 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19476         * string/tester.c: Include <libc-internal.h>.
19477         (test_memset): Ignore -Wmemset-transposed-args.
19479 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19481         * misc/tst-mntent2.c (do_test): Fix warning.
19483 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19485         * elf/tst-unique4lib.cc(a): Mark as used.
19487 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19489         [BZ #17630]
19490         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19491         names.
19493 2014-12-16  Allan McRae  <allan@archlinux.org>
19495         * stdio-common/Makefile (tests): Re-add bug26.
19497 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19499         [BZ #17657]
19500         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19501         static array.
19503 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19505         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19506         (__lll_lock_wait): Likewise.
19507         (__lll_timedlock_wait): Likewise.
19508         (__lll_timedwait_tid): Likewise.
19509         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19510         (__lll_robust_timedlock_wait): Likewise.
19511         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19512         (lll_cond_trylock): Likewise.
19513         (__lll_lock): Likewise.
19514         (__lll_robust_lock): Likewise.
19515         (__lll_cond_lock): Likewise.
19516         (lll_robust_cond_lock): Likewise.
19517         (__lll_timedlock): Likewise.
19518         (__lll_robust_timedlock): Likewise.
19519         (__lll_unlock): Likewise.
19520         (__lll_robust_unlock): Likewise.
19521         (lll_wait_tid): Likewise.
19522         (lll_timedwait_tid): Likewise.
19524 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19526         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19528 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19530         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19532 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19534         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19535         * stdio-common/tst-sprintf.c: Likewise.
19537 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19539         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19541 2014-12-15  Jeff Law  <law@redhat.com>
19543         [BZ #16617]
19544         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19545         on the heap.  (CVE-2012-3406)
19546         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19547         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19548         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19550 2014-12-15  Will Newton  <will.newton@linaro.org>
19552         * manual/install.texi: Bump required version of texinfo
19553         to 4.7 from 4.5.
19554         * INSTALL: Regenerated.
19555         * configure.ac: Check for makeinfo version 4.7 and above.
19556         * configure: Regenerated.
19558 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19560         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19561         PREFIX, string constant to insert between directory and name.
19562         * sysdeps/posix/shm_open.c: Update caller.
19563         * sysdeps/posix/shm_unlink.c: Likewise.
19564         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19565         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19566         (SEM_SHM_PREFIX): New macro.
19567         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19568         [$(have-thread-library) = no].
19569         * nptl/Makefile (libpthread-routines): Add shm-directory.
19570         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19571         * sysdeps/nptl/shm-directory.h: New file.
19572         * sysdeps/posix/shm-directory.c
19573         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19574         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19575         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19576         INTERNAL_SYSCALL.
19577         (__where_is_shmfs): Function removed.
19578         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19579         Variables removed.
19580         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19581         Use SHM_GET_NAME.
19582         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19584         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19585         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19586         unconditional for use inside libpthread.
19587         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19589 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19591         * nptl/pthread_getaffinity.c: New file.
19592         * nptl/pthread_setaffinity.c: New file.
19593         * nptl/pthread_getname.c: New file.
19594         * nptl/pthread_setname.c: New file.
19596         * nptl/pthread_create.c (START_THREAD_DEFN)
19597         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19599 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19600             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19602         * resolv/res_send.c (send_vc): Disable warning resplen may
19603         be used uninitialized.
19605 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19607         * nptl/tst-mutex6.c
19608         (ATTR_NULL): New define checks ATTR against NULL.
19609         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19610         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19612 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19614         [BZ #17581]
19615         * malloc/hooks.c
19616         (mem2mem_check): Revert my previous change.
19617         (malloc_check_get_size): Revert my previous change.
19618         (mem2chunk_check): Revert my previous change.
19620 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19622         * sysdeps/posix/shm-directory.c: New file.
19623         * sysdeps/posix/shm-directory.h: New file.
19624         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19625         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19626         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19627         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19628         Transmute EPERM to EACCES.
19629         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19630         from ...
19631         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19632         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19634 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19636         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19637         pointer and cast to uintptr_t.
19638         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19639         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19640         Add cast to avoid warning.
19641         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19643 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19645         * nptl/semaphore.h: Move to ...
19646         * sysdeps/pthread/semaphore.h: ... here.
19647         * Makefile (installed-headers): Change nptl/semaphore.h to
19648         sysdeps/pthread/semaphore.h.
19650 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19652         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19653         generated error format strings.
19655         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19656         -Wformat-extra-args warnings for scanf formats.
19657         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19658         test of zero-length format (duh).
19659         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19660         corner-case scanf format test.
19661         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19662         generated fprintf format string.
19663         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19664         corner-case sprintf format tests.
19665         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19666         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19667         -Wformat-extra-args warnings throughout.
19668         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19669         (CFLAGS-scanf4.c): Likewise.
19670         (CFLAGS-scanf7.c): Likewise.
19671         (CFLAGS-tst-sprintf.c): Likewise.
19672         (CFLAGS-tst-printf.c): Likewise.
19673         (CFLAGS-tst-printfsz.c): Likewise.
19675 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19677         * include/cpio.h: New file.
19678         * include/fmtmsg.h: Likewise.
19680         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19681         corresponding format argument to size_t.
19682         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19683         arguments.
19684         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19685         corresponding format argument to size_t.
19686         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19687         arguments.
19688         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19689         corresponding format argument to size_t.
19690         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19691         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19692         (CFLAGS-tst-mbswcs2.c): Likewise.
19693         (CFLAGS-tst-mbswcs3.c): Likewise.
19694         (CFLAGS-tst-mbswcs4.c): Likewise.
19695         (CFLAGS-tst-mbswcs5.c): Likewise.
19696         (CFLAGS-tst-trans.c): Likewise.
19698 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19700         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19701         rather than assuming they won't contain any '%'s.
19703 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19705         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19706         inhibit_loop_to_libcall to avoid recursive calls.
19707         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19708         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19710 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19712         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19713         prototype.
19715 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19717         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19718         integer value instead of boolean.
19720 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19722         * malloc/malloc.c: Fix powerof2 check.
19724 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19726         * locale/programs/locfile.h (maybe_swap_uint32):
19727         Remove inline and add unused attribute.
19729 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19731         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19732         Truncating assembler expression to a .long expression.
19734 2014-12-11  Andreas Schwab  <schwab@suse.de>
19736         * elf/rtld.c (struct map_args): Constify str member.
19737         (do_preload): Constify fname argument.
19739 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19741         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19742         constants definition.
19744 2014-12-11  Andreas Schwab  <schwab@suse.de>
19746         [BZ #16657]
19747         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19748         FORCE_ELISION instead of DO_ELISION.
19749         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19750         Remove.
19751         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19752         Likewise.
19754         * iconvdata/gconv-modules: Remove duplicate entry.
19756 2014-12-11  Will Newton  <will.newton@linaro.org>
19758         Merge gettext 0.19.3 into intl/.
19760         This involves a number of cosmetic changes to comments
19761         and ANSI function definitions and prototypes throughout
19762         all the files. The gettext copyright header is used but
19763         with the date ranges taken from the glibc copy.
19765         * NEWS: Add gettext merge to 2.21.
19766         * intl/bindtextdom.c: Switch to gettext copyright.
19767         Use ANSI definitions and prototypes.
19768         Use gl_* locking primitives rather than __libc_* ones.
19769         Use __builtin_expect rather than __glibc_likely/unlikely.
19770         * intl/dcgettext.c: Switch to gettext copyright.
19771         Use ANSI definitions and prototypes.
19772         * intl/dcigettext.c: Switch to gettext copyright.
19773         Use ANSI definitions and prototypes.
19774         (INTDIV0_RAISES_SIGFPE): New define.
19775         Use gl_* locking primitives rather than __libc_* ones.
19776         Include eval-plural.h instead of plural-eval.c.
19777         Use __builtin_expect rather than __glibc_likely/unlikely.
19778         * intl/dcngettext.c: Switch to gettext copyright.
19779         Use ANSI definitions and prototypes.
19780         * intl/dgettext.c: Likewise.
19781         * intl/dngettext.c: Likewise.
19782         * intl/plural-eval.c: Renamed to...
19783         * intl/eval-plural.h: ...this.
19784         * intl/explodename.c: Switch to gettext copyright.
19785         Use ANSI definitions and prototypes.
19786         (_nl_explode_name): Use strchr instead of __rawmemchr.
19787         * intl/finddomain.c: Switch to gettext copyright.
19788         Use ANSI definitions and prototypes.
19789         Use gl_* locking primitives rather than __libc_* ones.
19790         (_nl_find_domain): Use malloc rather than alloca for
19791         allocation of temporary locale name.
19792         * intl/gettext.c: Switch to gettext copyright.
19793         Use ANSI definitions and prototypes.
19794         * intl/gettextP.h: Switch to gettext copyright.
19795         Use ANSI definitions and prototypes.
19796         Use gl_* locking primitives rather than __libc_* ones.
19797         * intl/gmo.h: Switch to gettext copyright.
19798         (struct sysdep_string): Move struct segment_pair outside of
19799         struct definition.
19800         * intl/hash-string.c: Use ANSI definitions and prototypes.
19801         * intl/hash-string.h: Switch to gettext copyright.
19802         Use ANSI definitions and prototypes.
19803         * intl/l10nflist.c: Switch to gettext copyright.
19804         Use ANSI definitions and prototypes.
19805         (_nl_normalize_codeset): Avoid integer overflow.
19806         * intl/loadinfo.h: Switch to gettext copyright.
19807         Use ANSI definitions and prototypes.
19808         (LIBINTL_DLL_EXPORTED): New define.
19809         (PATH_SEPARATOR): New define.
19810         * intl/loadmsgcat.c: Switch to gettext copyright.
19811         * intl/localealias.c: Switch to gettext copyright.
19812         Use ANSI definitions and prototypes.
19813         (_nl_expand_alias): Use PATH_SEPARATOR.
19814         * intl/ngettext.c: Switch to gettext copyright.
19815         Use ANSI definitions and prototypes.
19816         * intl/plural-exp.c: Likewise.
19817         * intl/plural-exp.h: Switch to gettext copyright.
19818         Use ANSI definitions and prototypes.
19819         (struct expression): Move definition of enum operator outside
19820         of struct definition.
19821         * intl/plural.c: Regenerate.
19822         * intl/plural.y: Switch to gettext copyright.
19823         Use ANSI definitions and prototypes.
19824         Port to bison 3.0.
19825         * intl/textdomain.c: Switch to gettext copyright.
19826         Use ANSI definitions and prototypes.
19827         Use gl_* locking primitives rather than __libc_* ones.
19829 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19831         * debug/warning-nop.c: Add used atrribute.
19833 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19835         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19837         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19838         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19839         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19841 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19842             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19844         [BZ #17634]
19845         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19846         Undefine after defining function.  Define as weak alias of
19847         __wcschr.  Use libc_hidden_weak.
19848         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19849         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19850         (libc_hidden_def): Also define __GI___wcschr alias.
19851         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19852         __wcschr and define as weak alias of __wcschr.
19853         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19854         __wcschr.
19855         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19856         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19857         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19858         libc_hidden_weak.  Do not use libc_hidden_def.
19859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19860         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19861         __GI___wcschr alias.
19862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19863         [IS_IN (libc)] (wcschr): Define as macro expanding to
19864         __redirect_wcschr.
19865         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19866         [IS_IN (libc)] (__wcschr_power6): Likewise.
19867         [IS_IN (libc)] (__wcschr_power7): Likewise.
19868         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19869         instead of wcschr.
19870         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19871         __libc_wcschr.
19872         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19873         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19874         __wcschr and define as weak alias of __wcschr.  Use
19875         libc_hidden_builtin_def.
19876         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19877         as weak alias of __wcschr.  Use libc_hidden_weak.
19878         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19879         wcschr.
19880         * time/era.c (_nl_init_era_entries): Likewise.
19881         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19882         variable.
19883         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19884         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19886 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19888         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19889         format for long int variable.
19891 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19893         [BZ #10672]
19894         * manual/search.texi: (Array Sort Function): Remove claim how to make
19895         qsort stable.
19897 2014-12-10  Andreas Schwab  <schwab@suse.de>
19899         [BZ #12847]
19900         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19901         user-controlled locks.
19903 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19905         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19906         register.
19908 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19910         * configure.ac (--disable-werror): New configure option.
19911         (enable_werror): New AC_SUBST.
19912         * configure: Regenerated.
19913         * config.make.in (enable-werror): New variable.
19914         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19915         -Wno-error=undef.
19916         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19917         * manual/install.texi (Configuring and compiling): Document
19918         --disable-werror.
19919         * INSTALL: Regenerated.
19920         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19921         (CFLAGS-tst-chk2.c): Likewise.
19922         (CFLAGS-tst-chk3.c): Likewise.
19923         (CFLAGS-tst-chk4.cc): Likewise.
19924         (CFLAGS-tst-chk5.cc): Likewise.
19925         (CFLAGS-tst-chk6.cc): Likewise.
19926         (CFLAGS-tst-lfschk1.c): Likewise.
19927         (CFLAGS-tst-lfschk2.c): Likewise.
19928         (CFLAGS-tst-lfschk3.c): Likewise.
19929         (CFLAGS-tst-lfschk4.cc): Likewise.
19930         (CFLAGS-tst-lfschk5.cc): Likewise.
19931         (CFLAGS-tst-lfschk6.cc): Likewise.
19933         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19934         (main): Disable -Wdeprecated-declarations around calls to
19935         register_printf_function.
19937         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19938         (do_test): Disable -Wdiv-by-zero around some calls to
19939         fwrite_unlocked and fread_unlocked.
19941         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19942         (DIAG_POP_NEEDS_COMMENT): Likewise.
19943         (_DIAG_STR1): Likewise.
19944         (_DIAG_STR): Likewise.
19945         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19946         * stdio-common/bug21.c: Include <libc-internal.h>.
19947         (do_test): Disable -Wformat around call to sscanf.
19948         * stdio-common/scanf14.c: Include <libc-internal.h>.
19949         (main): Disable -Wformat around some calls to scanf functions.
19951 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19953         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19955 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19957         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19958         stack variable alignment.
19960 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #17682]
19963         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19964         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19965         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19966         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19967         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19968         __getrlimit instead of getrlimit.
19969         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19970         __gettimeofday instead of gettimeofday.
19971         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19972         Likewise.
19973         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19974         Likewise.
19975         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19976         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19977         Remove variable.
19978         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19979         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19981 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19983         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19984         for wide-character tests.
19986 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19988         * io/openat64.c: #include <libc-internal.h>
19989         (__openat64): Prototypify.  Use ignore_value on MODE.
19990         * io/openat.c: Likewise.
19991         * misc/reboot.c: #include <libc-internal.h>
19992         (reboot): Prototypify.  Use ignore_value on HOWTO.
19993         * misc/ptrace.c: #include <libc-internal.h>
19994         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19996 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19998         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19999         XPG4, UNIX98 and XOPEN2K.
20000         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20001         Remove variable.
20002         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20004 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006         * libio/fileops.c: Use ISO C style for function definitions.
20007         * libio/iofopen.c: Likewise.
20008         * libio/wfileops.c: Likewise.
20010         [BZ #17653]
20011         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20012         offset on EOF.
20013         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20014         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20015         (fgets_func): Function pointer to fgets and fgetws.
20016         (do_ftell_test): Add test to verify ftell value after read
20017         EOF.
20018         (do_test): Set fgets_func.
20020         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20021         O_TRUNC flag for w and w+ modes.
20022         (do_rewind_test): Likewise.
20023         (do_ftell_test): Likewise.
20024         (do_write_test): Likewise.
20026         [BZ #17647]
20027         * libio/fileops.c (do_ftell): Seek only when there are
20028         unflushed writes.
20029         * libio/wfileops.c (do_ftell_wide): Likewise.
20030         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20031         test case.
20032         (do_one_test): Call it.
20034 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20036         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20037         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20038         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20039         Remove variable.
20040         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20041         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20042         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20044 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20046         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20047         Remove variable.
20048         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20050         [BZ #17668]
20051         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20052         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20053         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20054         __freeifaddrs.  Use libc_hidden_weak.
20055         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20056         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20057         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20058         __freeifaddrs.  Use libc_hidden_weak.
20059         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20060         __getifaddrs and define as weak alias of __getifaddrs.  Use
20061         libc_hidden_weak.
20062         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20063         __freeifaddrs.  Use libc_hidden_weak.
20064         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20065         Remove variable.
20066         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20067         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20069 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20071         [BZ #17601]
20072         * sysdeps/mips/start.S (__start): Use indirect jump to call
20073         __libc_start_main.
20075 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20077         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20079         * nptl/tst-mutex1.c: Include <stdbool.h>.
20080         [!ATTR] (ATTR_NULL): New macro.
20081         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20082         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20083         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20085         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20086         to char *.
20088         [BZ #17665]
20089         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20090         Change conditional to [__USE_MISC].
20092         [BZ #17664]
20093         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20094         fgets_unlocked.
20095         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20096         __fgets_unlocked.
20097         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20098         fgets_unlocked.
20099         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20100         Remove variable.
20101         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20102         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20103         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20104         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20105         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20106         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20107         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20108         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20109         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20111         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20113 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20115         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20116         Remove strpbrk objects.
20117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20118         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20120         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20121         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20122         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20124         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20125         Remove strcspn objects.
20126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20127         (__libc_ifunc_impl_list): Remove strcspn implementation.
20128         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20129         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20130         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20131         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20134         Remove strspn objetcs.
20135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20136         (__libc_ifunc_impl_list): Remove strspn implementation.
20137         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20138         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20139         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20140         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20142 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20144         [BZ #17581]
20145         * malloc/hooks.c
20146         (mem2mem_check): Add a terminator to the chain of checking blocks.
20147         (malloc_check_get_size): Use it here.
20148         (mem2chunk_check): Ditto.
20150 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20152         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20153         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20155 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20157         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20159         * nptl/nptl-init.c: Include libc-internal.h.
20160         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20162         * elf/ldconfig.c (search_dir): Expand comment.
20164 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20166         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20167         variable.
20168         (linknamespace-symlist-stdlibs-tests): Likewise.
20169         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20170         instead of $(objpfx)symlist-stdlibs.
20171         (linknamespace-libs-isoc): New variable.
20172         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20173         (linknamespace-libs-ISO): New variable.
20174         (linknamespace-libs-ISO99): Likewise.
20175         (linknamespace-libs-ISO11): Likewise.
20176         (linknamespace-libs-XPG3): Likewise.
20177         (linknamespace-libs-XPG4): Likewise.
20178         (linknamespace-libs-POSIX): Likewise.
20179         (linknamespace-libs-UNIX98): Likewise.
20180         (linknamespace-libs-XOPEN2K): Likewise.
20181         (linknamespace-libs-POSIX2008): Likewise.
20182         (linknamespace-libs-XOPEN2K8): Likewise.
20183         ($(objpfx)symlist-stdlibs): Replace by
20184         $(linknamespace-symlist-stdlibs-tests).  Use
20185         $(linknamespace-libs-$*) as set of libraries.
20186         ($(linknamespace-header-tests)): Update dependencies.  Use
20187         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20188         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20189         * conform/linknamespace.pl: Remove comment about considering
20190         definitions of symbols from irrelevant libraries.
20192 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20194         [BZ #13862]
20195         * elf/dl-tls.c: Include <atomic.h>.
20196         (oom): Remove #ifdef SHARED/#endif.
20197         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20198         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20199         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20200         big enough.
20201         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20202         * nptl/Makefile (tests): Add tst-stack4.
20203         (modules-names): Add tst-stack4mod.
20204         ($(objpfx)tst-stack4): New.
20205         (tst-stack4mod.sos): Likewise.
20206         ($(objpfx)tst-stack4.out): Likewise.
20207         ($(tst-stack4mod.sos)): Likewise.
20208         (clean): Likewise.
20209         * nptl/tst-stack4.c: New file.
20210         * nptl/tst-stack4mod.c: Likewise.
20212 2014-11-27  J. Brown  <jb999@gmx.de>
20214         * sysdeps/x86/bits/string.h: Add recent CPUs.
20216 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20218         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20219         sigblock.
20221         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20222         feof.
20224         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20225         variable.
20227 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20229         * nscd/connections.c: Include libc-internal.h because of macro
20230         usage ignore_value.
20232 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20234         * string/bits/string3.h (__warn_memset_zero_len): Don't
20235         declare for gcc newer than 5.0.
20236         (memset): Don't test for zero-length __LEN for gcc newer than
20237         5.0.
20239 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20241         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20242         size_t for %zu format.
20244         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20245         difference, not %ju.
20247 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20249         * include/libc-internal.h (ignore_value): New macro.
20250         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20251         with ignore_value.
20253         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20254         definition.
20256         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20257         pthread_cleanup_push to void *.
20259         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20260         Undefine.
20262         [BZ #16619]
20263         [BZ #16740]
20264         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20265         instead of 1L << 52.
20267         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20268         * libio/bug-rewind2.c (do_test): Likewise.
20270         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20271         * debug/test-strcpy_chk-ifunc.c: Likewise.
20272         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20273         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20274         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20275         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20276         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20277         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20278         * Rules [$(multi-arch) = no] (tests): Do not filter out
20279         $(tests-ifunc).
20280         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20281         * debug/Makefile (tests-ifunc): Remove variable.
20282         (tests): Do not add $(tests-ifunc).
20283         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20284         (tests): Do not add $(tests-ifunc).
20285         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20286         [TEST_IFUNC]: Remove conditionals.
20287         * string/test-string.h (TEST_IFUNC): Remove macro.
20288         [TEST_IFUNC]: Remove conditionals.
20290         * string/test-strchr.c [!WIDE] (L): New macro.
20291         [WIDE] (L): Likewise.
20292         (check1): Use CHAR instead of char.  Use L on string and character
20293         constants.
20295 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20297         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20298         tests.
20299         * sysdeps/powerpc/bits/atomic.h
20300         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20301         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20302         (atomic_exchange_and_add_acq): Likewise.
20303         (atomic_exchange_and_add_rel): Likewise.
20304         * sysdeps/powerpc/powerpc32/bits/atomic.h
20305         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20306         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20307         * sysdeps/powerpc/powerpc64/bits/atomic.h
20308         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20309         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20311 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20313         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20314         Change synchronization of __sched_fifo_min_prio and
20315         __sched_fifo_max_prio.
20316         * nptl/pthread_mutexattr_getprioceiling.c
20317         (pthread_mutexattr_getprioceiling): Likewise.
20318         * nptl/pthread_mutexattr_setprioceiling.c
20319         (pthread_mutexattr_setprioceiling): Likewise.
20320         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20321         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20322         Likewise.
20324 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20326         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20327         void.
20329 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20331         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20332         third argument const.
20334 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20336         fnmatch: work around GCC compiler warning bug with uninit var
20337         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20338         This works around a bug with x86-64 GCC 4.9.2 and earlier
20339         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20340         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20341         used uninitialized in this function [-Wmaybe-uninitialized]".
20343 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20345         * posix/bug-regex31.c (main): Return RES not 0.
20347 2014-11-25  Anton Blanchard <anton@samba.org>
20349         * sysdeps/powerpc/bits/atomic.h
20350         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20352 2014-11-24  Sterling Augustine  <saugustine@google.com>
20354         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20356 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20358         [BZ #17608]
20359         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20361 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20363         [BZ #17633]
20364         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20365         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20366         variable.
20367         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20368         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20370 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20372         * string/strncpy.c (strncpy): Improve performance by using memset.
20374 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20376         * string/strcpy.c (strcpy):
20377         Improve performance by using strlen and memcpy.
20379 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20381         * string/strcoll_l.c (get_next_seq): __always_inline.
20382         * string/strcoll_l.c (do_compare): __always_inline.
20384 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20386         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20387         defined.
20388         * include/mqueue.h: Likewise.
20389         * include/stdlib.h: Likewise.
20391         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20392         (get_null_defines): Adjust.
20393         * sunrpc/Makefile: Adjust comment.
20394         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20395         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20396         (CFLAGS-interp.c): Likewise.
20397         (CFLAGS-ldconfig.c): Likewise.
20398         (CPPFLAGS-.os): Likewise.
20399         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20400         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20401         * extra-modules.mk (extra-modules.mk): Likewise.
20402         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20403         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20404         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20405         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20406         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20407         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20408         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20409         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20410         * iconvdata/Makefile (CPPFLAGS): Likewise.
20411         (cpp-srcs-left): Add libof for all iconvdata routines.
20412         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20413         * include/assert.h: Likewise.
20414         * include/ctype.h: Likewise.
20415         * include/errno.h: Likewise.
20416         * include/libc-symbols.h: Likewise.
20417         * include/math.h: Likewise.
20418         * include/netdb.h: Likewise.
20419         * include/resolv.h: Likewise.
20420         * include/stdio.h: Likewise.
20421         * include/stdlib.h: Likewise.
20422         * include/string.h: Likewise.
20423         * include/sys/stat.h: Likewise.
20424         * include/wctype.h: Likewise.
20425         * intl/l10nflist.c: Likewise.
20426         * libidn/idn-stub.c: Likewise.
20427         * libio/libioP.h: Likewise.
20428         * nptl/libc_multiple_threads.c: Likewise.
20429         * nptl/pthreadP.h: Likewise.
20430         * posix/regex_internal.h: Likewise.
20431         * resolv/res_hconf.c: Likewise.
20432         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20433         * sysdeps/arm/memmove.S: Likewise.
20434         * sysdeps/arm/sysdep.h: Likewise.
20435         * sysdeps/generic/_itoa.h: Likewise.
20436         * sysdeps/generic/symbol-hacks.h: Likewise.
20437         * sysdeps/gnu/errlist.awk: Likewise.
20438         * sysdeps/gnu/errlist.c: Likewise.
20439         * sysdeps/i386/i586/memcpy.S: Likewise.
20440         * sysdeps/i386/i586/memset.S: Likewise.
20441         * sysdeps/i386/i686/memcpy.S: Likewise.
20442         * sysdeps/i386/i686/memmove.S: Likewise.
20443         * sysdeps/i386/i686/mempcpy.S: Likewise.
20444         * sysdeps/i386/i686/memset.S: Likewise.
20445         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20446         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20447         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20448         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20449         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20450         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20451         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20452         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20453         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20454         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20461         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20462         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20463         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20464         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20465         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20466         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20467         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20468         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20469         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20470         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20471         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20472         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20473         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20474         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20475         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20476         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20478         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20479         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20480         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20481         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20482         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20485         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20486         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20487         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20488         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20489         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20490         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20491         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20492         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20493         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20494         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20495         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20496         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20497         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20498         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20499         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20500         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20501         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20502         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20503         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20504         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20505         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20506         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20507         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20508         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20509         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20510         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20511         * sysdeps/posix/closedir.c: Likewise.
20512         * sysdeps/posix/opendir.c: Likewise.
20513         * sysdeps/posix/readdir.c: Likewise.
20514         * sysdeps/posix/rewinddir.c: Likewise.
20515         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20516         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20517         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20518         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20519         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20520         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20525         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20526         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20527         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20528         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20529         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20530         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20531         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20532         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20533         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20535         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20536         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20537         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20538         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20539         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20540         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20541         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20542         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20543         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20550         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20551         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20552         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20553         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20554         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20555         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20556         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20557         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20559         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20560         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20561         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20562         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20563         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20564         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20565         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20566         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20567         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20568         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20569         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20572         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20573         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20574         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20575         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20576         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20577         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20578         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20579         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20580         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20581         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20582         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20583         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20584         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20585         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20586         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20587         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20588         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20589         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20590         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20591         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20592         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20593         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20594         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20595         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20596         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20597         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20599         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20600         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20601         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20602         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20603         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20605         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20606         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20607         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20611         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20613         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20614         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20615         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20616         * sysdeps/unix/alpha/sysdep.S: Likewise.
20617         * sysdeps/unix/alpha/sysdep.h: Likewise.
20618         * sysdeps/unix/make-syscalls.sh: Likewise.
20619         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20621         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20622         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20623         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20624         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20625         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20626         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20627         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20628         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20629         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20630         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20632         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20633         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20634         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20635         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20636         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20637         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20638         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20639         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20641         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20642         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20643         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20644         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20648         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20649         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20653         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20657         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20658         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20659         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20660         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20661         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20662         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20663         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20664         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20665         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20666         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20669         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20670         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20671         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20672         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20673         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20674         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20675         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20677         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20678         * sysdeps/x86_64/memcpy.S: Likewise.
20679         * sysdeps/x86_64/memmove.c: Likewise.
20680         * sysdeps/x86_64/memset.S: Likewise.
20681         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20682         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20683         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20684         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20685         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20686         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20687         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20688         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20689         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20690         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20691         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20692         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20693         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20694         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20695         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20696         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20698         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20699         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20700         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20701         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20702         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20704         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20705         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20706         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20707         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20708         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20709         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20710         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20711         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20712         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20713         * sysdeps/x86_64/strcmp.S: Likewise.
20715         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20717         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20718         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20719         * elf/rtld-Rules: Likewise.
20720         * elf/setup-vdso.h: Likewise.
20721         * include/assert.h: Likewise.
20722         * include/bits/stdlib-float.h: Likewise.
20723         * include/errno.h: Likewise.
20724         * include/sys/stat.h: Likewise.
20725         * include/unistd.h: Likewise.
20726         * sysdeps/aarch64/setjmp.S: Likewise.
20727         * sysdeps/alpha/setjmp.S: Likewise.
20728         * sysdeps/arm/__longjmp.S: Likewise.
20729         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20730         * sysdeps/arm/setjmp.S: Likewise.
20731         * sysdeps/arm/sysdep.h: Likewise.
20732         * sysdeps/generic/_itoa.h: Likewise.
20733         * sysdeps/generic/dl-sysdep.h: Likewise.
20734         * sysdeps/generic/ldsodefs.h: Likewise.
20735         * sysdeps/i386/dl-tls.h: Likewise.
20736         * sysdeps/i386/setjmp.S: Likewise.
20737         * sysdeps/m68k/setjmp.c: Likewise.
20738         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20739         * sysdeps/mach/hurd/opendir.c: Likewise.
20740         * sysdeps/posix/getcwd.c: Likewise.
20741         * sysdeps/posix/opendir.c: Likewise.
20742         * sysdeps/posix/profil.c: Likewise.
20743         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20744         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20745         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20746         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20747         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20748         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20749         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20750         * sysdeps/s390/dl-tls.h: Likewise.
20751         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20752         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20753         * sysdeps/sh/sh3/setjmp.S: Likewise.
20754         * sysdeps/sh/sh4/setjmp.S: Likewise.
20755         * sysdeps/unix/alpha/sysdep.h: Likewise.
20756         * sysdeps/unix/arm/sysdep.S: Likewise.
20757         * sysdeps/unix/i386/sysdep.S: Likewise.
20758         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20759         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20760         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20761         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20763         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20764         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20765         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20766         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20767         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20768         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20769         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20773         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20774         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20776         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20777         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20778         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20781         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20782         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20783         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20785         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20786         * sysdeps/x86_64/setjmp.S: Likewise.
20788         * include/math.h: Use IS_IN instead of IS_IN_libm.
20789         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20794         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20795         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20796         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20798         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20799         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20800         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20801         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20802         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20803         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20804         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20805         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20806         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20807         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20808         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20809         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20810         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20811         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20812         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20813         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20814         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20815         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20816         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20817         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20818         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20819         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20820         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20821         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20823         Likewise.
20824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20825         Likewise.
20826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20827         Likewise.
20828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20829         Likewise.
20830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20831         Likewise.
20832         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20833         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20834         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20835         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20836         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20837         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20843         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20844         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20845         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20846         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20848         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20849         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20850         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20851         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20852         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20853         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20856         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20858         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20860         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20861         * nptl/pthreadP.h: Likewise.
20862         * nptl_db/structs.def: Likewise.
20863         * sysdeps/arm/sysdep.h: Likewise.
20864         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20865         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20866         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20867         * sysdeps/unix/alpha/sysdep.h: Likewise.
20868         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20870         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20871         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20872         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20873         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20874         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20875         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20876         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20877         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20878         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20879         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20880         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20881         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20884         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20886         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20887         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20889         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20890         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20891         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20892         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20893         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20895         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20896         * nptl/pthreadP.h: Likewise.
20897         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20898         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20899         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20900         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20901         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20902         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20903         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20904         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20905         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20906         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20907         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20908         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20910         Likewise.
20911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20912         Likewise.
20913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20915         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20918         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20919         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20920         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20922         * dlfcn/dladdr.c: Use IS_IN.
20923         * dlfcn/dladdr1.c: Likewise.
20924         * dlfcn/dlclose.c: Likewise.
20925         * dlfcn/dlerror.c: Likewise.
20926         * dlfcn/dlinfo.c: Likewise.
20927         * dlfcn/dlmopen.c: Likewise.
20928         * dlfcn/dlopen.c: Likewise.
20929         * dlfcn/dlsym.c: Likewise.
20930         * dlfcn/dlvsym.c: Likewise.
20932         * include/ifaddrs.h: Use IS_IN.
20933         * inet/check_pf.c: Likewise.
20934         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20935         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20937         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20938         IS_IN_ldconfig.
20939         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20940         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20942         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20943         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20944         IS_IN (libc).
20946         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20948         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20949         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20950         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20951         * include/libc-symbols.h (IS_IN_LIB): New macro.
20952         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20953         * include/netdb.h: Likewise.
20954         * include/stap-probe.h: Remove all uses of IN_LIB.
20956         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20957         instead of IN_MODULE.
20958         * include/libc-symbols.h (IN_MODULE): Define using
20959         MODULE_NAME.
20960         (PASTE_NAME, PASTE_NAME1): New macros.
20961         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20962         of IN_LIB.
20963         (STAP_PROBE_ASM): Likewise.
20965 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20967         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20968         __mach_init in dlopened libc.
20970 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20972         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20973         * sysdeps/arm/preconfigure: Regenerate.
20975 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20977         * nptl/pthread_create.c (__pthread_create_2_1): Set
20978         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20979         when copying values from IATTR into PD.
20981 2014-11-21  Will Newton  <will.newton@linaro.org>
20982             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20984         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20985         Refactor inline-asm.  Also add comment.
20987         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20988         ElfW macro instead of hardcoded Elf64 types.
20989         (la_aarch64_gnu_pltenter): Likewise.
20990         * sysdeps/aarch64/dl-machine.h
20991         (elf_machine_runtime_setup): Use ElfW(Addr).
20993         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20994         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20995         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20996         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20997         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20998         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20999         (R_AARCH64_TLS_DTPMOD): This.
21000         (R_AARCH64_TLS_DTPREL64): Rename to ...
21001         (R_AARCH64_TLS_DTPREL): This.
21002         (R_AARCH64_TLS_TPREL64): Rename to ...
21003         (R_AARCH64_TLS_TPREL): This.
21004         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21005         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21006         R_AARCH64_TLS_TPREL64.
21007         (elf_machine_rela): Likewise.
21009 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21011         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21012         by setting it to 0.  64b atomics are not supported currently.
21014 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21016         [BZ #16469]
21017         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21018         search domain names.
21020 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21022         [BZ #16469]
21023         * NEWS: Update.
21024         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21025         trailing dot.
21026         * posix/tst-getaddrinfo5.c: New.
21027         * posix/Makefile (tests): Add it.
21029 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21031         [BZ #14498]
21032         * NEWS: Fixed.
21033         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21034         after parsing line but before break_if_match.
21035         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21036         if there is a protocol mismatch.
21038 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21040         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21041         because the potential race is on the user-supplied stream.
21043 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21045         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21046         string literal if not passed a buffer.
21047         * manual/job.texi (ctermid): Update reasoning, note deviation
21048         from posix, suggest mtasurace when not passed a buffer, for
21049         future non-preliminary safety notes.
21051 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21053         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21054         of not passing it a buffer.
21055         Reported by Peng Haitao.
21057 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21059         * manual/Makefile ($(objpfx)stamp-summary): Require
21060         check-safety.sh to pass.
21061         * manual/check-safety.sh: Wish for verification that every
21062         @deftypefn and @deftypefun is followed by a @safety remark.
21064 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21066         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21068         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21069         PTHREAD_CANCEL_ASYNCHRONOUS.
21070         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21071         send SIGCANCEL.
21073         * nptl/default-sched.h: New file.
21074         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21075         * nptl/pthread_create.c: Include it.
21076         (__pthread_create_2_1): Use collect_default_sched instead of making
21077         Linux syscalls here directly.
21079 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21081         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21082         __pthread_once): Use C11 atomics.
21084 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21086         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21088 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21090         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21091         atomic_thread_fence_acquire, atomic_thread_fence_release,
21092         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21093         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21094         atomic_compare_exchange_weak_relaxed,
21095         atomic_compare_exchange_weak_acquire,
21096         atomic_compare_exchange_weak_release,
21097         atomic_exchange_acquire, atomic_exchange_release,
21098         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21099         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21100         atomic_fetch_and_acquire,
21101         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21103 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21105         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21106         USE_ATOMIC_COMPILER_BUILTINS): Define.
21107         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21109         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21111         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21113         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21115         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21117         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21119         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21121         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21123         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21125         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21127         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21129         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21131         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21133         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21135         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21137         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21139         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21141         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21142         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21143         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21145         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21148 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21150         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21151         the sched_priority value here.  It was already checked when the user
21152         called pthread_attr_setschedparam.
21154         * nptl/tst-bad-schedattr.c: New file.
21155         * nptl/Makefile (tests): Add it.
21157 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21158             Florian Weimer  <fweimer@redhat.com>
21159             Joseph Myers  <joseph@codesourcery.com>
21160             Adam Conrad  <adconrad@0c3.net>
21161             Andreas Schwab  <schwab@suse.de>
21162             Brooks  <bmoses@google.com>
21164         [BZ #17625]
21165         * wordexp-test.c (__dso_handle): Add prototype.
21166         (__register_atfork): Likewise.
21167         (__app_register_atfork): New function.
21168         (registered_forks): New global.
21169         (register_fork): New function.
21170         (test_case): Add 3 new tests for WRDE_CMDSUB.
21171         (main): Call __app_register_atfork.
21172         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21173         fork count is non-zero fail the test.
21174         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21175         is set.
21176         (parse_dollars): Remove check for WRDE_NOCMD.
21177         (parse_dquote): Likewise.
21179 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21181         * Makeconfig (built-modules): List non-library modules to be
21182         built.
21183         (module-cppflags): Include libc-modules.h for
21184         everything except shlib-versions.v.i.
21185         (CPPFLAGS): Use it.
21186         (before-compile): Add libc-modules.h.
21187         ($(common-objpfx)libc-modules.h,
21188         $(common-objpfx)libc-modules.stmp): New targets.
21189         (common-generated): Add libc-modules.h and libc-modules.stmp.
21190         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21191         * include/libc-symbols.h: Don't include libc-modules.h.
21192         * include/libc-modules.h: Remove file.
21193         * scripts/gen-libc-modules.awk: New script to generate
21194         libc-modules.h.
21195         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21196         Depend on libc-modules.stmp.
21198         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21200         * Makeconfig (in-module): Get value of libof set for the
21201         translation unit.
21202         (CPPFLAGS): Use $(in-module).
21203         * Makerules: Don't suffix routine names for nonlib.
21204         * include/libc-modules.h: New file.
21205         * include/libc-symbols.h: Include libc-modules.h
21206         (IS_IN): New macro to replace IS_IN_* macros.
21207         * elf/Makefile: Set libof-* for each routine.
21208         * elf/rtld-Rules: Likewise.
21209         * extra-modules.mk: Likewise.
21210         * iconv/Makefile: Likewise.
21211         * iconvdata/Makefile: Likewise.
21212         * locale/Makefile: Likewise.
21213         * malloc/Makefile: Likewise.
21214         * nss/Makefile: Likewise.
21215         * sysdeps/gnu/Makefile: Likewise.
21216         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21217         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21218         * sysdeps/s390/s390-64/Makefile: Likewise.
21219         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21220         CPPFLAGS for nscd instead of nonlib.
21222 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21224         * nptl/createthread.c: New file.
21226         * nptl/createthread.c: Moved ...
21227         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21229         * nptl/createthread.c: Add proper top-line comment.
21230         (do_clone): Folded into ...
21231         (create_thread): ... here.  Take new arguments STOPPED_START and
21232         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21233         increment __nptl_threads, do event-reporting logic, do
21234         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21235         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21236         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21237         just send SIGCANCEL.
21238         * nptl/pthread_create.c: Forward-declare create_thread before
21239         including createthread.c.
21240         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21241         declaration, and new macro START_THREAD_SELF to replace argument.
21242         Remove return statement.
21243         (report_thread_creation): New function.
21244         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21245         synchronization logic, and __nptl_nthreads increment here, around
21246         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21247         PD->parent_cancelhandling here, before create_thread.  When
21248         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21249         __deallocate_stack, and ENOMEM translation here.
21251 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21253         [BZ #17616]
21254         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21255         (mptwo): Rename to __mptwo.
21256         (__inv): Use __mptwo instead of mptwo.
21257         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21258         (mptwo): Rename to __mptwo.
21259         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21260         of mpone and __mptwo instead of mptwo.
21261         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21262         instead of mpone.
21263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21264         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21265         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21266         of mpone and __mptwo instead of mptwo.
21267         (__mpranred): Use __mpone instead of mpone.
21268         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21269         variable.
21270         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21271         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21272         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21273         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21274         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21275         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21276         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21277         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21278         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21279         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21280         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21281         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21282         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21283         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21284         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21285         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21286         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21287         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21288         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21290 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21292         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21293         replace BSD Handler xref with BSD Signal Handling.
21295 2014-11-17  Richard Henderson  <rth@redhat.com>
21297         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21298         (_FP_PACK_RAW_2): Remove.
21299         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21300         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21301         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21302         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21303         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21304         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21305         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21306         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21307         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21308         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21309         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21310         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21311         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21312         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21313         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21314         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21316 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21318         * signal/signal.h [__USE_MISC]
21319         (struct sigvec): Remove type.
21320         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21321         (sigvec): Remove declaration.
21322         * sysdeps/posix/sigvec.c: Moved ...
21323         * signal/sigvec.c: ... here, replacing old file.
21324         (struct sigvec): New type, copied from old signal.h definition.
21325         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21326         (__sigvec): Convert definition to prototype.
21327         (sigvec): Replace weak_alias with compat_symbol.
21328         * signal/Versions (libc: GLIBC_2.21): New version set.
21329         * include/signal.h: Remove __sigvec declaration.
21330         * sysdeps/unix/bsd/sigvec.c: Remove file.
21331         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21332         * manual/signal.texi (BSD Handler): Remove subsection.
21333         Move siginterrupt up to ...
21334         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21335         (Blocking in BSD): Fold subsection into its parent.
21336         * NEWS: Mention sigvec removal.
21338 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21340         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21341         (DLA_FMS): Make definition conditional only on [__FMA4__].
21342         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21343         definition.
21345         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21346         Make definition conditional only on [PROF].
21347         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21348         definition.
21349         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21350         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21352         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21353         !__GNUC__].
21354         * include/signal.h (__sigpause): Move declaration above call to
21355         libc_hidden_proto.
21356         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21357         variable.
21358         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21359         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21361 2014-11-14  David S. Miller  <davem@davemloft.net>
21363         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21364         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21366 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21368         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21369         * configure: Regenerated.
21370         * manual/install.texi (Tools for Compilation): Document a
21371         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21372         compiler verified to work.
21373         * INSTALL: Regenerated.
21375         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21376         redeclare with asm name.
21377         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21378         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21379         including <string.h>.
21380         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21381         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21382         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21383         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21384         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21385         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21386         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21388 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21390         * stdlib/strtol.c (__strtol): Use prototype definition.
21392         [BZ #17594]
21393         * stdlib/strtol.c (SYM__): New macro.
21394         (SYM__1): Likewise.
21395         (__strtol): Likewise.
21396         (strtol): Rename to __strtol and define as weak alias of
21397         __strtol.  Use libc_hidden_weak.
21399 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21401         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21402         Use numbered labels in inline assembly.
21404 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21406         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21407         Add setjmp LIBC_PROBE.
21408         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21409         Likewise.
21410         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21411         Add longjmp, longjmp_target LIBC_PROBE.
21412         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21413         Likewise.
21415 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21418         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21419         to get rid of unused variable warning.
21421 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21423         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21424         Check for unwind_backtrace ==  NULL only in SHARED case.
21425         (__backchain_backtrace): Compile only in SHARED case.
21426         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21427         Likewise.
21428         (__backchain_backtrace): Declare as static.
21430 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21432         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21433         (__libc_multiple_threads_ptr): Variable moved ...
21434         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21436 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21438         * conform/GlibcConform.pm: New file.
21439         * conform/conformtest.pl: Use GlibcConform module.
21440         * conform/linknamespace.pl: New file.
21441         * conform/list-header-symbols.pl: Likewise.
21442         * conform/Makefile (linknamespace-symlists-base): New variable.
21443         (linknamespace-symlists-tests): Likewise.
21444         (linknamespace-header-base): Likewise.
21445         (linknamespace-header-tests): Likewise.
21446         (tests-special): Add new tests.
21447         ($(linknamespace-symlists-tests)): New rule.
21448         (linknamespace-libs): New variable.
21449         ($(objpfx)symlist-stdlibs): New rule.
21450         ($(linknamespace-header-tests)): Likewise.
21451         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21452         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21453         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21454         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21455         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21456         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21457         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21458         (test-xfail-ISO/math.h/linknamespace): Likewise.
21459         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21460         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21461         (test-xfail-ISO/time.h/linknamespace): Likewise.
21462         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21463         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21464         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21465         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21466         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21467         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21468         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21469         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21470         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21471         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21472         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21473         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21474         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21475         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21476         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21477         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21478         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21479         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21480         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21481         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21482         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21483         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21484         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21485         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21486         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21487         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21488         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21489         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21490         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21491         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21492         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21493         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21494         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21495         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21496         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21497         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21498         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21499         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21500         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21501         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21502         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21503         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21504         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21505         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21506         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21507         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21508         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21509         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21510         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21511         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21512         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21513         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21514         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21515         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21516         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21517         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21518         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21519         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21520         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21521         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21522         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21523         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21524         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21525         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21526         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21527         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21528         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21529         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21530         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21531         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21532         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21533         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21534         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21535         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21536         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21537         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21538         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21539         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21540         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21541         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21542         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21543         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21544         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21545         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21546         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21547         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21548         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21549         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21550         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21551         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21552         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21553         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21554         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21555         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21556         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21557         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21558         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21559         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21560         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21561         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21562         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21563         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21564         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21565         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21566         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21567         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21568         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21569         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21570         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21571         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21572         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21573         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21574         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21575         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21576         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21577         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21578         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21579         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21580         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21581         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21582         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21583         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21584         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21585         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21586         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21587         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21588         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21589         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21590         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21591         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21592         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21593         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21594         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21595         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21596         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21597         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21598         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21599         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21600         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21601         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21602         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21603         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21604         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21605         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21606         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21607         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21608         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21609         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21610         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21611         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21613         [BZ #17589]
21614         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21615         of fgets_unlocked.
21617         [BZ #17585]
21618         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21619         (memmem): Rename to __memmem and define as weak alias of
21620         __memmem.  Use libc_hidden_weak.
21621         (__memmem): Use libc_hidden_def.
21622         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21623         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21624         memmem.
21626         [BZ #17582]
21627         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21628         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21629         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21630         and define as weak alias of __fgets_unlocked.  Use
21631         libc_hidden_weak.
21632         (__fgets_unlocked): Use libc_hidden_def.
21633         * include/stdio.h (__fgets_unlocked): Declare.  Use
21634         libc_hidden_proto.
21635         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21636         __fgets_unlocked instead of fgets_unlocked.
21637         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21638         (GET_NPROCS_CONF_PARSER): Likewise.
21639         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21640         (GET_NPROCS_CONF_PARSER): Likewise.
21642         [BZ #17574]
21643         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21644         weak alias of __wmemset.  Use libc_hidden_weak.
21645         (__wmemset): Use libc_hidden_def.
21646         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21647         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21648         of wmemset.
21650         [BZ #17573]
21651         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21652         with asm name __mempcpy.
21653         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21655         [BZ #17572]
21656         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21657         and define as weak alias of __rawmemchr.
21658         (__rawmemchr): Do not define as strong alias of rawmemchr.
21660         [BZ #17571]
21661         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21662         alias of __qsort_r.
21663         (qsort): Call __qsort_r instead of qsort_r.
21664         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21665         (__qsort_r): Declare.  Call libc_hidden_proto.
21666         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21667         instead of qsort_r.
21668         * nscd/gai.c (__qsort_r): Define to qsort_r.
21669         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21670         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21671         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21673         [BZ #17570]
21674         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21675         define as weak alias of __malloc_info.
21677         [BZ #17584]
21678         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21679         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21680         (__rewinddir): Use libc_hidden_def.
21681         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21682         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21683         (__rewinddir): Use libc_hidden_def.
21684         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21685         weak alias of __rewinddir.  Don't use libc_hidden_def.
21686         (__rewinddir): Use libc_hidden_def.
21687         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21688         (__rewinddir): Use libc_hidden_proto.
21689         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21690         rewinddir.
21691         (__getcwd): Use __rewinddir instead of rewinddir.
21693         [BZ #17583]
21694         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21695         alias of __fileno.  Use libc_hidden_weak.
21696         (__fileno): Use libc_hidden_def.
21697         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21698         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21699         alias of __ftello.
21700         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21701         __ftello.
21702         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21703         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21704         libc_hidden_def.
21705         (fread_unlocked): Don't use libc_hidden_ver.
21706         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21707         and define as weak alias of __fread_unlocked.  Don't use
21708         libc_hidden_def.
21709         (__fread_unlocked): Use libc_hidden_def.
21710         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21711         (ftello): Don't use libc_hidden_proto.
21712         (__ftello): Declare.  Use libc_hidden_proto.
21713         (fread_unlocked): Don't use libc_hidden_proto.
21714         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21715         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21716         and __ftello instead of fileno, fread_unlocked and ftello.
21718 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21720         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21721         GOT12.
21722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21723         Likewise.
21724         (_dl_start_user): Likewise.
21725         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21727 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21728             Siddhesh Poyarekar  <siddhesh@redhat.com>
21730         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21731         Move argv and envp down instead of moving argc up.
21732         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21734 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21736         [BZ #17506]
21737         * test-skeleton.c (main): Return successful if one of
21738         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21739         * string/tst-strcoll-overflow.c: Define expected status.
21741 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21743         [BZ #17475]
21744         * locale/iso-639.def: Define Bhili and Tulu language codes.
21746 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21748         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21750 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21752         [BZ #17555]
21753         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21755 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21757         * configure.ac: Updated check of minimal required version to
21758         2.22.
21759         * manual/install.texi (Tools for Compilation): Updated version
21760         number.
21761         * configure: Regenerated.
21762         * INSTALL: Likewise.
21764 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21766         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21767         __tls_get_addr.
21769 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21771         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21772         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21773         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21774         libc_hidden_weak.
21775         (waitpid): Define as alias of __waitpid.
21776         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21777         __waitpid.
21778         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21779         libc_hidden_weak.
21780         (waitpid): Define as alias of __waitpid.
21781         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21782         __libc_waitpid alias.
21783         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21784         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21785         Likewise.
21786         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21787         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21788         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21789         alias.
21790         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21791         __waitpid.
21792         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21793         libc_hidden_weak.
21794         (waitpid): Define as alias of __waitpid.
21796 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21798         * manual/llio.texi: Add comment that write safety has been
21799         fixed in Linux.
21801         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21802         (localplt-build-dso): Add elf/ld.so.
21803         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21804         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21805         and free for ld.so.
21806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21807         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21809         Likewise.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21811         Likewise.
21812         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21813         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21814         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21815         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21816         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21817         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21818         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21819         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21820         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21821         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21822         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21824 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21826         [BZ #14132]
21827         * include/libc-symbols.h (INTUSE): Remove macro.
21828         (INTDEF): Likewise.
21829         (INTVARDEF): Likewise.
21830         (_INTVARDEF): Likewise.
21831         (INTDEF2): Likewise.
21832         (INTVARDEF2): Likewise.
21833         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21834         rtld_hidden_def instead of INTVARDEF.
21835         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21836         (_dl_starting_up_internal): Remove declaration.
21837         (_dl_starting_up): Use rtld_hidden_proto.
21838         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21839         declaration.
21840         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21841         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21842         _dl_starting_up.
21843         * elf/dl-writev.h (_dl_writev): Likewise.
21844         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21845         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21846         _dl_starting_up_internal.
21848 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21850         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21851         test-skeleton.c.
21853 2014-11-05  Will Newton  <will.newton@linaro.org>
21855         * benchtests/Makefile: (bench-malloc): Add malloc thread
21856         scalability benchmark.
21857         * benchtests/bench-malloc-threads.c: New file.
21859 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21861         * sysdeps/aarch64/strchrnul.S: New file.
21863 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21865         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21866         definition.
21867         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21868         Likwise.
21869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21870         Likewise.
21871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21872         Likewise.
21873         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21874         Likewise.
21875         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21876         Likewise.
21878 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21880         * catgets/test-gencat.c: Use test-skeleton.c.
21881         * catgets/tst-catgets.c: Likewise.
21882         * csu/tst-empty.c: Likewise.
21883         * elf/tst-audit2.c: Likewise.
21884         * elf/tst-global1.c: Likewise.
21885         * elf/tst-pathopt.c: Likewise.
21886         * elf/tst-piemod1.c: Likewise.
21887         * elf/tst-tls10.c: Likewise.
21888         * elf/tst-tls11.c: Likewise.
21889         * elf/tst-tls12.c: Likewise.
21890         * gnulib/tst-gcc.c: Likewise.
21891         * iconvdata/tst-e2big.c: Likewise.
21892         * iconvdata/tst-loading.c: Likewise.
21893         * iconv/tst-iconv1.c: Likewise.
21894         * iconv/tst-iconv2.c: Likewise.
21895         * inet/test-inet6_opt.c: Likewise.
21896         * inet/tst-gethnm.c: Likewise.
21897         * inet/tst-network.c: Likewise.
21898         * inet/tst-ntoa.c: Likewise.
21899         * intl/tst-codeset.c: Likewise.
21900         * intl/tst-gettext2.c: Likewise.
21901         * intl/tst-gettext3.c: Likewise.
21902         * intl/tst-ngettext.c: Likewise.
21903         * intl/tst-translit.c: Likewise.
21904         * io/test-stat.c: Likewise.
21905         * libio/test-fmemopen.c: Likewise.
21906         * libio/tst-freopen.c: Likewise.
21907         * libio/tst-sscanf.c: Likewise.
21908         * libio/tst-ungetwc1.c: Likewise.
21909         * libio/tst-ungetwc2.c: Likewise.
21910         * libio/tst-widetext.c: Likewise.
21911         * localedata/tst-ctype.c: Likewise.
21912         * localedata/tst-digits.c: Likewise.
21913         * localedata/tst-leaks.c: Likewise.
21914         * localedata/tst-mbswcs1.c: Likewise.
21915         * localedata/tst-mbswcs2.c: Likewise.
21916         * localedata/tst-mbswcs3.c: Likewise.
21917         * localedata/tst-mbswcs4.c: Likewise.
21918         * localedata/tst-mbswcs5.c: Likewise.
21919         * localedata/tst-setlocale.c: Likewise.
21920         * localedata/tst-trans.c: Likewise.
21921         * localedata/tst-wctype.c: Likewise.
21922         * localedata/tst-xlocale1.c: Likewise.
21923         * login/tst-grantpt.c: Likewise.
21924         * malloc/tst-calloc.c: Likewise.
21925         * malloc/tst-malloc.c: Likewise.
21926         * malloc/tst-mallocstate.c: Likewise.
21927         * malloc/tst-mcheck.c: Likewise.
21928         * malloc/tst-mtrace.c: Likewise.
21929         * malloc/tst-obstack.c: Likewise.
21930         * math/atest-exp2.c: Likewise.
21931         * math/atest-exp.c: Likewise.
21932         * math/atest-sincos.c: Likewise.
21933         * math/test-matherr.c: Likewise.
21934         * math/test-misc.c: Likewise.
21935         * math/test-powl.c: Likewise.
21936         * math/tst-definitions.c: Likewise.
21937         * misc/tst-dirname.c: Likewise.
21938         * misc/tst-efgcvt.c: Likewise.
21939         * misc/tst-fdset.c: Likewise.
21940         * misc/tst-hsearch.c: Likewise.
21941         * misc/tst-mntent2.c: Likewise.
21942         * nptl/tst-sem7.c: Likewise.
21943         * nptl/tst-sem8.c: Likewise.
21944         * nptl/tst-sem9.c: Likewise.
21945         * nss/test-netdb.c: Likewise.
21946         * posix/tst-fnmatch.c: Likewise.
21947         * posix/tst-getlogin.c: Likewise.
21948         * posix/tst-gnuglob.c: Likewise.
21949         * posix/tst-mmap.c: Likewise.
21950         * pwd/tst-getpw.c: Likewise.
21951         * resolv/tst-inet_ntop.c: Likewise.
21952         * rt/tst-timer.c: Likewise.
21953         * stdio-common/test-fseek.c: Likewise.
21954         * stdio-common/test-popen.c: Likewise.
21955         * stdio-common/test-vfprintf.c: Likewise.
21956         * stdio-common/tst-cookie.c: Likewise.
21957         * stdio-common/tst-fileno.c: Likewise.
21958         * stdio-common/tst-gets.c: Likewise.
21959         * stdio-common/tst-obprintf.c: Likewise.
21960         * stdio-common/tst-perror.c: Likewise.
21961         * stdio-common/tst-sprintf2.c: Likewise.
21962         * stdio-common/tst-sprintf3.c: Likewise.
21963         * stdio-common/tst-sprintf.c: Likewise.
21964         * stdio-common/tst-swprintf.c: Likewise.
21965         * stdio-common/tst-tmpnam.c: Likewise.
21966         * stdio-common/tst-unbputc.c: Likewise.
21967         * stdio-common/tst-wc-printf.c: Likewise.
21968         * stdlib/tst-environ.c: Likewise.
21969         * stdlib/tst-fmtmsg.c: Likewise.
21970         * stdlib/tst-limits.c: Likewise.
21971         * stdlib/tst-rand48-2.c: Likewise.
21972         * stdlib/tst-rand48.c: Likewise.
21973         * stdlib/tst-random2.c: Likewise.
21974         * stdlib/tst-random.c: Likewise.
21975         * stdlib/tst-strtol.c: Likewise.
21976         * stdlib/tst-strtoll.c: Likewise.
21977         * stdlib/tst-tls-atexit.c: Likewise.
21978         * stdlib/tst-xpg-basename.c: Likewise.
21979         * string/test-ffs.c: Likewise.
21980         * string/tst-bswap.c: Likewise.
21981         * string/tst-inlcall.c: Likewise.
21982         * string/tst-strtok.c: Likewise.
21983         * string/tst-strxfrm.c: Likewise.
21984         * sysdeps/x86_64/tst-audit10.c: Likewise.
21985         * sysdeps/x86_64/tst-audit3.c: Likewise.
21986         * sysdeps/x86_64/tst-audit4.c: Likewise.
21987         * sysdeps/x86_64/tst-audit5.c: Likewise.
21988         * time/tst-ftime_l.c: Likewise.
21989         * time/tst-getdate.c: Likewise.
21990         * time/tst-mktime3.c: Likewise.
21991         * time/tst-mktime.c: Likewise.
21992         * time/tst-posixtz.c: Likewise.
21993         * time/tst-strptime2.c: Likewise.
21994         * time/tst-strptime3.c: Likewise.
21995         * wcsmbs/tst-btowc.c: Likewise.
21996         * wcsmbs/tst-mbrtowc.c: Likewise.
21997         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21998         * wcsmbs/tst-wchar-h.c: Likewise.
21999         * wcsmbs/tst-wcpncpy.c: Likewise.
22000         * wcsmbs/tst-wcrtomb.c: Likewise.
22001         * wcsmbs/tst-wcsnlen.c: Likewise.
22002         * wcsmbs/tst-wcstof.c: Likewise.
22004 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22006         [BZ #14132]
22007         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22008         INTDEF.
22009         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22010         declaration.
22011         (_dl_mcount): Use rtld_hidden_proto.
22012         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22013         _dl_mcount.
22014         * elf/rtld.c (_rtld_global_ro): Likewise.
22016         [BZ #14132]
22017         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22018         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22019         of _dl_init_internal.
22020         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22021         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22022         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22023         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22024         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22025         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22026         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22027         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22028         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22029         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22030         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22031         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22032         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22033         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22034         * sysdeps/tile/dl-start.S (_start): Likewise.
22035         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22036         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22038         [BZ #14132]
22039         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22040         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22041         (rtld_progname): Make macro definition unconditional.
22042         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22043         INTDEF.
22044         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22045         (dl_main): Likewise.
22046         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22047         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22048         instead of _dl_argv_internal.
22049         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22050         __GI__dl_argv instead of INTUSE(_dl_argv).
22051         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22052         __GI__dl_argv instead of _dl_argv_internal.
22054         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22055         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22056         macro.
22057         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22058         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22059         New macro.
22060         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22061         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22062         macro.
22063         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22064         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22066 2014-11-04  Andreas Schwab  <schwab@suse.de>
22068         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22070 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22072         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22073         mtvsrd instruction in binary form.
22075 2014-11-03  Andreas Schwab  <schwab@suse.de>
22077         [BZ #17522]
22078         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22079         for less than MB_LEN_MAX use a local buffer of that size.
22080         * libio/tst-fputws.c: New file.
22081         * libio/Makefile (tests): Add tst-fputws.
22083 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22085         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22086         the size of the fpu_fr.fpu_dregs[] array.
22088 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22090         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22091         (__nanosleep): Do not define as alias.
22092         (nanosleep): Define as alias of __nanosleep.
22093         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22094         __libc_nanosleep name.
22096 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22098         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22099         install.texi in comment.
22101 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22103         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22104         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22105         ... add here and use lwsync or sync ...
22106         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22107         ... and add here using lwsync.
22109 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22111         * elf/dl-machine-reject-phdr.h: New file.
22112         * elf/dl-load.c: #include that.
22113         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22114         if that returned true.
22116 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22118         [BZ #17496]
22119         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22120         gen-as-const-headers chunk.  Add a big scare comment after the last
22121         safe place to touch before-compile.
22123 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22125         * manual/install.texi (Tools for Compilation): Update autoconf
22126         version requirements.
22127         * INSTALL: Regenerated.
22129         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22130         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22131         (__libc_pselect): Likewise.
22133         [BZ #14138]
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22139 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22141         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22142         correct barrier instruction.
22143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22144         Likewise.
22145         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22146         Likewise.
22148 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22150         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22151         after defining inlines.  Instead, just use parens to defeat macro
22152         expansion of __isctype in its declaration.
22154 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22156         * include/sys/uio.h (__libc_readv): Remove declaration.
22157         (__libc_writev): Likewise.
22158         * misc/readv.c (__libc_readv): Rename to __readv.
22159         (__readv): Do not define as alias.
22160         (readv): Define as alias of __readv.
22161         * misc/writev.c (__libc_writev): Rename to __writev.
22162         (__writev): Do not define as alias.
22163         (writev): Define as alias of __writev.
22164         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22165         (__readv): Do not define as alias.
22166         (readv): Define unconditionally as alias of __readv.
22167         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22168         (__writev): Do not define as alias.
22169         (writev): Define unconditionally as alias of __writev.
22170         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22171         name.
22172         (writev): Do not define __libc_writev name.
22174 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22176         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22177         (convert_charseq): New function, broken out of ...
22178         (use_from_charmap): ... here.  Call it.
22179         (use_to_charmap): Use convert_charseq and free instead of duplicating
22180         its code with a variable-length stack struct.
22182 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22184         * include/fcntl.h (__libc_creat): Remove declaration.
22185         * io/creat.c (__libc_creat): Rename to creat.
22186         (creat): Do not define as alias.
22187         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22188         of creat instead of __libc_creat.
22189         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22190         to creat.
22191         (creat): Do not define as alias.
22192         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22193         __libc_creat.
22194         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22195         __libc_creat name.
22196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22197         Likewise.
22199 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22201         * manual/llio.texi: Add comments discussing why write() may be
22202         considered MT-unsafe on Linux.
22204 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22206         * dl-load.c (local_strdup): Remove.
22207         (expand_dynamic_string_token): Use __strdup.
22208         (decompose_rpath): Likewise.
22209         (_dl_map_object): Likewise.
22211 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22213         [BZ #14132]
22214         * sysdeps/generic/unwind-dw2-fde.c
22215         (__register_frame_info_bases_internal): Do not declare.
22216         (__register_frame_info_table_bases_internal): Likewise.
22217         (__deregister_frame_info_bases_internal): Likewise.
22218         (__register_frame_info_bases): Declare and use hidden_proto before
22219         definition.  Use hidden_def instead of INTDEF.
22220         (__register_frame_info_table_bases): Likewise.
22221         (__deregister_frame_info_bases): Likewise.
22222         (__register_frame_info): Do not use INTUSE.
22223         (__register_frame): Likewise.
22224         (__register_frame_info_table): Likewise.
22225         (__register_frame_table): Likewise.
22226         (__deregister_frame_info): Likewise.
22227         (__deregister_frame): Likewise.
22229 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22231         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22232         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22233         not undefine.
22234         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22235         Likewise.
22236         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22237         Likewise.
22239 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22241         [BZ #14138]
22242         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22243         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22244         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22245         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22246         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22247         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22248         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22249         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22250         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22251         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22252         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22253         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22254         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22255         syscall.
22256         (setfsuid): Likewise.
22257         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22258         (setfsuid): Likewise.
22259         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22260         (setfsuid): Likewise.
22261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22262         Likewise.
22263         (setfsuid): Likewise.
22264         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22265         (setfsuid): Likewise.
22266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22267         Likewise.
22268         (setfsuid): Likewise.
22270 2014-10-27  Andreas Schwab  <schwab@suse.de>
22272         [BZ #17501]
22273         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22274         check for Slow_SSE4_2 feature bit.
22275         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22276         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22277         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22278         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22280 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22282         * configure.ac: Validate compiler version with a empirical test of
22283         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22284         $CC -v output.
22285         * configure: Regenerated.
22287         * inet/htons.c (htons): Prototypify.
22288         * inet/htonl.c (htonl): Likewise.
22290 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22292         * string/strncat.c (strncat): Improve performance by using strlen.
22294 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22296         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22298 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22300         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22301         Call libc_fetestexcept_aarch64.
22303 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22305         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22306         Call libc_feholdexcept_aarch64.
22308 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22310         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22311         Call get_rounding_mode.
22313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22315         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22316         Simplify logic.
22318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22320         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22321         Simplify logic.
22323 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22325         [BZ #14138]
22326         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22327         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22328         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22329         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22330         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22331         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22332         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22333         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22334         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22335         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22336         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22337         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22338         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22339         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22340         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22341         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22342         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22343         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22344         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22345         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22346         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22347         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22348         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22349         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22350         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22351         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22352         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22353         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22354         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22355         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22356         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22357         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22358         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22359         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22360         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22361         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22362         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22363         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22364         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22365         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22366         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22367         syscall.
22368         (geteuid): Likewise.
22369         (getgid): Likewise.
22370         (getuid): Likewise.
22371         (getresgid): Likewise.
22372         (getresuid): Likewise.
22373         (getgroups): Likewise.
22374         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22375         (geteuid): Likewise.
22376         (getgid): Likewise.
22377         (getuid): Likewise.
22378         (getresgid): Likewise.
22379         (getresuid): Likewise.
22380         (getgroups): Likewise.
22381         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22382         (geteuid): Likewise.
22383         (getgid): Likewise.
22384         (getuid): Likewise.
22385         (getresgid): Likewise.
22386         (getresuid): Likewise.
22387         (getgroups): Likewise.
22388         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22389         Likewise.
22390         (geteuid): Likewise.
22391         (getgid): Likewise.
22392         (getuid): Likewise.
22393         (getresgid): Likewise.
22394         (getresuid): Likewise.
22395         (getgroups): Likewise.
22396         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22397         (geteuid): Likewise.
22398         (getgid): Likewise.
22399         (getuid): Likewise.
22400         (getresgid): Likewise.
22401         (getresuid): Likewise.
22402         (getgroups): Likewise.
22403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22404         Likewise.
22405         (geteuid): Likewise.
22406         (getgid): Likewise.
22407         (getuid): Likewise.
22408         (getgroups): Likewise.
22410         [BZ #14138]
22411         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22412         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22413         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22414         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22415         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22416         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22417         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22418         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22419         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22420         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22421         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22422         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22423         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22424         __chown.
22425         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22426         (lchown): Likewise.
22427         (fchown): Likewise.
22428         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22429         Likewise.
22430         (lchown): Likewise.
22431         (fchown): Likewise.
22432         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22433         (lchown): Likewise.
22434         (fchown): Likewise.
22435         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22436         Likewise.
22437         (lchown): Likewise.
22438         (fchown): Likewise.
22440 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22442         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22443         Simplify logic.
22445 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22447         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22448         Cleanup logic.
22450 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22452         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22453         Remove unused include.
22455 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22457         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22458         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22459         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22460         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22462 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22463             Helge Deller <deller@gmx.de>
22465         [BZ #17508]
22466         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22467         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22468         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22470 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22472         [BZ #14132]
22473         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22474         Remove macro definition.
22475         (__ashrdi3_v_glibc20): Likewise.
22476         (__lshrdi3_v_glibc20): Likewise.
22477         (__cmpdi2_v_glibc20): Likewise.
22478         (__ucmpdi2_v_glibc20): Likewise.
22479         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22480         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22481         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22482         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22483         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22484         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22486 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22488         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22489         old GNU extension [0] syntax.
22490         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22491         alloca rather than an array member with variable length.
22492         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22493         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22494         (parse_opt): ... here.  Likewise use alloca there.
22495         Validate the -i argument before checking for rootness.
22496         (send_shutdown): New function, broken out of ...
22497         (parse_opt): ... here.
22499 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22501         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22502         macro to get at the _rt_local_ro field.
22503         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22504         ([PIC] case) or _dl_hwcap ([!PIC] case).
22505         * sysdeps/arm/setjmp.S: Likewise.
22507         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22508         * sysdeps/arm/configure.ac: New check to define it.
22509         * sysdeps/arm/configure: Regenerated.
22510         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22511         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22512         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22513         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22514         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22515         Use move/movt pair instead of a load.
22516         (LDST_GLOBAL): Macro removed.
22517         (LDR_GLOBAL): New macro replaces it.
22518         (LDR_HIDDEN): New macro.
22519         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22520         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22522         * setjmp/tst-setjmp-static.c: New file.
22523         * setjmp/Makefile (tests): Add it.
22524         (tests-static): New variable.
22526 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22528         [BZ #17485]
22529         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22531 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22533         [BZ #14132]
22534         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22536 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22538         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22540 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22542         * io/fts.c (dirent_not_directory): New function.
22543         (fts_build): Call it.
22545 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22547         * nptl/version.c (__nptl_main): Use normal __write rather than
22548         INTERNAL_SYSCALL.
22549         (banner): Update copyright years.
22551         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22552         gettimeofday.
22553         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22554         * nptl/pthread_cond_timedwait.c: Likewise.
22555         * nptl/pthread_mutex_timedlock.c: Likewise.
22556         * nptl/sem_timedwait.c: Likewise.
22558         * sysdeps/nptl/bits/libc-lock.h
22559         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22560         (__libc_lock_init_recursive): Return void, not 0.
22561         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22562         (__libc_rwlock_init): Likewise.
22563         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22565 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22567         [BZ #15215]
22568         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22569         (__pthread_once_slow): ... here.
22570         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22571         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22573 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22575         [BZ #15215]
22576         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22577         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22578         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22579         * nptl/pthread_once.c (__pthread_once): Likewise.
22580         Update comments.
22582 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22584         [BZ #14138]
22585         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22586         name.
22587         (writev): Use __libc_writev as strong name.
22588         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22589         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22591 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22593         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22595         * sysdeps/i386/nptl/tls.h
22596         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22597         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22598         New macros.
22599         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22600         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22601         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22602         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22603         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22604         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22606         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22607         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22608         on [__NR_futex].
22609         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22610         broken out of ...
22611         (__pthread_mutex_init): ... here.  Call it.
22612         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22613         Conditionalize PI cases on [__NR_futex].
22614         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22615         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22616         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22618         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22619         conditional on [SIGSETXID].
22620         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22621         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22622         is defined.  Likewise for SIGSETXID.
22623         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22624         Conditionalize definitions on [SIGSETXID].
22625         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22626         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22627         unblocking on [SIGCANCEL].
22629         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22630         [__NR_set_robust_list].
22632 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22635         (do_compare): Likewise.
22637 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22639         [BZ #15884]
22640         * string/strcoll_l.c: Don't include stdio.h.
22641         (coll_seq): Remove members idxarr and rulearr.
22642         (get_next_seq_cached): Remove function.
22643         (get_next_seq): Likewise.
22644         (get_next_seq_nocache): Rename to get_next_seq.
22645         (do_compare): Remove function.
22646         (do_compare_nocache): Rename to do_compare.
22647         (STRCOLL): Remove weight and rules cache.
22649 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22651         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22652         * sysdeps/arm/sfp-machine.h: ... to here.
22653         * sysdeps/arm/Implies: Remove arm/soft-fp.
22655 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22657         * conform/data/sys/utsname.h-data (*_t): Allow.
22658         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22659         [POSIX] (WEXITED): Do not expect constant.
22660         [POSIX] (WSTOPPED): Likewise.
22661         [POSIX] (WNOHANG): Likewise.
22662         [POSIX] (WNOWAIT): Likewise.
22663         [POSIX] (siginfo_t): Do not expect type or elements.
22664         [POSIX] (pid_t): Do not expect type.
22665         [POSIX] (signal.h): Do not allow header.
22666         [POSIX] (sys/resource.h): Likewise.
22667         [POSIX] (si_*): Do not allow pattern.
22668         [POSIX] (W*): Likewise.
22669         [POSIX] (P_*): Likewise.
22670         [POSIX] (BUS_*): Likewise.
22671         [POSIX] (CLD_*): Likewise.
22672         [POSIX] (FPE_*): Likewise.
22673         [POSIX] (ILL_*): Likewise.
22674         [POSIX] (POLL_*): Likewise.
22675         [POSIX] (SEGV_*): Likewise.
22676         [POSIX] (SI_*): Likewise.
22677         [POSIX] (TRAP_*): Likewise.
22678         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22679         variable.
22681 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22683         [BZ #12926]
22684         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22685         infinite loop when __recvmsg returns 0.
22687 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22689         * CANCEL-FCT-WAIVE: Remove file.
22690         * CANCEL-FILE-WAIVE: Likewise.
22692         [BZ #14132]
22693         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22694         instead of INTVARDEF.
22695         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22696         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22697         rtld_hidden_data_def instead of INTVARDEF.
22698         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22699         * elf/dl-deps.c (expand_dst): Likewise.
22700         * elf/dl-load.c (_dl_dst_count): Likewise.
22701         (_dl_dst_substitute): Likewise.
22702         (decompose_rpath): Likewise.
22703         (_dl_init_paths): Likewise.
22704         (open_path): Likewise.
22705         (_dl_map_object): Likewise.
22706         * elf/rtld.c (dl_main): Likewise.
22707         (process_dl_audit): Likewise.
22708         (process_envvars): Likewise.
22709         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22710         Remove declaration.
22711         (__libc_enable_secure): Use rtld_hidden_proto.
22713 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22715         * elf/dl-load.c
22716         (add_path): New function broken out of _dl_rtld_di_serinfo.
22717         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22719 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22721         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22722         parentheses around macro arguments.
22723         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22726         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22728         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22729         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22730         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22733         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22734         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22735         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22736         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22737         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22738         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22739         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22746         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22747         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22748         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22749         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22750         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22751         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22752         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22753         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22754         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22755         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22756         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22757         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22758         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22759         Likewise.
22760         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22765         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22767         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22768         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22769         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22770         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22771         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22772         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22780         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22781         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22784         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22785         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22786         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22787         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22788         (_FP_FRAC_SRS_1): Likewise.
22789         (_FP_FRAC_CLZ_1): Likewise.
22790         (_FP_MUL_MEAT_1_imm): Likewise.
22791         (_FP_MUL_MEAT_1_wide): Likewise.
22792         (_FP_MUL_MEAT_1_hard): Likewise.
22793         (_FP_SQRT_MEAT_1): Likewise.
22794         (_FP_FRAC_ASSEMBLE_1): Likewise.
22795         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22796         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22797         (__FP_CLZ_2): Likewise.
22798         (_FP_MUL_MEAT_2_wide): Likewise.
22799         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22800         (_FP_MUL_MEAT_2_gmp): Likewise.
22801         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22802         (_FP_SQRT_MEAT_2): Likewise.
22803         (_FP_FRAC_ASSEMBLE_2): Likewise.
22804         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22805         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22806         (_FP_FRAC_CLZ_4): Likewise.
22807         (_FP_MUL_MEAT_4_wide): Likewise.
22808         (_FP_MUL_MEAT_4_gmp): Likewise.
22809         (_FP_SQRT_MEAT_4): Likewise.
22810         (_FP_FRAC_ASSEMBLE_4): Likewise.
22811         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22812         * soft-fp/op-common.h (_FP_CMP): Likewise.
22813         (_FP_CMP_EQ): Likewise.
22814         (_FP_CMP_UNORD): Likewise.
22815         (_FP_TO_INT): Likewise.
22816         (_FP_FROM_INT): Likewise.
22817         [!__FP_CLZ] (__FP_CLZ): Likewise.
22818         (_FP_DIV_HELP_imm): Likewise.
22819         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22820         Likewise.
22821         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22832         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22836         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22837         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22850         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22851         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22855         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22856         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22857         (FP_UNPACK_RAW_SP): Likewise.
22858         (FP_PACK_RAW_S): Likewise.
22859         (FP_PACK_RAW_SP): Likewise.
22860         (FP_UNPACK_S): Likewise.
22861         (FP_UNPACK_SP): Likewise.
22862         (FP_UNPACK_SEMIRAW_S): Likewise.
22863         (FP_UNPACK_SEMIRAW_SP): Likewise.
22864         (FP_PACK_S): Likewise.
22865         (FP_PACK_SP): Likewise.
22866         (FP_PACK_SEMIRAW_S): Likewise.
22867         (FP_PACK_SEMIRAW_SP): Likewise.
22868         (_FP_SQRT_MEAT_S): Likewise.
22869         (FP_CMP_S): Likewise.
22870         (FP_CMP_EQ_S): Likewise.
22871         (FP_CMP_UNORD_S): Likewise.
22872         (FP_TO_INT_S): Likewise.
22873         (FP_FROM_INT_S): Likewise.
22875         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22877         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22878         (FP_EX_INVALID_IMZ): Likewise.
22879         (FP_EX_INVALID_IMZ_FMA): Likewise.
22880         (FP_EX_INVALID_ISI): Likewise.
22881         (FP_EX_INVALID_ZDZ): Likewise.
22882         (FP_EX_INVALID_IDI): Likewise.
22883         (FP_EX_INVALID_SQRT): Likewise.
22884         (FP_EX_INVALID_CVI): Likewise.
22885         (FP_EX_INVALID_VC): Likewise.
22886         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22887         "invalid" exceptions.
22888         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22889         (_FP_ADD_INTERNAL): Likewise.
22890         (_FP_MUL): Likewise.
22891         (_FP_FMA): Likewise.
22892         (_FP_DIV): Likewise.
22893         (_FP_CMP_CHECK_NAN): Likewise.
22894         (_FP_SQRT): Likewise.
22895         (_FP_TO_INT): Likewise.
22896         (FP_EXTEND): Likewise.
22898 2014-10-09  Allan McRae  <allan@archlinux.org>
22900         * po/fr.po: Update French translation from translation project.
22902 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22904         [BZ #14132]
22905         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22906         of INTDEF.
22907         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22908         (__cxa_atexit): Use libc_hidden_proto.
22909         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22911         [BZ #14132]
22912         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22913         declaration.
22914         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22915         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22916         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22917         [!_ISOMAC] (__iswctype_internal): Likewise.
22918         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22919         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22920         alias.
22921         (fcntl): Remove __fcntl_internal alias.
22922         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22923         __connect_internal alias.
22924         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22925         Likewise.
22927         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22928         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22929         FP_DENORM_ZERO.
22930         (_FP_CHECK_FLUSH_ZERO): New macro.
22931         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22932         (_FP_CMP): Likewise.
22933         (_FP_CMP_EQ): Likewise.
22934         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22935         FP_DENORM_ZERO.
22936         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22937         (FP_TRUNC): Likewise.
22939         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22940         treated as invalid conversion, not as normal exponent.
22942         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22943         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22944         (_FP_CMP_EQ): Likewise.
22945         (_FP_CMP_UNORD): Likewise.
22946         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22947         (FP_CMP_EQ_D): Likewise.
22948         (FP_CMP_UNORD_D): Likewise.
22949         * soft-fp/extended.h (FP_CMP_E): Likewise.
22950         (FP_CMP_EQ_E): Likewise.
22951         (FP_CMP_UNORD_E): Likewise.
22952         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22953         (FP_CMP_EQ_Q): Likewise.
22954         (FP_CMP_UNORD_Q): Likewise.
22955         * soft-fp/single.h (FP_CMP_S): Likewise.
22956         (FP_CMP_EQ_S): Likewise.
22957         (FP_CMP_UNORD_S): Likewise.
22958         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22959         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22960         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22961         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22962         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22963         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22964         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22965         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22966         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22967         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22968         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22969         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22970         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22971         to FP_CMP_Q.
22972         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22973         FP_CMP_Q.
22974         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22975         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22976         FP_CMP_EQ_Q.
22977         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22978         FP_CMP_Q.
22979         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22980         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22981         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22982         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22983         FP_CMP_EQ_Q.
22984         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22985         FP_CMP_Q.
22986         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22987         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22988         FP_CMP_EQ_Q.
22989         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22990         FP_CMP_Q.
22991         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22992         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22993         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22994         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22995         FP_CMP_EQ_Q.
22997         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22998         a subnormal result, set the underflow exception if trapping on
22999         underflow is enabled.
23000         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23001         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23002         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23003         redefine to 0.
23004         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23005         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23006         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23007         * soft-fp/extendxftf2.c (__extendxftf2): Use
23008         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23010         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23011         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23012         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23013         FP_HANDLE_EXCEPTIONS.
23014         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23015         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23016         FP_HANDLE_EXCEPTIONS.
23017         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23018         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23019         FP_HANDLE_EXCEPTIONS.
23020         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23021         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23022         FP_HANDLE_EXCEPTIONS.
23024 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23026         [BZ #14132]
23027         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23028         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23029         use INTUSE.
23030         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23031         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23032         Remove alias.
23033         (__adjtimex): Define using libc_hidden_ver.
23034         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23035         Remove declaration.
23036         (ntp_gettime): Call __adjtimex directly.
23037         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23038         Remove declaration.
23039         (ntp_gettimex): Call __adjtimex directly.
23040         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23041         __adjtimex_internal alias.
23043 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23045         [BZ #17460]
23046         * nscd/nscd.c (more_help): Rewrite list of tables collection
23047         using xstrdup and asprintf.
23049         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23051 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23052             Roland McGrath  <roland@hack.frob.com>
23054         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23055         (do_lookup_unique): ... local function 'enter' here; update callers.
23057 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23059         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23060         compat_symbol calls on [SHARED].
23061         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23062         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23063         Remove.
23064         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23065         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23066         (oldsetrlimit): Remove.
23067         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23069         (lchown): New syscall entry.
23070         (oldsetrlimit): Remove.
23071         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23073         (oldsetrlimit): Remove.
23074         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23076         [BZ #14138]
23077         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23078         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23079         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23080         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23081         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23082         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23083         (fchown): Likewise.
23084         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23085         (fchown): Likewise.
23086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23087         Likewise.
23089 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23091         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23092         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23093         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23094         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23095         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23096         Likewise.
23097         (__old_sem_post): Likewise.
23099 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23101         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23102         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23103         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23104         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23105         Use INLINE_VSYSCALL macro.
23106         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23107         __vdso_clock_gettime.
23108         * sysdeps/unix/sysv/linux/tile/init-first.c
23109         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23110         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23111         __vdso_clock_gettime.
23113         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23114         to set up frame more cleanly.
23116         * sysdeps/tile/memcmp.c: New file.
23118         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23120         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23121         * sysdeps/tile/tilegx/strcasestr.c: New file.
23122         * sysdeps/tile/tilegx/strnlen.c: New file.
23123         * sysdeps/tile/tilegx/strstr.c: New file.
23125         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23127 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23129         * nptl/tst-setuid3.c: Write errors to stdout.
23131 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23133         * elf/dl-deps.c
23134         (preload): New functions broken out of _dl_map_object_deps.
23135         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23137 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23139         [BZ #14138]
23140         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23141         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23143 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23145         * sysdeps/mips/strcmp.S: New.
23147 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23149         [BZ #14138]
23150         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23151         (linkat): Likewise.
23152         (mkdirat): Likewise.
23153         (readlinkat): Likewise.
23154         (renameat): Likewise.
23155         (symlinkat): Likewise.
23156         (unlinkat): Likewise.
23157         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23158         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23159         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23160         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23161         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23162         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23163         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23165 2014-09-30  Will Newton  <will.newton@linaro.org>
23167         * math/math.h: Define long double math functions if
23168         _LIBC_TEST is defined.
23169         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23171         * localedata/Makefile: Move assignment to tests-special
23172         into an ifdef testing run-built-tests.
23173         * timezone/Makefile: Likewise.
23175 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23177         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23178         with $(BASH) not $(SHELL).
23180 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23181             Matthew LeGendre  <legendre1@llnl.gov>
23183         [BZ #17411]
23184         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23185         l_reloc_result.
23187 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23189         * stdio-common/printf_fp.c
23190         (hack_digit): New function, broken out of ...
23191         (__printf_fp): ... local function here.  Update call sites.
23192         hack_digit now takes an additional parameter that is a pointer
23193         to a struct of the referenced locals.  Those locals moved inside
23194         the struct and references updated.
23196 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23198         * aclocal.m4: Require autoconf 2.69.
23199         * configure: Regenerated.
23200         * sysdeps/aarch64/configure: Likewise.
23201         * sysdeps/alpha/configure: Likewise.
23202         * sysdeps/arm/armv7/configure: Likewise.
23203         * sysdeps/arm/configure: Likewise.
23204         * sysdeps/ia64/configure: Likewise.
23205         * sysdeps/mach/configure: Likewise.
23206         * sysdeps/mips/configure: Likewise.
23207         * sysdeps/s390/configure: Likewise.
23208         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23211         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23212         file.
23213         * sysdeps/ia64/configure.ac: Likewise.
23215 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23218         specify symbol version for ld.so.  Do not include entry for
23219         libpthread.
23220         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23221         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23222         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23224         [BZ #14171]
23225         * Makeconfig [$(build-shared) = yes]
23226         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23227         makefiles.
23228         [$(build-shared) = yes && $(soversions.mk-done) = t]
23229         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23230         [$(build-shared) = yes && $(soversions.mk-done) = t]
23231         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23232         to Makerules.
23233         [$(build-shared) = yes && $(soversions.mk-done) = t]
23234         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23235         here.
23236         [$(build-shared) = yes && $(soversions.mk-done) = t]
23237         (common-generated): Don't append gnu/lib-names.h and
23238         gnu/lib-names.stmp here.
23239         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23240         (lib-names-h-abi): New variable.
23241         [$(build-shared) = yes && $(soversions.mk-done) = t]
23242         (lib-names-stmp-abi): Likewise.
23243         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23244         abi-variants] (before-compile): Append
23245         $(common-objpfx)$(lib-names-h-abi).
23246         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23247         abi-variants] (common-generated): Append gnu/lib-names.h.
23248         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23249         abi-variants] (install-others-nosubdir): Depend on
23250         $(inst_includedir)/$(lib-names-h-abi).
23251         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23252         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23253         [$(build-shared) = yes && $(soversions.mk-done) = t]
23254         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23255         [$(build-shared) = yes && $(soversions.mk-done) = t]
23256         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23257         [$(build-shared) = yes && $(soversions.mk-done) = t]
23258         (common-generated): Append $(lib-names-h-abi) and
23259         $(lib-names-stmp-abi).
23260         * scripts/lib-names.awk: Do not handle multi being set.
23261         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23262         Remove variable.
23263         (abi-lp64_be-ld-soname): Likewise.
23264         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23265         Likewise.
23266         (abi-hard-ld-soname): Likewise.
23267         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23268         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23269         Remove variable.
23270         (abi-o32_hard-ld-soname): Likewise.
23271         (abi-o32_soft_2008-ld-soname): Likewise.
23272         (abi-o32_hard_2008-ld-soname): Likewise.
23273         (abi-n32_soft-ld-soname): Likewise.
23274         (abi-n32_hard-ld-soname): Likewise.
23275         (abi-n32_soft_2008-ld-soname): Likewise.
23276         (abi-n32_hard_2008-ld-soname): Likewise.
23277         (abi-n64_soft-ld-soname): Likewise.
23278         (abi-n64_hard-ld-soname): Likewise.
23279         (abi-n64_soft_2008-ld-soname): Likewise.
23280         (abi-n64_hard_2008-ld-soname): Likewise.
23281         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23282         Likewise.
23283         (abi-64-v2-ld-soname): Likewise.
23284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23285         ld.so entries.
23286         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23287         variable.
23288         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23289         entry.
23290         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23291         variable.
23292         (abi-64-ld-soname): Likewise.
23293         (abi-x32-ld-soname): Likewise.
23294         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23295         entry.
23296         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23298 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23300         [BZ #14138]
23301         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23302         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23303         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23304         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23305         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23306         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23307         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23308         syscall entry for GLIBC_2.2 symbol version.
23309         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23310         Likewise.
23311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23312         (setrlimit): Likewise.
23313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23314         Likewise.
23316 2014-09-23  Will Newton  <will.newton@linaro.org>
23318         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23319         _LINUX_ARM_SYSDEP_H include guard too.
23320         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23321         define.
23323 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23325         * sysdeps/unix/sysv/linux/eventfd.c:
23326         Make first argument unsigned.
23327         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23328         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23330 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23332         [BZ #16852]
23333         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23334         * socket/sys/socket.h: Likewise.
23335         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23337 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23339         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23341 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23343         * time/tst-ftime.c: New test.
23344         * time/Makefile (tests): Add tst-ftime.
23346 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23348         * soft-fp/extended.h: Fix comment formatting.
23349         * soft-fp/op-1.h: Likewise.
23350         * soft-fp/op-2.h: Likewise.
23351         * soft-fp/op-4.h: Likewise.
23352         * soft-fp/op-8.h: Likewise.
23353         * soft-fp/op-common.h: Likewise.
23354         * soft-fp/soft-fp.h: Likewise.
23356         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23358 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23360         [BZ #6652]
23361         * Makeconfig (soversions-default-setname): Remove variable.
23362         ($(common-objpfx)soversions.i): Don't pass default_setname to
23363         soversions.awk.
23364         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23365         oldest_abi to abi-versions.awk.
23366         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23367         * config.make.in (oldest-abi): Remove variable.
23368         * configure.ac (--enable-oldest-abi): Remove configure option.
23369         * configure: Regenerated.
23370         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23371         text.
23372         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23373         * scripts/soversions.awk: Do not handle default_setname variable.
23374         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23375         variable.
23376         * sysdeps/mach/hurd/configure: Regenerated.
23377         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23378         variable.
23379         * sysdeps/unix/sysv/linux/configure: Regenerated.
23381 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23383         * elf/Makefile (CFLAGS-interp.c): Remove.
23384         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23385         path string.
23386         * elf/interp.c: Include generated runtime-linker.h
23388         * Makerules (lib%.so): Don't include $(+interp) in
23389         prerequisites.
23390         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23391         * dlfcn/eval.c: Remove file.
23393         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23394         macros.
23396         [BZ #17266]
23397         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23398         4.2 and newer.
23400         [BZ #17370]
23401         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23403 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23404             Jakub Jelinek  <jakub@redhat.com>
23406         [BZ #17266]
23407         * libio/stdio.h: Check definition of __fortify_function
23408         instead of __extern_always_inline to include bits/stdio2.h.
23409         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23410         check if __extern_always_inline is defined.
23411         [__USE_MISC || __USE_XOPEN]: Likewise.
23412         [__USE_ISOC99] Likewise.
23413         * misc/sys/cdefs.h (__fortify_function): Define only if
23414         __extern_always_inline is defined.
23415         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23416         __extern_always_inline and __extern_inline only for g++-4.3
23417         and newer or a compatible gcc.
23419 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23421         [BZ #17371]
23422         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23423         last change to handle zero prefix length.
23425 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23427         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23428         _SC_REGEX_VERSION.
23430         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23431         _POSIX_RAW_SOCKETS.
23433 2014-09-13  Allan McRae  <allan@archlinux.org>
23435         * po/ru.po: Update Russian translation from translation project.
23437 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23439         * locale/programs/locale.c (show_locale_vars): Inline local function
23440         into its sole call site.  Clean up some style nits.
23441         (print_item): New function, broken out of ...
23442         (show_info): ... local function here.  Clean up style nits.
23444         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23445         out of ...
23446         (set_class_defaults): ... local function set_default here.
23447         Define set_default as a macro locally to pass constant parameters.
23448         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23449         rather than a shared local.
23451         * stdlib/rpmatch.c (try): New function, broken out of ...
23452         (rpmatch): ... local function here.  Also, prototypify definition.
23454 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23456         * scripts/soversions.awk: Do not handle configuration names.
23457         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23458         vendor and os variables to soversions.awk.
23459         * configure.ac: Do not modify gnu-* host_os.
23460         * configure: Regenerated
23461         * shlib-versions: Remove first column with configuration names.
23462         * nptl/shlib-versions: Likewise.
23463         * nptl_db/shlib-versions: Likewise.
23464         * sysdeps/hppa/shlib-versions: Likewise.
23465         * sysdeps/m68k/shlib-versions: Likewise.
23466         * sysdeps/mach/hurd/shlib-versions: Likewise.
23467         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23468         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23469         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23470         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23471         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23472         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23473         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23474         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23476         Likewise.
23477         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23478         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23479         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23480         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23481         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23482         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23483         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23484         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23487         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23489         Regenerated.
23490         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23492         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23494         * shlib-versions: Remove OS-specific entries.  Moved to files in
23495         sysdeps.
23496         * sysdeps/mach/hurd/shlib-versions: New file.
23497         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23499         * nptl/shlib-versions: Remove architecture-specific entries.
23500         Moved to files in sysdeps.
23501         * shlib-versions: Likewise.
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23503         file.
23504         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23505         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23506         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23507         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23509         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23510         (UDP_NO_CHECK6_RX): Likewise.
23512 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23514         * sysdeps/posix/sysconf.c (__sysconf): Spell
23515         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23517 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23519         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23520         loading.
23521         * iconv/Versions (__gconv_transliterate): Export for use from
23522         gconv modules.
23523         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23524         (struct __gconv_trans_data, __gconv_trans_fct,
23525         __gconv_trans_context_fct, __gconv_trans_query_fct,
23526         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23527         definitions.
23528         (struct __gconv_step_data): Remove __trans member.
23529         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23530         longer hidden.  Remove unused trans_data argument.
23531         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23532         (__gconv_translit_find): Remove declaration.
23533         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23534         prototype.
23535         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23536         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23537         trans_data argument.  Add hidden definition.
23538         (__gconv_translit_find): Remove.
23539         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23540         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23541         * iconv/skeleton.c: Remove transliteration initialization.
23542         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23543         __gconv_step_data initialization.
23544         * libio/iofwide.c (__libio_translit_): Remove.
23545         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23546         * wcsmbs/btowc.c (__btowc): Likewise.
23547         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23548         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23549         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23550         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23551         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23552         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23553         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23554         * wcsmbs/wctob.c (wctob): Likewise.
23556 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23558         [BZ #16194]
23559         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23560         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23561         register usage.
23562         * sysdeps/x86/Makefile: Adjust.
23564 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23565             Roland McGrath  <roland@hack.frob.com>
23567         * locale/weight.h: Add include guard.
23568         (findidx): Make static rather than auto; take new parameters
23569         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23570         * locale/weightwc.h: Likewise.
23571         * posix/fnmatch_loop.c
23572         (FCT): Change type of EXTRA from int32_t to wint_t.
23573         Don't include either header inside the function.
23574         Call FINDIDX rather than findidx, and pass new arguments.
23575         #undef FINDIDX at the end of the file.
23576         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23577         FINDIDX before including fnmatch_loop.c for the non-wide version.
23578         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23579         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23580         for the wide version.
23581         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23582         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23583         Pass new arguments to findidx.
23584         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23585         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23586         Don't #include it inside the function.  Pass new arguments to findidx.
23587         * posix/regex_internal.h
23588         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23589         (re_string_elem_size_at): Don't #include it inside the function.
23590         Pass new arguments to findidx.
23591         * string/strcoll_l.c: #include WEIGHT_H at top level.
23592         (get_next_seq): Don't #include it inside the function.
23593         Pass new arguments to findidx.
23594         (get_next_seq_nocache): Likewise.
23595         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23596         (STRXFRM): Don't #include it inside the function.
23597         Pass new arguments to findidx.
23599 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23601         [BZ #17344]
23602         * malloc/malloc.c (unlink): Turn asserts into a call to
23603         malloc_printerr.
23605 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23607         [BZ #17370]
23608         * libio/wfileops (do_ftell_wide): Free OUT.
23610 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23612         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23614 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23616         [BZ #17363]
23617         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23618         group if the current group is empty.
23620 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23622         * benchtests/bench-memset.c (test_main): Add more test from size
23623         from 32 to 512 bytes.
23624         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23625         Add POWER8 memset object.
23626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23627         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23628         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23629         implementation.
23630         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23631         Likewise.
23632         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23633         multiarch POWER8 memset optimization.
23634         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23635         POWER8 memset optimization.
23637         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23638         Remove bzero multiarch objects.
23639         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23640         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23641         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23642         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23643         Remove define.
23644         [__bzero]: Redefine to specific name.
23645         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23646         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23647         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23648         define.
23649         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23650         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23652 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23654         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23655         warnings into errors.
23657         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23658         __cxa_thread_atexit_impl prototype.
23660 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23662         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23663         Fix capitalization of error message.
23665 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23667         * sysdeps/mips/preconfigure: Modify ABI tests.
23669 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23671         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23673 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23674             Carlos O'Donell  <carlos@systemhalted.org>
23676         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23677         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23678         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23679         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23680         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23682         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23683         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23684         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23689         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23691         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23692         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23693         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23695         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23696         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23697         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23698         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23699         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23700         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23701         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23702         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23703         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23704         Deconditionalize the code that was previously under [RESET_PID].
23705         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23706         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23707         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23708         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23709         include sysdep.h.
23711 2014-09-08  Allan McRae  <allan@archlinux.org>
23713         * version.h (RELEASE): Set to "development".
23714         (VERSION): Set to "2.20.90"
23716 2014-09-07  Allan McRae  <allan@archlinux.org
23718         * version.h (RELEASE): Set to "stable".
23719         (VERSION): Set to "2.20"
23720         * include/features.h (__GLIBC_MINOR__): Set to 20.
23722         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23723         Liebler.
23725         * po/ko.po: Update Korean translation from translation project.
23727 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23729         [BZ #17354]
23730         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23731         macro for handling signed relocations.
23733 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23735         [BZ #17325]
23736         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23737         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23738         assert.
23739         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23740         * iconvdata/ibm935.c (BODY): Likewise.
23741         * iconvdata/ibm937.c (BODY): Likewise.
23742         * iconvdata/ibm939.c (BODY): Likewise.
23743         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23744         assert.
23745         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23746         script.
23747         * iconvdata/run-iconv-test.sh: New test loop for checking for
23748         decoder crashers.
23750 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23753         libm_hidden_ver.
23755 2014-09-01  Allan McRae  <allan@archlinux.org>
23757         * po/eo.po: Update Esperanto translation from translation project.
23759         * po/ca.po: Update Catalan translation from translation project.
23761 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23763         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23764         __proc_dostop call.
23766 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23768         [BZ #17319]
23769         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23770         to call set_thread_area instead of hand written asm.
23771         (__NR_set_thread_area): Removed define.
23772         (TLS_FLAG_WRITABLE): Likewise.
23773         (__ASSUME_SET_THREAD_AREA): Remove check.
23774         (TLS_EBX_ARG): Remove define.
23775         (TLS_LOAD_EBX): Likewise.
23777 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23779         Simplify atomicity of socket creation in bind.
23781         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23782         looking up the name after linking the file.
23784 2014-08-27  Allan McRae  <allan@archlinux.org>
23786         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23788 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23790         [BZ #17187]
23791         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23792         trans_compare, open_translit, __gconv_translit_find):
23793         Remove module loading code.
23795 2014-08-26  Allan McRae  <allan@archlinux.org>
23797         * po/vi.po: Update Vietnamese translation from translation project.
23799         * po/uk.po: Update Ukrainian translation from translation project.
23801         * po/fr.po: Update French translation from translation project.
23803         * po/ru.po: Update Russian translation from translation project.
23805         * po/pl.po: Update Polish translation from translation project.
23807         * po/cs.po: Update Czech translation from translation project.
23809         * po/de.po: Update German translation from translation project.
23811         * po/bg.po: Update Bulgarian translation from translation project.
23813         * po/sv.po: Update Sweedish translation from translation project.
23815         * po/nl.po: Update Dutch translation from translation project.
23817         * po/es.po: Update Spanish translation from translation project.
23819 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23821         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23823         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23824         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23825         (CPPFLAGS-iconvconfig): Likewise.
23826         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23828         * include/libc-symbols.h: Remove unnecessary check for
23829         NOT_IN_libc.
23830         * nptl/pthreadP.h: Likewise.
23831         * sysdeps/aarch64/setjmp.S: Likewise.
23832         * sysdeps/alpha/setjmp.S: Likewise.
23833         * sysdeps/arm/sysdep.h: Likewise.
23834         * sysdeps/i386/setjmp.S: Likewise.
23835         * sysdeps/m68k/setjmp.c: Likewise.
23836         * sysdeps/posix/getcwd.c: Likewise.
23837         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23838         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23839         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23840         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23841         * sysdeps/sh/sh3/setjmp.S: Likewise.
23842         * sysdeps/sh/sh4/setjmp.S: Likewise.
23843         * sysdeps/unix/alpha/sysdep.h: Likewise.
23844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23846         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23847         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23852         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23853         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23855         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23857         * sysdeps/x86_64/setjmp.S: Likewise.
23859 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23861         [BZ #17263]
23862         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23863         <stdint.h>.
23864         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23865         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23867 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23869         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23871         [BZ #17262]
23872         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23873         and __x86_64__ when disabling x87 inline functions.
23875 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23877         [BZ #17259]
23878         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23879         asm statement with __cpuid_count.
23881 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23883         * configure.ac: Change __ehdr_start code to dereference the struct.
23884         Run readelf on the output to look for relocations.
23885         * configure: Regenerated.
23887 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23889         [BZ #17261]
23890         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23891         value to 0.
23892         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23894 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23896         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23898 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23900         [BZ #16892]
23901         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23902         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23904 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23906         * malloc/malloc.c: Fix typo in comment.
23908 2014-08-09  Allan McRae  <allan@archlinux.org>
23910         * Regenerate libc.po.
23912 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23914         * intl/tst-gettext2.sh: Check every lang file for creation.
23916 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23918         * sysdeps/aarch64/fpu/math_private.h
23919         (libc_feholdsetround_noex_aarch64_ctx): New function.
23921 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23923         * sysdeps/arm/armv6/strcpy.S (strcpy):
23924         Fix performance issue in misaligned cases.
23926 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23928         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23929         Move definition from termios.h.
23930         (struct termio): Likewise.
23931         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23933         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23934         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23937         Move definition to ioctl-types.h
23938         (struct termio): Likewise.
23939         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23940         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23941         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23942         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23943         Likewise.
23945 2014-08-05  Richard Henderson  <rth@redhat.com>
23947         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23948         exceptions.
23949         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23950         Add fraiseexcpt.
23951         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23952         Use __feraiseexcept.
23953         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23954         Protect libm symbols with IS_IN_libm.
23956         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23958 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23960         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23962 2014-08-04  Will Newton  <will.newton@linaro.org>
23964         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23965         file.
23967 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23969         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23970         variants for each function.
23972 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23974         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23975         appended ...
23976         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23977         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23978         appended ...
23979         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23980         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23981         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23982         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23983         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23984         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23985         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23986         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23987         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23988         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23989         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23990         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23991         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23992         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23993         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23994         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23995         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23996         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23997         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23998         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23999         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24000         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24001         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24002         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24003         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24004         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24005         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24006         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24007         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24008         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24009         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24010         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24011         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24012         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24013         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24014         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24015         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24016         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24017         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24018         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24019         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24021         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24022         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24023         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24024         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24025         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24027         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24029         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24030         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24031         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24032         Update #include.
24033         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24034         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24036 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24038         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24039         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24040         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24041         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24042         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24043         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24045 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24047         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24048         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24049         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24050         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24052 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24054         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24055         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24056         (__libc_vfork): Define function under this name.
24057         (__vfork): Define as an alias.
24058         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24059         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24061 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24063         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24064         that was previously under [RESET_PID].
24065         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24067 2014-08-04  Andreas Schwab  <schwab@suse.de>
24069         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24071 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24073         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24074         (main): Likewise.
24076 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24078         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24080 2014-08-01  Richard Henderon  <rth@redhat.com>
24082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24083         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24084         typo in exact zero test.
24085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24086         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24089 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24091         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24092         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24093         * sysdeps/arm/sysdep.h: ... here.
24094         [!__ASSEMBLER__]: Include <stdint.h>.
24096 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24099         (HAVE_WCTYPE_H): Likewise.
24100         (HAVE_ISWCTYPE): Likewise.
24101         (ENABLE_NLS): Likewise.
24102         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24103         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24105         * posix/regex_internal.c: Check if DEBUG is defined and is
24106         set.
24108         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24109         (HAVE_MBSRTOWCS): Likewise.
24110         * posix/fnmatch.c: Include string.h unconditionally.
24112 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24114         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24115         reversal.
24117 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24119         * sysdeps/generic/safe-fatal.h: New file.
24120         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24121         * nptl/forward.c: Include it.
24122         (__pthread_unwind): Use __safe_fatal as default action, rather
24123         than a bogus use of INTERNAL_SYSCALL that could never work.
24125         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24126         * configure.ac (libc_cv_builtin_trap): New test.
24127         * configure: Regenerated.
24128         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24129         (ABORT_INSTRUCTION): Define using __builtin_trap.
24131         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24132         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24133         * sysdeps/nptl/nptl-signals.h: New file.
24134         * nptl/pthreadP.h: Include <nptl-signals.h>.
24136 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24138         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24139         (ONE_DIRECTION): Define.
24140         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24141         (ONE_DIRECTION): Define.
24142         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24143         (ONE_DIRECTION): Define.
24145 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24147         * sysdeps/s390/Makefile: Delete file.
24148         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24149         * sysdeps/s390/__longjmp.c: Delete file.
24150         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24151         Remove fields __flags and __reserved.
24152         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24153         and add versioning.
24154         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24155         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24156         * sysdeps/s390/rtld-setjmp.S: Likewise.
24157         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24158         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24159         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24160         * sysdeps/s390/s390-32/setjmp.S: ... here.
24161         Add versioning.
24162         (__sigsetjmp): Remove setting __flags field.
24163         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24164         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24165         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24166         * sysdeps/s390/s390-64/setjmp.S: ... here.
24167         Add versioning.
24168         (__sigsetjmp): Remove setting __flags field.
24169         * sysdeps/s390/setjmp.S: Delete file.
24170         * sysdeps/s390/sigjmp.c: Likewise.
24171         * sysdeps/s390/v1-longjmp.c: Likewise.
24172         * sysdeps/s390/v1-setjmp.h: Likewise.
24173         * sysdeps/s390/v1-sigjmp.c: Likewise.
24174         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24175         Remove v1-longjmp_chk.
24176         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24177         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24178         Include debug/longjmp_chk.c and add versioning.
24179         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24180         Include nptl/pt-longjmp.c and add versioning.
24181         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24182         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24183         Include __longjmp.c.
24184         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24185         Move to ...
24186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24187         (__getcontext): Remove setting __flags field.
24188         Add versioning.
24189         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24190         Don't restore upper high grps.
24191         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24192         Likewise.
24193         (__swapcontext): Remove setting uc_flags field.
24194         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24195         Delete file.
24196         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24197         Include __longjmp.c.
24198         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24199         Move to ...
24200         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24201         (__getcontext): Remove setting __flags field.
24202         Add versioning.
24203         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24204         (__swapcontext): Remove setting uc_flags field.
24205         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24206         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24207         Remove fields uc_high_gprs and __reserved.
24208         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24209         New file with reverted content.
24210         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24211         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24212         Regenerated.
24213         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24214         Regenerated.
24216 2014-07-31  Andreas Schwab  <schwab@suse.de>
24218         * config.h.in (HAVE_IFUNC): Define to 0.
24219         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24220         definedness.
24222 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24225         memmove-avx-unaligned, memcpy-avx-unaligned and
24226         mempcpy-avx-unaligned.
24227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24228         Add tests for AVX memcpy functions.
24229         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24230         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24231         memcpy_chk.
24232         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24233         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24234         memmove_chk.
24235         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24236         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24237         mempcpy_chk.
24238         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24239         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24240         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24242 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24244         [BZ #17213]
24245         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24246         powerpc64le.
24248 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24250         [BZ #16839]
24251         * manual/llio.texi: Add section about open file description locks.
24252         * manual/examples/ofdlocks.c: Example of open file description
24253         lock usage.
24254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24255         F_OFD_SETLK, and F_OFD_SETLKW.
24257 2014-07-23  Allan McRae  <allan@archlinux.org>
24259         * po/es.po: Update Spanish translation from translation project.
24261 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24263         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24265 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24267         [BZ #17078]
24268         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24269         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24270         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24272 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #17088]
24275         * math/fesetenv.c (__fesetenv)
24276         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24277         * math/feupdateenv.c (__feupdateenv)
24278         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24280         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24281         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24282         (__ASSUME_SOCKETCALL): Do not define.
24284         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24285         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24286         (__ASSUME_SOCKETCALL): Do not define.
24287         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24288         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24289         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24290         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24292         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24294         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24296         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24297         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24298         (__ASSUME_SOCKETCALL): Do not define.
24299         (__ASSUME_IPC64): Define unconditionally.
24300         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24301         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24302         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24304         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24305         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24306         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24307         Likewise.
24309         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24310         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24311         (__ASSUME_SOCKETCALL): Do not define.
24312         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24313         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24314         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24315         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24316         (__ASSUME_REQUEUE_PI): Define unconditionally.
24317         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24318         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24319         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24320         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24321         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24322         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24324         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24325         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24326         (__ASSUME_SOCKETCALL): Do not define.
24327         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24329         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24330         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24331         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24332         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24335         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24336         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24337         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24338         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24339         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24340         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24341         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24342         (__ASSUME_GETCPU_SYSCALL): Likewise.
24344         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24345         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24346         cases for individual architectures.
24347         * sysdeps/gnu/configure: Regenerated.
24348         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24349         LIBC_SLIBDIR_RTLDDIR.
24350         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24351         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24352         LIBC_SLIBDIR_RTLDDIR.
24353         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24355         LIBC_SLIBDIR_RTLDDIR.
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24357         Regenerated.
24358         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24359         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24360         file.
24361         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24362         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24363         file.
24364         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24365         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24366         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24367         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24369         * sysdeps/aarch64/shlib-versions: Move to ...
24370         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24371         * sysdeps/alpha/shlib-versions: Move to ...
24372         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24373         * sysdeps/arm/shlib-versions: Move to ...
24374         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24375         * sysdeps/hppa/shlib-versions: Move all contents except for
24376         libgcc_s entry to ...
24377         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24378         entry from ...
24379         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24380         * sysdeps/ia64/shlib-versions: Move to ...
24381         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24382         entry from ...
24383         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24384         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24385         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24386         * sysdeps/microblaze/shlib-versions: Move to ...
24387         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24388         * sysdeps/mips/shlib-versions: Move to ...
24389         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24390         entry from ...
24391         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24392         * sysdeps/tile/shlib-versions: Move to ...
24393         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24395         from ...
24396         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24397         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24398         entry from ...
24399         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24401 2014-07-17  Will Newton  <will.newton@linaro.org>
24403         * sysdeps/arm/bits/atomic.h
24404         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24405         (__arch_compare_and_exchange_bool_16_int): Likewise.
24406         (__arch_compare_and_exchange_bool_64_int): Likewise.
24408         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24409         into an #else block.
24411 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24413         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24414         just Linux configurations.  Test empirically that the compiler sets
24415         __ARM_EABI__, rather than using the tuple to decide.
24416         * sysdeps/arm/preconfigure: Regenerated.
24417         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24418         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24419         contents appended ...
24420         * sysdeps/arm/configure.ac: ... here.
24421         * sysdeps/arm/configure: Regenerated.
24423 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24425         * nptl/pthread_kill.c: New file.
24426         * nptl/pthread_sigmask.c: New file.
24427         * nptl/pthread_sigqueue.c: New file.
24429         * sysdeps/nptl/lowlevellock.h: New file.
24430         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24431         * sysdeps/nptl/lowlevellock-futex.h: New file.
24433         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24434         Remove dead declarations.
24436 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24438         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24439         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24440         config-cflags-avx2.
24441         * sysdeps/x86_64/configure.ac: Likewise.
24442         * sysdeps/i386/configure: Regenerated.
24443         * sysdeps/x86_64/configure: Likewise.
24444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24445         memset-avx2 only if config-cflags-avx2 is yes.
24446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24447         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24448         defined.
24449         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24450         only if HAVE_AVX2_SUPPORT is defined.
24451         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24453 2014-07-14  Alan Modra  <amodra@gmail.com>
24455         [BZ #17153]
24456         * elf/elf.h (DT_PPC64_NUM): Correct value.
24457         * NEWS: Add to fixed bug list.
24459 2014-07-13  Jim Meyering  <meyering@fb.com>
24461         [BZ 17150]
24462         regex: don't deref NULL upon heap allocation failure
24463         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24464         failure in one more place.
24465         To trigger the segfault, configure grep -with-included-regex,
24466         build it, and run these commands:
24467         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24469 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24471         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24473 2014-07-11  Richard Henderson  <rth@redhat.com>
24475         * sysdeps/aarch64/libm-test-ulps: Update.
24477 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24479         [BZ #17135]
24480         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24481         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24482         (__nptl_setxid): Initialize error member.  Call
24483         __nptl_setxid_error.
24484         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24485         * nptl/descr.h (struct xid_command): Add error member.
24486         * nptl/tst-setuid3.c: New file.
24487         * nptl/Makefile (tests): Add it.
24489 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24492         New define.
24493         (__lll_trylock): Use __lll_base_trylock.
24494         (__lll_cond_trylock): Likewise.
24496 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24498         * nptl/pthread_create.c (start_thread): Use atomic_or and
24499         lll_futex_wake directly rather than lll_robust_dead.
24500         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24501         (lll_robust_dead): Macro removed.
24502         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24503         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24504         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24505         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24507         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24508         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24509         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24510         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24511         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24512         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24513         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24514         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24515         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24516         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24518         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24519         Use atomic_compare_and_exchange_val_acq directly rather than
24520         lll_robust_trylock.
24521         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24522         (__lll_robust_trylock, lll_robust_trylock): Removed.
24523         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24524         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24525         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24526         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24527         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24528         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24529         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24530         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24531         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24532         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24533         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24534         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24535         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24536         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24538 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24540         * manual/locale.texi (Locale Names): New section documenting
24541         locale name syntax.  Adjust menu and node chaining accordingly.
24542         (Choosing Locale): Reference Locale Names, Locale Categories.
24543         Mention setting LC_ALL=C.  Reflect that name syntax is now
24544         documented.
24545         (Locale Categories): New section title.  Reference Locale Names.
24546         LC_ALL is an environment variable, but not a category.
24547         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24548         description, now in Locale Name.  Reference that section.  Locale
24549         name syntax is now documented.
24551 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24553         [BZ #17137]
24554         * locale/findlocale.c (name_present, valid_locale_name): New
24555         functions.
24556         (_nl_find_locale): Use the loc_name variable to store name
24557         candidates.  Call name_present and valid_locale_name to check and
24558         validate locale names.  Return an error if the locale is invalid.
24560 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24562         * locale/setlocale.c (setlocale): Use strdup for allocating
24563         composite name copy.
24565 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24567         Sync up with gnulib.
24568         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24569         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24570         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24571         and _GL_ARG_NONNULL.
24572         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24573         [!_LIBC]: Include code for Windows and Cygwin.
24574         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24575         Include prototype for int strerror_r.
24576         [!_LIBC] (is_open): New function.
24577         (flush_stdout): New function.
24578         (print_errno_message): Use it.
24579         (error): Likewise.
24580         (error_at_line): Likewise.
24581         (error_tail) Add function attribute macros.  Use
24582         __builtin_expect.
24584         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24586         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24588         * io/ftw.c: Include sys/param.h unconditionally.
24590         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24592         [BZ #17125]
24593         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24594         libc_freeres_ptr.
24595         (freecache): New function to free CACHE on exit.
24597         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24598         initialization.
24600 2014-07-09  David S. Miller  <davem@davemloft.net>
24602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24604         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24605         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24606         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24607         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24608         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24609         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24610         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24611         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24612         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24613         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24614         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24615         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24616         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24618 2014-07-09  Andreas Schwab  <schwab@suse.de>
24620         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24621         output.
24622         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24623         (do_test): Likewise.
24625         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24627 2014-07-09  Will Newton  <will.newton@linaro.org>
24629         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24630         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24631         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24632         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24633         * sysdeps/hppa/start.S (_start): Likewise.
24635 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24637         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24639         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24640         defined.
24642 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24644         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24645         after checking that it is non-NULL.
24647         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24649 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24651         * sysdeps/powerpc/memmove.c: Remove file.
24652         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24653         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24654         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24655         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24656         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24657         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24658         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24659         string memmove instead of removed powerpc one.
24661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24662         [weak_alias]: Fix compiler warning due trailing data.
24663         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24664         [weak_alias]: Likewise.
24665         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24666         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24669         (__libc_ifunc_impl_list): Add memmove functions.
24671 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24673         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24674         Remove code.
24675         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24676         Likewise.
24677         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24678         Likewise.
24679         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24680         Likewise.
24681         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24682         Likewise.
24683         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24684         Likewise.
24685         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24686         Likewise.
24687         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24688         Likewise.
24689         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24690         Likewise.
24691         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24692         Likewise.
24693         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24694         Likewise.
24695         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24696         Likewise.
24697         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24698         Likewise.
24699         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24700         Likewise.
24701         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24702         Likewise.
24703         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24704         Likewise.
24705         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24706         Likewise.
24708 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24710         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24711         to avoid alignment traps in non-cacheable memory.
24712         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24715         multiarch objects.
24716         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24717         file: multiarch power7 memmove.
24718         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24719         multiarch default memmove.
24720         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24721         multiarch memove for powerpc32/power4.
24723         * string/bcopy.c: Use full path to include memmove.c.
24724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24725         multiarch objects.
24726         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24727         bcopy for powerpc64.
24728         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24729         bcopy for powerpc64.
24730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24731         and memmove implementations.
24732         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24733         optimized multiarch memmove for POWER7/powerpc64.
24734         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24735         default multiarch memmove for powerpc64.
24736         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24737         multiarch for powerpc64.
24738         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24739         for POWER7/powerpc64.
24740         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24741         memmove for POWER7/powerpc64.
24743         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24744         glibc default one.
24746         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24747         __ELF_NATIVE_CLASS equal to 64.
24749 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24751         * sysdeps/nptl/lowlevellock.h: File removed.
24753         * NEWS: NPTL is no longer an add-on!
24754         * nptl/internaltypes.h: Moved ...
24755         * sysdeps/nptl/internaltypes.h: ... here.
24756         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24757         * sysdeps/nptl/fork.c: Likewise.
24758         * sysdeps/nptl/gai_misc.h: Likewise.
24759         * sysdeps/nptl/librt-cancellation.c: Likewise.
24760         * sysdeps/nptl/jmp-unwind.c: Likewise.
24761         * sysdeps/nptl/setxid.h: Likewise.
24762         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24763         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24764         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24765         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24766         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24767         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24768         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24769         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24770         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24771         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24772         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24773         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24774         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24775         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24776         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24777         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24778         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24779         * nptl/Makeconfig: Moved ...
24780         * sysdeps/nptl/Makeconfig: ... here.
24781         * nptl/configure: File removed.
24782         * nptl/ANNOUNCE: File removed.
24783         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24784         * sysdeps/unix/sysv/linux/configure: Regenerated.
24786         * nptl/Makefile (routines): Add libc_pthread_init,
24787         libc_multiple_threads, register-atfork and unregister-atfork.
24788         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24789         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24790         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24791         pthread-pi-defines.sym, structsem.sym.
24792         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24793         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24794         [$(subdir) = nptl] (tests): Add tst-setgetname.
24795         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24796         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24797         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24798         [!LIBC_SIGACTION]: Remove aliases.
24799         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24800         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24801         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24802         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24803         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24804         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24805         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24806         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24808         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24809         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24810         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24811         __libc_allocate_rtsig_private.
24812         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24813         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24814         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24815         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24816         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24817         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24818         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24819         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24820         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24821         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24822         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24823         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24824         * nptl/internaltypes.h: ... here.
24825         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24826         * sysdeps/nptl/jmp-unwind.c: ... here.
24827         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24828         * nptl/libc-lowlevellock.c: ... here.
24829         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24830         * nptl/libc_multiple_threads.c: ... here.
24831         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24832         * nptl/libc_pthread_init.c: ... here.
24833         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24834         * nptl/lowlevelbarrier.sym: ... here.
24835         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24836         * nptl/lowlevelcond.sym: ... here.
24837         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24838         * nptl/lowlevellock.c: ... here.
24839         * nptl/lowlevellock.h: Moved ...
24840         * sysdeps/nptl/lowlevellock.h: ... here.
24841         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24842         * nptl/lowlevelrobustlock.c: ... here.
24843         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24844         * nptl/lowlevelrobustlock.sym: ... here.
24845         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24846         * nptl/lowlevelrwlock.sym: ... here.
24847         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24848         * nptl/pt-fork.c: ... here.
24849         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24850         * nptl/pthread-pi-defines.sym: ... here.
24851         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24852         * nptl/pthread_attr_getaffinity.c: ... here.
24853         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24854         * nptl/pthread_attr_setaffinity.c: ... here.
24855         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24856         * nptl/pthread_mutex_cond_lock.c: ... here.
24857         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24858         Update #include.
24859         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24860         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24861         * nptl/pthread_once.c: ... here, replacing old file.
24862         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24863         * nptl/pthread_yield.c: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24865         * nptl/register-atfork.c: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24867         * nptl/sem_post.c: ... here.
24868         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24869         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24870         * nptl/sem_timedwait.c: ... here.
24871         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24872         * nptl/sem_trywait.c: ... here.
24873         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24874         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24875         * nptl/sem_wait.c: ... here.
24876         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24877         * nptl/structsem.sym: ... here.
24878         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24879         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24880         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24881         * nptl/unregister-atfork.c: ... here.
24882         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24883         * nptl/unwindbuf.sym: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24885         * sysdeps/nptl/fork.c: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24887         * sysdeps/nptl/fork.h: ... here.
24888         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24889         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24890         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24891         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24892         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24893         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24894         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24895         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24896         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24897         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24898         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24899         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24900         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24901         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24902         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24903         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24904         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24905         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24906         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24907         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24908         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24909         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24910         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24911         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24912         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24913         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24914         * sysdeps/unix/sysv/linux/raise.c: ... here.
24915         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24916         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24917         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24918         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24919         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24920         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24921         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24922         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24923         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24924         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24925         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24926         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24927         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24928         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24929         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24931 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24933         * sysdeps/generic/memcopy.h: Add comment for
24934         MEMCPY_OK_FOR_FWD_MEMMOVE.
24936 2014-07-04  Will Newton  <will.newton@linaro.org>
24938         * string/memchr.c: Merge from gnulib.
24939         [_LIBC]: Remove conditionals.
24940         (__ptr_t): Remove define.
24941         (LONG_MAX_32_BITS): Likewise.
24942         (LONG_MAX): Likewise.
24943         (MEMCHR): Use ANSI prototype and optimize algorithm.
24945         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24947 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24949         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24950         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24952         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24953         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24954         in a bare environment with no <stdlib.h> installed.
24955         * sysdeps/nptl/configure: Regenerated.
24957         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24959         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24960         AC_EGREP_CPP for kernel header checks, so they only succeed if
24961         including <linux/version.h> actually works right.
24962         * sysdeps/unix/sysv/linux/configure: Regenerated.
24964         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24965         value so it's not diagnosed as unused.
24967         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24968         thing) with "ifeq ($(subdir),rt)".
24970 2014-07-03  Richard Henderson  <rth@redhat.com>
24972         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24973         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24974         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24976         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24977         (math_force_eval): New.
24979         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24980         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24982         * sysdeps/alpha/fpu/s_round.c: Remove file.
24983         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24985         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24986         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24987         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24988         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24989         (_dl_start, print_statistics): Likewise.
24990         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24991         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24993         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24994         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24995         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24996         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24997         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24998         (HP_SMALL_TIMING_AVAIL): Define.
24999         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25000         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25001         (HP_SMALL_TIMING_AVAIL): Define.
25002         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25003         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25005         * sysdeps/aarch64/hp-timing.h: New file.
25007         * sysdeps/generic/hp-timing.h: Remove dead comment.
25008         * sysdeps/generic/hp-timing-common.h: New file.
25009         * sysdeps/alpha/hp-timing.h: Include it.
25010         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25011         * sysdeps/i386/i686/hp-timing.h: Likewise.
25012         * sysdeps/ia64/hp-timing.h: Likewise.
25013         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25014         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25016         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25017         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25018         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25019         (hp_timing_t): New.
25021         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25022         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25023         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25024         * elf/rtld.c (_dl_start_final): Likewise.
25025         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25026         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25027         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25028         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25029         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25031         (HP_TIMING_DIFF_INIT): Remove.
25032         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25034         (HP_TIMING_DIFF_INIT): Remove.
25035         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25036         * sysdeps/i386/i686/hp-timing.c: Remove file.
25037         * sysdeps/x86_64/hp-timing.c: Remove file.
25038         * sysdeps/ia64/hp-timing.c: Remove file.
25039         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25040         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25041         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25042         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25044         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25045         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25046         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25047         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25049         (HP_TIMING_ACCUM): Remove.
25050         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25051         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25052         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25054         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25055         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25056         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25057         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25058         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25059         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25060         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25061         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25063         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25065 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25067         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25069 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071         Sync up with gettext.
25072         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25073         [_MSC_VER]: Include malloc.h
25074         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25075         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25076         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25077         TEMP_FAILURE_RETRY.  Cast return of alloca.
25078         [!_LIBC] Call gl_rwlock_init.
25079         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25081 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25083         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25084         before checking its value.
25086 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25090         * debug/memcpy_chk.c: Don't include pagecopy.h.
25091         * debug/mempcpy_chk.c: Likewise.
25092         * string/memcpy.c: Likewise.
25093         * string/memmove.c: Likewise.
25094         * sysdeps/powerpc/memmove.c: Likewise.
25095         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25096         definition of PAGE_COPY_FWD_MAYBE here...
25097         * sysdeps/generic/pagecopy.h: ... from here.
25098         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25100 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25101             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25103         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25105         optimizations.
25106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25107         (__libc_ifunc_impl_list): Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25109         multiarch strcat for PPC64.
25110         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25111         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25113 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25115         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25117 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25119         * intl/loadmsgcat.c: Remove declaration of
25120         get_sysdep_segment_value.
25121         (get_sysdep_segment_value): Use ISO C style.
25122         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25123         semicolon.  Fix typo and formatting in comment.
25124         (_nl_unload_domain): Use ISO C style.
25126         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25128 2014-07-02  Will Newton  <will.newton@linaro.org>
25130         * malloc/obstack.c: Merge from gnulib master.
25131         [HAVE_CONFIG_H]: Remove conditional code.
25132         [!_LIBC]: Include config.h.
25133         [!ELIDE_CODE]: Don't include inttypes.h, include
25134         stdint.h unconditionally.
25135         (print_and_abort): Mark as _Noreturn.
25136         (_obstack_allocated_p): Mark as __attribute_pure__.
25137         (obstack_free): Rename to __obstack_free.
25138         [!__attribute__]: Remove conditional code.
25139         * malloc/obstack.h: Merge from gnulib master.
25140         [__cplusplus]: Move conditional down.
25141         [!__attribute_pure__]: Define __attribute_pure__ here
25142         if it is not already defined.
25143         (_obstack_memory_used): Mark as __attribute_pure__.
25144         [!__obstack_free]: Define as obstack_free.
25145         [__GNUC__]: Remove check for ancient NeXT gcc.
25147 2014-07-02  Will Newton  <will.newton@linaro.org>
25148             Paul Eggert  <eggert@cs.ucla.edu>
25150         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25152 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25154         * resolv/gethnamaddr.c: Add comment warning that the file is
25155         not maintained.
25157 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25159         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25160         entries.
25162         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25163         entry for aio_cancel and aio_cancel64.
25164         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25165         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25166         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25167         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25168         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25169         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25170         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25171         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25172         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25173         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25174         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25175         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25176         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25178 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25180         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25181         * nptl/pthread_mutex_lock.c: Likewise.
25182         * nptl/pthread_mutex_timedlock.c: Likewise.
25183         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25185 2014-07-01  Richard henderson  <rth@redhat.com>
25187         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25188         (__isnan, __isnanl): Remove.
25189         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25191         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25193 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25195         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25197 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25199         * resolv/nss_dns/dns-host.c (getanswer_r)
25200         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25202 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25205         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25206         undefine.
25207         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25208         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25210 2014-07-01  Roland McGrath <roland@hack.frob.com>
25212         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25213         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25215         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25216         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25218         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25219         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25220         ... here.
25221         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25222         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25224         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25225         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25226         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25227         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25229         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25230         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25231         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25232         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25233         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25234         Moved ...
25235         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25236         ... here.
25237         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25238         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25240         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25242         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25244         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25246         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25247         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25248         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25250         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25251         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25252         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25253         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25254         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25255         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25256         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25257         ... here.
25258         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25259         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25261         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25262         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25263         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25264         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25265         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25267 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25269         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25270         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25271         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25272         Add sysdep.
25274 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25278 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25280         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25281         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25283         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25285         * sysdeps/arm/libm-test-ulps: Regenerated.
25287 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25288             Roland McGrath <roland@hack.frob.com>
25290         * test-skeleton.c (signal_handler): Kill the whole process group
25291         before killing the child individually.
25292         (main): Report any failure on `setpgid'.
25294 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25296         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25297         from _TLS_H to _ARM_NPTL_TLS_H.
25298         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25299         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25301 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25303         [BZ #16539]
25304         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25305         (__expm1l): Return argument unchanged when small but not
25306         subnormal.
25308         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25309         include macro name.
25310         (_FP_UNPACK_RAW_1_P): Likewise.
25311         (_FP_PACK_RAW_1): Likewise.
25312         (_FP_PACK_RAW_1_P): Likewise.
25313         (_FP_MUL_MEAT_1_wide): Likewise.
25314         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25315         (_FP_MUL_MEAT_1_hard): Likewise.
25316         (_FP_DIV_MEAT_1_imm): Likewise.
25317         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25318         (_FP_DIV_MEAT_1_udiv): Likewise.
25319         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25320         (_FP_UNPACK_RAW_2): Likewise.
25321         (_FP_UNPACK_RAW_2_P): Likewise.
25322         (_FP_PACK_RAW_2): Likewise.
25323         (_FP_PACK_RAW_2_P): Likewise.
25324         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25325         (_FP_MUL_MEAT_2_wide): Likewise.
25326         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25327         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25328         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25329         (_FP_MUL_MEAT_2_gmp): Likewise.
25330         (_FP_DIV_MEAT_2_udiv): Likewise.
25331         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25332         (_FP_FRAC_SRL_4): Likewise.
25333         (_FP_FRAC_SRST_4): Likewise.
25334         (_FP_FRAC_SRS_4): Likewise.
25335         (_FP_UNPACK_RAW_4): Likewise.
25336         (_FP_UNPACK_RAW_4_P): Likewise.
25337         (_FP_PACK_RAW_4): Likewise.
25338         (_FP_PACK_RAW_4_P): Likewise.
25339         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25340         (_FP_MUL_MEAT_4_wide): Likewise.
25341         (_FP_MUL_MEAT_4_gmp): Likewise.
25342         (umul_ppppmnnn): Likewise.
25343         (_FP_DIV_MEAT_4_udiv): Likewise.
25344         (__FP_FRAC_ADD_4): Likewise.
25345         (__FP_FRAC_SUB_3): Likewise.
25346         (__FP_FRAC_SUB_4): Likewise.
25347         (__FP_FRAC_DEC_3): Likewise.
25348         (__FP_FRAC_DEC_4): Likewise.
25349         (__FP_FRAC_ADDI_4): Likewise.
25350         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25351         (_FP_FRAC_SRL_8): Likewise.
25352         (_FP_FRAC_SRS_8): Likewise.
25354         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25355         include macro name.
25356         (FP_UNPACK_RAW_EP): Likewise.
25357         (FP_PACK_RAW_E): Likewise.
25358         (FP_PACK_RAW_EP): Likewise.
25359         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25360         (_FP_ISSIGNAN): Likewise.
25361         (_FP_ADD_INTERNAL): Likewise.
25362         (_FP_FMA): Likewise.
25363         (_FP_CMP): Likewise.
25364         (_FP_SQRT): Likewise.
25365         (_FP_TO_INT): Likewise.
25366         (_FP_FROM_INT): Likewise.
25367         (FP_EXTEND): Likewise.
25368         (_FP_DIV_MEAT_N_loop): Likewise.
25370 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25372         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25373         throughout.
25375 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25377         [BZ #17097]
25378         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25379         result with correct sign in case of exponents that produce
25380         overflow except for X very close to 1.
25382 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25384         mktime: merge #if/#ifdef usage from glibc
25385         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25386         as that works with both Glibc's and Gnulib's style.
25387         See thread starting at Siddhesh Poyarekar's bug report at:
25388         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25390 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25392         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25393         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25394         * sysdeps/tile/tilegx/memmove.c: Remove file.
25396 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25398         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25399         abi-name definition.
25400         * scripts/soversions.awk: Do not handle or generate ABI lines.
25401         * shlib-versions: Remove ABI entries.
25402         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25403         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25405 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25408         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25409         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25410         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25412         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25414         Moved ...
25415         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25416         ... here.
25417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25418         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25420         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25422         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25424         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25426         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25428         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25430         Moved ...
25431         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25437         Moved ...
25438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25440         Moved ...
25441         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25443         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25445         Moved ...
25446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25448         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25450         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25452         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25454         Moved ...
25455         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25457         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25458         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25459         Moved ...
25460         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25462         Moved ...
25463         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25465         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25467         Moved ...
25468         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25469         ... here.
25470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25471         Identical file removed.
25472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25473         Moved ...
25474         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25475         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25476         Identical file removed.
25477         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25478         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25480         Moved ...
25481         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25483         Identical file removed.
25484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25487         Identical file removed.
25488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25489         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25491         Identical file removed.
25492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25495         Identical file removed.
25496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25497         Moved ...
25498         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25500         Identical file removed.
25501         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25502         Moved ...
25503         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25505         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25506         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25507         Identical file removed.
25508         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25509         Moved ...
25510         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25511         ... here.
25512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25513         Identical file removed.
25514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25515         Moved ...
25516         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25518         Identical file removed.
25519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25520         Moved ...
25521         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25523         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25524         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25525         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25526         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25527         Moved ...
25528         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25529         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25530         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25532         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25533         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25534         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25535         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25536         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25538 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25540         [BZ #17092]
25541         * nscd/nscd.c (monitor_child): Return exit status of child
25542         instead of return value from wait syscall.
25544 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25546         * configure.ac (libc_commonpagesize): Remove variable.
25547         (libc_relro_required): Likewise.
25548         (libc_cv_z_relro): Remove configure test.
25549         * configure: Regenerated.
25550         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25551         variable.
25552         (libc_relro_required): Likewise.
25553         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25554         (libc_relro_required): Likewise.
25555         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25556         (libc_relro_required): Likewise.
25557         * sysdeps/arm/preconfigure: Regenerated.
25558         * sysdeps/ia64/preconfigure: Remove file.
25559         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25560         variable.
25561         (libc_relro_required): Likewise.
25563         [BZ #16561]
25564         [BZ #16562]
25565         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25566         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25567         recompute overflowing results in original rounding mode.
25568         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25569         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25570         recompute overflowing results in original rounding mode.
25571         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25572         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25573         recompute overflowing results in original rounding mode.
25574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25575         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25576         recompute overflowing results in original rounding mode.
25577         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25578         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25579         recompute overflowing results in original rounding mode.
25580         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25581         (libc_feholdsetround_ctx): New macro.
25582         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25583         * sysdeps/i386/fpu/libm-test-ulps: Update.
25584         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25586 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25588         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25589         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25590         corresponding .cpsetup call.
25592 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25594         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25595         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25596         * sysdeps/arm/Makefile [$(subdir) = csu]
25597         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25598         (static-only-routines): Add aeabi_read_tp here.
25599         (shared-only-routines): Add libc-aeabi_read_tp here.
25600         (CFLAGS-libc-start.c): Add -fexceptions here.
25601         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25602         (sysdep_routines, static-only-routines, shared-only-routines):
25603         Don't add to these here.
25604         (CFLAGS-libc-start.c): Likewise.
25606         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25607         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25608         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25609         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25610         * sysdeps/arm/Makefile [$(subdir) = rt]
25611         (librt-sysdep_routines, librt-shared-only-routines):
25612         Append rt-aeabi_unwind_cpp_pr1 here.
25613         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25614         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25615         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25616         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25617         Append nptl-aeabi_unwind_cpp_pr1 here.
25618         (tests): Filter out tst-cleanupx4 here.
25619         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25620         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25621         Don't do those here.
25623 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25625         * scripts/list-sources.sh: Do not handle ports specially.
25627 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25629         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25630         * sysdeps/arm/feupdateenv.c: Likewise.
25632         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25634 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25636         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25637         trailing whitespace removed.
25638         * scripts/config.guess: Update to version 2014-03-23.
25639         * scripts/config.sub: Update to version 2014-05-01
25640         * scripts/install-sh: Update to version 2013-12-25.23.
25641         * scripts/move-if-change: Update from gnulib.
25643 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25645         * debug/memmove_chk.c: Remove pagecopy.h include.
25647 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25649         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25650         identical to gnulib mktime.
25652 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25654         * configure.ac: Do not test for machine being rs6000.  Do not test
25655         for powerpc*-*soft.
25656         * configure: Regenerated.
25658         [BZ #11505]
25659         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25660         test.
25661         * configure: Regenerated.
25662         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25663         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25664         Remove configure test.
25665         * sysdeps/arm/configure: Regenerated.
25666         * sysdeps/nptl/configure.ac: Do not check
25667         libc_cv_asm_cfi_directives.
25668         * sysdeps/nptl/configure: Regenerated.
25669         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25670         * sysdeps/x86_64/nptl/configure: Remove generated file.
25671         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25672         unconditional.
25673         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25675 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25677         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25678         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25679         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25680         it is defined.
25682         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25683         instead of whether it is defined.
25684         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25685         * sysdeps/hppa/dl-machine.h: Likewise.
25686         * sysdeps/ia64/dl-machine.h: Likewise.
25687         * sysdeps/m68k/dl-machine.h: Likewise.
25688         * sysdeps/microblaze/dl-machine.h: Likewise.
25689         * sysdeps/mips/dl-machine.: Likewise.
25690         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25691         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25692         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25693         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25694         * sysdeps/sh/dl-machine.h: Likewise.
25695         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25696         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25697         * sysdeps/tile/dl-machine.h: Likewise.
25698         * sysdeps/x86_64/dl-machine.h: Likewise.
25700         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25701         code.
25702         (verify_persistent_db): Likewise.
25704 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25707         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25709         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25711         Moved ...
25712         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25713         ... here.
25714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25715         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25717         Identical file removed.
25718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25719         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25721         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25723         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25725         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25727         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25729         Moved ...
25730         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25732         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25734         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25736         Moved ...
25737         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25739         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25741         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25743         Identical file removed.
25744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25745         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25747         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25749         Moved ...
25750         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25751         ... here.
25752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25753         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25755         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25757         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25759         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25761         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25763         Moved ...
25764         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25766         Moved ...
25767         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25769         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25771         Moved ...
25772         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25774         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25776         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25777         folded into ...
25778         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25779         * sysdeps/unix/sysv/linux/s390/Versions
25780         (libpthread: GLIBC_2.19): New version set.
25781         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25782         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25783         (librt: GLIBC_2.3.3): New version set.
25784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25785         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25786         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25787         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25788         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25789         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25790         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25791         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25792         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25793         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25794         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25795         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25796         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25797         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25798         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25799         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25800         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25801         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25802         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25803         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25804         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25806         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25808         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25810         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25814         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25815         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25816         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25820         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25822         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25824         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25826         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25828         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25831         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25832         (__libc_vfork): Define the function under this name.
25833         [!NOT_IN_libc] (__vfork): Make this an alias.
25834         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25835         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25836         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25837         (__libc_vfork): Define the function under this name.
25838         [!NOT_IN_libc] (__vfork): Make this an alias.
25839         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25840         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25846         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25847         code that was previously under [RESET_PID].
25848         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25849         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25852         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25853         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25854         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25855         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25856         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25857         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25858         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25859         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25860         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25863         Moved ...
25864         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25865         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25866         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25867         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25868         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25869         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25870         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25871         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25872         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25873         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25874         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25875         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25876         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25877         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25878         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25879         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25880         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25881         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25882         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25883         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25884         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25885         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25886         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25887         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25888         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25889         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25890         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25892         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25894 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25896         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25897         that was previously under [RESET_PID].
25898         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25900 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25902         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25903         not undefine and redefine.
25904         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25905         [O_CLOEXEC]: Make code unconditional.
25906         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25907         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25908         <kernel-features.h>.
25909         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25910         conditional variable definition.
25911         (shm_open) [O_CLOEXEC]: Make code unconditional.
25912         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25913         code.
25915         * configure.ac (USE_REGPARMS): Don't define here.
25916         * configure: Regenerated.
25917         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25918         * sysdeps/i386/configure: Regenerated.
25920         * nptl/createthread.c: Don't include kernel-features.h.
25921         * nptl/pthread_cancel.c: Likewise.
25922         * nptl/pthread_condattr_setclock.c: Likewise.
25923         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25924         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25925         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25926         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25927         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25928         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25929         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25932         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25933         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25934         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25935         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25936         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25937         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25938         * nscd/gai.c: Likewise.
25939         * nss/nss_db/db-open.c: Likewise.
25940         * sysdeps/generic/ldsodefs.h: Likewise.
25941         * sysdeps/sh/nptl/tls.h: Likewise.
25942         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25943         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25944         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25945         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25946         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25947         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25948         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25951         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25952         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25953         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25954         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25955         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25956         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25957         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25958         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25959         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25960         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25961         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25964         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25965         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25970         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25971         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25972         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25973         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25974         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25975         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25976         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25977         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25978         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25979         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25980         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25981         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25982         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25983         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25984         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25985         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25986         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25987         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25988         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25989         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25990         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25991         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25992         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25993         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25994         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25995         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25996         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25997         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25998         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25999         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26022         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26023         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26024         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26025         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26026         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26027         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26028         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26029         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26030         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26031         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26032         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26033         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26034         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26035         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26036         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26037         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26038         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26039         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26040         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26041         * sysdeps/unix/sysv/linux/system.c: Likewise.
26042         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26043         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26044         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26045         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26046         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26047         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26048         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26050         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26051         * configure: Regenerated.
26052         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26054         * configure.ac (base_machine): Do not set specially for particular
26055         machines here.
26056         * configure: Regenerated.
26057         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26058         settings from configure.ac.
26059         * sysdeps/i386/preconfigure: New file.
26060         * sysdeps/s390/preconfigure: Likewise.
26061         * sysdeps/sh/preconfigure: Likewise.
26062         * sysdeps/sparc/preconfigure: Likewise.
26064 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26066         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26067         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26068         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26069         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26070         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26071         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26072         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26073         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26074         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26075         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26076         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26077         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26078         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26079         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26080         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26081         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26082         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26083         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26084         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26086         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26087         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26088         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26089         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26090         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26091         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26092         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26093         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26094         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26095         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26096         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26097         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26098         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26099         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26100         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26101         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26102         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26103         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26104         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26105         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26107         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26109         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26111         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26116         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26117         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26119         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26121         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26123         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26126         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26128         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26130         Moved ...
26131         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26132         ... here.
26133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26134         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26136         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26138         Moved ...
26139         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26141         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26143         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26145         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26147         Moved ...
26148         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26150         Moved ...
26151         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26153         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26155         Moved ...
26156         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26158         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26160         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26162         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26164         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26166         Moved ...
26167         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26168         ... here.
26169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26170         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26172         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26174         Moved ...
26175         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26177         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26181         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26183         Moved ...
26184         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26186         Moved ...
26187         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26189         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26191         Moved ...
26192         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26194         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26196         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26198 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26200         * timezone/checktab.awk: Update from tzcode 2014e.
26201         * timezone/private.h: Likewise.
26202         * timezone/tzfile.h: Likewise.
26203         * timezone/zdump.c: Likewise.
26204         * timezone/zic.c: Likewise.
26206         * sysdeps/unix/sysv/linux/kernel-features.h
26207         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26208         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26209         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26210         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26211         Remove conditional code.
26213 2014-06-25  Will Newton  <will.newton@linaro.org>
26215         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26216         (_dl_arm_cap_flags): Add HWCAP2 values.
26217         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26218         (_DL_HWCAP_COUNT): Increase to 37.
26219         (_DL_HWCAP_LAST): New define.
26220         (_DL_HWCAP2_LAST): New define.
26221         (_dl_procinfo): Add support for printing
26222         AT_HWCAP2 entries.
26223         (_dl_string_hwcap): Use _dl_hwcap_string.
26225 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26229 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26231         * README: Do not mention ports directory.
26233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26234         Remove macro.
26235         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26236         <kernel-features.h>.
26237         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26238         conditional variable definition.
26239         (__futimes): Update comment.
26240         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26241         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26243         [BZ #16560]
26244         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26245         arguments close to 0.
26246         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26247         Likewise.
26248         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26249         Likewise.
26250         * math/auto-libm-test-in: Add more tests of exp10.
26251         * math/auto-libm-test-out: Regenerated.
26252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26254         * sysdeps/unix/sysv/linux/kernel-features.h
26255         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26256         * sysdeps/unix/sysv/linux/readv.c: Do not include
26257         <kernel-features.h>.
26258         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26259         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26260         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26261         unconditional.
26262         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26263         conditional code.
26264         * sysdeps/unix/sysv/linux/writev.c: Do not include
26265         <kernel-features.h>.
26266         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26267         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26268         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26269         unconditional.
26270         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26271         conditional code.
26273 2014-06-25  Will Newton  <will.newton@linaro.org>
26275         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26276         comment changes throughout the file.  Remove checks
26277         for HAVE_*_H definitions that are not required.
26278         (__gen_tempname): Call abort if an unknown kind value is
26279         passed.
26281 2014-06-25  Andreas Schwab  <schwab@suse.de>
26283         [BZ #17086]
26284         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26285         scalbln, scalblnf, scalblnl in libc.
26287 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         [BZ #17086]
26290         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26291         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26292         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26294 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26296         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26297         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26298         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26299         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26300         Update #include.
26301         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26302         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26303         Update #include.
26304         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26305         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26306         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26307         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26308         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26309         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26310         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26311         * sysdeps/x86/bits/semaphore.h: ... here.
26312         * sysdeps/x86/nptl/elide.h: Moved ...
26313         * sysdeps/x86/elide.h: ... here.
26314         * sysdeps/x86_64/nptl/Implies: File removed.
26315         * sysdeps/i386/nptl/Implies: File removed.
26317 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26319         [BZ #16539]
26320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26321         return the argument for normal arguments with exponent below -64.
26322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26323         Likewise.
26324         * math/auto-libm-test-in: Add another test of expm1.
26325         * math/auto-libm-test-out: Regenerated.
26327         [BZ #16287]
26328         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26329         calling __erfcl for arguments at least 16.
26330         * math/auto-libm-test-in: Add more tests of erf.
26331         * math/auto-libm-test-out: Regenerated.
26333         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26334         individual architectures.
26335         * sysdeps/unix/sysv/linux/configure: Regenerated.
26336         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26337         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26338         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26339         (ldd_rewrite_script): Define variable.
26340         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26342         file.
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26344         generated file.
26345         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26346         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26347         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26348         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26349         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26350         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26351         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26352         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26354 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26356         [BZ #17084]
26357         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26358         Rename member __data.d to __data.__elision_data.
26360 2014-06-24  Wilco  <wdijkstr@arm.com>
26362         * NEWS: Add 16918 to fixed bug list.
26364 2014-06-24  Wilco  <wdijkstr@arm.com>
26366         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26368 2014-06-24  Wilco  <wdijkstr@arm.com>
26370         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26371         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26372         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26373         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26374         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26375         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26376         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26377         Use _FPU_MASK_RM.
26379 2014-06-24  Wilco  <wdijkstr@arm.com>
26381         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26383 2014-06-24  Wilco  <wdijkstr@arm.com>
26385         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26386         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26387         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26388         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26390 2014-06-24  Wilco  <wdijkstr@arm.com>
26392         [BZ #16918]
26393         * sysdeps/arm/feupdateenv.c (feupdateenv):
26394         Rewrite to reduce FPSCR accesses and fix return value.
26396 2014-06-24  Wilco  <wdijkstr@arm.com>
26398         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26399         Optimize to avoid unnecessary FPSCR writes.
26400         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26401         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26402         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26403         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26405 2014-06-24  Wilco  <wdijkstr@arm.com>
26407         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26408         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26409         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26410         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26411         Call libc_fetestexcept_vfp.
26412         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26413         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26414         __SOFTFP__ ifdef so that they can be built for softfp.
26416 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26418         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26419         argument type signed char.
26421         * Makerules (check-abi): Dump diff of symlist if the test
26422         fails.
26424 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26426         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26427         using abort.
26429         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26430         Remove unused variable ST.
26432 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26434         [BZ #16354]
26435         [BZ #17061]
26436         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26437         small arguments before calling __expm1.
26438         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26439         small arguments before calling __expm1f.
26440         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26441         small arguments before calling __expm1l.
26442         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26443         Likewise.
26444         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26445         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26446         spurious underflow for some cosh tests.
26447         * math/auto-libm-test-out: Regenerated.
26448         * sysdeps/i386/fpu/libm-test-ulps: Update.
26450         [BZ #17050]
26451         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26452         (__ieee754_y1): Set errno if return value overflows.
26453         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26454         (__ieee754_y1f): Set errno if return value overflows.
26455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26456         (__ieee754_y1l): Set errno if return value overflows.
26457         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26458         (__ieee754_y1l): Set errno if return value overflows.
26459         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26460         * math/auto-libm-test-out: Regenerated.
26462         * math/gen-auto-libm-tests.c: Document use of
26463         ignore-zero-inf-sign.
26464         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26465         (input_flags): Add ignore-zero-inf-sign.
26466         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26467         * math/gen-libm-test.pl (generate_testfile): Handle
26468         ignore-zero-inf-sign.
26469         * math/auto-libm-test-in: Mark some cpow tests with
26470         ignore-zero-inf-sign and some with xfail-rounding.
26471         * math/auto-libm-test-out: Regenerated.
26472         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26473         * sysdeps/i386/fpu/libm-test-ulps: Update.
26474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26476         [BZ #16315]
26477         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26478         overflowing or underflowing operations take place with sign of
26479         result.
26480         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26481         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26482         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26483         (__ieee754_pow): Recompute overflowing and underflowing results in
26484         original rounding mode.
26485         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26486         (__powl_helper): Allow negative argument X and scale negated value
26487         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26488         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26489         overflowing or underflowing operations take place with sign of
26490         result.
26491         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26492         Include <math.h>.
26493         * math/auto-libm-test-in: Add more tests of pow.
26494         * math/auto-libm-test-out: Regenerated.
26495         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26496         (pow_tonearest_test_data): Remove.
26497         (pow_test_tonearest): Likewise.
26498         (pow_towardzero_test_data): Likewise.
26499         (pow_test_towardzero): Likewise.
26500         (pow_downward_test_data): Likewise.
26501         (pow_test_downward): Likewise.
26502         (pow_upward_test_data): Likewise.
26503         (pow_test_upward): Likewise.
26504         (main): Don't call removed functions.
26505         * sysdeps/i386/fpu/libm-test-ulps: Update.
26506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26508 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26511         Moved ...
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26514         Moved ...
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26517         Moved ...
26518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26520         Moved ...
26521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26523         File removed.
26524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26525         File removed.
26526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26527         File removed.
26528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26529         File removed.
26530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26531         File removed.
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26533         File removed.
26534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26535         File removed.
26536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26537         File removed.
26538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26539         File removed.
26540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26541         File removed.
26542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26543         File removed.
26544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26545         File removed.
26546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26547         Moved ...
26548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26550         Moved ...
26551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26552         ... here.
26553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26554         Moved ...
26555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26557         Moved ...
26558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26560         Moved ...
26561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26563         Moved ...
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26566         Moved ...
26567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26569         Moved ...
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26572         Moved ...
26573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26576         ... here.
26577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26578         Moved ...
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26581         Moved ...
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26583         ... here.
26584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26585         Moved ...
26586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26587         ... here.
26588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26589         Moved ...
26590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26591         ... here.
26592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26593         Moved ...
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26596         Moved ...
26597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26601         Moved ...
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26603         ... here.
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26605         Moved ...
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26607         ... here.
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26609         Moved ...
26610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26612         Moved ...
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26615         Moved ...
26616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26618         Moved ...
26619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26621         Moved ...
26622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26623         ... here.
26624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26625         Moved ...
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26628         Moved ...
26629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26631         Moved ...
26632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26634         Moved ...
26635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26639         Moved ...
26640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26642         Moved ...
26643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26645         Moved ...
26646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26647         ... here.
26648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26649         Moved ...
26650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26651         ... here.
26652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26653         Moved ...
26654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26655         ... here.
26656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26657         Moved ...
26658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26660         Moved ...
26661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26663         Moved ...
26664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26666         Moved ...
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26668         ... here.
26669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26670         Moved ...
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26672         ... here.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26674         Moved ...
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26676         ... here.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26678         Moved ...
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26681         Moved ...
26682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26684 2014-06-23  Will Newton  <will.newton@linaro.org>
26685             Wilco  <wdijkstr@arm.com>
26687         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26688         implementation.  Include get-rounding-mode.h.
26689         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26690         [!libc_feholdsetround_noex_ctx]: Define
26691         libc_feholdsetround_noex_ctx.
26692         [!libc_feholdsetround_noexf_ctx]: Define
26693         libc_feholdsetround_noexf_ctx.
26694         [!libc_feholdsetround_noexl_ctx]: Define
26695         libc_feholdsetround_noexl_ctx.
26696         (libc_feholdsetround_ctx): New function.
26697         (libc_feresetround_ctx): New function.
26698         (libc_feholdsetround_noex_ctx): New function.
26699         (libc_feresetround_noex_ctx): New function.
26701 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26703         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26704         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26705         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26706         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26707         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26708         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26710         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26711         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26712         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26713         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26714         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26715         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26716         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26717         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26719         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26721         Moved ...
26722         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26723         ... here.
26724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26725         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26727         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26729         Moved ...
26730         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26732         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26734         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26736         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26738         Moved ...
26739         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26741         Moved ...
26742         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26746         Moved ...
26747         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26749         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26750         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26751         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26752         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26753         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26755         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26757         Moved ...
26758         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26759         ... here.
26760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26761         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26765         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26767         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26769         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26771         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26773         Moved ...
26774         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26776         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26778         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26780         Moved ...
26781         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26782         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26783         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26784         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26785         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26787         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26788         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26789         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26790         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26791         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26792         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26793         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26794         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26796         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26797         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26798         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26799         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26800         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26801         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26802         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26803         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26805         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26808         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26810         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26811         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26816 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26818         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26819         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26820         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26821         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26822         (IPV6_PMTUDISC_INTERFACE): Likewise.
26823         (IPV6_PMTUDISC_OMIT): Likewise.
26825 2014-06-23  Andreas Schwab  <schwab@suse.de>
26827         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26828         Remove unused errout label.
26830 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26832         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26833         macro: hardware supports Vector Crypto instructions.
26835 2014-06-23  Will Newton  <will.newton@linaro.org>
26837         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26838         rather than __builtin_expect.
26840         * elf/dl-lookup.c (undefined_msg): Remove variable.
26841         (_dl_lookup_symbol_x): Replace undefined_msg with string
26842         literal.
26844         * elf/dl-lookup.c (do_lookup_unique): New function.
26845         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26846         to a separate function.
26848 2014-06-23  Andreas Schwab  <schwab@suse.de>
26850         [BZ #17079]
26851         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26852         before reading the next line.
26854 2014-06-23  Will Newton  <will.newton@linaro.org>
26856         * test-skeleton.c (signal_handler): Use printf and %m
26857         rather than perror.  Use printf rather than fprintf to
26858         stderr.  Use puts rather than fputs to stderr.
26859         (main): Likewise.
26861 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26863         * nscd/nscd.c (thread_info_t): Remove typedef.
26864         (thread_info): Remove variable.
26866 2014-06-21  Allan McRae  <allan@archlinux.org>
26868         * NEWS: Mention CVE-2014-4043.
26870 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26872         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26873         * nptl/smp.h: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26877         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26878         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26879         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26880         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26882         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26883         * nptl/stack-aliasing.h: New file.
26884         * sysdeps/i386/i686/stack-aliasing.h: New file.
26885         * sysdeps/i386/i686/nptl/Makefile: File removed.
26886         * sysdeps/x86_64/stack-aliasing.h: New file.
26887         * sysdeps/x86_64/nptl/Makefile
26888         (CFLAGS-pthread_create.c): Variable removed.
26890         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26891         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26892         old file.
26893         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26894         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26895         old file.
26897 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26899         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26900         (__ASSUME_SIGFRAME_V2): Remove macro.
26901         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26902         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26903         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26904         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26905         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26906         Declare as function.  Remove conditional macro definitions.
26907         (__default_rt_sa_restorer): Likewise.
26908         (__default_sa_restorer_v1): Remove declaration.
26909         (__default_sa_restorer_v2): Likewise.
26910         (__default_rt_sa_restorer_v1): Likewise.
26911         (__default_rt_sa_restorer_v2): Likewise.
26912         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26913         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26914         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26916 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26918         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26919         (libpthread-routines): Add sysdep.
26920         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26921         * sysdeps/unix/sysv/linux/sparc/Versions
26922         (libpthread: GLIBC_2.3.3): New version set.
26923         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26924         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26925         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26926         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26927         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26928         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26929         Moved ...
26930         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26931         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26932         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26933         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26934         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26935         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26936         * sysdeps/sparc/nptl/sem_init.c: ... here.
26937         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26938         * sysdeps/sparc/nptl/sem_post.c: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26940         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26942         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26944         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26945         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26946         (libpthread-routines): Add cpu_relax.
26947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26948         File removed.
26949         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26950         (librt: GLIBC_2.3.3): New version set.
26951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26952         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26953         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26954         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26957         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26959         Moved ...
26960         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26962         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26964         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26966         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26968         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26970         Moved ...
26971         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26972         Update #include.
26973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26974         Moved ...
26975         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26976         Update #include.
26977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26978         Moved ...
26979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26980         Update #include.
26981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26982         Moved ...
26983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26984         Update #include.
26985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26986         Moved ...
26987         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26988         Update #include.
26989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26990         Moved ...
26991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26992         Update #include.
26993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26994         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26998         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27000         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27002         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27004         Moved ...
27005         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27007         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27009         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27011 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27013         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27014         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27015         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27016         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27017         * nscd/nscd.c: Likewise.
27018         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27019         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27020         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27021         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27023         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27024         <kernel-features.h>.
27025         (init_mq_netlink): Remove conditional have_sock_cloexec
27026         definitions.  Remove code conditional on have_sock_cloexec < 0.
27027         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27028         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27029         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27030         <kernel-features.h>.
27031         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27032         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27034 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27037         Add tests for memset_chk and memset.
27039         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27040         with AVX2_Usable.
27042 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27044         [BZ #16046]
27045         * elf/tst-dl-iter-static.c: New file.
27046         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27048         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27049         error.
27051 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27053         * sysdeps/unix/sysv/linux/kernel-features.h
27054         (__ASSUME_F_GETOWN_EX): Remove macro.
27055         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27056         <kernel-features.h>.
27057         (miss_F_GETOWN_EX): Remove variable or macro.
27058         (do_fcntl): Do not check miss_F_GETOWN_EX.
27059         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27061         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27062         Remove macro.
27063         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27064         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27065         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27067         * sysdeps/unix/sysv/linux/kernel-features.h
27068         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27069         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27070         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27071         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27073 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27075         [BZ #17075]
27076         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27077         Fix calculation of the symbol's value.
27078         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27079         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27080         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27081         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27082         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27083         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27084         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27085         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27086         (modules-names): Add `tst-armtlsdescmod',
27087         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27088         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27089         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27090         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27091         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27092         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27093         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27094         ($(objpfx)tst-armtlsdescloc): New dependency.
27095         ($(objpfx)tst-armtlsdescextnow): Likewise.
27096         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27097         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27098         TLS scheme support.
27099         * sysdeps/arm/configure: Regenerate.
27101 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27103         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27104         (__atfct_seterrno_2): Likewise.
27105         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27106         <kernel-features.h>.
27107         (__ASSUME_ATFCTS): Do not undefine and redefine.
27108         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27109         (__have_atfcts): Remove conditional definition.
27110         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27111         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27112         unreachable if [__ASSUME_ATFCTS].
27113         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27114         not undefine and redefine.
27115         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27116         <kernel-features.h>.
27117         (faccessat) [__NR_faccessat]: Make code unconditional.
27118         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27119         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27120         <kernel-features.h>.
27121         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27122         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27123         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27124         <kernel-features.h>.
27125         (fchownat) [__NR_fchownat]: Make code unconditional.
27126         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27127         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27128         <kernel-features.h>.
27129         (futimesat) [__NR_futimesat]: Make code unconditional.
27130         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27131         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27132         <kernel-features.h>.
27133         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27134         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27135         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27136         <kernel-features.h>.
27137         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27138         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27139         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27140         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27141         <kernel-features.h>.
27142         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27143         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27144         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27145         <kernel-features.h>.
27146         (linkat) [__NR_linkat]: Make code unconditional.
27147         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27148         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27149         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27150         <kernel-features.h>.
27151         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27152         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27153         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27154         <kernel-features.h>.
27155         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27156         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27157         * sysdeps/unix/sysv/linux/openat.c: Do not include
27158         <kernel-features.h>.
27159         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27160         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27161         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27162         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27163         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27164         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27165         <kernel-features.h>.
27166         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27167         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27168         result of INLINE_SYSCALL directly, not via int variable.
27169         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27170         <kernel-features.h>.
27171         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27172         (renameat) [__NR_renameat]: Make code unconditional.
27173         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27174         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27175         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27176         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27177         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27178         (__ASSUME_ATFCTS): Do not undefine and redefine.
27179         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27180         <kernel-features.h>.
27181         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27182         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27183         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27184         <kernel-features.h>.
27185         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27186         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27187         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27188         (__ASSUME_ATFCTS): Do not undefine and redefine.
27189         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27190         <kernel-features.h>.
27191         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27192         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27193         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27194         <kernel-features.h>.
27195         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27196         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27198 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27200         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27202 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27204         [BZ #17069]
27205         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27206         constructed tree before returning error.
27207         * posix/bug-regexp36.c: Expand test case.
27209 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27211         [BZ #6803]
27212         * math/libm-test.inc (scalbln_test_date):
27213         Add errno expectations.
27214         * math/w_scalblnf.c: New File.
27215         Add wrapper which checks for setting errno to ERANGE.
27216         Add weak_alias for corresponding scalbln function.
27217         * math/w_scalbln.c: Likewise.
27218         * math/w_scalblnl.c: Likewise.
27219         * math/Makefile (libm-calls): Add w_scalbln.
27220         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27221         Remove weak_alias for corresponding scalbln function.
27222         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27223         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27226         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27227         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27228         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27229         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27230         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27231         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27232         Remove long_double_symbol for scalblnl function in libm, libc.
27233         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27234         Add wrapper which checks for setting errno to ERANGE.
27235         Add long_double_symbol for scalblnl function in libm, libc.
27236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27237         Remove long_double_symbol for scalblnl in libm.
27238         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27239         Add wrapper which checks for setting errno to ERANGE.
27240         Add long_double_symbol for scalblnl function in libm.
27241         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27242         Do not use wrapper because of own implementation.
27244 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27246         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27247         3 bytes for __pad1 for x32.
27248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27250 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27251             H.J. Lu  <hongjiu.lu@intel.com>
27253         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27254         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27255         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27257         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27259 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27261         [BZ #17069]
27262         * posix/regcomp.c (parse_expression): Deallocate partially
27263         constructed tree before returning error.
27264         * posix/Makefile.c (tests): Add bug-regex36.
27265         (generated): Add bug-regex36.mtrace.
27266         (tests-special): Add $(objpfx)bug-regex36-mem.out
27267         (bug-regex36-ENV): New variable.
27268         ($(objpfx)bug-regex36-mem.out): New rule.
27269         * posix/bug-regex36.c: New file.
27271 2014-06-19  Will Newton  <will.newton@linaro.org>
27273         * malloc/malloc.c (systrim): If extra is zero then return
27274         early.
27276 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27280 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27282         * sysdeps/aarch64/strchr.S: New file.
27284 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27286         [BZ #17022]
27287         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27288         from arguments -2 or below.
27289         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27290         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27292 2014-06-18  Andreas Schwab  <schwab@suse.de>
27294         [BZ #17062]
27295         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27296         of a bracket expr not to run off the end of the string.
27297         * posix/Makefile (tests): Add tst-fnmatch3.
27298         * posix/tst-fnmatch3.c: New file.
27300 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27302         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27303         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27304         [$(cross-compiling) = no]: Likewise.
27305         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27306         [$(cross-compiling) = no]: Likewise.
27308 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27310         [BZ #17031]
27311         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27312         double, adjusted for any remainder from the high double.
27313         * math/libm-test.inc (nearbyint): Add tests.
27314         (rint): Likewise.
27316 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27318         * nptl/sysdeps/powerpc/Makefile: Moved ...
27319         * sysdeps/powerpc/nptl/Makefile: ... here.
27320         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27321         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27322         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27323         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27324         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27325         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27326         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27327         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27328         * nptl/sysdeps/powerpc/tls.h: Moved ...
27329         * sysdeps/powerpc/nptl/tls.h: ... here.
27331 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27333         [BZ #16681]
27334         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27335         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27336         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27337         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27338         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27339         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27340         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27341         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27342         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27344 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27346         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27348 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27350         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27351         defined operator.
27353         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27354         $TIMEOUTFACTOR.
27356 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27358         [BZ #17058]
27359         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27360         non-executed part of the test.
27362 2014-06-16  Andreas Schwab  <schwab@suse.de>
27364         * string/bits/string2.h (strdup, strndup): Update feature guard.
27366 2014-06-14  David S. Miller  <davem@davemloft.net>
27368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27370 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27372         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27373         that was previously under [RESET_PID].
27374         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27376         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27377         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27378         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27379         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27380         (__libc_vfork): New strong alias.
27381         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27383 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27385         * sysdeps/generic/elide.h: New file.
27387 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27389         * Makefile (installed-headers): Adjust path of pthread.h header.
27391 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27393         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27394         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27395         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27396         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27398         * nptl/sysdeps/s390/Makefile: Moved ...
27399         * sysdeps/s390/nptl/Makefile: ... here.
27400         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27401         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27402         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27403         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27404         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27405         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27406         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27407         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27408         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27409         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27410         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27411         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27412         * nptl/sysdeps/s390/tls.h: Moved ...
27413         * sysdeps/s390/nptl/tls.h: ... here.
27415         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27416         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27418 2014-06-13  David S. Miller  <davem@davemloft.net>
27420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27423         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27427         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27428         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27429         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27430         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27431         Remove RESET_PID cpp guards.
27432         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27433         Remove RESET_PID cpp guards.
27434         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27436 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27438         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27439         __sp to uintptr_t.
27441 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27443         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27444         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27445         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27449         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27451         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27453         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27454         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27455         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27456         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27458         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27459         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27460         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27464         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27465         (pthread_rwlock_rdlock): Add elision.
27466         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27467         (pthread_rwlock_wrlock): Add elision.
27468         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27469         (pthread_rwlock_trywrlock): Add elision.
27470         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27471         (pthread_rwlock_tryrdlock): Add elision.
27472         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27473         (pthread_rwlock_tryrdlock): Add elision unlock.
27474         * nptl/sysdeps/pthread/pthread.h:
27475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27476         (PTHREAD_RWLOCK_INITIALIZER,
27477         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27478         Handle new elision field.
27479         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27480         * sysdeps/arm/nptl/bits/pthreadtypes.h
27481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27482         * sysdeps/sh/nptl/bits/pthreadtypes.h
27483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27484         * sysdeps/tile/nptl/bits/pthreadtypes.h
27485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27486         * sysdeps/a/nptl/bits/pthreadtypes.h
27487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27488         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27490         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27492         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27494         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27496         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27498         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27500         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27502         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27504         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27505         (elision_init): Set try_xbegin to zero when no RTM.
27506         * sysdeps/x86/nptl/bits/pthreadtypes.h
27507         (pthread_rwlock_t): Change __pad1 to __rwelision.
27508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27510 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27512         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27513         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27514         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27515         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27517 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27519         [BZ #16996]
27520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27521         that the cached result has been set before returning it.
27523 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27525         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27526         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27527         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27528         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27529         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27530         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27532         * nptl/sysdeps/sparc/Makefile: Moved ...
27533         * sysdeps/sparc/nptl/Makefile: ... here.
27534         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27535         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27536         * nptl/sysdeps/sparc/tls.h: Moved ...
27537         * sysdeps/sparc/nptl/tls.h: ... here.
27538         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27539         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27540         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27541         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27542         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27543         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27544         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27545         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27546         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27547         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27548         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27549         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27550         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27551         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27552         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27553         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27554         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27555         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27556         Update #include.
27557         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27559         Update #include.
27560         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27561         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27562         Update #include.
27563         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27565         Update #include.
27567         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27569         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27570         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27572         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27573         (struct list_links): Type removed.
27574         (struct thread_node, struct timer_node): Replace struct list_links
27575         with struct list_head.
27576         (list_unlink_ip): Likewise.
27577         * sysdeps/pthread/timer_routines.c
27578         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27579         (list_append, list_insbefore): Likewise.
27580         (list_init): Function removed.
27581         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27582         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27583         * sysdeps/pthread/Makefile: ... here, new file.
27585         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27586         * sysdeps/nptl/Implies: ... here.
27587         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27588         * nptl/sysdeps/pthread/list.h: Moved ...
27589         * include/list.h: ... here.
27590         * nptl/sysdeps/pthread/createthread.c: Moved ...
27591         * nptl/createthread.c: ... here.
27592         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27593         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27594         * nptl/pt-longjmp.c: ... here.
27595         * nptl/sysdeps/pthread/Makefile: Moved ...
27596         * sysdeps/nptl/Makefile: ... here.
27597         * nptl/sysdeps/pthread/Subdirs: Moved ...
27598         * sysdeps/nptl/Subdirs: ... here.
27599         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27600         * sysdeps/nptl/aio_misc.h: ... here.
27601         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27602         * sysdeps/nptl/bits/libc-lock.h: ... here.
27603         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27604         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27605         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27606         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27607         * nptl/sysdeps/pthread/configure: Moved ...
27608         * sysdeps/nptl/configure: ... here.
27609         * nptl/sysdeps/pthread/configure.ac: Moved ...
27610         * sysdeps/nptl/configure.ac: ... here.
27611         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27612         * sysdeps/nptl/gai_misc.h: ... here.
27613         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27614         * sysdeps/nptl/librt-cancellation.c: ... here.
27615         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27616         * sysdeps/nptl/malloc-machine.h: ... here.
27617         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27618         * sysdeps/nptl/pthread-functions.h: ... here.
27619         * nptl/sysdeps/pthread/pthread.h: Moved ...
27620         * sysdeps/nptl/pthread.h: ... here.
27621         * nptl/sysdeps/pthread/setxid.h: Moved ...
27622         * sysdeps/nptl/setxid.h: ... here.
27623         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27624         * sysdeps/nptl/sigfillset.c: ... here.
27625         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27626         * sysdeps/nptl/tcb-offsets.h: ... here.
27627         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27628         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27629         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27630         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27631         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27632         * sysdeps/pthread/allocalim.h: ... here.
27633         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27634         * sysdeps/pthread/bits/sigthread.h: ... here.
27635         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27636         * sysdeps/pthread/flockfile.c: ... here.
27637         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27638         * sysdeps/pthread/ftrylockfile.c: ... here.
27639         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27640         * sysdeps/pthread/funlockfile.c: ... here.
27641         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27642         * sysdeps/pthread/posix-timer.h: ... here.
27643         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27644         * sysdeps/pthread/timer_create.c: ... here.
27645         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27646         * sysdeps/pthread/timer_delete.c: ... here.
27647         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27648         * sysdeps/pthread/timer_getoverr.c: ... here.
27649         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27650         * sysdeps/pthread/timer_gettime.c: ... here.
27651         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27652         * sysdeps/pthread/timer_routines.c: ... here.
27653         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27654         * sysdeps/pthread/timer_settime.c: ... here.
27655         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27656         * sysdeps/pthread/tst-timer.c: ... here.
27657         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27658         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27660         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27661         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27663         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27664         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27665         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27666         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27667         Update #include target.
27668         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27669         * sysdeps/i386/i686/nptl/Makefile: ... here.
27670         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27671         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27672         Update #include target.
27673         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27674         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27675         * nptl/sysdeps/i386/Makefile: Moved ...
27676         * sysdeps/i386/nptl/Makefile: ... here.
27677         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27678         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27679         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27680         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27681         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27682         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27683         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27684         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27685         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27686         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27687         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27688         * nptl/sysdeps/i386/tls.h: Moved ...
27689         * sysdeps/i386/nptl/tls.h: ... here.
27691         * sysdeps/sh/Makefile [$(subdir) = csu]
27692         (gen-as-const-headers): Add tcb-offsets.sym.
27693         * nptl/sysdeps/sh/Makefile: File removed.
27694         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27695         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27696         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27697         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27698         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27699         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27700         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27701         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27702         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27703         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27704         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27705         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27706         * nptl/sysdeps/sh/tls.h: Moved ...
27707         * sysdeps/sh/nptl/tls.h: ... here.
27708         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27709         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27710         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27711         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27712         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27713         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27714         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27715         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27717         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27719         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27721         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27723         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27725         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27727         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27729         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27731         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27733         Moved ...
27734         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27736         Moved ...
27737         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27738         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27740         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27742         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27743         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27744         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27745         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27746         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27747         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27748         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27749         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27750         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27751         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27752         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27753         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27754         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27755         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27757 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27759         * posix/spawn_faction_addopen.c: Include string.h.
27761 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27763         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27764         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27765         * nptl/sysdeps/x86_64/Makefile: Moved ...
27766         * sysdeps/x86_64/nptl/Makefile: ... here.
27767         * nptl/sysdeps/x86_64/configure: Moved ...
27768         * sysdeps/x86_64/nptl/configure: ... here.
27769         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27770         * sysdeps/x86_64/nptl/configure.ac: ... here.
27771         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27772         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27773         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27774         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27775         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27776         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27777         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27778         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27779         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27780         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27781         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27782         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27783         * nptl/sysdeps/x86_64/tls.h: Moved ...
27784         * sysdeps/x86_64/nptl/tls.h: ... here.
27785         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27786         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27787         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27788         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27790         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27792 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27796 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27798         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27799         type.
27800         [POSIX] (off_t): Likewise.
27801         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27802         [POSIX] (S_ISBLK): Require macro.
27803         [POSIX] (S_ISCHR): Likewise.
27804         [POSIX] (S_ISDIR): Likewise.
27805         [POSIX] (S_ISFIFO): Likewise.
27806         [POSIX] (S_ISREG): Likewise.
27807         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27808         optional-macro.
27809         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27810         type.
27811         [POSIX] (time_t): Likewise.
27812         [POSIX] (timer_t): Likewise.
27814 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27816         [BZ #17048]
27817         * posix/spawn_int.h (struct __spawn_action): Make the path string
27818         non-const to support deallocation.
27819         * posix/spawn_faction_addopen.c
27820         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27821         * posix/spawn_faction_destroy.c
27822         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27823         path in all spawn_do_open actions.
27824         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27825         posix_spawn_file_actions_addopen.
27827 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27829         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27830         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27831         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27832         conditional code always true.
27833         (__libc_vfork): New alias.
27835 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27837         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27838         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27840         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27842         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27843         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27845         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27846         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27848         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27849         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27851 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27853         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27854         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27855         multiarch strcmp for PPC64.
27856         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27857         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27859         multiarch optimizations.
27860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27861         (__libc_ifunc_impl_list): Likewise.
27863 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27865         * benchtests/scripts/validate_benchout.py: New script.
27866         * benchtests/Makefile (bench-func): Call it.
27867         * benchtests/scripts/benchout.schema.json: New file.
27869 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27871         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27872         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27873         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27874         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27875         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27876         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27877         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27878         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27879         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27880         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27881         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27882         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27883         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27884         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27885         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27886         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27888         Moved ...
27889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27890         ... here.
27891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27892         Moved ...
27893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27895         Moved ...
27896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27897         ... here.
27898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27899         Moved ...
27900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27901         ... here.
27902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27903         Moved ...
27904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27906         Moved ...
27907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27908         ... here.
27909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27910         Moved ...
27911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27912         ... here.
27913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27914         Moved ...
27915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27917         Moved ...
27918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27919         ... here.
27920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27921         Moved ...
27922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27923         ... here.
27924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27925         Moved ...
27926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27927         ... here.
27928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27929         Moved ...
27930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27932         Moved ...
27933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27934         ... here.
27935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27936         Moved ...
27937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27938         ... here.
27939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27940         Moved ...
27941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27942         ... here.
27943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27944         Moved ...
27945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27949         ... here.
27950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27951         Moved ...
27952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27953         ... here.
27954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27955         Moved ...
27956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27958         Moved ...
27959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27960         ... here.
27961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27962         Moved ...
27963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27965         Moved ...
27966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27968         Moved ...
27969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27970         ... here.
27971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27972         Moved ...
27973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27974         ... here.
27975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27976         Moved ...
27977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27978         ... here.
27979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27980         Moved ...
27981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27983         Moved ...
27984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27985         ... here.
27986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27987         Moved ...
27988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27989         ... here.
27990         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27991         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27993         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27995         Moved ...
27996         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27997         ... here.
27998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28001         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28003         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28005         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28007         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28009         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28011         Moved ...
28012         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28014         Moved ...
28015         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28016         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28017         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28019         Moved ...
28020         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28022         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28023         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28024         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28025         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28026         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28028 2014-06-10  Wilco  <wdijkstr@arm.com>
28030         * math/test-fenv-return.c: New file.
28031         * math/Makefile: Add new test test-fenv-return.
28033 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28035         [BZ #17042]
28036         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28037         when x - 1 is zero.
28038         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28039         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28040         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28041         0.0L for an argument of 1.0L.
28042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28043         Likewise.
28044         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28045         value when x - 1 is zero.
28046         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28047         * sysdeps/i386/fpu/libm-test-ulps: Update.
28048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28050 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28052         [BZ #15119]
28053         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28055 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28057         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28058         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28060 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28062         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28063         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28065         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28066         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28068         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28069         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28071         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28072         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28074         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28075         if not already defined.
28076         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28077         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28078         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28079         (TLS_INIT_TP): Use it.
28080         (TLS_DEFINE_INIT_TP): New macro.
28081         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28083 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28085         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28086         constant.
28087         [POSIX] (IXANY): Likewise.
28088         [POSIX] (OLCUC): Likewise.
28089         [POSIX || POSIX2008] (CBAUD): Do not allow.
28090         [POSIX || POSIX2008] (DEFECHO): Likewise.
28091         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28092         [POSIX || POSIX2008] (ECHOKE): Likewise.
28093         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28094         [POSIX || POSIX2008] (EXTA): Likewise.
28095         [POSIX || POSIX2008] (EXTB): Likewise.
28096         [POSIX || POSIX2008] (FLUSHO): Likewise.
28097         [POSIX || POSIX2008] (LOBLK): Likewise.
28098         [POSIX || POSIX2008] (PENDIN): Likewise.
28099         [POSIX || POSIX2008] (SWTCH): Likewise.
28100         [POSIX || POSIX2008] (VDISCARD): Likewise.
28101         [POSIX || POSIX2008] (VDSUSP): Likewise.
28102         [POSIX || POSIX2008] (VLNEXT): Likewise.
28103         [POSIX || POSIX2008] (VREPRINT): Likewise.
28104         [POSIX || POSIX2008] (VSTATUS): Likewise.
28105         [POSIX || POSIX2008] (VWERASE): Likewise.
28106         (B*): Change to B[0123456789]*.
28107         * conform/data/time.h-data [POSIX || UNIX98]
28108         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28109         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28110         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28111         [POSIX] (tm_*): Do not allow.
28113 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28115         * Makefile (install): Don't set LANGUAGE.
28116         * Makefile.in (install): Likewise.
28117         * assert/Makefile (test-assert-ENV): Remove variable.
28118         (test-assert-perr-ENV): Likewise.
28119         * elf/Makefile (neededtest4-ENV): Likewise.
28120         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28121         [$(cross-compiling) = no]: Don't set LANGUAGE.
28122         * io/ftwtest-sh (LANG): Remove variable.
28123         * libio/Makefile (tst-widetext-ENV): Likewise.
28124         * manual/install.texi (Running make install): Don't refer to
28125         environment settings for make install.
28126         * INSTALL: Regenerated.
28127         * nptl/tst-tls6.sh: Don't set LANG.
28128         * posix/globtest.sh (LANG): Remove variable.
28129         * string/Makefile (tester-ENV): Likewise.
28130         (inl-tester-ENV): Likewise.
28131         (noinl-tester-ENV): Likewise.
28132         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28133         [$(cross-compiling) = no]: Don't set LANGUAGE.
28134         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28135         without explicit environment settings.
28137 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28139         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28140         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28141         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28142         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28144 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28146         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28147         other files in the crypt directory.
28148         * crypt/crypt.c: Remove duplicate includes.
28149         * crypt/crypt-entry.c: Likewise.
28150         * crypt/crypt_util.c: Likewise.
28152 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28154         * Makeconfig (run-program-env): New variable.
28155         (run-program-prefix-before-env): Likewise.
28156         (run-program-prefix-after-env): Likewise.
28157         (run-program-prefix): Define in terms of new variables.
28158         (built-program-cmd-before-env): New variable.
28159         (built-program-cmd-after-env): Likewise.
28160         (built-program-cmd): Define in terms of new variables.
28161         (test-program-prefix-before-env): New variable.
28162         (test-program-prefix-after-env): Likewise.
28163         (test-program-prefix): Define in terms of new variables.
28164         (test-program-cmd-before-env): New variable.
28165         (test-program-cmd-after-env): Likewise.
28166         (test-program-cmd): Define in terms of new variables.
28167         * Rules (make-test-out): Use $(run-program-env).
28168         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28169         (help): Do not mention environment variables.  Mention
28170         --timeoutfactor option.
28171         (timeoutfactor): New variable.
28172         (blacklist_exports): Remove function.
28173         (exports): Remove variable.
28174         (command): Do not include ${exports}.
28175         * manual/install.texi (Configuring and compiling): Do not mention
28176         test wrappers preserving environment variables.  Mention that last
28177         assignment to a variable must take precedence.
28178         * INSTALL: Regenerated.
28179         * benchtests/Makefile (run-bench): Use $(run-program-env).
28180         * catgets/Makefile ($(objpfx)test1.cat): Use
28181         $(built-program-cmd-before-env), $(run-program-env) and
28182         $(built-program-cmd-after-env).
28183         ($(objpfx)test2.cat): Do not specify environment variables
28184         explicitly.
28185         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28186         $(run-program-env) and $(built-program-cmd-after-env).
28187         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28188         $(run-program-env) and $(test-program-cmd-after-env).
28189         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28190         explicitly.
28191         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28192         run_program_env and test_program_cmd_after_env arguments.
28193         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28194         * elf/tst-pathopt.sh: Use run_program_env argument.
28195         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28196         $(test-wrapper-env) and $(run-program-env).
28197         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28198         run_program_env arguments.
28199         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28200         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28201         $(test-program-prefix-before-env), $(run-program-env) and
28202         $(test-program-prefix-after-env).
28203         ($(objpfx)tst-gettext2.out): Likewise.
28204         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28205         run_program_env and test_program_prefix_after_env arguments.
28206         * intl/tst-gettext2.sh: Likewise.
28207         * intl/tst-gettext4.sh: Do not set environment variables
28208         explicitly.
28209         * intl/tst-gettext6.sh: Likewise.
28210         * intl/tst-translit.sh: Likewise.
28211         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28212         $(test-program-prefix-before-env), $(run-program-env) and
28213         $(test-program-prefix-after-env).
28214         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28215         run_program_env and test_program_prefix_after_env arguments.
28216         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28217         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28218         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28219         explicitly with each use of ${test_wrapper_env}.
28220         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28221         $(test-program-prefix-before-env), $(run-program-env) and
28222         $(test-program-prefix-after-env).
28223         * posix/tst-getconf.sh: Do not set environment variables
28224         explicitly.
28225         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28226         run_program_env and test_program_prefix_after_env arguments.
28227         * stdio-common/tst-printf.sh: Do not set environment variables
28228         explicitly.
28229         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28230         $(test-program-prefix-before-env), $(run-program-env) and
28231         $(test-program-prefix-after-env).
28232         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28233         run_program_env and test_program_prefix_after_env arguments.
28234         Split $test calls into $test_pre and $test.
28235         * timezone/Makefile (build-testdata): Use
28236         $(built-program-cmd-before-env), $(run-program-env) and
28237         $(built-program-cmd-after-env).
28239 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28241         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28242         strlen for non SHARED builds.
28244 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28246         * nptl/allocatestack.c (check_list): Inlined function...
28247         (__reclaim_stacks): ... here.
28249 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28251         [BZ #15698]
28252         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28253         memory overrun.
28255 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28257         * Rules (make-test-out): Include
28258         LOCPATH=$(common-objpfx)localedata in default environment.
28259         * debug/Makefile (tst-chk1-ENV): Remove variable.
28260         (tst-chk2-ENV): Likewise.
28261         (tst-chk3-ENV): Likewise.
28262         (tst-chk4-ENV): Likewise.
28263         (tst-chk5-ENV): Likewise.
28264         (tst-chk6-ENV): Likewise.
28265         (tst-lfschk1-ENV): Likewise.
28266         (tst-lfschk2-ENV): Likewise.
28267         (tst-lfschk3-ENV): Likewise.
28268         (tst-lfschk4-ENV): Likewise.
28269         (tst-lfschk5-ENV): Likewise.
28270         (tst-lfschk6-ENV): Likewise.
28271         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28272         (tst-iconv7-ENV): Likewise.
28273         * intl/Makefile (LOCPATH-ENV): Likewise.
28274         (tst-codeset-ENV): Likewise.
28275         (tst-gettext3-ENV): Likewise.
28276         (tst-gettext5-ENV): Likewise.
28277         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28278         (tst-fopenloc-ENV): Likewise.
28279         (tst-fgetws-ENV): Remove variable.
28280         (tst-ungetwc1-ENV): Likewise.
28281         (tst-ungetwc2-ENV): Likewise.
28282         (bug-ungetwc2-ENV): Likewise.
28283         (tst-swscanf-ENV): Likewise.
28284         (bug-ftell-ENV): Likewise.
28285         (tst-fgetwc-ENV): Likewise.
28286         (tst-fseek-ENV): Likewise.
28287         (tst-ftell-partial-wide-ENV): Likewise.
28288         (tst-ftell-active-handler-ENV): Likewise.
28289         (tst-ftell-append-ENV): Likewise.
28290         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28291         (tst-regexloc-ENV): Likewise.
28292         (bug-regex1-ENV): Likewise.
28293         (tst-regex-ENV): Likewise.
28294         (tst-regex2-ENV): Likewise.
28295         (bug-regex5-ENV): Likewise.
28296         (bug-regex6-ENV): Likewise.
28297         (bug-regex17-ENV): Likewise.
28298         (bug-regex18-ENV): Likewise.
28299         (bug-regex19-ENV): Likewise.
28300         (bug-regex20-ENV): Likewise.
28301         (bug-regex22-ENV): Likewise.
28302         (bug-regex23-ENV): Likewise.
28303         (bug-regex25-ENV): Likewise.
28304         (bug-regex26-ENV): Likewise.
28305         (bug-regex30-ENV): Likewise.
28306         (bug-regex32-ENV): Likewise.
28307         (bug-regex33-ENV): Likewise.
28308         (bug-regex34-ENV): Likewise.
28309         (bug-regex35-ENV): Likewise.
28310         (tst-rxspencer-ENV): Likewise.
28311         (tst-rxspencer-no-utf8-ENV): Likewise.
28312         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28313         (tst-sscanf-ENV): Likewise.
28314         (tst-swprintf-ENV): Likewise.
28315         (tst-swscanf-ENV): Likewise.
28316         (test-vfprintf-ENV): Likewise.
28317         (scanf13-ENV): Likewise.
28318         (bug14-ENV): Likewise.
28319         (tst-grouping-ENV): Likewise.
28320         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28321         (tst-strtod3-ENV): Likewise.
28322         (tst-strtod4-ENV): Likewise.
28323         (tst-strtod5-ENV): Likewise.
28324         (testmb2-ENV): Likewise./
28325         * string/Makefile (tst-strxfrm-ENV): Likewise.
28326         (tst-strxfrm2-ENV): Likewise.
28327         (bug-strcoll1-ENV): Likewise.
28328         (test-strcasecmp-ENV): Likewise.
28329         (test-strncasecmp-ENV): Likewise.
28330         * time/Makefile (tst-strptime-ENV): Likewise.
28331         (tst-ftime_l-ENV): Likewise.
28332         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28333         (tst-mbrtowc-ENV): Likewise.
28334         (tst-wcrtomb-ENV): Likewise.
28335         (tst-mbrtowc2-ENV): Likewise.
28336         (tst-c16c32-1-ENV): Likewise.
28337         (tst-mbsnrtowcs-ENV): Likewise.
28339 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28341         * manual/resource.texi (How to get information about the memory
28342         subsystem?): Fix typo.
28343         Reported by Peon de la Parra Ivan <peon@keba.com>
28345 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28347         [BZ #16882]
28348         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28349         (pthread_spin_lock): Branch out of spin loop to proper location.
28350         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28351         (pthread_spin_lock): Likewise.
28353         * nptl/tst-spin4.c: New test.
28354         * nptl/Makefile (tests): Add tst-spin4.
28356 2014-06-03  Andreas Schwab  <schwab@suse.de>
28358         [BZ #15946]
28359         * resolv/res_send.c (send_dg): Reload file descriptor after
28360         calling reopen.
28362 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28364         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28366 2014-06-03  Richard Henderson  <rth@redhat.com>
28368         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28369         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28370         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28371         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28372         in the SAVE_PID block.
28373         (__libc_vfork): New alias.
28374         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28376         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28377         child in registers, not on the stack.  Remove RESET_PID conditionals.
28378         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28380 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28382         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28384 2014-06-03  Wilco  <wdijkstr@arm.com>
28386         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28387         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28388         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28389         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28390         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28391         Likewise.
28393 2014-06-03  Wilco  <wdijkstr@arm.com>
28395         * sysdeps/aarch64/fpu/math_private.h
28396         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28397         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28398         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28399         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28400         Fix declarations.
28402 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28404         * crypt/crypt-private.h: Include ufc-crypt.h.
28405         (__b64_from_24bit): Declare extern.
28406         * crypt/crypt_util.c(__b64_from_24bit): New function.
28407         (b64t): New static const variable.
28408         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28409         (b64t): Remove variable.
28410         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28411         * crypt/sha256-crypt.c: Include crypt-private.h.
28412         (b64t): Remove variable.
28413         (__sha256_crypt_r): Remove b64_from_24bit and replace
28414         with __b64_from_24bit.
28415         * crypt/sha512-crypt.c: Likewise.
28417 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28419         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28420         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28421         Label the code __libc_vfork rather than __vfork.
28422         [!NOT_IN_libc] (vfork): Define as weak alias.
28423         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28424         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28425         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28427 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28429         * malloc/malloc.c (malloc_info): Fix format specifier for
28430         n_mmaps.
28432 2014-06-02  Wilco  <wdijkstr@arm.com>
28434         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28435         FPCR write.
28437 2014-06-02  Wilco  <wdijkstr@arm.com>
28439         [BZ #17009]
28440         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28441         Rewrite to reduce FPCR/FPSR accesses.
28443 2014-06-01  David S. Miller  <davem@davemloft.net>
28445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28447 2014-05-31  David S. Miller  <davem@davemloft.net>
28449         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28450         to occur in round to nearest mode when |x| >= 2.0
28452 2014-05-30  Richard Henderson  <rth@twiddle.net>
28454         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28455         (PSEUDO_RET_NOERRNO): Remove.
28456         (ret): Don't redefine.
28457         (ret_NOERRNO): Define in terms of ret.
28458         (ret_ERRVAL): Likewise.
28460         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28461         use of PSEUDO_RET; perform the error check directly.
28463 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28465         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28466         with __int128_t.
28468 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28470         * malloc/malloc (malloc_info): Fix formatting.
28472 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28473             Roland McGrath  <roland@hack.frob.com>
28475         * malloc/malloc (malloc_info): Also print mmapped statistics.
28477 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28479         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28480         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28482 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28484         * malloc/malloc.c (malloc_info): Inline mi_arena.
28486 2014-05-29  Richard Henderson  <rth@twiddle.net>
28488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28489         Remove comma before expanding ASM_ARGS_##nr.
28490         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28491         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28492         of ASM_ARGS_##nr.
28493         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28494         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28495         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28496         (ASM_ARGS_1): Add leading comma.
28498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28499         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28500         to __errno_location.
28501         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28502         Remove the expected plt for __errno_location.
28504         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28505         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28506         call to __read_tp.
28508         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28509         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28510         it and break it down.
28511         (DOCARGS_0, DOCARGS_1): Do nothing.
28512         (DOCARGS_2): Update to store into the new stack frame.
28513         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28514         (UNDOCARGS_1): Update to restore from the new stack frame.
28515         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28516         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28519         (SINGLE_THREAD_P): New parameter for result regno.
28520         (PSEUDO): Update to match; use cbz instead of beq.
28522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28523         Use ENTRY to define the _nocancel entry point.  Share the syscall
28524         and syscall error check paths with the cancel path.
28525         (PSEUDO_END): New.
28527         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28528         whitespace; tabs before and after asm mnemonics.
28530 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28532         [BZ #15132]
28533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28534         Call fstat64 or stat64 internally, depending on arguments passed.
28535         Replace stat buffer argument with file descriptor argument.
28536         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28537         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28538         Pass fd to __internal_statvfs instead of calling fstat64.
28539         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28540         Pass fd to __internal_statvfs64 instead of calling fstat64.
28541         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28542         Pass -1 to __internal_statvfs instead of calling stat64.
28543         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28544         Pass -1 to __internal_statvfs64 instead of calling stat64.
28546 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28548         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28549         that was previously under [RESET_PID].
28550         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28552         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28553         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28555 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28557         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28559         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28560         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28562 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28564         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28566 2014-05-27  Andreas Schwab  <schwab@suse.de>
28568         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28569         TLS_INIT_TP macro.
28570         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28571         * elf/rtld.c (init_tls, dl_main): Likewise.
28572         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28573         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28574         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28575         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28576         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28577         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28578         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28579         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28580         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28581         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28582         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28583         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28584         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28585         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28586         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28587         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28588         * sysdeps/generic/tls.h: Update description.
28590 2014-05-27  Will Newton  <will.newton@linaro.org>
28592         [BZ #16990]
28593         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28594         and restore r2 rather than just restoring.
28596 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28598         [BZ #16724]
28599         * libio/tst-ftell-append.c: New test case.
28600         * libio/Makefile (tests): Add test case.
28601         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28602         append mode.
28603         * libio/wfileops.c (do_ftell_wide): Likewise.
28605 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28609         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28610         ...
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28613         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28614         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28615         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28616         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28617         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28618         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28620         Moved ...
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28622         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28623         Moved ...
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28625         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28626         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28627         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28628         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28629         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28630         ...
28631         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28632         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28633         Moved ...
28634         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28635         here.
28636         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28637         ...
28638         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28639         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28640         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28642         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28643         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28644         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28645         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28648         merge into ...
28649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28651         ...
28652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28654         ...
28655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28657         Moved ...
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28659         here.
28660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28661         Moved ...
28662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28664         Moved ...
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28668         conditional [RESET_PID].
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28671         removed.
28672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28673         removed.
28675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28676         <tcb-offsets.h>.
28677         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28678         (__libc_vfork): New strong alias.
28679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28680         removed.
28681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28682         Removed.
28684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28685         <tcb-offsets.h>.
28686         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28687         (__libc_vfork): New strong alias.
28688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28689         removed.
28690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28691         removed.
28693 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28695         * malloc/malloc.c (mi_arena): New function.
28696         (malloc_info): Remove nested function mi_arena. Call non-nosted
28697         function mi_arena.
28699 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28701         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28702         by insrwi.
28703         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28704         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28705         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28706         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28707         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28708         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28709         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28711 2014-05-26  Andreas Schwab  <schwab@suse.de>
28713         [BZ #16984]
28714         * locale/programs/repertoire.c (repertoire_read): Add slash
28715         between I18NPATH element and file name.
28716         * locale/programs/locfile.c (locfile_read): Likewise.
28718 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28720         * nptl/pthread_mutexattr_settype.c
28721         (__pthread_mutexattr_settype):
28722         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28724 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28726         * nptl/tst-mutex5 (do_test):
28727         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28729 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28731         * benchtests/README: Document 'init' directive.
28732         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28733         BENCH_INIT.
28734         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28735         (parse_file): Recognize 'init' directive.
28737 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28739         [BZ #16796]
28740         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28741         alignment of struct pthread.
28743 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28745         [BZ #16878]
28746         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28747         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28748         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28749         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28751 2014-05-25  Richard Henderson  <rth@twiddle.net>
28753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28754         (SINGLE_THREAD_P_PIC): Remove.
28755         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28756         (SINGLE_THREAD_P_PIC): Remove.
28758         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28759         branch to syscall error ...
28760         (PSEUDO): ... here.
28761         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28762         from __local_syscall_error to .Lsyscall_error.
28763         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28764         (SYSCALL_ERROR): Update label name.
28766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28767         Do not use DOARGS/UNDOARGS.
28768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28769         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28770         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28771         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28772         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28775         block comment.
28777         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28778         define if !NOT_IN_libc.
28779         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28780         define with non-default symbol versions.
28782 2014-05-23  Richard Henderson  <rth@twiddle.net>
28784         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28785         (vfork, __vfork): Define via compat_symbol.
28787         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28788         [!HAVE_IFUNC] (vfork_compat): Remove.
28789         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28791 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28793         [BZ #16978]
28794         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28795         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28796         variable.
28798 2014-05-23  Richard Henderson  <rth@twiddle.net>
28800         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28801         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28802         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28803         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28805         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28806         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28807         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28808         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28809         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28810         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28811         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28812         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28813         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28814         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28815         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28816         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28817         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28818         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28819         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28820         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28821         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28822         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28823         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28824         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28830         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28844         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28845         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28846         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28847         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28848         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28849         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28850         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28851         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28852         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28853         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28854         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28856         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28858         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28860         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28862         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28863         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28864         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28865         before exiting on error.
28866         (__libc_vfork): New strong alias.
28867         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28868         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28870         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28871         that was previously under [RESET_PID].
28872         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28874         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28876 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28878         [BZ #16977]
28879         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28880         value when x - 1 is zero.
28881         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28882         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28883         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28884         0.0L for an argument of 1.0L.
28885         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28886         Likewise.
28887         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28888         value when x - 1 is zero.
28889         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28890         * sysdeps/i386/fpu/libm-test-ulps: Update.
28891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28893 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28895         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28896         alphasort and versionsort.
28898 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28900         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28901         macro.
28902         [copysignf]: Likewise.
28904 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28906         * crypt/md5-crypt.c: Fix formatting.
28908 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28910         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28911         (b64_from_24bit): New function.
28913 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28916         libc_hidden_builtin_def to ifunc.
28917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28918         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28920 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28922         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28923         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28925 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28927         * nscd/Depend (linuxthreads): Remove.
28928         (nptl): Add.
28929         * resolv/Depend (linuxthreads): Remove.
28930         * rt/Depend (linuxthreads): Remove.
28932         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28933         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28934         $(common-objpfx)elf/.
28935         (link-libc-before-gnulib): Likewise.
28936         (elfobjdir): Remove variable.
28937         * Makefile (install): Use $(elf-objpfx) instead of
28938         $(common-objpfx)elf/.
28939         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28940         $(elfobjdir)/.
28941         (link-libc-deps): Likewise.
28942         ($(common-objpfx)libc.so): Likewise.
28943         ($(common-objpfx)linkobj/libc.so): Likewise.
28944         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28945         instead of $(common-objpfx)elf/.
28946         (symbolic-link-list): Likewise.
28947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28948         [$(cross-compiling) = no]: Likewise.
28949         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28950         $(elfobjdir)/.
28951         (static-gnulib-arch): Likewise.
28952         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28953         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28954         $(common-objpfx)elf/.
28956 2014-05-21  Richard Henderson  <rth@redhat.com>
28958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28959         (SINGLE_THREAD_P): Use the correct width load.  Fold
28960         into the ldr offset.
28962         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28963         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28965 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28967         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28968         (libgcc_s_resume): Use __attribute_used__.
28969         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28970         Likewise.
28972 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28974         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28975         optimization when used with float constants.
28977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28979 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28981         [BZ #16915]
28982         * locale/nl_langinfo_l.c: Make direct reference to every
28983         _nl_current_CATEGORY symbol.
28984         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28985         (tests-static): Add tst-langinfo-static.
28986         (tests-special): Add tst-langinfo-static.out.
28987         ($(objpfx)tst-langinfo.out): Redirect output.
28988         ($(objpfx)tst-langinfo-static.out): New.
28989         * localedata/tst-langinfo.sh: Send output to stdout.
28990         * localedata/tst-langinfo-static.c: New file.
28992         [BZ #16965]
28993         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28994         when the shift amount is modulo the limb size.
28996 2014-05-20  Richard Henderson  <rth@redhat.com>
28998         [BZ #16967]
28999         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29000         Change type of sa_flags from unsigned int to int.
29002         [BZ #16966]
29003         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29005         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29007 2014-05-20  Will Newton  <will.newton@linaro.org>
29009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29010         Test the return value of the system call in the nocancel case.
29012 2014-05-20  Will Newton  <will.newton@linaro.org>
29013             Yvan Roux  <yvan.roux@linaro.org>
29015         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29016         #include of asm/ptrace.h.
29017         (PTRACE_GET_THREAD_AREA): Remove #undef.
29018         (PTRACE_GETHBPREGS): Likewise.
29019         (PTRACE_SETHBPREGS): Likewise.
29020         (struct user_regs_struct): New structure.
29021         (struct user_fpsimd_struct): New structure.
29022         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29023         #include of asm/ptrace.h and second #include of sys/user.h.
29024         (PTRACE_GET_THREAD_AREA): Remove #undef.
29025         (PTRACE_GETHBPREGS): Likewise.
29026         (PTRACE_SETHBPREGS): Likewise.
29027         (ELF_NGREG): Use new struct user_regs_struct.
29028         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29030 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29032         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29033         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29035 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29037         [BZ #16958]
29038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29039         membar to avoid block loads/stores to overlap previous stores.
29041 2014-05-17  Richard Henderson  <rth@redhat.com>
29043         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29044         Create the __##syscall_name##_nocancel entry point.
29045         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29046         Remove; let the sysdep-cancel.h code create it.
29048 2014-05-17  David S. Miller  <davem@davemloft.net>
29050         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29051         Protect with __USE_GNU.
29052         (TIOCSET_TEMPT): Likewise.
29053         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29054         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29055         these are already provided in bits/ioctl-types.h
29057 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29059         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29060         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29062         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29063         Use wait4 regardless of [__NR_waitpid].
29065 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29067         PR libgcc/60166
29068         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29069         (_FP_NANSIGN_Q): Set the quiet bit.
29071 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29073         * benchtests/Makefile
29074         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29075         not $(common-objpfx)math/libm.so.
29076         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29077         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29078         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29079         $(common-objpfx)dlfcn/libdl.so.
29080         ($(objpfx)tst-audit8): Depend on $(libm), not
29081         $(common-objpfx)math/libm.so.
29082         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29083         not $(common-objpfx)dlfcn/libdl.so.
29084         * math/Makefile
29085         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29086         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29087         [$(build-shared) = yes].
29088         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29089         $(common-objpfx)nptl/libpthread.so.
29090         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29091         $(common-objpfx)math/libm.so$(libm.so-version) or
29092         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29093         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29094         $(common-objpfx)dlfcn/libdl.so.
29095         * setjmp/Makefile (link-libm): Remove variable.
29096         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29097         * stdio-common/Makefile (link-libm): Remove variable.
29098         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29099         * stdlib/Makefile (link-libm): Remove variable.
29100         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29101         ($(objpfx)tst-strtod-round): Likewise.
29102         ($(objpfx)tst-tininess): Likewise.
29103         ($(objpfx)tst-strtod-underflow): Likewise.
29104         ($(objpfx)tst-strtod6): Likewise.
29105         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29106         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29107         $(common-objpfx)dlfcn/libdl.so.
29109 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29111         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29112         BSD terminal modes definitions.
29114 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29116         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29117         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29119         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29120         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29121         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29122         Don't do #include_next.
29123         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29124         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29125         Don't do #include_next.
29126         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29127         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29128         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29129         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29131 2014-05-16  Allan McRae  <allan@archlinux.org>
29133         * po/sv.po: Update Swedish translation from translation project.
29135         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29136         in sed expression.
29138 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29140         [BZ #16917]
29141         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29142         errno if the TIOCGPTN ioctl fails with an error different than
29143         EINVAL.
29144         * login/tst-ptsname.c: New file.
29145         * login/Makefile (tests): Add tst-ptsname.
29147         [BZ #16943]
29148         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29149         and prlimit64.
29151 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29153         [BZ #16849]
29154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29155         herrno to return EAI_AGAIN.
29157 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29159         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29160         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29161         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29162         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29164         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29166         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29167         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29168         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29170         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29171         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29172         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29173         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29174         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29175         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29176         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29177         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29178         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29179         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29180         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29181         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29182         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29184         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29185         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29186         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29187         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29188         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29190         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29192         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29194         Moved ...
29195         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29197         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29199         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29201         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29203         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29205         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29207         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29209         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29211         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29213         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29215         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29217         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29219         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29221         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29226         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29228         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29230         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29232         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29234         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29236         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29238         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29240         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29242         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29247         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29249         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29250         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29251         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29252         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29253         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29255         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29257         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29258         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29259         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29261         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29263         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29264         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29265         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29266         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29267         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29268         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29269         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29270         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29271         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29272         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29273         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29274         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29275         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29276         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29277         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29278         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29279         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29281         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29282         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29284         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29285         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29286         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29287         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29288         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29289         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29290         Moved ...
29291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29292         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29293         Moved ...
29294         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29296         Moved ...
29297         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29298         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29301         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29302         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29303         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29304         Moved ...
29305         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29306         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29307         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29308         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29310         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29311         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29313         Moved ...
29314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29316         Moved ...
29317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29318         ... here.
29319         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29320         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29321         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29322         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29324         Moved ...
29325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29326         ... here.
29327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29328         Moved ...
29329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29330         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29331         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29332         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29333         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29334         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29335         Moved ...
29336         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29337         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29338         Moved ...
29339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29341         Moved ...
29342         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29343         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29344         Moved ...
29345         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29346         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29347         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29348         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29349         Moved ...
29350         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29351         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29352         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29353         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29355         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29356         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29358         Moved ...
29359         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29361         Moved ...
29362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29363         ... here.
29364         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29365         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29366         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29367         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29369         Moved ...
29370         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29371         ... here.
29372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29373         Moved ...
29374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29375         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29376         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29377         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29378         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29379         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29380         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29381         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29382         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29383         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29384         Moved ...
29385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29387         Moved ...
29388         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29389         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29390         Moved ...
29391         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29392         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29393         Moved ...
29394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29395         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29396         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29397         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29398         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29399         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29400         Moved ...
29401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29402         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29403         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29404         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29405         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29406         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29407         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29408         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29409         Moved ...
29410         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29412         Moved ...
29413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29414         ... here.
29415         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29416         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29418         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29420         Moved ...
29421         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29422         ... here.
29423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29424         Moved ...
29425         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29426         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29427         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29428         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29429         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29430         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29431         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29432         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29433         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29434         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29435         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29437         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29438         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29440         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29441         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29443         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29444         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29445         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29446         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29447         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29448         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29449         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29450         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29451         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29454         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29455         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29456         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29457         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29458         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29459         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29461         Moved ...
29462         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29463         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29465         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29466         Moved ...
29467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29469         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29470         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29471         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29475         Moved ...
29476         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29477         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29478         Moved ...
29479         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29481         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29482         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29485         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29486         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29487         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29488         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29489         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29490         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29491         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29492         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29493         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29494         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29495         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29497         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29498         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29499         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29500         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29501         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29503         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29504         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29505         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29506         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29507         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29508         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29509         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29510         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29511         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29512         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29517         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29518         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29519         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29520         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29521         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29522         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29523         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29524         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29525         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29526         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29527         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29528         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29529         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29530         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29532         Update #include.
29533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29534         Likewise.
29535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29536         Likewise.
29537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29538         Likewise.
29539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29540         Likewise.
29541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29542         Likewise.
29543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29544         Likewise.
29545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29546         Likewise.
29547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29548         Likewise.
29549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29550         Likewise.
29551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29556         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29557         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29559         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29561         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29562         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29563         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29564         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29567         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29568         that was previously under [RESET_PID].
29569         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29570         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29571         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29573         * sysdeps/i386/nptl/Implies: New file.
29574         * sysdeps/x86_64/nptl/Implies: New file.
29575         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29576         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29577         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29578         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29580         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29581         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29582         (__libc_vfork): New strong alias.
29583         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29584         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29586         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29587         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29588         (__libc_vfork): New strong alias.
29589         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29590         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29592         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29594         (__libc_vfork): New strong alias.
29595         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29596         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29597         * nptl/pt-vfork.c: New file.
29598         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29599         (libpthread: GLIBC_2.20): New version set (empty).
29601 2014-05-14  Will Newton  <will.newton@linaro.org>
29603         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29604         rather than #if.
29606 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #16564]
29609         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29610         arguments with exponent 65 or above.
29611         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29612         arguments 0x1p113L or above.
29613         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29614         to arguments 0x1p107L or above.
29615         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29616         positive arguments with exponent 65 or above.
29617         * math/auto-libm-test-in: Add more tests of log1p.
29618         * math/auto-libm-test-out: Regenerated.
29620         [BZ #16928]
29621         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29622         non-finite arguments is +0.
29623         * math/s_cacosf.c (__cacosf): Likewise.
29624         * math/s_cacosl.c (__cacosl): Likewise.
29625         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29626         * sysdeps/i386/fpu/libm-test-ulps: Update.
29627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29629         [BZ #16927]
29630         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29631         value.
29632         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29633         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29634         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29635         for explicit high bit of mantissa when testing for argument equal
29636         to 1.
29637         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29638         * sysdeps/i386/fpu/libm-test-ulps: Update.
29639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29641         [BZ #16516]
29642         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29643         (__erf): Scale by 16 instead of 8 in potentially underflowing
29644         case.  Ensure exception if result actually underflows.
29645         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29646         (__erff): Scale by 16 instead of 8 in potentially underflowing
29647         case.  Ensure exception if result actually underflows.
29648         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29649         (efx8): Remove variable.
29650         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29651         case.  Ensure exception if result actually underflows.
29652         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29653         (efx8): Remove variable.
29654         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29655         case.  Ensure exception if result actually underflows.
29656         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29657         (efx8): Remove variable.
29658         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29659         case.  Ensure exception if result actually underflows.
29660         * math/auto-libm-test-in: Add more tests of erf.
29661         * math/auto-libm-test-out: Regenerated.
29663 2014-05-14  Andreas Schwab  <schwab@suse.de>
29665         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29666         Remove code conditionalized on USE___THREAD.
29668         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29669         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29670         not definedness.
29672 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29675         Define unconditionally.
29676         (__ASSUME_O_CLOEXEC): Likewise.
29677         (__ASSUME_SOCK_CLOEXEC): Likewise.
29678         (__ASSUME_IN_NONBLOCK): Likewise.
29679         (__ASSUME_PIPE2): Likewise.
29680         (__ASSUME_EVENTFD2): Likewise.
29681         (__ASSUME_SIGNALFD4): Likewise.
29682         (__ASSUME_DUP3): Likewise.
29683         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29684         (__ASSUME_DUP3): Do not define.
29685         (__ASSUME_EVENTFD2): Likewise.
29686         (__ASSUME_IN_NONBLOCK): Likewise.
29687         (__ASSUME_O_CLOEXEC): Likewise.
29688         (__ASSUME_PIPE2): Likewise.
29689         (__ASSUME_SIGNALFD4): Likewise.
29690         (__ASSUME_SOCK_CLOEXEC): Likewise.
29691         (__ASSUME_UTIMES): Undefine.
29692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29693         (__ASSUME_UTIMES): Do not define.
29694         (__ASSUME_O_CLOEXEC): Likewise.
29695         (__ASSUME_SOCK_CLOEXEC): Likewise.
29696         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29697         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29698         0x020621].
29699         (__ASSUME_PIPE2): Likewise.
29700         (__ASSUME_EVENTFD2): Likewise.
29701         (__ASSUME_SIGNALFD4): Likewise.
29702         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29703         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29704         Do not define.
29705         (__ASSUME_EVENTFD2): Likewise.
29706         (__ASSUME_SIGNALFD4): Likewise.
29707         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29708         (__ASSUME_32BITUIDS): Likewise.
29709         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29710         (__ASSUME_IPC64): Likewise.
29711         (__ASSUME_ST_INO_64_BIT): Likewise.
29712         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29713         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29715         (__ASSUME_UTIMES): Do not define.
29716         (__ASSUME_PSELECT): Likewise.
29717         (__ASSUME_PPOLL): Likewise.
29718         (__ASSUME_O_CLOEXEC): Likewise.
29719         (__ASSUME_SOCK_CLOEXEC): Likewise.
29720         (__ASSUME_IN_NONBLOCK): Likewise.
29721         (__ASSUME_PIPE2): Likewise.
29722         (__ASSUME_EVENTFD2): Likewise.
29723         (__ASSUME_SIGNALFD4): Likewise.
29724         (__ASSUME_DUP3): Likewise.
29725         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29726         (__ASSUME_UTIMES): Likewise.
29727         (__ASSUME_O_CLOEXEC): Likewise.
29728         (__ASSUME_SOCK_CLOEXEC): Likewise.
29729         (__ASSUME_IN_NONBLOCK): Likewise.
29730         (__ASSUME_PIPE2): Likewise.
29731         (__ASSUME_EVENTFD2): Likewise.
29732         (__ASSUME_SIGNALFD4): Likewise.
29733         (__ASSUME_DUP3): Likewise.
29734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29735         (__ASSUME_UTIMES): Likewise.
29736         (__ASSUME_O_CLOEXEC): Likewise.
29737         (__ASSUME_SOCK_CLOEXEC): Likewise.
29738         (__ASSUME_IN_NONBLOCK): Likewise.
29739         (__ASSUME_PIPE2): Likewise.
29740         (__ASSUME_EVENTFD2): Likewise.
29741         (__ASSUME_SIGNALFD4): Likewise.
29742         (__ASSUME_DUP3): Likewise.
29743         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29744         Likewise.
29745         (__ASSUME_UTIMES): Likewise.
29746         (__ASSUME_EVENTFD2): Likewise.
29747         (__ASSUME_SIGNALFD4): Likewise.
29748         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29749         (__ASSUME_O_CLOEXEC): Likewise.
29750         (__ASSUME_SOCK_CLOEXEC): Likewise.
29751         (__ASSUME_IN_NONBLOCK): Likewise.
29752         (__ASSUME_PIPE2): Likewise.
29753         (__ASSUME_EVENTFD2): Likewise.
29754         (__ASSUME_SIGNALFD4): Likewise.
29755         (__ASSUME_DUP3): Likewise.
29756         (__ASSUME_UTIMES): Undefine.
29758         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29759         feclearexcept.  Remove symbol versioning code.
29760         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29761         symbol versioning code.
29762         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29763         symbol versioning code.
29764         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29765         feupdateenv.  Remove symbol versioning code.
29766         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29767         fegetexceptflag.  Remove symbol versioning code.
29768         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29769         fesetexceptflag.  Remove symbol versioning code.
29770         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29771         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29772         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29773         (__posix_fadvise64_l32): Remove prototype.
29774         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29775         code.
29777 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29779         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29780         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29781         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29782         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29784 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29786         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29787         current working directory
29789 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29791         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29792         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29793         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29794         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29795         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29796         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29797         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29798         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29799         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29800         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29801         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29802         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29803         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29804         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29805         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29806         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29807         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29808         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29809         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29810         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29811         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29812         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29813         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29814         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29815         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29816         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29817         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29818         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29819         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29820         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29821         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29822         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29823         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29824         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29825         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29826         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29827         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29828         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29829         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29830         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29831         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29832         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29834         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29835         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29837         * sysdeps/unix/sysv/linux/arm/Makefile
29838         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29839         Add rt-aeabi_unwind_cpp_pr1.
29840         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29841         Add nptl-aeabi_unwind_cpp_pr1.
29842         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29843         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29844         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29845         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29846         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29847         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29849         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29850         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29851         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29852         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29854         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29855         Deconditionalize the code that was previously under [RESET_PID].
29856         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29858         * sysdeps/generic/exit-thread.h: New file.
29859         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29860         * include/unistd.h (__exit_thread): Remove declaration.
29861         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29862         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29863         * csu/libc-start.c: Include <exit-thread.h>.
29864         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29865         * nptl/pthread_create.c: Include <exit-thread.h>.
29866         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29867         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29868         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29869         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29870         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29871         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29872         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29873         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29874         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29875         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29876         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29877         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29878         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29879         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29880         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29881         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29882         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29884 2014-05-13  Andreas Schwab  <schwab@suse.de>
29886         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29888 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29891         (__ASSUME_UTIMES): Do not condition on kernel version.
29892         (__ASSUME_PSELECT): Define unconditionally.
29893         (__ASSUME_PPOLL): Likewise.
29894         (__ASSUME_ATFCTS): Likewise.
29895         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29896         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29897         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29898         (__ASSUME_UTIMENSAT): Define unconditionally.
29899         (__ASSUME_PRIVATE_FUTEX): Likewise.
29900         (__ASSUME_FALLOCATE): Likewise.
29901         (__ASSUME_O_CLOEXEC): Likewise.
29902         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29903         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29904         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29905         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29906         (__ASSUME_IN_NONBLOCK): Likewise.
29907         (__ASSUME_PIPE2): Likewise.
29908         (__ASSUME_EVENTFD2): Likewise.
29909         (__ASSUME_SIGNALFD4): Likewise.
29910         (__ASSUME_DUP3): Likewise.
29911         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29912         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29913         (__ASSUME_AT_RANDOM): Likewise.
29914         (__ASSUME_PREADV): Likewise.
29915         (__ASSUME_PWRITEV): Likewise.
29916         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29917         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29918         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29919         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29920         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29921         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29922         (__ASSUME_O_CLOEXEC): Define unconditionally.
29923         (__ASSUME_PSELECT): Do not undefine conditionally.
29924         (__ASSUME_PPOLL): Likewise.
29925         (__ASSUME_ATFCTS): Likewise.
29926         (__ASSUME_SET_ROBUST_LIST): Likewise.
29927         (__ASSUME_UTIMENSAT): Likewise.
29928         (__ASSUME_FDATASYNC): Define unconditionally.
29929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29930         (__ASSUME_SIGFRAME_V2): Likewise.
29931         )__ASSUME_EVENTFD2): Likewise.
29932         (__ASSUME_SIGNALFD4): Likewise.
29933         (__ASSUME_PSELECT): Do not undefine conditionally.
29934         (__ASSUME_PPOLL): Likewise.
29935         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29936         (__ASSUME_PSELECT): Define unconditionally.
29937         (__ASSUME_PPOLL): Likewise.
29938         (__ASSUME_O_CLOEXEC): Likewise.
29939         (__ASSUME_SOCK_CLOEXEC): Likewise.
29940         (__ASSUME_IN_NONBLOCK): Likewise.
29941         (__ASSUME_PIPE2): Likewise.
29942         (__ASSUME_EVENTFD2): Likewise.
29943         (__ASSUME_SIGNALFD4): Likewise.
29944         (__ASSUME_DUP3): Likewise.
29945         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29946         (__ASSUME_O_CLOEXEC): Likewise.
29947         (__ASSUME_SOCK_CLOEXEC): Likewise.
29948         (__ASSUME_IN_NONBLOCK): Likewise.
29949         (__ASSUME_PIPE2): Likewise.
29950         (__ASSUME_EVENTFD2): Likewise.
29951         (__ASSUME_SIGNALFD4): Likewise.
29952         (__ASSUME_DUP3): Likewise.
29953         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29954         (__ASSUME_EVENTFD2): Likewise.
29955         (__ASSUME_SIGNALFD4): Likewise.
29956         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29958 2014-05-12  Andreas Schwab  <schwab@suse.de>
29960         [BZ #16932]
29961         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29962         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29963         than maximum RPC packet size.
29964         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29965         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29966         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29967         (_nss_nis_getservbyport_r): Likewise.
29969 2014-05-12  Will Newton  <will.newton@linaro.org>
29971         * malloc/Makefile (tests): Add tst-mallopt.
29972         * malloc/tst-mallopt.c: New file.
29974 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29976         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29977         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29979 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29981         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29982         (tst-tlsmod6.so): Likewise.
29984 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29986         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29988 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #16064]
29991         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29992         and <dl-procinfo.h>.
29993         (__fegetenv): Save SSE state in envp->__eip if supported.
29994         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29995         envp->__eip if supported.
29996         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29997         and <dl-procinfo.h>.
29998         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29999         __data_offset and __data_selector in environment to 0.  Set SSE
30000         state if supported.
30001         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30002         test-fenv-sse.
30003         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30004         -mfpmath=sse.
30005         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30007 2014-05-09  Will Newton  <will.newton@linaro.org>
30009         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30010         and libc_relro_required for ARM.
30011         * sysdeps/arm/preconfigure: Regenerate.
30013 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30014             Stefan Liebler  <stli@linux.vnet.ibm.com>
30016         * config.make.in (enable-lock-elision): New Makefile variable.
30017         * configure.ac: Likewise.
30018         * configure: Regenerate.
30019         * sysdeps/s390/configure.ac:
30020         Add check for gcc transactions support.
30021         * sysdeps/s390/configure: Regenerate.
30022         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30023         Build elision files if enabled.
30024         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30025         Add lock elision support for s390.
30026         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30027         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30028         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30029         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30030         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30031         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30032         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30033         Likewise.
30034         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30035         Likewise.
30036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30037         Likewise.
30038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30039         Likewise.
30040         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30041         (__lll_timedlock_elision, __lll_lock_elision)
30042         (__lll_unlock_elision, __lll_trylock_elision)
30043         (lll_timedlock_elision, lll_lock_elision)
30044         (lll_unlock_elision, lll_trylock_elision): Add.
30045         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30046         (pthread_mutex_t): Add lock elision support for s390.
30048 2014-05-14  Wilco  <wdijkstr@arm.com>
30050         * sysdeps/arm/fclrexcpt.c: Cleanup.
30051         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30052         * sysdeps/arm/feenablxcpt.c: Cleanup.
30053         * sysdeps/arm/fegetenv.c: Cleanup.
30054         * sysdeps/arm/fegetexcept.c: Cleanup.
30055         * sysdeps/arm/fegetround.c: Cleanup.
30056         * sysdeps/arm/feholdexcpt.c: Cleanup.
30057         * sysdeps/arm/fesetenv.c: Cleanup.
30058         * sysdeps/arm/fesetround.c: Cleanup.
30059         * sysdeps/arm/feupdateenv.c: Cleanup.
30060         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30061         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30062         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30063         * sysdeps/arm/ftestexcept.c: Cleanup.
30064         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30065         * sysdeps/arm/setfpucw.c: Cleanup.
30067 2014-05-09  Will Newton  <will.newton@linaro.org>
30069         * sysdeps/arm/armv7/strcmp.S: New file.
30070         * NEWS: Mention addition of ARMv7 optimized strcmp.
30072 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30074         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30075         look for %.ac rather than %.in.
30077         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30078         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30079         * sysdeps/mach/hurd/configure: Regenerated.
30080         * sysdeps/unix/sysv/linux/configure: Regenerated.
30082         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30084 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30086         [BZ# 16922]
30087         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30088         (LONG_SUB): Ditto.
30089         (PTR_SUB): Ditto.
30091 2014-05-07  Andreas Schwab  <schwab@suse.de>
30093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30094         when skipping over non-matching result from nscd.
30096 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30098         [BZ #16876]
30099         * nptl/sockperf.c (client): Check socket return value.
30101         [BZ #16877]
30102         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30103         nscd security class.
30105 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30107         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30108         * sysdeps/arm/unwind.h: ... here.
30110 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30112         [BZ# 16916]
30113         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30114         Define.
30116 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30118         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30119         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30120         multiarch strncpy for PPC64.
30121         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30122         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30124         multiarch optimizations.
30125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30126         (__libc_ifunc_impl_list): Likewise.
30127         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30128         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30129         multiarch stpncpy for PPC64.
30130         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30133 2014-05-06  Andreas Schwab  <schwab@suse.de>
30135         [BZ #16912]
30136         * gmon/mcount.c (_MCOUNT_DECL): Use
30137         atomic_compare_and_exchange_bool_acq instead of
30138         catomic_compare_and_exchange_bool_acq.
30140 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30142         * elf/Makefile (others, install-bin): Remove pldd.
30143         (pldd-modules): Variable removed.
30144         ($(objpfx)pldd): Target removed.
30145         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30146         (others, install-bin): Append pldd here.
30147         ($(objpfx)pldd): New target.
30149         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30150         to 0, so the first #if test emitted later doesn't see it undefined.
30151         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30152         * sysdeps/gnu/errlist.c: Regenerated.
30154 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30157         [libc_hidden_builtin_def]: Define to empty value.
30158         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30159         [libc_hidden_builtin_def]: Likewise.
30160         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30161         [libc_hidden_builtin_def]: Likewise.
30162         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30163         [libc_hidden_builtin_def]: Likewise.
30164         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30165         __redirect_memcpy and define ifunc as default hidden symbol.
30166         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30167         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30169 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30171         * locale/iso-4217.def: Reintroduce XDR currency.
30173 2014-05-04  Allan McRae  <allan@archlinux.org>
30175         * po/eo.po: Update Esperanto translation from translation project.
30177 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30179         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30180         and FEATURE_INDEX_MAX to 1.
30181         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30183 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30185         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30186         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30187         * iconvdata/big5.c (ONE_DIRECTION): Define.
30188         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30189         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30190         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30191         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30192         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30193         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30194         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30195         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30196         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30197         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30198         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30199         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30200         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30201         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30202         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30203         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30204         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30205         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30206         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30207         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30208         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30209         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30210         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30211         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30212         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30213         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30214         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30215         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30216         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30217         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30218         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30219         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30220         * iconvdata/johab.c (ONE_DIRECTION): Define.
30221         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30222         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30223         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30224         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30225         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30226         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30227         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30228         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30229         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30230         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30232 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30234         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30235         (_IO_JUMPS_OFFSET): Define to 0.
30237         * nptl/sysdeps/pthread/bits/libc-lock.h
30238         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30239         (__libc_lock_define_initialized_recursive): Always define using
30240         initializer.  Modern compilers treat uninitialized (implicit zero) and
30241         explicit zero initializers the same (i.e. put the datum in bss).
30243 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30245         * nscd/nscd-client.h: Include <string.h>.
30247 2014-05-01  David S. Miller  <davem@davemloft.net>
30249         [BZ #16885]
30250         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30251         multiple zero bytes exist at the end of a string.
30252         Reported by Aurelien Jarno <aurelien@aurel32.net>
30254         * string/test-strcmp.c (check): Add explicit test for situations where
30255         there are multiple zero bytes after the first.
30257 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30259         [BZ #16890]
30260         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30261         when compiling wprintf.
30262         * stdio-common/tstdiomisc.c (t3): New function.
30263         (main): Call it.
30265 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30267         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30268         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30269         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30270         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30272 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30274         * stdlib/longlong.h: Updated from GCC.
30276 2014-05-01  Will Newton  <will.newton@linaro.org>
30277             Bernard Ogden  <bernie.ogden@linaro.org>
30279         * NEWS: Update fixed bug list.
30281         [BZ #15119]
30282         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30284 2014-04-30  David S. Miller  <davem@davemloft.net>
30286         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30287         (libc_feholdexcept_setround_sparc_ctx): New function.
30288         (libc_fesetenv_sparc_ctx): Likewise.
30289         (libc_feupdateenv_sparc_ctx): Likewise.
30290         (libc_feholdsetround_sparc_ctx): Likewise.
30291         (libc_feholdexcept_setround_ctx): Define.
30292         (libc_feholdexcept_setroundf_ctx): Likewise.
30293         (libc_feholdexcept_setroundl_ctx): Likewise.
30294         (libc_fesetenv_ctx): Likewise.
30295         (libc_fesetenvf_ctx): Likewise.
30296         (libc_fesetenvl_ctx): Likewise.
30297         (libc_feupdateenv_ctx): Likewise.
30298         (libc_feupdateenvf_ctx): Likewise.
30299         (libc_feupdateenvl_ctx): Likewise.
30300         (libc_feresetround_ctx): Likewise.
30301         (libc_feresetroundf_ctx): Likewise.
30302         (libc_feresetroundl_ctx): Likewise.
30303         (libc_feholdsetround_ctx): Likewise.
30304         (libc_feholdsetroundf_ctx): Likewise.
30305         (libc_feholdsetroundl_ctx): Likewise.
30307         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30308         with __USE_GNU instead of XOPEN cpp guards.
30310         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30311         0.
30313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30314         with XOPEN cpp guards.
30316 2014-04-30  Julian Brown  <julian@codesourcery.com>
30318         [BZ #16888]
30319         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30320         handling.
30322 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30324         [BZ #9894]
30325         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30326         Change to 2.6.32.
30327         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30328         * sysdeps/unix/sysv/linux/configure: Regenerated.
30329         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30330         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30331         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30332         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30333         * README: Update reference to required Linux kernel version.
30334         * manual/install.texi (Linux): Update reference to required Linux
30335         kernel headers version.
30336         * INSTALL: Regenerated.
30338         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30339         header inclusion.
30340         [POSIX] (limits.h): Likewise.
30341         [POSIX] (math.h): Likewise.
30342         [POSIX] (sys/wait.h): Likewise.
30343         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30344         function.
30345         [POSIX] (stddef.h): Do not allow header inclusion.
30347 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30349         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30351 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30353         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30354         Return immediately after lll_futex_wake.
30356 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30358         [BZ #16791]
30359         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30360         structure.
30361         (datahead_init_pos): Call datahead_init_common early.
30362         (datahead_init_neg): Likewise.
30364         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30365         datahead_init_neg): New functions.
30366         * nscd/aicache.c (addhstaiX): Use them.
30367         * nscd/grpcache.c (cache_addgr): Likewise.
30368         * nscd/hstcache.c (cache_addhst): Likewise.
30369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30370         * nscd/netgroupcache.c (do_notfound): Likewise.
30371         (addgetnetgrentX): Likewise.
30372         (addinnetgrX): Likewise.
30373         * nscd/pwdcache.c (cache_addpw): Likewise.
30374         * nscd/servicescache.c (cache_addserv): Likewise.
30376 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30377             Atsushi Onoe  <atsushi@onoe.org>
30379         [BZ #14308]
30380         [BZ #12994]
30381         [BZ #13651]
30382         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30383         one response is valid.
30384         * resolv/res_send.c (send_dg): Check for validity of other
30385         response if the current response is a referral.
30387 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30389         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30391 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30393         [BZ #16823]
30394         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30395         Always divide by positive zero when computing -Inf result.
30396         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30397         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30399 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30401         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30402         FPSCR if value do not change.
30403         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30404         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30405         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30406         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30407         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30408         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30409         function.
30411 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30413         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30414         * sysdeps/unix/sysv/linux/hppa: Move directory from
30415         ports/systeps/unix/sysv/linux/hppa.
30416         * README: Update listing for hppa-*-linux-gnu.
30418 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30420         [BZ #16754]
30421         * manual/stdio.texi (Hook functions): Fix types of stream hook
30422         functions.
30423         [BZ #16854]
30424         * socket/sys/socket.h: Fix typo in comment.
30426 2014-04-28  Wilco  <wdijkstr@arm.com>
30428         * sysdeps/arm/fenv_private.h: New file.
30429         * sysdeps/arm/math_private.h: New file.
30430         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30432 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30434         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30435         with __int128_t.
30436         (La_x86_64_retval): Likewise.
30438 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30440         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30441         fpsr if value didn't change.
30442         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30443         to fpcr if value didn't change.
30444         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30445         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30446         fpsr or fpcr if value didn't change.
30447         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30448         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30449         fpcr if value didn't change.
30450         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30451         to fpsr if value didn't change.
30453 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30455         * nptl/tst-sem3.c: Use test-skeleton.c
30456         (main): Rename to do_test.  Use return instead of
30457         exit.
30458         * nptl/tst-sem4.c: Use test-skeleton.c
30459         (main): Rename to do_test.
30461 2014-04-22  David S. Miller  <davem@davemloft.net>
30463         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30464         (struct sigaction): New struct member __glibc_reserved0, change
30465         type of sa_flags to int.
30467 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30469         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30470         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30472 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30474         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30475         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30477 2014-04-22  Will Newton  <will.newton@linaro.org>
30478             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30480         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30481         (__longjmp): Add longjmp and longjmp_target SystemTap
30482         probes.
30483         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30484         (__sigsetjmp): Add setjmp SystemTap probe.
30486 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30488         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30489         match manual order.
30491 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30493         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30495         * sysdeps/powerpc/fpu/fenv_private.h
30496         (libc_feholdexcept_setroundl_ctx): Define to
30497         libc_feholdexcept_setround_ppc_ctx.
30498         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30499         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30500         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30501         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30503 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30505         * sysdeps/aarch64/math-tests.h: New file.
30507 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30509         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30510         New.
30511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30512         Check and set bit_AVX2_Usable.
30513         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30514         macro.
30515         (bit_AVX2): Likewise.
30516         (index_AVX2_Usable): Likewise.
30517         (CPUID_AVX2): Likewise.
30518         (HAS_AVX2): Likewise.
30520 2014-04-17  Will Newton  <will.newton@linaro.org>
30522         * manual/setjmp.texi (System V contexts): Add note that
30523         calling setcontext on a context created by a call to a
30524         signal handler is undefined.  Update text to note that
30525         setcontext from a signal handler is possible but not
30526         recommended.
30528         [BZ #16629]
30529         * stdlib/tst-setcontext.c: Include signal.h.
30530         (main): Check that the signal stack before and
30531         after swapcontext is the same.
30533         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30534         Re-implement to restore registers in user code and avoid
30535         rt_sigreturn system call.
30537 2014-04-17  Wilco  <wdijkstr@arm.com>
30539         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30540         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30541         * math/test-fenv.c: Skip exception trap tests on targets which only
30542         support non-stop mode.
30544 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30545             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30547         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30548         (libc_feholdsetround_aarch64_ctx)
30549         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30550         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30551         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30552         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30553         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30554         (libc_feresetround_noexl_ctx): Define.
30556 2014-04-16  Richard Henderson  <rth@redhat.com>
30558         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30560         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30561         unwind tables.
30563         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30564         const from the non-libc, non-ldso copy.
30566         * sysdeps/alpha/libm-test-ulps: Regenerate.
30568 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30569             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30571         * sysdeps/aarch64/fpu/math_private.h: New file.
30573 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30575         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30577 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30579         [BZ #16275]
30580         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30581         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30583         Intel MPX bound registers before _dl_profile_fixup.
30584         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30585         registers after _dl_profile_fixup.  Save and restore bound
30586         registers bnd0/bnd1 when calling _dl_call_pltexit.
30587         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30588         (LR_BND_OFFSET): Likewise.
30589         (LRV_BND0_OFFSET): Likewise.
30590         (LRV_BND1_OFFSET): Likewise.
30592 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30594         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30595         to...
30596         * sysdeps/mach/hurd/i386/tls.h: ... here.
30597         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30598         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30599         fields.
30601 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30603         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30605 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30607         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30609 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30611         [BZ #14770]
30612         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30613         * sysdeps/s390/configure: Regenerate.
30615         [BZ #16824]
30616         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30617         Set round-to-nearest internally to reduce error accumulation.
30619 2014-04-16  Alan Modra  <amodra@gmail.com>
30621         [BZ #16740]
30622         [BZ #16619]
30623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30624         * math/libm-test.inc (frexp_test_data): Add tests.
30625         * NEWS: Update fixed bug list.
30627 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30629         * benchtests/Makefile: Depend on libraries in build directory.
30630         (bench-math): Separate out math tests.
30631         (bench-pthread): Separate out pthread tests.
30632         (bench): Include math and pthread tests.
30634 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30636         [BZ #16831]
30637         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30638         _dl_debug_initialize.
30640         * configure.ac: Remove SELinux header check.
30641         * configure: Regenerate.
30642         * nscd/selinux.c (perms): Array of const char* to permission names.
30643         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30644         default policy. Call string_to_security_class and string_to_av_perm to
30645         translate strings. Enforce default policy and call avs_has_perm with
30646         results of translated strings.
30648 2014-04-13  David S. Miller  <davem@davemloft.net>
30650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30652 2014-04-12  Allan McRae  <allan@archlinux.org>
30654         [BZ #16838]
30655         * manual/string.texi (Collation Functions): Fix qsort argument
30656         order in example.
30657         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30659 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30661         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30662         Make the test a no-op if there are no exceptions defined.
30664 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30666         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30667         enable-hardcoded-path-in-tests
30669 2014-04-11  Will Newton  <will.newton@linaro.org>
30671         * benchtests/Makefile (extra-objs): Add json-lib.o.
30672         (bench-func): Tidy up JSON output.
30673         * benchtests/bench-skeleton.c: Include json-lib.h.
30674         (main): Use JSON library functions to do output of
30675         benchmark results.
30676         * benchtests/bench-timing-type.c (main): Output the
30677         timing type simply, leaving formatting to the user.
30678         * benchtests/json-lib.c: New file.
30679         * benchtests/json-lib.h: Likewise.
30681 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30683         [BZ #15215]
30684         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30685         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30686         memory barriers.  Add comments.
30687         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30688         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30689         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30690         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30691         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30692         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30694 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30696         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30697         * sysdeps/s390/s390-64/configure.ac: ... this ...
30698         * sysdeps/s390/configure.ac: ... to here.
30699         * sysdeps/s390/s390-32/configure: Delete file.
30700         * sysdeps/s390/s390-64/configure: Delete file.
30701         * sysdeps/s390/configure: Regenerate.
30703 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30705         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30707 2014-04-11  Will Newton  <will.newton@linaro.org>
30709         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30710         to zero if it is not defined elsewhere.  (mtrim): Test
30711         the value of MALLOC_DEBUG with #if rather than #ifdef.
30713 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30715         * benchtests/pthread_once-inputs: New file.
30716         * benchtests/pthread_once-source.c: New file.
30717         * benchtests/README: Update documentation.
30719 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30720             H.J. Lu  <hongjiu.lu@intel.com>
30722         [BZ #16275]
30723         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30724         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30725         * sysdeps/x86_64/configure: Regenerated.
30726         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30727         macro.
30728         (REGISTER_SAVE_RAX): Likewise.
30729         (REGISTER_SAVE_RCX): Likewise.
30730         (REGISTER_SAVE_RDX): Likewise.
30731         (REGISTER_SAVE_RSI): Likewise.
30732         (REGISTER_SAVE_RDI): Likewise.
30733         (REGISTER_SAVE_R8): Likewise.
30734         (REGISTER_SAVE_R9): Likewise.
30735         (REGISTER_SAVE_BND0): Likewise.
30736         (REGISTER_SAVE_BND1): Likewise.
30737         (REGISTER_SAVE_BND2): Likewise.
30738         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30739         bound registers when calling _dl_fixup.
30741 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30743         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30744         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30745         of its definition.
30746         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30747         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30748         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30749         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30750         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30751         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30752         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30754 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30756         [BZ #15514]
30757         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30758         pathconf(_PC_NAME_MAX).
30760 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30762         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30763         Remove macro usage.
30764         (__PTHREAD_SPINS): Move definition to ...
30765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30766         (__PTHREAD_SPINS): ... here.
30767         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30768         (__PTHREAD_SPIN): Likewise.
30769         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30770         (__PTHREAD_SPIN): Likewise.
30771         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30772         (__PTHREAD_SPIN): Likewise.
30773         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30774         (__PTHREAD_SPIN): Likewise.
30775         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30776         (__PTHREAD_SPIN): Likewise.
30777         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30778         (__PTHREAD_SPIN): Likewise.
30779         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30780         (__PTHREAD_SPIN): Likewise.
30781         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30782         (__PTHREAD_SPIN): Likewise.
30783         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30784         (__PTHREAD_SPIN): Likewise.
30785         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30786         (__PTHREAD_SPIN): Likewise.
30787         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30788         (__PTHREAD_SPIN): Likewise.
30789         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30790         (__PTHREAD_SPIN): Likewise.
30792         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30793         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30794         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30795         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30796         imply folder.
30797         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30798         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30799         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30800         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30801         correct imply path.
30802         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30803         strlen symbol for non multi-arch builds.
30804         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30805         missing hidden_def and weak_alias.
30807 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30809         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30811 2014-04-07  Will Newton  <will.newton@linaro.org>
30813         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30814         and contents.  [!_LIBC] Remove #ifndef and contents.
30815         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30816         * string/memccpy.c (__memccpy): Use ANSI prototype.
30817         * string/memfrob.c (memfrob): Likewise.
30818         * string/strcoll.c (STRCOLL): Likewise.
30819         * string/strlen.c (strlen): Likewise.
30820         * string/strtok.c (STRTOK): Likewise.
30821         * string/strcat.c: Remove unused #include of memcopy.h.
30822         (strcat): Use ANSI prototype.
30823         * string/strchr.c: Remove unused #include of memcopy.h.
30824         (strchr): Use ANSI prototype.
30825         * string/strcmp.c: Remove unused #include of memcopy.h.
30826         (strcmp): Use ANSI prototype.
30827         * string/strcpy.c: Remove unused #include of memcopy.h.
30828         (strcpy): Use ANSI prototype.
30830 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30832         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30833         * config.make.in (config-extra-cppflags): Set it from
30834         libc_extra_cppflags.
30835         * configure.ac (libc_extra_cflags): Make it accumulate over
30836         configure fragments.
30837         (libc_extra_cppflags): New flag.
30838         * configure. Regenerate.
30839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30840         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30841         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30844         [BZ #16815]
30845         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30846         result for FE_DOWNWARD rounding mode.
30847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30848         Likewise.
30849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30851 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30853         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30854         in function argument name.
30856 2014-04-03  David Svoboda  <svoboda@cert.org>
30858         [BZ #5666]
30859         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30860         explicitly.
30862 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30864         * elf/dl-unmap-segments.h: New file.
30865         * sysdeps/generic/ldsodefs.h
30866         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30867         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30868         * elf/dl-fptr.c: Likewise.
30869         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30870         * sysdeps/aarch64/tlsdesc.c: Likewise.
30871         * sysdeps/arm/tlsdesc.c: Likewise.
30872         * sysdeps/i386/tlsdesc.c: Likewise.
30873         * sysdeps/tile/dl-runtime.c: Likewise.
30874         * sysdeps/x86_64/tlsdesc.c: Likewise.
30875         * elf/dl-load.h: New file.
30876         * elf/dl-load.c: Include it.
30877         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30878         Macros moved to dl-load.h.
30879         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30880         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30881         Use _dl_unmap_segments in place of __munmap.
30882         Break out segment-mapping loop into ...
30883         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30885 2014-04-03  Will Newton  <will.newton@linaro.org>
30887         * elf/dl-lookup.c (do_lookup_x): Remove comment
30888         referring to nested function and move variable
30889         declarations down to before first use.
30891 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30893         [BZ #16799]
30894         [BZ #16800]
30895         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30896         with 0 numerator.
30897         * math/s_catanf.c (__catanf): Likewise.
30898         * math/s_catanh.c (__catanh): Likewise.
30899         * math/s_catanhf.c (__catanhf): Likewise.
30900         * math/s_catanhl.c (__catanhl): Likewise.
30901         * math/s_catanl.c (__catanl): Likewise.
30902         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30903         by positive zero when computing -Inf result.
30904         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30905         (catanh_test): Likewise.
30906         * sysdeps/i386/fpu/libm-test-ulps: Update.
30907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30909         [BZ #16789]
30910         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30911         instead of using underflowing value in computing result.
30912         * math/s_clog10.c (__clog10): Likewise.
30913         * math/s_clog10f.c (__clog10f): Likewise.
30914         * math/s_clog10l.c (__clog10l): Likewise.
30915         * math/s_clogf.c (__clogf): Likewise.
30916         * math/s_clogl.c (__clogl): Likewise.
30917         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30918         (clog10_test): Likewise.
30919         * sysdeps/i386/fpu/libm-test-ulps: Update.
30920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30922 2014-04-02  Alan Modra  <amodra@gmail.com>
30924         [BZ #16739]
30925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30926         output when value is near a power of two.  Use int64_t for lx and
30927         remove casts.  Use decimal rather than hex exponent constants.
30928         Don't use long double multiplication when double will suffice.
30929         * math/libm-test.inc (nextafter_test_data): Add tests.
30930         * NEWS: Add 16739 and 16786 to bug list.
30932         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30934         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30936 2014-04-01  Will Newton  <will.newton@linaro.org>
30938         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30939         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30941 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30943         [BZ #13347]
30944         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30945         * nptl/tst-setuid2.c: New file.
30946         * nptl/Makefile (xtests): Add tst-setuid2.
30948 2014-04-01  Alan Modra  <amodra@gmail.com>
30950         [BZ #16786]
30951         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30953 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30955         [BZ #6803]
30956         [BZ #6804]
30957         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30958         set errno as appropriate.
30959         * math/w_scalbf.c (__scalbf): Likewise.
30960         * math/w_scalbl.c (__scalbl): Likewise.
30961         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30962         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30963         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30964         Add more NaN tests.
30966         [BZ #16349]
30967         * math/w_atan2.c: Include <errno.h>.
30968         (__atan2): Set errno for result underflowing to zero.
30969         * math/w_atan2f.c: Include <errno.h>.
30970         (__atan2f): Set errno for result underflowing to zero.
30971         * math/w_atan2l.c: Include <errno.h>.
30972         (__atan2l): Set errno for result underflowing to zero.
30973         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30974         tests.
30975         * math/auto-libm-test-out: Regenerated.
30977 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30979         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30980         Encode instruction correctly in little endian.
30981         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30982         Likewise.
30983         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30984         Likewise.
30985         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30986         Likewise.
30987         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30988         Likewise.
30990 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30992         [BZ #9894]
30993         * sysdeps/unix/sysv/linux/kernel-features.h
30994         [__sparc__ && !__arch64__ && !__sparc_v9__]
30995         (__ASSUME_SET_ROBUST_LIST): Do not define.
30996         [__sparc__ && !__arch64__ && !__sparc_v9__]
30997         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30998         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30999         Likewise.
31000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31001         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31002         (__ASSUME_REQUEUE_PI): Likewise.
31003         (__ASSUME_SET_ROBUST_LIST): Likewise.
31004         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31005         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31006         Undefine.
31007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31008         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31009         Likewise.
31010         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31011         Likewise.
31012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31013         Likewise.
31014         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31015         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31016         Undefine.
31017         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31018         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31019         Likewise.
31021         [BZ #16648]
31022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31023         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31024         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31026 2014-03-31  Will Newton  <will.newton@linaro.org>
31028         * benchtests/Makefile (bench): Add ffs and ffsll to list
31029         of tests.
31030         * benchtests/ffs-inputs: New file.
31031         * benchtests/ffsll-inputs: Likewise.
31033 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #16770]
31036         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31037         too large before casting to int.
31038         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31039         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31040         * math/libm-test.inc (scalb_test_data): Add more tests.
31042 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31044         * benchtests/Makefile (DETAILED_OPT): New make option.
31045         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31046         set.
31047         * benchtests/bench-skeleton.c: Include stdbool.h.
31048         (main): Store and print timings per input.
31049         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31050         member to each argument value.
31051         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31052         (_print_arg_data): Initialize per-input timing to 0.
31054         * benchtests/Makefile (timing-type): New binary.
31055         (bench-clean): Also remove bench-timing-type.
31056         (bench): New target for timing-type.
31057         (bench-func): Print output in JSON format.
31058         * benchtests/bench-skeleton.c (main): Print output in JSON
31059         format.
31060         * benchtests/bench-timing-type.c: New file.
31061         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31062         (TIMING_PRINT_STATS): Remove.
31063         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31064         name separately.
31066         * benchtests/bench-modf.c: Remove.
31067         * benchtests/modf-inputs: New inputs file.
31069 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31071         [BZ #16362]
31072         * math/s_clog10.c (M_PI_LOG10E): New macro.
31073         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31074         imaginary parts are 0.
31075         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31076         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31077         imaginary parts are 0.
31078         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31079         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31080         imaginary parts are 0.
31081         * math/libm-test.inc (clog10_test_data): Update expected results
31082         for when real and imaginary parts are 0.
31084 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31086         * elf/dl-load.c: Finish conversion of __builtin_expect into
31087         __glibc_{un}likely.
31089 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31091         [BZ #16348]
31092         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31093         1+x for argument with exponent below -67.
31094         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31095         Likewise.
31096         * math/auto-libm-test-in: Add more tests of exp.
31097         * math/auto-libm-test-out: Regenerated.
31099 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31101         [BZ #16759]
31102         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31103         (nscd_getnetgrent): Use it.
31105         [BZ #16760]
31106         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31107         of stpcpy.
31109 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31111         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31112         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31113         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31114         (lll_robust_unlock): Remove out of line section. Use cfi
31115         intrinsics.
31116         (LLL_STUB_UNWIND_INFO*): Remove.
31117         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31118         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31119         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31120         (lll_robust_unlock): Remove out of line section. Use cfi
31121         intrinsics.
31122         (LLL_STUB_UNWIND_INFO*): Remove.
31124 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         [BZ #16758]
31127         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31128         blank values.
31130 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31132         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31134 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31136         [BZ #16198]
31137         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31138         fnstenv.
31139         * math/test-fenv-preserve.c: New file.
31140         * math/Makefile (tests): Add test-fenv-preserve.
31142 2014-03-26  Will Newton <will.newton@linaro.org>
31144         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31146 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31148         * scripts/versionlist.awk: Partition the version sets and emit all
31149         GLIBC_* (sorted) before all others (sorted).
31151 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31153         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31154         GLIBC_2.2.5 version.
31156 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31158         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31159         calls.
31161         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31162         previous change.
31164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31166 2014-03-25  Andreas Schwab  <schwab@suse.de>
31168         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31169         label to be used after in6ailist is initialized.
31171 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31173         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31174         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31176 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #16357]
31179         [BZ #16599]
31180         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31181         min_plus_half.
31182         (fp_formats): Update initializers.
31183         (init_fp_formats): Initialize new field.
31184         (output_for_one_input_case): Allow underflow for results up to
31185         min_plus_half.
31186         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31187         * math/auto-libm-test-in: Don't mark some underflows from asin and
31188         atanh as spurious.
31189         * math/auto-libm-test-out: Regenerated.
31190         * sysdeps/i386/fpu/libm-test-ulps: Update.
31191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31193 2014-03-25  Andreas Schwab  <schwab@suse.de>
31195         * libio/Makefile (tst-ftell-partial-wide-ENV)
31196         (tst-ftell-active-handler-ENV): Define.
31198 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31200         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31202 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31204         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31206 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31208         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31209         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31210         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31212 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31214         [BZ #16634]
31215         * elf/dl-load.c (open_verify): Add mode parameter.
31216         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31217         (open_path): Change from boolean 'secure' to complete flag 'mode'
31218         (_dl_map_object): Adjust.
31219         * elf/Makefile (tests): Add tst-dlopen-aout.
31220         * elf/tst-dlopen-aout.c: New test.
31222 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31224         [BZ #16714]
31225         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31226         (struct stat): Rename member pad0 to __glibc_reserved0.
31228         [BZ #16712]
31229         * sysdeps/s390/s390-32/bits/wordsize.h
31230         (__WORDSIZE32_SIZE_ULONG): New define.
31231         * sysdeps/s390/s390-64/bits/wordsize.h
31232         (__WORDSIZE32_SIZE_ULONG): Likewise.
31233         * sysdeps/generic/stdint.h (SIZE_MAX):
31234         Define as UL if __WORDSIZE32_SIZE_ULONG.
31236         [BZ #16713]
31237         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31238         (__glibc_reserved0): New variable.
31239         (sa_flags): Change type to int.
31241         * posix/Makefile (before-compile): Use += before-compile instead
31242         of a :=.
31244         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31245         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31247 2014-03-20  Andreas Schwab  <schwab@suse.de>
31249         [BZ #16743]
31250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31251         non-matching result from nscd.
31253 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31255         * scripts/bench.py: Moved to ...
31256         * benchtests/scripts/bench.py: ... here.
31257         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31259 2014-03-24  Andreas Schwab  <schwab@suse.de>
31261         [BZ #16002]
31262         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31263         alloca_account and account alloca use for struct in6ailist.
31265 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31267         [BZ #16284]
31268         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31269         rounding mode to recompute results that overflow to infinity or
31270         underflow to zero.
31271         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31272         bug 16284.
31273         * math/auto-libm-test-out: Regenerated.
31274         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31275         (ccosh_test): Likewise.
31276         (csin_test_data): Use plus_oflow.
31277         (csin_test): Use ALL_RM_TEST.
31278         (csinh_test_data): Use plus_oflow.
31279         (csinh_test): Use ALL_RM_TEST.
31280         * sysdeps/i386/fpu/libm-test-ulps: Update.
31281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31283 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31285         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31286         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31287         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31289         [BZ #16731]
31290         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31291         when x - 1 is zero.
31292         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31293         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31294         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31295         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31296         argument is 1.
31297         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31298         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31299         zero.
31300         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31301         * sysdeps/i386/fpu/libm-test-ulps: Update.
31302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31304 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31306         * scripts/bench.pl: Remove file.
31307         * scripts/bench.py: New benchmark script.
31308         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31309         * benchtests/README: Mention python dependency.
31310         * scripts/pylintrc: New file.
31311         * scripts/pylint: New file.
31313         * bits/mathdef.h: Use #ifdef instead of #if.
31314         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31315         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31316         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31317         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31318         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31319         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31321 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31322             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31324         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31326         and strpbrk-ppc64 objects.
31327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31328         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31329         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31330         multiarch strpbrk for POWER7.
31331         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31332         multiarch strpbrk for PPC64.
31333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31334         ifunc selector.
31335         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31336         strpbrk for POWER7.
31338 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31340         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31341         (atan_test): Likewise.
31342         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31343         (atanh_test): Use ALL_RM_TEST.
31344         (atan2_test_data): Likewise.
31345         (cabs_test): Likewise.
31346         (cacosh_test): Likewise.
31347         (carg_test): Likewise.
31348         (casin_test): Likewise.
31349         (casinh_test): Likewise.
31350         (cbrt_test): Likewise.
31351         (csqrt_test): Likewise.
31352         (erf_test): Likewise.
31353         (erfc_test): Likewise.
31354         (pow10_test): Likewise.
31355         (exp2_test): Likewise.
31356         (hypot_test): Likewise.
31357         (j0_test): Likewise.
31358         (j1_test): Likewise.
31359         (lgamma_test): Likewise.
31360         (gamma_test): Likewise.
31361         (sincos_test): Likewise.
31362         (tanh_test): Likewise.
31363         (y0_test): Likewise.
31364         (y1_test): Likewise.
31365         * sysdeps/i386/fpu/libm-test-ulps: Update.
31366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31368 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31370         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31372         and strcspn-ppc64 objects.
31373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31374         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31375         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31376         multiarch strcspn for POWER7.
31377         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31378         multiarch strcspn for PPC64.
31379         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31380         ifunc selector.
31381         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31382         strcspn for POWER7.
31384 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31386         * math/gen-libm-test.pl (generate_testfile): Expect only function
31387         name as argument to AUTO_TESTS_* and pass results for all rounding
31388         modes to parse_args.
31389         (parse_auto_input): Separate inputs of automatic tests from
31390         outputs before storing in %auto_tests.
31391         * math/libm-test.inc (acos_test_data): Update call to
31392         AUTO_TESTS_f_f.
31393         (acos_test): Use ALL_RM_TEST.
31394         (acos_tonearest_test_data): Remove.
31395         (acos_test_tonearest): Likewise.
31396         (acos_towardzero_test_data): Likewise.
31397         (acos_test_towardzero): Likewise.
31398         (acos_downward_test_data): Likewise.
31399         (acos_test_downward): Likewise.
31400         (acos_upward_test_data): Likewise.
31401         (acos_test_upward): Likewise.
31402         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31403         (asin_test_data): Likewise.
31404         (asin_test): Use ALL_RM_TEST.
31405         (asin_tonearest_test_data): Remove.
31406         (asin_test_tonearest): Likewise.
31407         (asin_towardzero_test_data): Likewise.
31408         (asin_test_towardzero): Likewise.
31409         (asin_downward_test_data): Likewise.
31410         (asin_test_downward): Likewise.
31411         (asin_upward_test_data): Likewise.
31412         (asin_test_upward): Likewise.
31413         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31414         (atan_test_data): Likewise.
31415         (atanh_test_data): Likewise.
31416         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31417         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31418         (carg_test_data): Likewise.
31419         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31420         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31421         (ccosh_test_data): Likewise.
31422         (cexp_test_data): Likewise.
31423         (clog_test_data): Likewise.
31424         (clog10_test_data): Likewise.
31425         (cos_test_data): Update call to AUTO_TESTS_f_f.
31426         (cos_test): Use ALL_RM_TEST.
31427         (cos_tonearest_test_data): Remove.
31428         (cos_test_tonearest): Likewise.
31429         (cos_towardzero_test_data): Likewise.
31430         (cos_test_towardzero): Likewise.
31431         (cos_downward_test_data): Likewise.
31432         (cos_test_downward): Likewise.
31433         (cos_upward_test_data): Likewise.
31434         (cos_test_upward): Likewise.
31435         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31436         (cosh_test): Use ALL_RM_TEST.
31437         (cosh_tonearest_test_data): Remove.
31438         (cosh_test_tonearest): Likewise.
31439         (cosh_towardzero_test_data): Likewise.
31440         (cosh_test_towardzero): Likewise.
31441         (cosh_downward_test_data): Likewise.
31442         (cosh_test_downward): Likewise.
31443         (cosh_upward_test_data): Likewise.
31444         (cosh_test_upward): Likewise.
31445         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31446         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31447         (ctan_test_data): Likewise.
31448         (ctan_test): Use ALL_RM_TEST.
31449         (ctan_tonearest_test_data): Remove.
31450         (ctan_test_tonearest): Likewise.
31451         (ctan_towardzero_test_data): Likewise.
31452         (ctan_test_towardzero): Likewise.
31453         (ctan_downward_test_data): Likewise.
31454         (ctan_test_downward): Likewise.
31455         (ctan_upward_test_data): Likewise.
31456         (ctan_test_upward): Likewise.
31457         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31458         (ctanh_test): Use ALL_RM_TEST.
31459         (ctanh_tonearest_test_data): Remove.
31460         (ctanh_test_tonearest): Likewise.
31461         (ctanh_towardzero_test_data): Likewise.
31462         (ctanh_test_towardzero): Likewise.
31463         (ctanh_downward_test_data): Likewise.
31464         (ctanh_test_downward): Likewise.
31465         (ctanh_upward_test_data): Likewise.
31466         (ctanh_test_upward): Likewise.
31467         (erf_test_data): Update call to AUTO_TESTS_f_f.
31468         (erfc_test_data): Likewise.
31469         (exp_test_data): Likewise.
31470         (exp_test): Use ALL_RM_TEST.
31471         (exp_tonearest_test_data): Remove.
31472         (exp_test_tonearest): Likewise.
31473         (exp_towardzero_test_data): Likewise.
31474         (exp_test_towardzero): Likewise.
31475         (exp_downward_test_data): Likewise.
31476         (exp_test_downward): Likewise.
31477         (exp_upward_test_data): Likewise.
31478         (exp_test_upward): Likewise.
31479         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31480         (exp10_test): Use ALL_RM_TEST.
31481         (exp10_tonearest_test_data): Remove.
31482         (exp10_test_tonearest): Likewise.
31483         (exp10_towardzero_test_data): Likewise.
31484         (exp10_test_towardzero): Likewise.
31485         (exp10_downward_test_data): Likewise.
31486         (exp10_test_downward): Likewise.
31487         (exp10_upward_test_data): Likewise.
31488         (exp10_test_upward): Likewise.
31489         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31490         (expm1_test_data): Likewise.
31491         (expm1_test): Use ALL_RM_TEST.
31492         (expm1_tonearest_test_data): Remove.
31493         (expm1_test_tonearest): Likewise.
31494         (expm1_towardzero_test_data): Likewise.
31495         (expm1_test_towardzero): Likewise.
31496         (expm1_downward_test_data): Likewise.
31497         (expm1_test_downward): Likewise.
31498         (expm1_upward_test_data): Likewise.
31499         (expm1_test_upward): Likewise.
31500         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31501         (fma_test): Use ALL_RM_TEST.
31502         (fma_towardzero_test_data): Remove.
31503         (fma_test_towardzero): Likewise.
31504         (fma_downward_test_data): Likewise.
31505         (fma_test_downward): Likewise.
31506         (fma_upward_test_data): Likewise.
31507         (fma_test_upward): Likewise.
31508         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31509         (j0_test_data): Update call to AUTO_TESTS_f_f.
31510         (j1_test_data): Likewise.
31511         (jn_test_data): Update call to AUTO_TESTS_if_f.
31512         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31513         (log_test_data): Update call to AUTO_TESTS_f_f.
31514         (log10_test_data): Likewise.
31515         (log1p_test_data): Likewise.
31516         (log2_test_data): Likewise.
31517         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31518         (pow_tonearest_test_data): Likewise.
31519         (sin_test_data): Update call to AUTO_TESTS_f_f.
31520         (sin_test): Use ALL_RM_TEST.
31521         (sin_tonearest_test_data): Remove.
31522         (sin_test_tonearest): Likewise.
31523         (sin_towardzero_test_data): Likewise.
31524         (sin_test_towardzero): Likewise.
31525         (sin_downward_test_data): Likewise.
31526         (sin_test_downward): Likewise.
31527         (sin_upward_test_data): Likewise.
31528         (sin_test_upward): Likewise.
31529         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31530         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31531         (sinh_test): Use ALL_RM_TEST.
31532         (sinh_tonearest_test_data): Remove.
31533         (sinh_test_tonearest): Likewise.
31534         (sinh_towardzero_test_data): Likewise.
31535         (sinh_test_towardzero): Likewise.
31536         (sinh_downward_test_data): Likewise.
31537         (sinh_test_downward): Likewise.
31538         (sinh_upward_test_data): Likewise.
31539         (sinh_test_upward): Likewise.
31540         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31541         (sqrt_test): Use ALL_RM_TEST.
31542         (sqrt_tonearest_test_data): Remove.
31543         (sqrt_test_tonearest): Likewise.
31544         (sqrt_towardzero_test_data): Likewise.
31545         (sqrt_test_towardzero): Likewise.
31546         (sqrt_downward_test_data): Likewise.
31547         (sqrt_test_downward): Likewise.
31548         (sqrt_upward_test_data): Likewise.
31549         (sqrt_test_upward): Likewise.
31550         (tan_test_data): Update call to AUTO_TESTS_f_f.
31551         (tan_test): Use ALL_RM_TEST.
31552         (tan_tonearest_test_data): Remove.
31553         (tan_test_tonearest): Likewise.
31554         (tan_towardzero_test_data): Likewise.
31555         (tan_test_towardzero): Likewise.
31556         (tan_downward_test_data): Likewise.
31557         (tan_test_downward): Likewise.
31558         (tan_upward_test_data): Likewise.
31559         (tan_test_upward): Likewise.
31560         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31561         (tgamma_test_data): Likewise.
31562         (y0_test_data): Likewise.
31563         (y1_test_data): Likewise.
31564         (yn_test_data): Update call to AUTO_TESTS_if_f.
31565         (main): Do not call removed functions.
31567 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31569         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31570         (ldexp_test_data): Remove.
31571         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31572         scalbn_test_data.
31573         (scalb_test): Use ALL_RM_TEST.
31575 2014-03-19  Andreas Schwab  <schwab@suse.de>
31577         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31579 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31581         [BZ #16649]
31582         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31584         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31586         (__ASSUME_PREADV): Undefine.
31587         (__ASSUME_PWRITEV): Likewise.
31589 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31591         * bits/mman-linux.h: Add comment about non-Linux use.
31592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31593         bits/mman-linux.h resting place.
31595         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31596         * bits/mman-linux.h: ... here.
31598 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31600         * conform/conformtest.pl: Add standard definition when calling C
31601         preprocessor on data files.
31602         (checknamespace): Remove unused variable.
31604 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31606         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31607         minus_oflow, plus_uflow and minus_uflow in expected results.
31608         * math/libm-test.inc (scalbn_test_data): Add more tests of
31609         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31610         minus_uflow.
31611         (scalbn_test): Use ALL_RM_TEST.
31612         (scalbln_test_data): Add more tests of negative arguments.  Use
31613         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31614         (scalbln_test): Use ALL_RM_TEST.
31616 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31618         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31620 2014-03-18  Will Newton  <will.newton@linaro.org>
31622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31623         inaccurate comment.
31625 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31627         * Makerules [!subdir] (check-abi): Exit with error status if a
31628         test failed.
31630 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31632         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31633         for rint.  Include results for all rounding modes.
31634         (nearbyint_test): Use ALL_RM_TEST.
31635         (rint_test_data): Include all tests used for nearbyint.
31637 2014-03-17  Will Newton  <will.newton@linaro.org>
31639         * nptl/sysdeps/pthread/pthread.h: Revert previous
31640         change.
31642         * sysdeps/generic/ldsodefs.h: Revert previous
31643         change.
31645         * libio/genops.c: Revert previous change.
31646         * libio/libioP.h: Likewise.
31647         * stdio-common/vfprintf.c: Likewise.
31649         * sysdeps/generic/math_private.h: Revert previous
31650         change.
31652         * sysdeps/generic/math_private.h: Check whether
31653         HAVE_RM_CTX is defined with #ifdef rather
31654         than #if.
31656         * argp/argp-fmtstream.h: Check whether
31657         __STRICT_ANSI__ is defined with #ifdef rather
31658         than #if.
31659         * argp/argp.h: Likewise.
31661         * libio/genops.c: Check whether
31662         _IO_JUMPS_OFFSET is defined with #ifdef rather
31663         than #if.
31664         * libio/libioP.h: Likewise.
31665         * stdio-common/vfprintf.c: Likewise.
31667         * sysdeps/generic/ldsodefs.h: Check whether
31668         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31669         than #if.
31671         * nptl/sysdeps/pthread/pthread.h: Check
31672         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31673         its value.
31675 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31677         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31678         setting O_APPEND.
31679         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31680         test case.
31682         [BZ #16680]
31683         * libio/fileops.c (_IO_file_open): Seek to end of file but
31684         don't cache the offset.
31685         (get_file_offset): Remove function.
31686         (do_ftell): Use cached offset when available.
31687         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31688         don't cache the offset.
31689         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31690         case.
31691         (do_one_test): Call it.
31692         (do_ftell_test): Fix up expected old offset for a+ mode.
31693         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31694         available.
31696         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31697         up test status with function return status.
31698         (do_write_test): Likewise.
31699         (do_append_test): Likewise.
31701         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31702         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31703         Remove.
31705 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31707         * math/gen-libm-test.pl (parse_args): Handle results specified for
31708         each rounding mode separately.
31709         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31710         tests and results from lrint_tonearest_test_data,
31711         lrint_towardzero_test_data, lrint_downward_test_data and
31712         lrint_upward_test_data.
31713         (lrint_test): Use ALL_RM_TEST.
31714         (lrint_tonearest_test_data): Remove.
31715         (lrint_test_tonearest): Likewise.
31716         (lrint_towardzero_test_data): Likewise.
31717         (lrint_test_towardzero): Likewise.
31718         (lrint_downward_test_data): Likewise.
31719         (lrint_test_downward): Likewise.
31720         (lrint_upward_test_data): Likewise.
31721         (lrint_test_upward): Likewise.
31722         (llrint_test_data): Merge in per-rounding-mode tests and results
31723         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31724         llrint_downward_test_data and llrint_upward_test_data.
31725         (llrint_test): Use ALL_RM_TEST.
31726         (llrint_tonearest_test_data): Remove.
31727         (llrint_test_tonearest): Likewise.
31728         (llrint_towardzero_test_data): Likewise.
31729         (llrint_test_towardzero): Likewise.
31730         (llrint_downward_test_data): Likewise.
31731         (llrint_test_downward): Likewise.
31732         (llrint_upward_test_data): Likewise.
31733         (llrint_test_upward): Likewise.
31734         (rint_test_data): Merge in per-rounding-mode tests and results
31735         from rint_tonearest_test_data, rint_towardzero_test_data,
31736         rint_downward_test_data and rint_upward_test_data.  Add
31737         per-rounding-mode results for tests not in those arrays.
31738         (rint_test): Use ALL_RM_TEST.
31739         (rint_tonearest_test_data): Remove.
31740         (rint_test_tonearest): Likewise.
31741         (rint_towardzero_test_data): Likewise.
31742         (rint_test_towardzero): Likewise.
31743         (rint_downward_test_data): Likewise.
31744         (rint_test_downward): Likewise.
31745         (rint_upward_test_data): Likewise.
31746         (rint_test_upward): Likewise.
31747         (main): Don't call removed functions.
31749 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31751         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31752         "Compiled on ..." crapola.  It is anti-useful.
31754 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31756         * scripts/evaluate-test.sh: Handle fourth argument to determine
31757         whether test run should stop on failure.
31758         * Makeconfig (stop-on-test-failure): New variable.
31759         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31760         $(stop-on-test-failure).
31761         * Makefile (tests): Give a summary of results from testing and
31762         exit with failure status if they include an ERROR or FAIL.
31763         (xtests): Likewise.
31764         * manual/install.texi (Configuring and compiling): Mention
31765         stop-on-test-failure=y.
31766         * INSTALL: Regenerated.
31768 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31770         * scripts/versionlist.awk: New file.
31771         * Makerules [$(build-shared) = yes]
31772         (postclean-generated): Add Versions.def, not Versions.def.v and
31773         Versions.def.v.i.
31774         ($(common-objpfx)Versions.def.v.i): Target removed.
31775         ($(common-objpfx)Versions.def): New target.
31776         ($(common-objpfx)Versions.all): Depend on that rather that
31777         $(common-objpfx)Versions.def.v.
31778         * Versions.def: File removed.
31780         * Makeconfig (+gccwarn): Add -Wundef.
31781         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31782         a dl-sysdep.h breaking its contract.
31783         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31784         * include/stackinfo.h: New file.
31785         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31786         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31787         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31788         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31789         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31790         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31791         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31792         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31793         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31794         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31795         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31796         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31797         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31798         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31799         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31801 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31803         [BZ #16707]
31804         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31805         implementation.
31806         * math/libm-test.inc (round_test_data): Add more tests.
31808         [BZ #16706]
31809         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31810         implementation.
31811         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31813         [BZ #16701]
31814         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31815         implementation.
31816         * math/libm-test.inc (ceil_test_data): Add more tests.
31818         * math/libm-test.inc (trunc_test_data): Add more tests related to
31819         BZ#16414.
31821 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31823         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31824         with #if rather than #ifdef.
31825         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31827 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31829         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31830         first.  Disable AVX-512 GCC support if assembler doesn't support
31831         it.
31832         * sysdeps/x86_64/configure: Regenerated.
31834 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31836         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31837         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31838         (__old_pthread_attr_setstack): Likewise.
31839         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31840         [!_STACK_GROWS_DOWN]: Likewise.
31842 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31844         * config.make.in (have-bash2): Delete.
31845         * configure.ac (libc_cv_have_bash2): Delete.
31846         * configure: Regenerate.
31847         * elf/Makefile (common-ldd-rewrite): Rename to ...
31848         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31849         (sh-ldd-rewrite): Delete.
31850         (bash-ldd-rewrite): Delete.
31851         (have-bash2): Delete checks.
31852         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31853         ldd-rewrite.
31855         * config.make.in (have-ksh): Delete.
31856         (KSH): Delete.
31857         * configure.ac (libc_cv_have_ksh): Delete.
31858         * configure: Regenerate.
31860         * elf/Makefile: Delete $(have-ksh) check.
31861         ($(objpfx)sotruss): Change KSH to BASH.
31862         * elf/sotruss.ksh: Rename to ...
31863         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31864         function style to match POSIX.  Drop ksh vim mode setting.
31866         * manual/time.texi (Specifying the Time Zone with TZ): Change
31867         Tuesday to Thursday.
31869         * debug/tst-longjmp_chk2.c: Update header comment.
31870         (stackoverflow_handler): Add comment.  Call assert on pass value.
31872 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31874         [BZ #16194]
31875         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31876         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31877         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31878         (La_x86_64_vector): Add zmm.
31879         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31880         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31881         ($(objpfx)tst-audit10): New target.
31882         ($(objpfx)tst-audit10.out): Likewise.
31883         (tst-audit10-ENV): New.
31884         (AVX512-CFLAGS): Likewise.
31885         (CFLAGS-tst-audit10.c): Likewise.
31886         (CFLAGS-tst-auditmod10a.c): Likewise.
31887         (CFLAGS-tst-auditmod10b.c): Likewise.
31888         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31889         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31890         * sysdeps/x86_64/configure: Regenerated.
31891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31892         AVX-512 zmm register support.
31893         (_dl_x86_64_save_sse): Likewise.
31894         (_dl_x86_64_restore_sse): Likewise.
31895         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31896         size vector registers.
31897         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31898         (ZMM_SIZE): Likewise.
31899         * sysdeps/x86_64/tst-audit10.c: New file.
31900         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31901         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31903 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31905         * configure.ac (HAVE_EHDR_START): New check.
31906         * configure: Regenerated.
31907         * config.h.in (HAVE_EHDR_START): New #undef.
31908         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31909         assuming the lowest-addressed segment maps the start of the file.
31911 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31913         * INSTALL: Regenerated.
31915 2014-03-13  Will Newton  <will.newton@linaro.org>
31917         * manual/setjmp.texi (System V contexts): Improve
31918         clarity and grammar of documentation.
31920 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31922         [BZ #16381]
31923         * elf/Makefile (tests): Add tst-pie2.
31924         (tests-pie): Add tst-pie2.
31925         * elf/tst-pie2.c: New file.
31926         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31927         for ET_EXEC.
31928         * elf/rtld.c (map_doit): Load executable as lt_executable.
31929         (dl_main): Likewise.
31931 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31933         [BZ #16642]
31934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31935         (__ASSUME_PSELECT): Undefine.
31937 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31939         [BZ #16689]
31940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31941         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31942         static build.
31943         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31944         selector for static builds.
31946 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31948         [BZ #16695]
31949         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31950         key in the buffer.
31952 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31954         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31955         IFUNC selector for static builds.
31957 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31959         * sysdeps/mips/math_private.h [__mips_hard_float]
31960         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31961         libc_feresetround_mips_ctx.
31962         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31963         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31964         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31966         [BZ #16677]
31967         * math/s_nextafter.c (__nextafter): Do not return value from
31968         overflowing computation.
31969         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31970         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31971         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31972         Likewise.
31973         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31974         Likewise.
31975         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31976         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31978 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31980         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31981         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31982         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31983         the new mov targetting sp.
31985 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31987         [BZ #16683]
31988         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31989         Define it for static builds as well.
31990         (NO_BZERO_IMPL): Likewise.
31992 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31994         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31995         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31996         multiarch strspn for PPC64.
31997         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31998         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32000         (__libc_ifunc_impl_list): Likewise.
32001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32002         multiarch optimizations
32003         * string/strspn.c (strspn): Using macro to redefine symbol name.
32005 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32006             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32008         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32009         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32010         multiarch strncat for PPC64.
32011         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32012         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32014         (__libc_ifunc_impl_list): Likewise.
32015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32016         multiarch optimizations
32018 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32020         [BZ #16639]
32021         * nscd/nscd.service: Make service type forking.
32023 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32025         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32026         sign in non default rounding modes.
32027         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32029 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32031         * math/libm-test.inc (ALL_RM_TEST): New macro.
32032         (ceil_test): Use ALL_RM_TEST.
32033         (cimag_test): Likewise.
32034         (conj_test): Likewise.
32035         (copysign_test): Likewise.
32036         (cproj_test): Likewise.
32037         (creal_test): Likewise.
32038         (fabs_test): Likewise.
32039         (floor_test): Likewise.
32040         (fmax_test): Likewise.
32041         (fmin_test): Likewise.
32042         (fmod_test): Likewise.
32043         (fpclassify_test): Likewise.
32044         (frexp_test): Likewise.
32045         (ilogb_test): Likewise.
32046         (isfinite_test): Likewise.
32047         (finite_test): Likewise.
32048         (isgreater_test): Likewise.
32049         (isgreaterequal_test): Likewise.
32050         (isinf_test): Likewise.
32051         (isless_test): Likewise.
32052         (islessequal_test): Likewise.
32053         (islessgreater_test): Likewise.
32054         (isnan_test): Likewise.
32055         (isnormal_test): Likewise.
32056         (issignaling_test): Likewise.
32057         (isunordered_test): Likewise.
32058         (logb_test): Likewise.
32059         (logb_downward_test_data): Remove.
32060         (logb_test_downward): Likewise.
32061         (lround_test): Use ALL_RM_TEST.
32062         (llround_test): Likewise.
32063         (modf_test): Likewise.
32064         (nexttoward_test): Likewise.
32065         (remainder_test): Likewise.
32066         (drem_test): Likewise.
32067         (remainder_tonearest_test_data): Likewise.
32068         (remainder_test_tonearest): Likewise.
32069         (drem_test_tonearest): Likewise.
32070         (remainder_towardzero_test_data): Likewise.
32071         (remainder_test_towardzero): Likewise.
32072         (drem_test_towardzero): Likewise.
32073         (remainder_downward_test_data): Likewise.
32074         (remainder_test_downward): Likewise.
32075         (drem_test_downward): Likewise.
32076         (remainder_upward_test_data): Likewise.
32077         (remainder_test_upward): Likewise.
32078         (drem_test_upward): Likewise.
32079         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32080         (round_test): Use ALL_RM_TEST.
32081         (signbit_test): Likewise.
32082         (trunc_test): Likewise.
32083         (significand_test): Likewise.
32084         (main): Don't call removed functions.
32086 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32088         [BZ #16674]
32089         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32090         || __USE_XOPEN2K8].
32091         (ILL_ILLOPN): Likewise.
32092         (ILL_ILLADR): Likewise.
32093         (ILL_ILLTRP): Likewise.
32094         (ILL_PRVOPC): Likewise.
32095         (ILL_PRVREG): Likewise.
32096         (ILL_COPROC): Likewise.
32097         (ILL_BADSTK): Likewise.
32098         (FPE_INTDIV): Likewise.
32099         (FPE_INTOVF): Likewise.
32100         (FPE_FLTDIV): Likewise.
32101         (FPE_FLTOVF): Likewise.
32102         (FPE_FLTUND): Likewise.
32103         (FPE_FLTRES): Likewise.
32104         (FPE_FLTINV): Likewise.
32105         (FPE_FLTSUB): Likewise.
32106         (SEGV_MAPERR): Likewise.
32107         (SEGV_ACCERR): Likewise.
32108         (BUS_ADRALN): Likewise.
32109         (BUS_ADRERR): Likewise.
32110         (BUS_OBJERR): Likewise.
32111         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32112         (TRAP_TRACE): Likewise.
32113         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32114         __USE_XOPEN2K8].
32115         (CLD_KILLED): Likewise.
32116         (CLD_DUMPED): Likewise.
32117         (CLD_TRAPPED): Likewise.
32118         (CLD_STOPPED): Likewise.
32119         (CLD_CONTINUED): Likewise.
32120         (POLL_IN): Likewise.
32121         (POLL_OUT): Likewise.
32122         (POLL_MSG): Likewise.
32123         (POLL_ERR): Likewise.
32124         (POLL_PRI): Likewise.
32125         (POLL_HUP): Likewise.
32126         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32127         Likewise.
32128         (ILL_ILLOPN): Likewise.
32129         (ILL_ILLADR): Likewise.
32130         (ILL_ILLTRP): Likewise.
32131         (ILL_PRVOPC): Likewise.
32132         (ILL_PRVREG): Likewise.
32133         (ILL_COPROC): Likewise.
32134         (ILL_BADSTK): Likewise.
32135         (FPE_INTDIV): Likewise.
32136         (FPE_INTOVF): Likewise.
32137         (FPE_FLTDIV): Likewise.
32138         (FPE_FLTOVF): Likewise.
32139         (FPE_FLTUND): Likewise.
32140         (FPE_FLTRES): Likewise.
32141         (FPE_FLTINV): Likewise.
32142         (FPE_FLTSUB): Likewise.
32143         (SEGV_MAPERR): Likewise.
32144         (SEGV_ACCERR): Likewise.
32145         (BUS_ADRALN): Likewise.
32146         (BUS_ADRERR): Likewise.
32147         (BUS_OBJERR): Likewise.
32148         (BUS_MCEERR_AR): Likewise.
32149         (BUS_MCEERR_AO): Likewise.
32150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32151         (TRAP_TRACE): Likewise.
32152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32153         __USE_XOPEN2K8].
32154         (CLD_KILLED): Likewise.
32155         (CLD_DUMPED): Likewise.
32156         (CLD_TRAPPED): Likewise.
32157         (CLD_STOPPED): Likewise.
32158         (CLD_CONTINUED): Likewise.
32159         (POLL_IN): Likewise.
32160         (POLL_OUT): Likewise.
32161         (POLL_MSG): Likewise.
32162         (POLL_ERR): Likewise.
32163         (POLL_PRI): Likewise.
32164         (POLL_HUP): Likewise.
32165         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32166         (ILL_ILLOPN): Likewise.
32167         (ILL_ILLADR): Likewise.
32168         (ILL_ILLTRP): Likewise.
32169         (ILL_PRVOPC): Likewise.
32170         (ILL_PRVREG): Likewise.
32171         (ILL_COPROC): Likewise.
32172         (ILL_BADSTK): Likewise.
32173         (FPE_INTDIV): Likewise.
32174         (FPE_INTOVF): Likewise.
32175         (FPE_FLTDIV): Likewise.
32176         (FPE_FLTOVF): Likewise.
32177         (FPE_FLTUND): Likewise.
32178         (FPE_FLTRES): Likewise.
32179         (FPE_FLTINV): Likewise.
32180         (FPE_FLTSUB): Likewise.
32181         (SEGV_MAPERR): Likewise.
32182         (SEGV_ACCERR): Likewise.
32183         (BUS_ADRALN): Likewise.
32184         (BUS_ADRERR): Likewise.
32185         (BUS_OBJERR): Likewise.
32186         (BUS_MCEERR_AR): Likewise.
32187         (BUS_MCEERR_AO): Likewise.
32188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32189         (TRAP_TRACE): Likewise.
32190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32191         __USE_XOPEN2K8].
32192         (CLD_KILLED): Likewise.
32193         (CLD_DUMPED): Likewise.
32194         (CLD_TRAPPED): Likewise.
32195         (CLD_STOPPED): Likewise.
32196         (CLD_CONTINUED): Likewise.
32197         (POLL_IN): Likewise.
32198         (POLL_OUT): Likewise.
32199         (POLL_MSG): Likewise.
32200         (POLL_ERR): Likewise.
32201         (POLL_PRI): Likewise.
32202         (POLL_HUP): Likewise.
32203         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32204         Likewise.
32205         (ILL_ILLOPN): Likewise.
32206         (ILL_ILLADR): Likewise.
32207         (ILL_ILLTRP): Likewise.
32208         (ILL_PRVOPC): Likewise.
32209         (ILL_PRVREG): Likewise.
32210         (ILL_COPROC): Likewise.
32211         (ILL_BADSTK): Likewise.
32212         (ILL_BADIADDR): Likewise.
32213         (ILL_BREAK): Likewise.
32214         (FPE_INTDIV): Likewise.
32215         (FPE_INTOVF): Likewise.
32216         (FPE_FLTDIV): Likewise.
32217         (FPE_FLTOVF): Likewise.
32218         (FPE_FLTUND): Likewise.
32219         (FPE_FLTRES): Likewise.
32220         (FPE_FLTINV): Likewise.
32221         (FPE_FLTSUB): Likewise.
32222         (FPE_DECOVF): Likewise.
32223         (FPE_DECDIV): Likewise.
32224         (FPE_DECERR): Likewise.
32225         (FPE_INVASC): Likewise.
32226         (FPE_INVDEC): Likewise.
32227         (SEGV_MAPERR): Likewise.
32228         (SEGV_ACCERR): Likewise.
32229         (SEGV_PSTKOVF): Likewise.
32230         (BUS_ADRALN): Likewise.
32231         (BUS_ADRERR): Likewise.
32232         (BUS_OBJERR): Likewise.
32233         (BUS_MCEERR_AR): Likewise.
32234         (BUS_MCEERR_AO): Likewise.
32235         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32236         (TRAP_TRACE): Likewise.
32237         (TRAP_BRANCH): Likewise.
32238         (TRAP_HWBKPT): Likewise.
32239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32240         __USE_XOPEN2K8].
32241         (CLD_KILLED): Likewise.
32242         (CLD_DUMPED): Likewise.
32243         (CLD_TRAPPED): Likewise.
32244         (CLD_STOPPED): Likewise.
32245         (CLD_CONTINUED): Likewise.
32246         (POLL_IN): Likewise.
32247         (POLL_OUT): Likewise.
32248         (POLL_MSG): Likewise.
32249         (POLL_ERR): Likewise.
32250         (POLL_PRI): Likewise.
32251         (POLL_HUP): Likewise.
32252         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32253         (ILL_ILLOPN): Likewise.
32254         (ILL_ILLADR): Likewise.
32255         (ILL_ILLTRP): Likewise.
32256         (ILL_PRVOPC): Likewise.
32257         (ILL_PRVREG): Likewise.
32258         (ILL_COPROC): Likewise.
32259         (ILL_BADSTK): Likewise.
32260         (FPE_INTDIV): Likewise.
32261         (FPE_INTOVF): Likewise.
32262         (FPE_FLTDIV): Likewise.
32263         (FPE_FLTOVF): Likewise.
32264         (FPE_FLTUND): Likewise.
32265         (FPE_FLTRES): Likewise.
32266         (FPE_FLTINV): Likewise.
32267         (FPE_FLTSUB): Likewise.
32268         (SEGV_MAPERR): Likewise.
32269         (SEGV_ACCERR): Likewise.
32270         (BUS_ADRALN): Likewise.
32271         (BUS_ADRERR): Likewise.
32272         (BUS_OBJERR): Likewise.
32273         (BUS_MCEERR_AR): Likewise.
32274         (BUS_MCEERR_AO): Likewise.
32275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32276         (TRAP_TRACE): Likewise.
32277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32278         __USE_XOPEN2K8].
32279         (CLD_KILLED): Likewise.
32280         (CLD_DUMPED): Likewise.
32281         (CLD_TRAPPED): Likewise.
32282         (CLD_STOPPED): Likewise.
32283         (CLD_CONTINUED): Likewise.
32284         (POLL_IN): Likewise.
32285         (POLL_OUT): Likewise.
32286         (POLL_MSG): Likewise.
32287         (POLL_ERR): Likewise.
32288         (POLL_PRI): Likewise.
32289         (POLL_HUP): Likewise.
32290         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32291         (ILL_ILLOPN): Likewise.
32292         (ILL_ILLADR): Likewise.
32293         (ILL_ILLTRP): Likewise.
32294         (ILL_PRVOPC): Likewise.
32295         (ILL_PRVREG): Likewise.
32296         (ILL_COPROC): Likewise.
32297         (ILL_BADSTK): Likewise.
32298         (FPE_INTDIV): Likewise.
32299         (FPE_INTOVF): Likewise.
32300         (FPE_FLTDIV): Likewise.
32301         (FPE_FLTOVF): Likewise.
32302         (FPE_FLTUND): Likewise.
32303         (FPE_FLTRES): Likewise.
32304         (FPE_FLTINV): Likewise.
32305         (FPE_FLTSUB): Likewise.
32306         (SEGV_MAPERR): Likewise.
32307         (SEGV_ACCERR): Likewise.
32308         (BUS_ADRALN): Likewise.
32309         (BUS_ADRERR): Likewise.
32310         (BUS_OBJERR): Likewise.
32311         (BUS_MCEERR_AR): Likewise.
32312         (BUS_MCEERR_AO): Likewise.
32313         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32314         (TRAP_TRACE): Likewise.
32315         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32316         __USE_XOPEN2K8].
32317         (CLD_KILLED): Likewise.
32318         (CLD_DUMPED): Likewise.
32319         (CLD_TRAPPED): Likewise.
32320         (CLD_STOPPED): Likewise.
32321         (CLD_CONTINUED): Likewise.
32322         (POLL_IN): Likewise.
32323         (POLL_OUT): Likewise.
32324         (POLL_MSG): Likewise.
32325         (POLL_ERR): Likewise.
32326         (POLL_PRI): Likewise.
32327         (POLL_HUP): Likewise.
32328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32329         (ILL_ILLOPN): Likewise.
32330         (ILL_ILLADR): Likewise.
32331         (ILL_ILLTRP): Likewise.
32332         (ILL_PRVOPC): Likewise.
32333         (ILL_PRVREG): Likewise.
32334         (ILL_COPROC): Likewise.
32335         (ILL_BADSTK): Likewise.
32336         (FPE_INTDIV): Likewise.
32337         (FPE_INTOVF): Likewise.
32338         (FPE_FLTDIV): Likewise.
32339         (FPE_FLTOVF): Likewise.
32340         (FPE_FLTUND): Likewise.
32341         (FPE_FLTRES): Likewise.
32342         (FPE_FLTINV): Likewise.
32343         (FPE_FLTSUB): Likewise.
32344         (SEGV_MAPERR): Likewise.
32345         (SEGV_ACCERR): Likewise.
32346         (BUS_ADRALN): Likewise.
32347         (BUS_ADRERR): Likewise.
32348         (BUS_OBJERR): Likewise.
32349         (BUS_MCEERR_AR): Likewise.
32350         (BUS_MCEERR_AO): Likewise.
32351         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32352         (TRAP_TRACE): Likewise.
32353         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32354         __USE_XOPEN2K8].
32355         (CLD_KILLED): Likewise.
32356         (CLD_DUMPED): Likewise.
32357         (CLD_TRAPPED): Likewise.
32358         (CLD_STOPPED): Likewise.
32359         (CLD_CONTINUED): Likewise.
32360         (POLL_IN): Likewise.
32361         (POLL_OUT): Likewise.
32362         (POLL_MSG): Likewise.
32363         (POLL_ERR): Likewise.
32364         (POLL_PRI): Likewise.
32365         (POLL_HUP): Likewise.
32366         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32367         (ILL_ILLOPN): Likewise.
32368         (ILL_ILLADR): Likewise.
32369         (ILL_ILLTRP): Likewise.
32370         (ILL_PRVOPC): Likewise.
32371         (ILL_PRVREG): Likewise.
32372         (ILL_COPROC): Likewise.
32373         (ILL_BADSTK): Likewise.
32374         (ILL_DBLFLT): Likewise.
32375         (ILL_HARDWALL): Likewise.
32376         (FPE_INTDIV): Likewise.
32377         (FPE_INTOVF): Likewise.
32378         (FPE_FLTDIV): Likewise.
32379         (FPE_FLTOVF): Likewise.
32380         (FPE_FLTUND): Likewise.
32381         (FPE_FLTRES): Likewise.
32382         (FPE_FLTINV): Likewise.
32383         (FPE_FLTSUB): Likewise.
32384         (SEGV_MAPERR): Likewise.
32385         (SEGV_ACCERR): Likewise.
32386         (BUS_ADRALN): Likewise.
32387         (BUS_ADRERR): Likewise.
32388         (BUS_OBJERR): Likewise.
32389         (BUS_MCEERR_AR): Likewise.
32390         (BUS_MCEERR_AO): Likewise.
32391         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32392         (TRAP_TRACE): Likewise.
32393         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32394         __USE_XOPEN2K8].
32395         (CLD_KILLED): Likewise.
32396         (CLD_DUMPED): Likewise.
32397         (CLD_TRAPPED): Likewise.
32398         (CLD_STOPPED): Likewise.
32399         (CLD_CONTINUED): Likewise.
32400         (POLL_IN): Likewise.
32401         (POLL_OUT): Likewise.
32402         (POLL_MSG): Likewise.
32403         (POLL_ERR): Likewise.
32404         (POLL_PRI): Likewise.
32405         (POLL_HUP): Likewise.
32406         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32407         (ILL_ILLOPN): Likewise.
32408         (ILL_ILLADR): Likewise.
32409         (ILL_ILLTRP): Likewise.
32410         (ILL_PRVOPC): Likewise.
32411         (ILL_PRVREG): Likewise.
32412         (ILL_COPROC): Likewise.
32413         (ILL_BADSTK): Likewise.
32414         (FPE_INTDIV): Likewise.
32415         (FPE_INTOVF): Likewise.
32416         (FPE_FLTDIV): Likewise.
32417         (FPE_FLTOVF): Likewise.
32418         (FPE_FLTUND): Likewise.
32419         (FPE_FLTRES): Likewise.
32420         (FPE_FLTINV): Likewise.
32421         (FPE_FLTSUB): Likewise.
32422         (SEGV_MAPERR): Likewise.
32423         (SEGV_ACCERR): Likewise.
32424         (BUS_ADRALN): Likewise.
32425         (BUS_ADRERR): Likewise.
32426         (BUS_OBJERR): Likewise.
32427         (BUS_MCEERR_AR): Likewise.
32428         (BUS_MCEERR_AO): Likewise.
32429         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32430         (TRAP_TRACE): Likewise.
32431         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32432         __USE_XOPEN2K8].
32433         (CLD_KILLED): Likewise.
32434         (CLD_DUMPED): Likewise.
32435         (CLD_TRAPPED): Likewise.
32436         (CLD_STOPPED): Likewise.
32437         (CLD_CONTINUED): Likewise.
32438         (POLL_IN): Likewise.
32439         (POLL_OUT): Likewise.
32440         (POLL_MSG): Likewise.
32441         (POLL_ERR): Likewise.
32442         (POLL_PRI): Likewise.
32443         (POLL_HUP): Likewise.
32444         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32445         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32447         [BZ #16670]
32448         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32449         before #include of <time.h>.
32450         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32451         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32452         (test-xfail-UNIX98/sched.h/conform): Likewise.
32454 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32456         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32457         error absence of trapping exception support.
32458         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32460 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32462         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32463         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32464         * timezone/Makefile (testdata): Move definition above include of
32465         Rules.
32466         (test-zones): New variable.
32467         (tests-special): Add zone files.
32468         (build-testdata): Use $(evaluate-test).
32470         * elf/Makefile (tests-special): Rename tests to end with .out.
32471         ($(objpfx)noload-mem): Likewise.
32472         ($(objpfx)tst-leaks1-mem): Likewise.
32473         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32474         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32475         $(objpfx)test-iconvconfig.out.
32476         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32477         set -e inside subshell and redirect output to file.
32478         * iconvdata/Makefile (generated): Rename tests to end with .out.
32479         Correct type.
32480         (tests-special): Rename tests to end with .out.
32481         ($(objpfx)mtrace-tst-loading): Likewise.
32482         * intl/Makefile (generated): Likewise.
32483         (tests-special): Likewise.
32484         ($(objpfx)mtrace-tst-gettext): Likewise.
32485         * misc/Makefile (generated): Likewise.
32486         (tests-special): Likewise.
32487         ($(objpfx)tst-error1-mem): Likewise.
32488         * nptl/Makefile (tests-special): Likewise.
32489         ($(objpfx)tst-stack3-mem): Likewise.
32490         (generated): Likewise.
32491         * posix/Makefile (generated): Likewise.
32492         (tests-special): Likewise.
32493         (xtests-special): Likewise.
32494         ($(objpfx)tst-fnmatch-mem): Likewise.
32495         ($(objpfx)bug-regex2-mem): Likewise.
32496         ($(objpfx)bug-regex14-mem): Likewise.
32497         ($(objpfx)bug-regex21-mem): Likewise.
32498         ($(objpfx)bug-regex31-mem): Likewise.
32499         ($(objpfx)tst-vfork3-mem): Likewise.
32500         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32501         ($(objpfx)tst-pcre-mem): Likewise.
32502         ($(objpfx)tst-boost-mem): Likewise.
32503         ($(objpfx)bug-ga2-mem): Likewise.
32504         ($(objpfx)bug-glob2-mem): Likewise.
32505         * resolv/Makefile (generate): Likewise.
32506         (tests-special): Likewise.
32507         (xtests-special): Likewise.
32508         (generated): Likewise.
32509         ($(objpfx)mtrace-tst-leaks): Likewise.
32510         ($(objpfx)mtrace-tst-leaks2): Likewise.
32512         * scripts/merge-test-results.sh: New file.
32513         * Makefile (tests-special-notdir): New variable.
32514         (tests): Run merge-test-results.sh.
32515         (xtests): Likewise.
32516         * Rules (tests-special-notdir): New variable.
32517         (xtests-special-notdir): Likewise.
32518         (tests): Run merge-test-results.sh
32519         (xtests): Likewise.
32521         * Makeconfig (test-xfail-name): New variable.
32522         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32523         compute variable name for expected failures.
32524         * conform/Makefile (conformtest-headers-data): New variable.
32525         (conformtest-standards): Likewise.
32526         (conformtest-headers-ISO): Likewise.
32527         (conformtest-headers-ISO99): Likewise.
32528         (conformtest-headers-ISO11): Likewise.
32529         (conformtest-headers-POSIX): Likewise.
32530         (conformtest-headers-XPG3): Likewise.
32531         (conformtest-headers-XPG4): Likewise.
32532         (conformtest-headers-UNIX98): Likewise.
32533         (conformtest-headers-XOPEN2K): Likewise.
32534         (conformtest-headers-POSIX2008): Likewise.
32535         (conformtest-headers-XOPEN2K8): Likewise.
32536         (conformtest-header-list-base): Likewise.
32537         (conformtest-header-list-tests): Likewise.
32538         (conformtest-header-base): Likewise.
32539         (conformtest-header-tests): Likewise.
32540         (tests-special): Add $(conformtest-header-list-tests).  If
32541         [$(fast-check) && !$(cross-compiling)], add
32542         $(conformtest-header-tests) instead of
32543         $(objpfx)run-conformtest.out.
32544         (generated): Add $(conformtest-header-list-base).  If
32545         [$(fast-check) && !$(cross-compiling)], add
32546         $(conformtest-header-base).  Remove previous setting.
32547         ($(conformtest-header-list-tests)): New target.
32548         (test-xfail-run-conformtest): Remove variable.
32549         ($(objpfx)run-conformtest.out): Remove target.
32550         (test-xfail-ISO11/complex.h/conform): New variable.
32551         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32552         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32553         (test-xfail-XPG3/varargs.h/conform): Likewise.
32554         (test-xfail-XPG4/varargs.h/conform): Likewise.
32555         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32556         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32557         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32558         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32559         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32560         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32561         (test-xfail-XPG3/ftw.h/conform): Likewise.
32562         (test-xfail-XPG3/grp.h/conform): Likewise.
32563         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32564         (test-xfail-XPG3/limits.h/conform): Likewise.
32565         (test-xfail-XPG3/pwd.h/conform): Likewise.
32566         (test-xfail-XPG3/search.h/conform): Likewise.
32567         (test-xfail-XPG3/signal.h/conform): Likewise.
32568         (test-xfail-XPG3/stdio.h/conform): Likewise.
32569         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32570         (test-xfail-XPG3/string.h/conform): Likewise.
32571         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32572         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32573         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32574         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32575         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32576         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32577         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32578         (test-xfail-XPG3/termios.h/conform): Likewise.
32579         (test-xfail-XPG3/time.h/conform): Likewise.
32580         (test-xfail-XPG3/unistd.h/conform): Likewise.
32581         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32582         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32583         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32584         (test-xfail-XPG4/netdb.h/conform): Likewise.
32585         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32586         (test-xfail-XPG4/signal.h/conform): Likewise.
32587         (test-xfail-XPG4/stdio.h/conform): Likewise.
32588         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32589         (test-xfail-XPG4/stropts.h/conform): Likewise.
32590         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32591         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32592         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32593         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32594         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32595         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32596         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32597         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32598         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32599         (test-xfail-XPG4/termios.h/conform): Likewise.
32600         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32601         (test-xfail-XPG4/unistd.h/conform): Likewise.
32602         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32603         (test-xfail-POSIX/sched.h/conform): Likewise.
32604         (test-xfail-POSIX/signal.h/conform): Likewise.
32605         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32606         (test-xfail-POSIX/tar.h/conform): Likewise.
32607         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32608         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32609         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32610         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32611         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32612         (test-xfail-UNIX98/sched.h/conform): Likewise.
32613         (test-xfail-UNIX98/signal.h/conform): Likewise.
32614         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32615         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32616         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32617         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32618         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32619         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32620         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32621         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32622         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32623         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32624         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32625         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32626         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32627         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32628         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32629         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32630         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32631         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32632         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32633         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32634         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32635         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32636         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32637         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32638         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32639         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32640         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32641         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32642         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32643         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32644         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32645         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32646         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32647         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32648         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32649         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32650         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32651         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32652         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32653         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32654         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32655         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32656         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32657         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32658         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32659         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32660         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32661         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32662         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32663         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32664         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32665         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32666         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32667         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32668         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32669         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32670         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32671         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32672         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32673         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32674         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32675         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32676         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32677         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32678         (conformtest-cc-flags): Likewise.
32679         ($(conformtest-header-tests): New target.
32680         * conform/check-header-lists.sh: New file.
32681         * conform/run-conformtest.sh: Remove.
32683         * conform/conformtest.pl: Allow ' and \ in values given for
32684         constants.
32685         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32686         inclusion.
32687         [POSIX] (sys/types.h): Likewise.
32688         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32689         inclusion.
32690         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32691         inclusion.
32692         * conform/data/signal.h-data (SIGIO): Remove expectation.
32693         [XPG3] (SIGBUS): Do not expect.
32694         [POSIX || XPG3] (SIGPOLL): Likewise.
32695         [POSIX || XPG3] (SIGPROF): Likewise.
32696         [POSIX || XPG3] (SIGSYS): Likewise.
32697         [XPG3] (SIGTRAP): Likewise.
32698         [POSIX || XPG3] (SIGURG): Likewise.
32699         [POSIX || XPG3] (SIGVTALRM): Likewise.
32700         [POSIX || XPG3] (SIGXCPU): Likewise.
32701         [POSIX || XPG3] (SIGXFSZ): Likewise.
32702         [POSIX] (SA_SIGINFO): Expect.
32703         [XPG3] (siginfo_t): Do not expect type or contents.
32704         [POSIX] (si_pid): Do not expect element.
32705         [POSIX] (si_uid): Likewise.
32706         [POSIX] (si_addr): Likewise.
32707         [POSIX] (si_status): Likewise.
32708         [POSIX] (si_band): Likewise.
32709         [XPG4] (si_value): Likewise.
32710         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32711         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32712         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32713         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32714         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32715         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32716         [POSIX || XPG3] (ILL_COPROC): Likewise.
32717         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32718         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32719         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32720         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32721         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32722         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32723         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32724         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32725         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32726         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32727         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32728         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32729         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32730         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32731         [POSIX || XPG3] (CLD_EXITED): Likewise.
32732         [POSIX || XPG3] (CLD_KILLED): Likewise.
32733         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32734         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32735         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32736         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32737         [POSIX || XPG3] (POLL_IN): Likewise.
32738         [POSIX || XPG3] (POLL_OUT): Likewise.
32739         [POSIX || XPG3] (POLL_MSG): Likewise.
32740         [POSIX || XPG3] (POLL_ERR): Likewise.
32741         [POSIX || XPG3] (POLL_PRI): Likewise.
32742         [POSIX || XPG3] (POLL_HUP): Likewise.
32743         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32744         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32745         (SIG*): Do not allow.
32746         [XPG3] (si_*): Likewise.
32747         [XPG3] (SI_*): Likewise.
32748         [XPG3 || XPG4] (sigev_*): Likewise.
32749         [XPG3 || XPG4] (SIGEV_*): Likewise.
32750         [XPG3 || XPG4] (sival_*): Likewise.
32751         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32752         [POSIX || XPG3] (BUS_*): Likewise.
32753         [POSIX || XPG3] (CLD_*): Likewise.
32754         [POSIX || XPG3] (FPE_*): Likewise.
32755         [POSIX || XPG3] (ILL_*): Likewise.
32756         [POSIX || XPG3] (POLL_*): Likewise.
32757         [POSIX || XPG3] (SEGV_*): Likewise.
32758         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32759         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32760         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32761         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32762         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32763         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32764         Specify type and value.
32765         (TVERSLEN): Likewise.
32766         (REGTYPE): Likewise.
32767         (AREGTYPE): Likewise.
32768         (LNKTYPE): Likewise.
32769         (SYMTYPE): Likewise.
32770         (CHRTYPE): Likewise.
32771         (BLKTYPE): Likewise.
32772         (DIRTYPE): Likewise.
32773         (FIFOTYPE): Likewise.
32774         (CONTTYPE): Likewise.
32775         (TSUID): Likewise.
32776         (TSGID): Likewise.
32777         (TSVTX): Likewise.
32778         (TUREAD): Likewise.
32779         (TUWRITE): Likewise.
32780         (TUEXEC): Likewise.
32781         (TGREAD): Likewise.
32782         (TGWRITE): Likewise.
32783         (TGEXEC): Likewise.
32784         (TOREAD): Likewise.
32785         (TOWRITE): Likewise.
32786         (TOEXEC): Likewise.
32787         [POSIX] (TSVTX): Expect constant.
32789 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32791         * Makefile (tests): Change dependencies to ....
32792         (tests-special): ... additions to this variable.
32793         (tests): Depend on $(tests-special).
32794         * Makerules (check-abi-list): New variable.
32795         (check-abi): Depend on $(check-abi-list).
32796         [$(subdir) = elf] (tests-special): Add
32797         $(objpfx)check-abi-libc.out.
32798         [$(build-shared) = yes && subdir] (tests-special): Add
32799         $(check-abi-list).
32800         [$(build-shared) = yes && subdir] (tests): Do not depend on
32801         check-abi.
32802         * Rules (tests): Depend on $(tests-special).
32803         (xtests): Depend on $(xtests-special).
32804         * catgets/Makefile (tests): Change dependencies to ....
32805         (tests-special): ... additions to this variable.
32806         * conform/Makefile (tests): Change dependencies to ....
32807         (tests-special): ... additions to this variable.
32808         * elf/Makefile (tests): Change dependencies to ....
32809         (tests-special): ... additions to this variable.
32810         * grp/Makefile (tests): Change dependencies to ....
32811         (tests-special): ... additions to this variable.
32812         * iconv/Makefile (xtests): Change dependencies to ....
32813         (xtests-special): ... additions to this variable.
32814         * iconvdata/Makefile (tests): Change dependencies to ....
32815         (tests-special): ... additions to this variable.
32816         * intl/Makefile (tests): Change dependencies to ....
32817         (tests-special): ... additions to this variable.  Also add
32818         $(objpfx)tst-gettext.out.
32819         * io/Makefile (tests): Change dependencies to ....
32820         (tests-special): ... additions to this variable.
32821         * libio/Makefile (tests): Change dependencies to ....
32822         (tests-special): ... additions to this variable.
32823         * malloc/Makefile (tests): Change dependencies to ....
32824         (tests-special): ... additions to this variable.
32825         * misc/Makefile (tests): Change dependencies to ....
32826         (tests-special): ... additions to this variable.
32827         * nptl/Makefile (tests): Change dependencies to ....
32828         (tests-special): ... additions to this variable.
32829         * nptl_db/Makefile (tests): Change dependencies to ....
32830         (tests-special): ... additions to this variable.
32831         * posix/Makefile (tests): Change dependencies to ....
32832         (tests-special): ... additions to this variable.
32833         (xtests): Change dependencies to ....
32834         (xtests-special): ... additions to this variable.
32835         * resolv/Makefile (tests): Change dependencies to ....
32836         (tests-special): ... additions to this variable.
32837         (xtests): Change dependencies to ....
32838         (xtests-special): ... additions to this variable.
32839         * stdio-common/Makefile (tests): Change dependencies to ....
32840         (tests-special): ... additions to this variable.
32841         (do-tst-unbputc): Remove target.
32842         (do-tst-printf): Likewise.
32843         * stdlib/Makefile (tests): Change dependencies to ....
32844         (tests-special): ... additions to this variable.
32845         * string/Makefile (tests): Change dependencies to ....
32846         (tests-special): ... additions to this variable.
32847         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32848         (tests-special): ... additions to this variable.
32850         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32851         whole file.
32852         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32853         whole file.
32854         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32855         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32857         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32858         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32859         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32860         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32861         * conform/data/libgen.h-data [XPG3]: Likewise.
32862         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32863         * conform/data/ndbm.h-data [XPG3]: Likewise.
32864         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32865         * conform/data/netdb.h-data [XPG3]: Likewise.
32866         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32867         * conform/data/poll.h-data [XPG3]: Likewise.
32868         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32869         * conform/data/strings.h-data [XPG3]: Likewise.
32870         * conform/data/stropts.h-data [XPG3]: Likewise.
32871         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32872         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32873         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32874         Likewise.
32875         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32876         * conform/data/sys/time.h-data [XPG3]: Likewise.
32877         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32878         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32879         * conform/data/sys/un.h-data [XPG3]: Likewise.
32880         * conform/data/syslog.h-data [XPG3]: Likewise.
32881         * conform/data/ucontext.h-data [XPG3]: Likewise.
32882         * conform/data/utmpx.h-data [XPG3]: Likewise.
32883         * conform/data/varargs.h-data [UNIX98]: Enable file.
32885         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32887         * math/libm-test.inc (struct test_f_f_data): Move expected results
32888         into structure for each rounding mode.
32889         (struct test_ff_f_data): Likewise.
32890         (struct test_ff_f_data_nexttoward): Likewise.
32891         (struct test_fi_f_data): Likewise.
32892         (struct test_fl_f_data): Likewise.
32893         (struct test_if_f_data): Likewise.
32894         (struct test_fff_f_data): Likewise.
32895         (struct test_c_f_data): Likewise.
32896         (struct test_f_f1_data): Likewise.
32897         (struct test_fF_f1_data): Likewise.
32898         (struct test_ffI_f1_data): Likewise.
32899         (struct test_c_c_data): Likewise.
32900         (struct test_cc_c_data): Likewise.
32901         (struct test_f_i_data): Likewise.
32902         (struct test_ff_i_data): Likewise.
32903         (struct test_f_l_data): Likewise.
32904         (struct test_f_L_data): Likewise.
32905         (struct test_fFF_11_data): Likewise.
32906         (RM_): New macro.
32907         (RM_FE_DOWNWARD): Likewise.
32908         (RM_FE_TONEAREST): Likewise.
32909         (RM_FE_TOWARDZERO): Likewise.
32910         (RM_FE_UPWARD): Likewise.
32911         (RUN_TEST_LOOP_f_f): Update references to expected results.
32912         (RUN_TEST_LOOP_2_f): Likewise.
32913         (RUN_TEST_LOOP_fff_f): Likewise.
32914         (RUN_TEST_LOOP_c_f): Likewise.
32915         (RUN_TEST_LOOP_f_f1): Likewise.
32916         (RUN_TEST_LOOP_fF_f1): Likewise.
32917         (RUN_TEST_LOOP_fI_f1): Likewise.
32918         (RUN_TEST_LOOP_ffI_f1): Likewise.
32919         (RUN_TEST_LOOP_c_c): Likewise.
32920         (RUN_TEST_LOOP_cc_c): Likewise.
32921         (RUN_TEST_LOOP_f_i): Likewise.
32922         (RUN_TEST_LOOP_f_i_tg): Likewise.
32923         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32924         (RUN_TEST_LOOP_f_b): Likewise.
32925         (RUN_TEST_LOOP_f_b_tg): Likewise.
32926         (RUN_TEST_LOOP_f_l): Likewise.
32927         (RUN_TEST_LOOP_f_L): Likewise.
32928         (RUN_TEST_LOOP_fFF_11): Likewise.
32929         * math/gen-libm-test.pl (parse_args): Output four copies of
32930         expected results for each test.
32932         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32933         (__ASSUME_UTIMES): Remove.
32934         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32935         (__ASSUME_UTIMES): Likewise.
32937         * math/gen-auto-libm-tests.c: Update comment on output format.
32938         (output_for_one_input_case): Generate before-rounding and
32939         after-rounding information as conditions on output flags not
32940         floating-point format.
32941         * math/auto-libm-test-out: Regenerated.
32942         * math/gen-libm-test.pl (cond_value): New function.
32943         (or_cond_value): Use cond_value.
32944         (generate_testfile): Handle conditional exceptions.
32946 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32948         * math/libm-test.inc (max_valid_error): New variable.
32949         (init_max_error): Take new argument specifying whether function
32950         results are exactly determined.  Set max_valid_error and bound
32951         other variables for errors based on this argument.
32952         (set_max_error): Do not record results above max_valid_error.
32953         (check_float_internal): Only accept errors of up to 0.5ulps if
32954         also at most max_valid_error.
32955         (START): Take new argument EXACT and pass it to init_max_error.
32956         (acos_test): Update call to START.
32957         (acos_test_tonearest): Likewise.
32958         (acos_test_towardzero): Likewise.
32959         (acos_test_downward): Likewise.
32960         (acos_test_upward): Likewise.
32961         (acosh_test): Likewise.
32962         (asin_test): Likewise.
32963         (asin_test_tonearest): Likewise.
32964         (asin_test_towardzero): Likewise.
32965         (asin_test_downward): Likewise.
32966         (asin_test_upward): Likewise.
32967         (asinh_test): Likewise.
32968         (atan_test): Likewise.
32969         (atanh_test): Likewise.
32970         (atan2_test): Likewise.
32971         (cabs_test): Likewise.
32972         (cacos_test): Likewise.
32973         (cacosh_test): Likewise.
32974         (carg_test): Likewise.
32975         (casin_test): Likewise.
32976         (casinh_test): Likewise.
32977         (catan_test): Likewise.
32978         (catanh_test): Likewise.
32979         (cbrt_test): Likewise.
32980         (ccos_test): Likewise.
32981         (ccosh_test): Likewise.
32982         (ceil_test): Likewise.
32983         (cexp_test): Likewise.
32984         (cimag_test): Likewise.
32985         (clog_test): Likewise.
32986         (clog10_test): Likewise.
32987         (conj_test): Likewise.
32988         (copysign_test): Likewise.
32989         (cos_test): Likewise.
32990         (cos_test_tonearest): Likewise.
32991         (cos_test_towardzero): Likewise.
32992         (cos_test_downward): Likewise.
32993         (cos_test_upward): Likewise.
32994         (cosh_test): Likewise.
32995         (cosh_test_tonearest): Likewise.
32996         (cosh_test_towardzero): Likewise.
32997         (cosh_test_downward): Likewise.
32998         (cosh_test_upward): Likewise.
32999         (cpow_test): Likewise.
33000         (cproj_test): Likewise.
33001         (creal_test): Likewise.
33002         (csin_test): Likewise.
33003         (csinh_test): Likewise.
33004         (csqrt_test): Likewise.
33005         (ctan_test): Likewise.
33006         (ctan_test_tonearest): Likewise.
33007         (ctan_test_towardzero): Likewise.
33008         (ctan_test_downward): Likewise.
33009         (ctan_test_upward): Likewise.
33010         (ctanh_test): Likewise.
33011         (ctanh_test_tonearest): Likewise.
33012         (ctanh_test_towardzero): Likewise.
33013         (ctanh_test_downward): Likewise.
33014         (ctanh_test_upward): Likewise.
33015         (erf_test): Likewise.
33016         (erfc_test): Likewise.
33017         (exp_test): Likewise.
33018         (exp_test_tonearest): Likewise.
33019         (exp_test_towardzero): Likewise.
33020         (exp_test_downward): Likewise.
33021         (exp_test_upward): Likewise.
33022         (exp10_test): Likewise.
33023         (exp10_test_tonearest): Likewise.
33024         (exp10_test_towardzero): Likewise.
33025         (exp10_test_downward): Likewise.
33026         (exp10_test_upward): Likewise.
33027         (pow10_test): Likewise.
33028         (exp2_test): Likewise.
33029         (expm1_test): Likewise.
33030         (expm1_test_tonearest): Likewise.
33031         (expm1_test_towardzero): Likewise.
33032         (expm1_test_downward): Likewise.
33033         (expm1_test_upward): Likewise.
33034         (fabs_test): Likewise.
33035         (fdim_test): Likewise.
33036         (floor_test): Likewise.
33037         (fma_test): Likewise.
33038         (fma_test_towardzero): Likewise.
33039         (fma_test_downward): Likewise.
33040         (fma_test_upward): Likewise.
33041         (fmax_test): Likewise.
33042         (fmin_test): Likewise.
33043         (fmod_test): Likewise.
33044         (fpclassify_test): Likewise.
33045         (frexp_test): Likewise.
33046         (hypot_test): Likewise.
33047         (ilogb_test): Likewise.
33048         (isfinite_test): Likewise.
33049         (finite_test): Likewise.
33050         (isgreater_test): Likewise.
33051         (isgreaterequal_test): Likewise.
33052         (isinf_test): Likewise.
33053         (isless_test): Likewise.
33054         (islessequal_test): Likewise.
33055         (islessgreater_test): Likewise.
33056         (isnan_test): Likewise.
33057         (isnormal_test): Likewise.
33058         (issignaling_test): Likewise.
33059         (isunordered_test): Likewise.
33060         (j0_test): Likewise.
33061         (j1_test): Likewise.
33062         (jn_test): Likewise.
33063         (ldexp_test): Likewise.
33064         (lgamma_test): Likewise.
33065         (gamma_test): Likewise.
33066         (lrint_test): Likewise.
33067         (lrint_test_tonearest): Likewise.
33068         (lrint_test_towardzero): Likewise.
33069         (lrint_test_downward): Likewise.
33070         (lrint_test_upward): Likewise.
33071         (llrint_test): Likewise.
33072         (llrint_test_tonearest): Likewise.
33073         (llrint_test_towardzero): Likewise.
33074         (llrint_test_downward): Likewise.
33075         (llrint_test_upward): Likewise.
33076         (log_test): Likewise.
33077         (log10_test): Likewise.
33078         (log1p_test): Likewise.
33079         (log2_test): Likewise.
33080         (logb_test): Likewise.
33081         (logb_test_downward): Likewise.
33082         (lround_test): Likewise.
33083         (llround_test): Likewise.
33084         (modf_test): Likewise.
33085         (nearbyint_test): Likewise.
33086         (nextafter_test): Likewise.
33087         (nexttoward_test): Likewise.
33088         (pow_test): Likewise.
33089         (pow_test_tonearest): Likewise.
33090         (pow_test_towardzero): Likewise.
33091         (pow_test_downward): Likewise.
33092         (pow_test_upward): Likewise.
33093         (remainder_test): Likewise.
33094         (drem_test): Likewise.
33095         (remainder_test_tonearest): Likewise.
33096         (drem_test_tonearest): Likewise.
33097         (remainder_test_towardzero): Likewise.
33098         (drem_test_towardzero): Likewise.
33099         (remainder_test_downward): Likewise.
33100         (drem_test_downward): Likewise.
33101         (remainder_test_upward): Likewise.
33102         (drem_test_upward): Likewise.
33103         (remquo_test): Likewise.
33104         (rint_test): Likewise.
33105         (rint_test_tonearest): Likewise.
33106         (rint_test_towardzero): Likewise.
33107         (rint_test_downward): Likewise.
33108         (rint_test_upward): Likewise.
33109         (round_test): Likewise.
33110         (scalb_test): Likewise.
33111         (scalbn_test): Likewise.
33112         (scalbln_test): Likewise.
33113         (signbit_test): Likewise.
33114         (sin_test): Likewise.
33115         (sin_test_tonearest): Likewise.
33116         (sin_test_towardzero): Likewise.
33117         (sin_test_downward): Likewise.
33118         (sin_test_upward): Likewise.
33119         (sincos_test): Likewise.
33120         (sinh_test): Likewise.
33121         (sinh_test_tonearest): Likewise.
33122         (sinh_test_towardzero): Likewise.
33123         (sinh_test_downward): Likewise.
33124         (sinh_test_upward): Likewise.
33125         (sqrt_test): Likewise.
33126         (sqrt_test_tonearest): Likewise.
33127         (sqrt_test_towardzero): Likewise.
33128         (sqrt_test_downward): Likewise.
33129         (sqrt_test_upward): Likewise.
33130         (tan_test): Likewise.
33131         (tan_test_tonearest): Likewise.
33132         (tan_test_towardzero): Likewise.
33133         (tan_test_downward): Likewise.
33134         (tan_test_upward): Likewise.
33135         (tanh_test): Likewise.
33136         (tgamma_test): Likewise.
33137         (trunc_test): Likewise.
33138         (y0_test): Likewise.
33139         (y1_test): Likewise.
33140         (yn_test): Likewise.
33141         (significand_test): Likewise.
33143         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33144         individual tests in comment.
33145         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33146         (prev_max_error): New variable.
33147         (prev_real_max_error): Likewise.
33148         (prev_imag_max_error): Likewise.
33149         (compare_ulp_data): Don't refer to test names in comment.
33150         (find_test_ulps): Remove function.
33151         (find_function_ulps): Likewise.
33152         (find_complex_function_ulps): Likewise.
33153         (init_max_error): Take function name as argument.  Look up ulps
33154         for that function.
33155         (print_ulps): Remove function.
33156         (print_max_error): Use prev_max_error instead of calling
33157         find_function_ulps.
33158         (print_complex_max_error): Use prev_real_max_error and
33159         prev_imag_max_error instead of calling find_complex_function_ulps.
33160         (check_float_internal): Take max_ulp parameter instead of calling
33161         find_test_ulps.  Don't call print_ulps.
33162         (check_float): Update call to check_float_internal.
33163         (check_complex): Update calls to check_float_internal.
33164         (START): Pass argument to init_max_error.
33165         * math/gen-libm-test.pl (%results): Don't include "kind"
33166         information.
33167         (parse_ulps): Don't handle ulps of individual tests.
33168         (print_ulps_file): Likewise.
33169         (output_ulps): Likewise.
33170         * math/README.libm-test: Update.
33171         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33172         individual tests.
33173         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33174         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33175         * sysdeps/arm/libm-test-ulps: Likewise.
33176         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33177         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33178         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33179         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33180         * sysdeps/microblaze/libm-test-ulps: Likewise.
33181         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33183         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33184         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33185         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33186         * sysdeps/sh/libm-test-ulps: Likewise.
33187         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33188         * sysdeps/tile/libm-test-ulps: Likewise.
33189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33191 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33193         * math/libm-test.inc (print_complex_max_error): Check separately
33194         whether real and imaginary errors are within allowed range and
33195         pass 0 to print_complex_function_ulps instead of value within
33196         allowed range.
33198 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33200         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33201         formatting.
33202         (get_handles_fopen): Likewise.
33203         (do_write_test): Likewise.
33205         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33207         * libio/fileops.c (do_ftell): Use cached offset when
33208         available.
33209         * libio/iofwide.c (do_ftell_wide): Likewise.
33210         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33211         _IO_file_attach.
33212         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33214         [BZ #16532]
33215         * libio/libioP.h (get_file_offset): New function.
33216         * libio/fileops.c (get_file_offset): Likewise.
33217         (do_ftell): Likewise.
33218         (_IO_new_file_seekoff): Split out ftell logic.
33219         * libio/wfileops.c (do_ftell_wide): Likewise.
33220         (_IO_wfile_seekoff): Split out ftell logic.
33221         * libio/tst-ftell-active-handler.c: New test case.
33222         * libio/Makefile (tests): Add it.
33224 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33226         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33227         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33229 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33231         [BZ #16639]
33232         * nscd/connections.c (nscd_init): Call do_exit.
33233         (start_threads): Call do_exit and notify_parent.
33234         (begin_drop_privileges): Call do_exit.
33235         (finish_drop_privileges): Likewise.
33236         * nscd/selinux.c (preserve_capabilities): Likewise.
33237         (install_real_capabilities): Likewise.
33238         (nscd_selinux_enabled): Likewise.
33239         (avc_create_thread): Likewise.
33240         (avc_alloc_lock): Likewise.
33241         (nscd_avc_init): Likewise.
33242         * nscd/nscd.c (parent_fd): New static variable.
33243         (main): Create a pipe between parent and child processes.
33244         Skip closing parent_fd.
33245         (monitor_child): New function.
33246         (do_exit): Likewise.
33247         (notify_parent): Likewise.
33248         * nscd/nscd.h (notify_parent): Likewise.
33249         (do_exit): Likewise.
33251 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33253         * malloc/malloc.c (__libc_calloc): Revert last change.
33255 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33259 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33261         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33263         implementation.
33264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33265         (__libc_ifunc_impl_list): Likewise.
33266         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33267         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33268         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33269         * string/strrchr.c: Define STRRCHR.
33271 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33273         * benchtest/bench-strtok.c (simple_strtok): Delete.
33274         (strtok_string): Use as benchmark.
33275         * string/strtok (STRTOK): New macro.
33277 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33279         * manual/threads.texi: Add header and standard comments to all
33280         functions.
33282         * elf/dl-lookup.c (check_match): New function.
33283         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33284         (do_lookup_x): Remove nested function check_match. Use non-nested
33285         function check_match.
33287 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33289         * csu/Makefile (generated, before-compile): Use += rather than =.
33290         * catgets/Makefile (generated, generated-dirs): Likewise.
33291         * debug/Makefile (generated): Likewise.
33292         * dlfcn/Makefile (generated): Likewise.
33293         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33294         * iconvdata/Makefile (before-compile, generated): Likewise.
33295         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33296         * libio/Makefile (generated): Likewise.
33297         * malloc/Makefile (generated): Likewise.
33298         * manual/Makefile (generated, generated-dirs): Likewise.
33299         * misc/Makefile (generated): Likewise.
33300         * posix/Makefile (generated): Likewise.
33301         * resolv/Makefile (generated): Likewise.
33302         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33303         * timezone/Makefile (generated, generated-dirs): Likewise.
33305         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33307 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33310         power8 implementation.
33311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33312         file: POWER8 llround ifunc implementation.
33313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33314         (__lllround): Add POWER8 implementation.
33315         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33316         POWER8 llround implementation.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33319         power8 implementation.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33321         file: POWER8 llrint ifunc implementation.
33322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33323         Add POWER8 implementation.
33324         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33325         POWER8 llrint implementation.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33328         power8 implementation.
33329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33330         file: POWER8 finite ifunc implementation.
33331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33332         Add POWER8 implementation.
33333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33334         Likewise.
33335         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33336         POWER8 finite implementation.
33337         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33340         power8 implementation.
33341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33342         file: POWER8 isinf ifunc implementation.
33343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33344         POWER8 implementation.
33345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33346         Likewise.
33347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33348         isinf implementation.
33349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33351         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33352         (INIT_ARCH): Add hwcap2 initialization.
33353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33354         power8 implementation.
33355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33356         file: POWER8 isnan ifunc implementation.
33357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33358         POWER8 implementation.
33359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33360         Likewise.
33361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33362         isnan implementation.
33363         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33365 2014-02-27  Joey Ye  <joey.ye@arm.com>
33367         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33368         (_FP_NANFRAC_Q): Set to zero.
33370 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33372         [BZ #16623]
33373         * math/auto-libm-test-in: New test inputs.
33374         * math/auto-libm-test-out: Regenerate.
33375         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33376         and DA.
33377         (__cos): Likewise.
33378         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33380 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33382         * scripts/evaluate-test.sh: Take new argument indicating whether
33383         failure is expected.
33384         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33385         indicating whether failure is expected.
33386         * conform/Makefile (test-xfail-run-conformtest): New variable.
33387         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33388         level.
33389         * posix/Makefile (test-xfail-annexc): New variable.
33390         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33392 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33394         * argp/Makefile: Include Makeconfig immediately after defining
33395         subdir.
33396         * assert/Makefile: Likewise.
33397         * benchtests/Makefile: Likewise.
33398         * catgets/Makefile: Likewise.
33399         * conform/Makefile: Likewise.
33400         * crypt/Makefile: Likewise.
33401         * csu/Makefile: Likewise.
33402         (all): Remove target.
33403         * ctype/Makefile: Include Makeconfig immediately after defining
33404         subdir.
33405         * debug/Makefile: Likewise.
33406         * dirent/Makefile: Likewise.
33407         * dlfcn/Makefile: Likewise.
33408         * gmon/Makefile: Likewise.
33409         * gnulib/Makefile: Likewise.
33410         * grp/Makefile: Likewise.
33411         * gshadow/Makefile: Likewise.
33412         * hesiod/Makefile: Likewise.
33413         * hurd/Makefile: Likewise.
33414         (all): Remove target.
33415         * iconvdata/Makefile: Include Makeconfig immediately after
33416         defining subdir.
33417         * inet/Makefile: Likewise.
33418         * intl/Makefile: Likewise.
33419         * io/Makefile: Likewise.
33420         * libio/Makefile: Likewise.
33421         (all): Remove target.
33422         * locale/Makefile: Include Makeconfig immediately after defining
33423         subdir.
33424         * login/Makefile: Likewise.
33425         * mach/Makefile: Likewise.
33426         (all): Remove target.
33427         * malloc/Makefile: Include Makeconfig immediately after defining
33428         subdir.
33429         (all): Remove target.
33430         * manual/Makefile: Include Makeconfig immediately after defining
33431         subdir.
33432         * math/Makefile: Likewise.
33433         * misc/Makefile: Likewise.
33434         * nis/Makefile: Likewise.
33435         * nss/Makefile: Likewise.
33436         * po/Makefile: Likewise.
33437         (all): Remove target.
33438         * posix/Makefile: Include Makeconfig immediately after defining
33439         subdir.
33440         * pwd/Makefile: Likewise.
33441         * resolv/Makefile: Likewise.
33442         * resource/Makefile: Likewise.
33443         * rt/Makefile: Likewise.
33444         * setjmp/Makefile: Likewise.
33445         * shadow/Makefile: Likewise.
33446         * signal/Makefile: Likewise.
33447         * socket/Makefile: Likewise.
33448         * soft-fp/Makefile: Likewise.
33449         * stdio-common/Makefile: Likewise.
33450         * stdlib/Makefile: Likewise.
33451         * streams/Makefile: Likewise.
33452         * string/Makefile: Likewise.
33453         * sunrpc/Makefile: Likewise.
33454         (all): Remove target.
33455         * sysvipc/Makefile: Include Makeconfig immediately after defining
33456         subdir.
33457         * termios/Makefile: Likewise.
33458         * time/Makefile: Likewise.
33459         * timezone/Makefile: Likewise.
33460         (all): Remove target.
33461         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33462         subdir.
33463         * wctype/Makefile: Likewise.
33465 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33467         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33468         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33469         (libc_feholdexcept_setround_mips): Ditto.
33470         (libc_feholdsetround): New.
33471         (libc_feholdsetroundf): New.
33472         (libc_feholdsetroundl): New.
33473         (libc_feupdateenv_test_mips): New.
33474         (libc_feupdateenv_test): New.
33475         (libc_feupdateenv_testf): New.
33476         (libc_feupdateenv_testl): New.
33477         (libc_feresetround): New.
33478         (libc_feresetroundf): New.
33479         (libc_feresetroundl): New.
33480         (libc_fetestexcept_mips): New.
33481         (libc_fetestexcept): New.
33482         (libc_fetestexceptf): New.
33483         (libc_fetestexceptl): New.
33484         (HAVE_RM_CTX): New.
33485         (libc_feholdexcept_setround_mips_ctx): New.
33486         (libc_feholdexcept_setround_ctx): New.
33487         (libc_feholdexcept_setroundf_ctx): New.
33488         (libc_feholdexcept_setroundl_ctx): New.
33489         (libc_fesetenv_mips_ctx): New.
33490         (libc_fesetenv_ctx): New.
33491         (libc_fesetenv_ctxf): New.
33492         (libc_fesetenv_ctxl): New.
33493         (libc_feupdateenv_mips_ctx): New.
33494         (libc_feupdateenv_ctx): New.
33495         (libc_feupdateenvf_ctx): New.
33496         (libc_feupdateenvl_ctx): New.
33497         (libc_feholdsetround_mips_ctx): New.
33498         (libc_feholdsetround_ctx): New.
33499         (libc_feholdsetroundf_ctx): New.
33500         (libc_feholdsetroundl_ctx): New.
33501         (libc_feresetround_mips_ctx): New.
33502         (libc_feresetround_ctx): New.
33503         (libc_feresetroundf_ctx): New.
33504         (libc_feresetroundl_ctx): New.
33506 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33508         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33510         * manual/ipc.texi: New file.
33511         * manual/Makefile (chapters): Add ipc.
33512         * manual/job.texi: Add "Inter-Process Communication" to next.
33513         * manual/process.texi: Add "Inter-Process Communication" to prev.
33515 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33519 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33521         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33523         * manual/arith.texi: Fix spaces after sentences.
33524         * manual/charset.texi: Likewise.
33525         * manual/errno.texi: Likewise.
33526         * manual/install.texi: Likewise.
33527         * manual/llio.texi: Likewise.
33528         * manual/locale.texi: Likewise.
33529         * manual/maint.texi: Likewise.
33530         * manual/math.texi: Likewise.
33531         * manual/memory.texi: Likewise.
33532         * manual/message.texi: Likewise.
33533         * manual/probes.texi: Likewise.
33534         * manual/resource.texi: Likewise.
33535         * manual/signal.texi: Likewise.
33536         * manual/socket.texi: Likewise.
33537         * manual/stdio.texi: Likewise.
33538         * manual/string.texi: Likewise.
33539         * manual/time.texi: Likewise.
33540         * manual/users.texi: Likewise.
33542 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33544         [BZ #16632]
33545         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33546         _DEFAULT_SOURCE is defined.
33548 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33549             Carlos O'Donell  <carlos@redhat.com>
33551         [BZ #16613]
33552         * elf/dl-tls.c (_dl_count_modids): New function.
33553         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33554         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33555         audit library and increment generation counter.
33556         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33557         * elf/tst-audit9.c: New file.
33558         * elf/tst-auditmod9a.c: New file.
33559         * elf/tst-auditmod9b.c: New file.
33560         * elf/Makefile: Add rules to build and run tst-audit9.
33562 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33564         [BZ #15347]
33565         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33567 2014-02-25  Will Newton  <will.newton@linaro.org>
33569         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33570         (__longjmp): Restore sp and lr before restoring callee
33571         saved registers.  Add longjmp and longjmp_target
33572         SystemTap probe point.
33573         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33574         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33575         Define to zero to match jmpbuf layout.
33576         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33577         (__sigsetjmp): Save sp and lr before saving callee
33578         saved registers.  Add setjmp SystemTap probe point.
33580 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33582         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33584 2014-02-24  Andreas Schwab  <schwab@suse.de>
33586         [BZ #15804]
33587         * elf/pldd.c (wait_for_ptrace_stop): New function.
33588         (main): Call it after attaching.
33590 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33592         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33593         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33594         Versions files is now verboten.
33595         * hurd/Versions (libc: GLIBC_2.0):
33596         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33597         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33598         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33599         * mach/Versions: Likewise.
33601         * csu/Versions: Remove unused %include.
33602         * resolv/Versions: Likewise.
33604 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33606         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33607         ($(objpfx)check-local-headers.out): Likewise.
33608         ($(objpfx)begin-end-check.out): Likewise.
33609         * Makerules (check-abi-%.out): Likewise.
33610         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33611         ($(objpfx)test2.cat): Likewise.
33612         ($(objpfx)de/libc.cat): Likewise.
33613         ($(objpfx)test-gencat.out): Likewise.
33614         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33615         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33616         ($(objpfx)noload-mem): Likewise.
33617         ($(objpfx)tst-pathopt.out): Likewise.
33618         ($(objpfx)tst-rtld-load-self.out): Likewise.
33619         ($(objpfx)tst-array1-cmp.out): Likewise.
33620         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33621         ($(objpfx)tst-array2-cmp.out): Likewise.
33622         ($(objpfx)tst-array3-cmp.out): Likewise.
33623         ($(objpfx)tst-array4-cmp.out): Likewise.
33624         ($(objpfx)tst-array5-cmp.out): Likewise.
33625         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33626         ($(objpfx)check-textrel.out): Likewise.
33627         ($(objpfx)check-execstack.out): Likewise.
33628         ($(objpfx)check-localplt.out): Likewise.
33629         ($(objpfx)order2-cmp.out): Likewise.
33630         ($(objpfx)tst-leaks1-mem): Likewise.
33631         ($(objpfx)tst-leaks1-static-mem): Likewise.
33632         ($(objpfx)tst-initorder-cmp.out): Likewise.
33633         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33634         ($(objpfx)tst-unused-dep.out): Likewise.
33635         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33636         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33637         * iconv/Makefile (test-iconvconfig): Likewise.
33638         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33639         ($(objpfx)iconv-test.out): Likewise.
33640         ($(objpfx)tst-tables.out): Likewise.
33641         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33642         ($(objpfx)tst-gettext.out): Likewise.
33643         ($(objpfx)tst-translit.out): Likewise.
33644         ($(objpfx)tst-gettext2.out): Likewise.
33645         ($(objpfx)tst-gettext4.out): Likewise.
33646         ($(objpfx)tst-gettext6.out): Likewise.
33647         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33648         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33649         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33650         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33651         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33652         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33653         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33654         ($(objpfx)wordexp-tst.out): Likewise.
33655         ($(objpfx)annexc.out): Likewise.
33656         ($(objpfx)tst-fnmatch-mem): Likewise.
33657         ($(objpfx)bug-regex2-mem): Likewise.
33658         ($(objpfx)bug-regex14-mem): Likewise.
33659         ($(objpfx)bug-regex21-mem): Likewise.
33660         ($(objpfx)bug-regex31-mem): Likewise.
33661         ($(objpfx)tst-vfork3-mem): Likewise.
33662         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33663         ($(objpfx)tst-pcre-mem): Likewise.
33664         ($(objpfx)tst-boost-mem): Likewise.
33665         ($(objpfx)tst-getconf.out): Likewise.
33666         ($(objpfx)bug-ga2-mem): Likewise.
33667         ($(objpfx)bug-glob2-mem): Likewise.
33668         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33669         ($(objpfx)mtrace-tst-leaks2): Likewise.
33670         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33671         ($(objpfx)tst-printf.out): Likewise.
33672         ($(objpfx)tst-setvbuf1.out): Likewise.
33673         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33674         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33675         ($(objpfx)tst-fmtmsg.out): Likewise.
33676         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33677         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33679         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33680         * bits/sigaction.h [__USE_MISC]: Likewise.
33681         * bits/waitstatus.h: Update #endif comments.
33682         * ctype/ctype.h: Likewise.
33683         * dirent/dirent.h: Likewise.
33684         [__USE_MISC]: Remove redundant conditionals.
33685         * grp/grp.h: Update #endif comments.
33686         [__USE_GNU]: Remove redundant conditionals.
33687         [__USE_MISC]: Likewise.
33688         * inet/netinet/in.h [__USE_GNU]: Likewise.
33689         * io/sys/stat.h [__USE_MISC]: Likewise.
33690         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33691         * libio/bits/stdio.h: Update #endif comments.
33692         [__USE_MISC]: Remove redundant conditionals.
33693         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33694         * libio/stdio.h: Update #endif comments.
33695         [__USE_MISC]: Remove redundant conditionals.
33696         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33697         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33698         * math/math.h: Update #else and #endif comments.
33699         [__USE_MISC]: Remove redundant conditionals.
33700         * misc/sys/uio.h: Update #endif comments.
33701         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33702         * posix/glob.h [__USE_MISC]: Likewise.
33703         * posix/sys/types.h: Update #endif comments.
33704         [__USE_MISC]: Remove redundant conditionals.
33705         * posix/sys/wait.h: Update #endif comments.
33706         [__USE_MISC]: Remove redundant conditionals.
33707         * posix/unistd.h: Update #endif comments.
33708         [__USE_MISC]: Remove redundant conditionals.
33709         * pwd/pwd.h [__USE_GNU]: Likewise.
33710         [__USE_MISC]: Likewise.
33711         * resolv/netdb.h [__USE_GNU]: Likewise.
33712         * signal/signal.h: Update #endif comments.
33713         [__USE_MISC]: Remove redundant conditionals.
33714         * stdlib/stdlib.h: Update #else and #endif comments.
33715         [__USE_MISC]: Remove redundant conditionals.
33716         [__USE_GNU]: Likewise.
33717         * string/bits/string2.h [__USE_MISC]: Likewise.
33718         * string/string.h: Update #endif comments.
33719         [__USE_MISC]: Remove redundant conditionals.
33720         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33721         Likewise.
33722         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33723         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33724         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33725         Likewise.
33726         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33727         Likewise.
33728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33729         comments.
33730         [__USE_MISC]: Remove redundant conditionals.
33731         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33732         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33733         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33734         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33735         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33736         Likewise.
33737         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33738         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33739         Likewise.
33740         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33741         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33742         Likewise.
33743         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33744         Likewise.
33745         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33746         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33747         Likewise.
33748         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33749         Likewise.
33750         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33751         * sysdeps/x86/bits/string.h: Update #endif comments.
33752         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33753         conditionals.
33754         * time/sys/time.h: Update #endif comments.
33755         * time/time.h: Likewise.
33756         [__USE_MISC]: Remove redundant conditionals.
33758 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33760         [BZ #16600]
33761         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33763 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33765         * Versions.def (librt): Add GLIBC_2.17.
33767 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33769         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33770         synonym for _SYS_AUXV_H to allow direct inclusion.
33771         * sysdeps/sparc/bits/hwcap.h: Likewise.
33772         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33773         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33774         * sysdeps/sparc/sysdep.h: Likewise.
33776 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33778         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33780 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33782         * benchtests/bench-strrchr.c: Print length instead of position.
33784 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33786         [BZ #16611]
33787         * sysdeps/unix/sysv/linux/kernel-features.h
33788         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33789         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33790         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33791         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33792         Likewise.
33793         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33794         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33795         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33796         (__ASSUME_SENDMMSG): Define instead of using previous
33797         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33798         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33799         (__ASSUME_SENDMMSG_SYSCALL): Define.
33800         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33801         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33802         Likewise.
33803         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33804         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33805         Likewise.
33806         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33807         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33808         Likewise.
33809         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33810         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33811         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33812         [__ASSUME_SENDMMSG]: Change conditionals to
33813         [__ASSUME_SENDMMSG_SOCKETCALL].
33814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33815         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33816         Define.
33817         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33818         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33819         Likewise.
33820         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33821         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33822         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33823         [!__ASSUME_SENDMMSG]: Change conditional to
33824         [!__ASSUME_SENDMMSG_SOCKETCALL].
33825         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33826         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33827         Define.
33829         [BZ #16610]
33830         * sysdeps/unix/sysv/linux/kernel-features.h
33831         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33832         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33833         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33834         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33835         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33836         [__i386__ || __sparc__]
33837         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33838         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33839         (__ASSUME_RECVMMSG): Define instead of using previous
33840         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33842         (__ASSUME_RECVMMSG_SYSCALL): Define.
33843         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33844         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33845         Likewise.
33846         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33847         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33848         Likewise.
33849         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33851         Likewise.
33852         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33853         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33854         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33855         [__ASSUME_RECVMMSG]: Change condition to
33856         [__ASSUME_RECVMMSG_SOCKETCALL].
33857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33858         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33859         Define.
33860         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33861         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33863         Likewise.
33864         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33865         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33866         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33867         [!__ASSUME_RECVMMSG]: Change condition to
33868         [!__ASSUME_RECVMMSG_SOCKETCALL].
33869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33870         (__ASSUME_RECVMMSG_SYSCALL): Define.
33872         [BZ #16609]
33873         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33874         __powerpc__ || __s390__ || __sh__ || __sparc__]
33875         (__ASSUME_SOCKETCALL): Define.
33876         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33877         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33878         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33879         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33880         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33881         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33882         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33883         (__ASSUME_ACCEPT4): Define instead of using previous
33884         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33885         __powerpc__ || __sparc__ || __s390__)] condition.
33886         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33887         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33888         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33889         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33890         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33891         [!__ASSUME_ACCEPT4]: Change condition to
33892         [!__ASSUME_ACCEPT4_SOCKETCALL].
33893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33894         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33895         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33897         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33898         __ASSUME_ACCEPT4_SYSCALL.
33899         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33900         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33901         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33902         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33903         __ASSUME_ACCEPT4_SYSCALL.
33904         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33905         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33906         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33907         [__ASSUME_ACCEPT4]: Change condition to
33908         [__ASSUME_ACCEPT4_SOCKETCALL].
33909         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33910         (__ASSUME_SOCKETCALL): Define.
33911         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33913         (__ASSUME_SOCKETCALL): Define.
33914         (__ASSUME_ACCEPT4): Remove.
33915         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33916         Define.
33917         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33918         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33919         Likewise.
33920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33921         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33923         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33924         macro.
33925         (HWCAP_ARM_LPAE): Likewise.
33926         (HWCAP_ARM_EVTSTRM): Likewise.
33927         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33928         Add vpfd32, lpae and evtstrm.
33929         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33930         Increase to 22.
33932 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33934         * math/auto-libm-test-in: Add tests of clog10.
33935         * math/auto-libm-test-out: Regenerated.
33936         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33937         * sysdeps/i386/fpu/libm-test-ulps: Update.
33938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940 2014-02-18  Andreas Schwab  <schwab@suse.de>
33942         [BZ #16574]
33943         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33944         Store non-zero if the second buffer was newly allocated.
33945         (send_dg): Likewise.
33946         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33947         to send_vc and send_dg.
33948         (res_nsend): Pass NULL for ansp2_malloced.
33949         * resolv/res_query.c (__libc_res_nquery): Add parameter
33950         answerp2_malloced and pass it down to __libc_res_nsend.
33951         (res_nquery): Pass additional NULL to __libc_res_nquery.
33952         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33953         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33954         second answer buffer if answerp2_malloced was set.
33955         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33956         (__libc_res_nquerydomain): Add parameter
33957         answerp2_malloced and pass it down to __libc_res_nquery.
33958         (res_nquerydomain): Pass additional NULL to
33959         __libc_res_nquerydomain.
33960         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33961         additional NULL to __libc_res_nsend and __libc_res_nquery.
33962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33963         additional NULL to __libc_res_nsearch.
33964         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33965         parameter of __libc_res_nsearch to check for separately allocated
33966         second buffer.
33967         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33968         __libc_res_nquery.
33969         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33970         additional NULL to __libc_res_nquery.
33971         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33972         __libc_res_nsearch.
33973         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33974         * include/resolv.h: Update prototypes of __libc_res_nquery,
33975         __libc_res_nsearch, __libc_res_nsend.
33977 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33979         * math/auto-libm-test-in: Add tests of fma.
33980         * math/auto-libm-test-out: Regenerated.
33981         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33982         (fma_towardzero_test_data): Likewise.
33983         (fma_downward_test_data): Likewise.
33984         (fma_upward_test_data): Likewise.
33985         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33986         mpc_mode.
33987         (rounding_modes): Add values for new field.
33988         (func_calc_method): Add value mpfr_fff_f.
33989         (func_calc_desc): Add mpfr_fff_f union field.
33990         (test_function): Add field exact_args.
33991         (FUNC): Add macro argument EXACT_ARGS.
33992         (FUNC_mpfr_f_f): Update call to FUNC.
33993         (FUNC_mpfr_f_f): Likewise.
33994         (FUNC_mpfr_ff_f): Likewise.
33995         (FUNC_mpfr_if_f): Likewise.
33996         (FUNC_mpc_c_f): Likewise.
33997         (FUNC_mpc_c_c): Likewise.
33998         (test_functions): Add fma.  Update calls to FUNC.
33999         (handle_input_arg): Add argument exact_args.
34000         (add_test): Update call to handle_input_arg.
34001         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34002         (output_for_one_input_case): Update call to calc_generic_results.
34003         Recalculate exact zero results in each rounding mode.
34005         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34006         non-negative before setting low bit.
34007         * math/auto-libm-test-in: Mark one asin test possibly having
34008         spurious underflow.
34009         * math/auto-libm-test-out: Regenerated.
34010         * sysdeps/i386/fpu/libm-test-ulps: Update.
34011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34013 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34015         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34016         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34017         ports/sysdeps/unix/sysv/linux/microblaze.
34018         * README: Add missing listing for microblaze*-*-linux-gnu.
34020 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34022         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34023         duplicate code
34025 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34027         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34028         * sysdeps/unix/sysv/linux/ia64: Move directory from
34029         ports/sysdeps/unix/sysv/linux/ia64.
34030         * README: Update listing for ia64-*-linux-gnu.
34032 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34033             Joseph Myers  <joseph@codesourcery.com>
34035         * Makeconfig (test-name): New variable.
34036         (evaluate-test): Likewise.
34037         * Makerules (do-test-clean): Remove .test-result files.
34038         (common-mostlyclean): Likewise.
34039         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34040         * scripts/evaluate-test.sh: New file.
34042 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34044         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34045         separate $(objpfx)tst-fopenloc-cmp.out and
34046         $(objpfx)tst-fopenloc-mem.out targets.
34047         (tests): Update dependencies.
34048         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34049         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34050         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34051         (tst-rxspencer-no-utf8-ARGS): New variable.
34052         (tst-rxspencer-no-utf8-ENV): Likewise.
34053         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34054         instead of $(objpfx)tst-rxspencer-mem.
34055         ($(objpfx)tst-rxspencer-mem): Change target to
34056         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34057         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34058         * posix/tst-rxspencer-no-utf8.c: New file.
34060         * elf/Makefile ($(objpfx)order.out): Remove rule.
34061         [$(run-built-tests) = yes] (tests): Depend on
34062         $(objpfx)order-cmp.out.
34063         ($(objpfx)order-cmp.out): New rule.
34064         [$(run-built-tests) = yes] (tests): Depend on
34065         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34066         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34067         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34068         $(objpfx)tst-array5-static-cmp.out.
34069         ($(objpfx)tst-array1.out): Remove rule.
34070         ($(objpfx)tst-array1-cmp.out): New rule.
34071         ($(objpfx)tst-array1-static.out): Remove rule.
34072         ($(objpfx)tst-array1-static-cmp.out): New rule.
34073         ($(objpfx)tst-array2.out): Remove rule.
34074         ($(objpfx)tst-array2-cmp.out): New rule.
34075         ($(objpfx)tst-array3.out): Remove rule.
34076         ($(objpfx)tst-array3-cmp.out): New rule.
34077         ($(objpfx)tst-array4.out): Remove rule.
34078         ($(objpfx)tst-array4-cmp.out): New rule.
34079         ($(objpfx)tst-array5.out): Remove rule.
34080         ($(objpfx)tst-array5-cmp.out): New rule.
34081         ($(objpfx)tst-array5-static.out): Remove rule.
34082         ($(objpfx)tst-array5-static-cmp.out): New rule.
34083         [$(run-built-tests) = yes] (tests): Depend on
34084         $(objpfx)order2-cmp.out.
34085         ($(objpfx)order2.out): Remove rule.
34086         ($(objpfx)order2-cmp.out): New rule.
34087         ($(objpfx)tst-initorder.out): Remove rule.
34088         [$(run-built-tests) = yes] (tests): Depend on
34089         $(objpfx)tst-initorder-cmp.out.
34090         ($(objpfx)tst-initorder-cmp.out): New rule.
34091         ($(objpfx)tst-initorder2.out): Remove rule.
34092         [$(run-built-tests) = yes] (tests): Depend on
34093         $(objpfx)tst-initorder2-cmp.out.
34094         ($(objpfx)tst-initorder2-cmp.out): New rule.
34095         [$(run-built-tests) = yes] (tests): Depend on
34096         $(objpfx)tst-unused-dep-cmp.out.
34097         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34098         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34099         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34100         on $(objpfx)tst-setvbuf1-cmp.out.
34101         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34102         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34103         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34104         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34105         ($(objpfx)tst-svc.out): Remove rule.
34106         ($(objpfx)tst-svc-cmp.out): New rule.
34108 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34110         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34111         * ctype/ctype.h [__USE_MISC]: Likewise.
34112         * dirent/dirent.h [__USE_MISC]: Likewise.
34113         * grp/grp.h [__USE_MISC]: Likewise.
34114         * io/fcntl.h [__USE_MISC]: Likewise.
34115         * io/sys/stat.h [__USE_MISC]: Likewise.
34116         * libio/stdio.h [__USE_MISC]: Likewise.
34117         * posix/unistd.h [__USE_MISC]: Likewise.
34118         * pwd/pwd.h [__USE_MISC]: Likewise.
34119         * stdlib.h [__USE_MISC]: Likewise.
34120         * string/bits/string2.h [__USE_MISC]: Likewise.
34121         * string/string.h [__USE_MISC]: Likewise.
34122         * time/time.h [__USE_MISC]: Likewise.
34124 2014-02-13  Andreas Schwab  <schwab@suse.de>
34126         [BZ #16574]
34127         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34128         second answer buffer if it was separately allocated.
34130 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34132         * sysdeps/mips/math-tests.h: Include <features.h>.
34133         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34134         (ROUNDING_TESTS_long_double): Do not define.
34135         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34136         (EXCEPTION_TESTS_long_double): Likewise.
34137         * sysdeps/mips/mips64/libm-test-ulps: Update.
34139         * include/features.h (__USE_BSD): Remove macro definitions.
34140         (__USE_SVID): Likewise.
34141         (_BSD_SOURCE): Likewise.
34142         (_SVID_SOURCE): Likewise.
34143         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34144         from definition of _DEFAULT_SOURCE.
34145         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34146         [_DEFAULT_SOURCE].
34147         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34148         * bits/mman.h [__USE_BSD]: Likewise.
34149         * bits/termios.h [__USE_BSD]: Likewise.
34150         * bits/waitstatus.h [__USE_BSD]: Likewise.
34151         * ctype/ctype.h [__USE_SVID]: Likewise.
34152         * dirent/dirent.h [__USE_BSD]: Likewise.
34153         * grp/grp.h [__USE_SVID]: Likewise.
34154         [__USE_BSD]: Likewise.
34155         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34156         * io/fcntl.h [__USE_BSD]: Likewise.
34157         * io/ftw.h [__USE_BSD]: Likewise.
34158         * io/sys/stat.h [__USE_BSD]: Likewise.
34159         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34160         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34161         * libio/stdio.h [__USE_SVID]: Likewise.
34162         [__USE_BSD]: Likewise.
34163         * math/math.h [__USE_SVID]: Likewise.
34164         [__USE_BSD]: Likewise.
34165         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34166         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34167         * misc/search.h [__USE_SVID]: Likewise.
34168         * misc/sys/mman.h [__USE_BSD]: Likewise.
34169         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34170         * misc/sys/uio.h [__USE_BSD]: Likewise.
34171         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34172         * posix/glob.h [__USE_BSD]: Likewise.
34173         * posix/regex.h [__USE_BSD]: Likewise.
34174         * posix/sys/types.h [__USE_BSD]: Likewise.
34175         [__USE_SVID]: Likewise.
34176         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34177         * posix/sys/wait.h [__USE_BSD]: Likewise.
34178         [__USE_SVID]: Likewise.
34179         * posix/unistd.h [__USE_BSD]: Likewise.
34180         [__USE_SVID]: Likewise.
34181         * pwd/pwd.h [__USE_SVID]: Likewise.
34182         * resolv/netdb.h [__USE_BSD]: Likewise.
34183         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34184         * signal/signal.h [__USE_BSD]: Likewise.
34185         [__USE_SVID]: Likewise.
34186         * socket/sys/socket.h [__USE_BSD]: Likewise.
34187         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34188         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34189         [__USE_SVID]: Likewise.
34190         * string/bits/string2.h [__USE_BSD]: Likewise.
34191         [__USE_SVID]: Likewise.
34192         * string/bits/string3.h [__USE_BSD]: Likewise.
34193         * string/endian.h [__USE_BSD]: Likewise.
34194         * string/string.h [__USE_SVID]: Likewise.
34195         [__USE_BSD]: Likewise.
34196         * string/strings.h [__USE_BSD]: Likewise.
34197         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34198         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34199         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34200         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34201         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34202         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34203         Likewise.
34204         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34205         Likewise.
34206         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34207         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34208         Likewise.
34209         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34210         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34211         Likewise.
34212         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34213         Likewise.
34214         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34215         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34216         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34217         Likewise.
34218         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34219         Likewise.
34220         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34221         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34222         * termios/termios.h [__USE_BSD]: Likewise.
34223         * time/sys/time.h [__USE_BSD]: Likewise.
34224         * time/time.h [__USE_BSD]: Likewise.
34225         [__USE_SVID]: Likewise.
34227         * Makefile (subdir_targets): Remove subdir_lint.out.
34229         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34230         (do-tst-printf): Likewise.
34231         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34232         $(objpfx)tst-printf.out.
34234         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34236         * Makerules (check-abi-%): Change target to
34237         $(objpfx)check-abi-%.out.
34238         (check-abi target): Update dependencies.
34239         (check-abi-pattern variable): Redirect output of diff to $@.
34240         (check-abi variable): Likewise.
34241         * elf/Makefile (check-abi): Update dependencies.
34243         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34244         unused.
34245         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34246         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34247         subnormal range.
34248         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34249         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34250         value has largest subnormal exponent.
34251         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34252         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34253         * sysdeps/aarch64/soft-fp/sfp-machine.h
34254         (_FP_TININESS_AFTER_ROUNDING): New macro.
34255         * sysdeps/alpha/soft-fp/sfp-machine.h
34256         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34257         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34258         Likewise.
34259         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34260         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34261         * sysdeps/mips/soft-fp/sfp-machine.h
34262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34263         * sysdeps/powerpc/soft-fp/sfp-machine.h
34264         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34265         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34266         Likewise.
34267         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34268         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34269         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34270         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34271         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34272         Likewise.
34274 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34276         [BZ #16545]
34277         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34278         model 1.
34280 2014-02-12  Richard Henderson  <rth@redhat.com>
34282         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34283         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34284         * sysdeps/unix/sysv/linux/alpha: Move directory from
34285         ports/sysdeps/unix/sysv/linux/alpha.
34286         * README: Update listing for alpha-*-linux-gnu.
34288 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34290         * include/features.h: Update comment documenting feature test
34291         macros.
34292         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34293         _DEFAULT_SOURCE.
34294         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34295         (_SVID_SOURCE): Likewise.
34296         (_DEFAULT_SOURCE): Update description of default features.
34297         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34298         with _GNU_SOURCE.
34299         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34300         (S_ISVTX): Likewise.
34301         * manual/math.texi (Mathematical Constants): Likewise.
34302         * manual/signal.texi (Interrupted Primitives): Likewise.
34303         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34304         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34305         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34306         Don't refer to _SVID_SOURCE in warning text.
34308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34310         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34311         already defined.
34312         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34313         * sysdeps/mips/dl-lookup.c: Remove.
34314         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34316 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34318         [BZ #16447]
34319         * math/auto-libm-test-in: Add testcase for expl.
34320         * math/auto-libm-test-out: Regenerate.
34321         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34322         calculation of unsafe.
34323         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34325 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34327         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34328         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34329         ports/sysdeps/unix/sysv/linux/aarch64.
34330         * README: Update listing for aarch64*-*-linux-gnu.
34332 2014-02-11  Will Newton  <will.newton@linaro.org>
34334         * manual/probes.texi (Mathematical Function Probes): Use
34335         "triggered" instead of "hit".
34337         * manual/probes.texi (Internal Probes): Add documentation
34338         of setjmp, longjmp and longjmp_target probes.
34340         * include/stap-probe.h: Add comment about probe argument
34341         format.
34343         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34344         definition.  (tr_where, tr_freehook, tr_mallochook,
34345         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34347 2014-02-11  David S. Miller  <davem@davemloft.net>
34349         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34350         processing int_tests.
34352 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34354         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34355         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34356         * sysdeps/unix/sysv/linux/mips: Move directory from
34357         ports/sysdeps/unix/sysv/linux/mips.
34358         * README: Update listing for mips-*-linux-gnu and
34359         mips64-*-linux-gnu.
34361 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34363         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34364         * sysdeps/unix/sysv/linux/m68k: Move directory from
34365         ports/sysdeps/unix/sysv/linux/m68k.
34366         * README: Update listing for m68k-*-linux-gnu.
34368 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34370         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34371         * sysdeps/unix/sysv/linux/generic: Move directory from
34372         ports/sysdeps/unix/sysv/linux/generic.
34373         * sysdeps/unix/sysv/linux/tile: Move directory from
34374         ports/sysdeps/unix/sysv/linux/tile.
34375         * README: Update listing for tile*-*-linux-gnu.
34377 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34379         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34380         __builtin_expect.
34381         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34382         * catgets/open_catalog.c (__open_catalog): Likewise.
34383         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34384         * debug/confstr_chk.c: Likewise.
34385         * debug/fread_chk.c (__fread_chk): Likewise.
34386         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34387         * debug/getgroups_chk.c: Likewise.
34388         * debug/mbsnrtowcs_chk.c: Likewise.
34389         * debug/mbsrtowcs_chk.c: Likewise.
34390         * debug/mbstowcs_chk.c: Likewise.
34391         * debug/memcpy_chk.c: Likewise.
34392         * debug/memmove_chk.c: Likewise.
34393         * debug/mempcpy_chk.c: Likewise.
34394         * debug/memset_chk.c: Likewise.
34395         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34396         * debug/strcat_chk.c (__strcat_chk): Likewise.
34397         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34398         * debug/strncat_chk.c (__strncat_chk): Likewise.
34399         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34400         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34401         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34402         * debug/wcpncpy_chk.c: Likewise.
34403         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34404         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34405         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34406         * debug/wcsncpy_chk.c: Likewise.
34407         * debug/wcsnrtombs_chk.c: Likewise.
34408         * debug/wcsrtombs_chk.c: Likewise.
34409         * debug/wcstombs_chk.c: Likewise.
34410         * debug/wmemcpy_chk.c: Likewise.
34411         * debug/wmemmove_chk.c: Likewise.
34412         * debug/wmempcpy_chk.c: Likewise.
34413         * debug/wmemset_chk.c: Likewise.
34414         * dirent/scandirat.c (SCANDIRAT): Likewise.
34415         * dlfcn/dladdr1.c (dladdr1): Likewise.
34416         * dlfcn/dladdr.c (dladdr): Likewise.
34417         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34418         * dlfcn/dlerror.c (__dlerror): Likewise.
34419         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34420         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34421         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34422         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34423         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34424         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34425         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34426         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34427         Likewise.
34428         * elf/dl-conflict.c: Likewise.
34429         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34430         * elf/dl-dst.h: Likewise.
34431         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34432         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34433         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34434         * elf/dl-init.c (call_init, _dl_init): Likewise.
34435         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34436         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34437         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34438         Likewise.
34439         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34440         Likewise.
34441         * elf/dl-minimal.c (__libc_memalign): Likewise.
34442         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34443         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34444         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34445         * elf/dl-sym.c (do_sym): Likewise.
34446         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34447         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34448         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34449         * elf/dl-writev.h (_dl_writev): Likewise.
34450         * elf/ldconfig.c (search_dir): Likewise.
34451         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34452         (dl_main): Likewise.
34453         * elf/setup-vdso.h (setup_vdso): Likewise.
34454         * grp/compat-initgroups.c (compat_call): Likewise.
34455         * grp/fgetgrent.c (fgetgrent): Likewise.
34456         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34457         * grp/putgrent.c (putgrent): Likewise.
34458         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34459         Likewise.
34460         * hurd/hurdinit.c: Likewise.
34461         * iconvdata/8bit-gap.c (struct): Likewise.
34462         * iconvdata/ansi_x3.110.c : Likewise.
34463         * iconvdata/big5.c : Likewise.
34464         * iconvdata/big5hkscs.c : Likewise.
34465         * iconvdata/cp1255.c: Likewise.
34466         * iconvdata/cp1258.c : Likewise.
34467         * iconvdata/cp932.c : Likewise.
34468         * iconvdata/euc-cn.c: Likewise.
34469         * iconvdata/euc-jisx0213.c : Likewise.
34470         * iconvdata/euc-jp.c: Likewise.
34471         * iconvdata/euc-jp-ms.c : Likewise.
34472         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34473         * iconvdata/gb18030.c : Likewise.
34474         * iconvdata/gbbig5.c (const): Likewise.
34475         * iconvdata/gbgbk.c: Likewise.
34476         * iconvdata/gbk.c : Likewise.
34477         * iconvdata/ibm1364.c : Likewise.
34478         * iconvdata/ibm930.c : Likewise.
34479         * iconvdata/ibm932.c: Likewise.
34480         * iconvdata/ibm933.c : Likewise.
34481         * iconvdata/ibm935.c : Likewise.
34482         * iconvdata/ibm937.c : Likewise.
34483         * iconvdata/ibm939.c : Likewise.
34484         * iconvdata/ibm943.c: Likewise.
34485         * iconvdata/iso_11548-1.c: Likewise.
34486         * iconvdata/iso-2022-cn.c : Likewise.
34487         * iconvdata/iso-2022-cn-ext.c : Likewise.
34488         * iconvdata/iso-2022-jp-3.c: Likewise.
34489         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34490         * iconvdata/iso-2022-kr.c : Likewise.
34491         * iconvdata/iso646.c (gconv_end): Likewise.
34492         * iconvdata/iso_6937-2.c : Likewise.
34493         * iconvdata/iso_6937.c : Likewise.
34494         * iconvdata/iso8859-1.c: Likewise.
34495         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34496         * iconvdata/shift_jisx0213.c : Likewise.
34497         * iconvdata/sjis.c : Likewise.
34498         * iconvdata/t.61.c : Likewise.
34499         * iconvdata/tcvn5712-1.c : Likewise.
34500         * iconvdata/tscii.c: Likewise.
34501         * iconvdata/uhc.c : Likewise.
34502         * iconvdata/unicode.c (gconv_end): Likewise.
34503         * iconvdata/utf-16.c (gconv_end): Likewise.
34504         * iconvdata/utf-32.c (gconv_end): Likewise.
34505         * iconvdata/utf-7.c (base64): Likewise.
34506         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34507         * iconv/gconv_close.c (__gconv_close): Likewise.
34508         * iconv/gconv_open.c (__gconv_open): Likewise.
34509         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34510         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34511         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34512         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34513         (ucs4le_internal_loop_single): Likewise.
34514         * iconv/iconv.c (iconv): Likewise.
34515         * iconv/iconv_close.c: Likewise.
34516         * iconv/loop.c (SINGLE): Likewise.
34517         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34518         * include/atomic.h: Likewise.
34519         * inet/inet6_option.c (option_alloc): Likewise.
34520         * intl/bindtextdom.c (set_binding_values): Likewise.
34521         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34522         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34523         * intl/localealias.c (read_alias_file): Likewise.
34524         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34525         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34526         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34527         * libio/fmemopen.c (fmemopen): Likewise.
34528         * libio/iofgets.c (_IO_fgets): Likewise.
34529         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34530         * libio/iofgetws.c (fgetws): Likewise.
34531         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34532         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34533         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34534         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34535         * locale/findlocale.c (_nl_find_locale): Likewise.
34536         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34537         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34538         Likewise.
34539         * locale/setlocale.c (setlocale): Likewise.
34540         * login/programs/pt_chown.c (main): Likewise.
34541         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34542         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34543         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34544         (mmap, mmap64, mremap, munmap): Likewise.
34545         * math/e_exp2l.c: Likewise.
34546         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34547         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34548         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34549         * math/s_catan.c (__catan): Likewise.
34550         * math/s_catanf.c (__catanf): Likewise.
34551         * math/s_catanh.c (__catanh): Likewise.
34552         * math/s_catanhf.c (__catanhf): Likewise.
34553         * math/s_catanhl.c (__catanhl): Likewise.
34554         * math/s_catanl.c (__catanl): Likewise.
34555         * math/s_ccosh.c (__ccosh): Likewise.
34556         * math/s_ccoshf.c (__ccoshf): Likewise.
34557         * math/s_ccoshl.c (__ccoshl): Likewise.
34558         * math/s_cexp.c (__cexp): Likewise.
34559         * math/s_cexpf.c (__cexpf): Likewise.
34560         * math/s_cexpl.c (__cexpl): Likewise.
34561         * math/s_clog10.c (__clog10): Likewise.
34562         * math/s_clog10f.c (__clog10f): Likewise.
34563         * math/s_clog10l.c (__clog10l): Likewise.
34564         * math/s_clog.c (__clog): Likewise.
34565         * math/s_clogf.c (__clogf): Likewise.
34566         * math/s_clogl.c (__clogl): Likewise.
34567         * math/s_csin.c (__csin): Likewise.
34568         * math/s_csinf.c (__csinf): Likewise.
34569         * math/s_csinh.c (__csinh): Likewise.
34570         * math/s_csinhf.c (__csinhf): Likewise.
34571         * math/s_csinhl.c (__csinhl): Likewise.
34572         * math/s_csinl.c (__csinl): Likewise.
34573         * math/s_csqrt.c (__csqrt): Likewise.
34574         * math/s_csqrtf.c (__csqrtf): Likewise.
34575         * math/s_csqrtl.c (__csqrtl): Likewise.
34576         * math/s_ctan.c (__ctan): Likewise.
34577         * math/s_ctanf.c (__ctanf): Likewise.
34578         * math/s_ctanh.c (__ctanh): Likewise.
34579         * math/s_ctanhf.c (__ctanhf): Likewise.
34580         * math/s_ctanhl.c (__ctanhl): Likewise.
34581         * math/s_ctanl.c (__ctanl): Likewise.
34582         * math/w_pow.c: Likewise.
34583         * math/w_powf.c: Likewise.
34584         * math/w_powl.c: Likewise.
34585         * math/w_scalb.c (sysv_scalb): Likewise.
34586         * math/w_scalbf.c (sysv_scalbf): Likewise.
34587         * math/w_scalbl.c (sysv_scalbl): Likewise.
34588         * misc/error.c (error_tail): Likewise.
34589         * misc/pselect.c (__pselect): Likewise.
34590         * nis/nis_callback.c (__nis_create_callback): Likewise.
34591         * nis/nis_call.c (__nisfind_server): Likewise.
34592         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34593         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34594         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34595         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34596         * nis/nis_lookup.c (nis_lookup): Likewise.
34597         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34598         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34599         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34600         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34601         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34602         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34603         * nis/nss_compat/compat-initgroups.c (add_group)
34604         (internal_getgrent_r): Likewise.
34605         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34606         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34607         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34608         (internal_getspnam_r): Likewise.
34609         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34610         (_nss_nis_getaliasbyname_r): Likewise.
34611         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34612         (_nss_nis_getntohost_r): Likewise.
34613         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34614         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34615         (_nss_nis_getgrgid_r): Likewise.
34616         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34617         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34618         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34619         (_nss_nis_gethostbyname4_r): Likewise.
34620         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34621         (initgroups_netid): Likewise.
34622         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34623         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34624         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34625         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34626         (_nss_nis_getprotobynumber_r): Likewise.
34627         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34628         (_nss_nis_getsecretkey): Likewise.
34629         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34630         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34631         (_nss_nis_getpwuid_r): Likewise.
34632         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34633         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34634         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34635         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34636         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34637         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34638         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34639         Likewise.
34640         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34641         (_nss_nisplus_getntohost_r): Likewise.
34642         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34643         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34644         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34645         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34646         Likewise.
34647         * nis/nss_nisplus/nisplus-initgroups.c
34648         (_nss_nisplus_initgroups_dyn): Likewise.
34649         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34650         (_nss_nisplus_getnetbyaddr_r): Likewise.
34651         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34652         (_nss_nisplus_getprotobynumber_r): Likewise.
34653         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34654         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34655         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34656         Likewise.
34657         * nis/nss_nisplus/nisplus-service.c
34658         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34659         (_nss_nisplus_getservbyport_r): Likewise.
34660         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34661         (_nss_nisplus_getspnam_r): Likewise.
34662         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34663         Likewise.
34664         * nscd/aicache.c (addhstaiX): Likewise.
34665         * nscd/cache.c (cache_search, prune_cache): Likewise.
34666         * nscd/connections.c (register_traced_file, send_ro_fd)
34667         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34668         (main_loop_epoll): Likewise.
34669         * nscd/grpcache.c (addgrbyX): Likewise.
34670         * nscd/hstcache.c (addhstbyX): Likewise.
34671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34672         * nscd/mem.c (gc, mempool_alloc): Likewise.
34673         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34674         (addinnetgrX): Likewise.
34675         * nscd/nscd-client.h (__nscd_acquire_maplock)
34676         (__nscd_drop_map_ref): Likewise.
34677         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34678         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34679         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34680         Likewise.
34681         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34683         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34684         (__nscd_get_map_ref): Likewise.
34685         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34686         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34687         Likewise.
34688         * nscd/pwdcache.c (addpwbyX): Likewise.
34689         * nscd/selinux.c (preserve_capabilities): Likewise.
34690         * nscd/servicescache.c (addservbyX): Likewise.
34691         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34692         * posix/fnmatch.c (fnmatch): Likewise.
34693         * posix/getopt.c (_getopt_internal_r): Likewise.
34694         * posix/glob.c (glob, glob_in_dir): Likewise.
34695         * posix/wordexp.c (exec_comm_child): Likewise.
34696         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34697         (getanswer_r, gaih_getanswer_slice): Likewise.
34698         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34699         * resolv/res_init.c: Likewise.
34700         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34701         * resolv/res_query.c (__libc_res_nquery): Likewise.
34702         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34703         Likewise.
34704         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34705         * stdio-common/perror.c (perror): Likewise.
34706         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34707         * stdio-common/tmpnam.c (tmpnam): Likewise.
34708         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34709         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34710         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34711         Likewise.
34712         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34713         * stdlib/putenv.c (putenv): Likewise.
34714         * stdlib/setenv.c (__add_to_environ): Likewise.
34715         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34716         * stdlib/strtol_l.c (INTERNAL): Likewise.
34717         * string/memmem.c (memmem): Likewise.
34718         * string/strerror.c (strerror): Likewise.
34719         * string/strnlen.c (__strnlen): Likewise.
34720         * string/test-memmem.c (simple_memmem): Likewise.
34721         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34722         * sunrpc/pm_getport.c (__get_socket): Likewise.
34723         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34724         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34725         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34726         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34727         Likewise.
34728         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34729         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34730         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34731         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34732         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34733         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34734         Likewise.
34735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34736         Likewise.
34737         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34738         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34739         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34740         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34741         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34743         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34744         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34745         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34746         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34747         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34748         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34749         Likewise.
34750         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34751         Likewise.
34752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34753         Likewise.
34754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34757         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34758         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34759         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34760         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34763         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34764         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34766         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34767         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34768         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34769         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34770         Likewise.
34771         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34772         Likewise.
34773         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34774         Likewise.
34775         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34776         Likewise.
34777         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34779         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34780         Likewise.
34781         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34782         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34783         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34784         * sysdeps/posix/sleep.c: Likewise.
34785         * sysdeps/posix/tempname.c: Likewise.
34786         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34787         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34788         Likewise.
34789         * sysdeps/powerpc/powerpc32/dl-machine.h
34790         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34791         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34793         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34794         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34795         Likewise.
34796         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34797         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34798         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34799         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34800         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34801         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34802         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34803         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34804         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34805         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34806         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34807         (elf_machine_lazy_rel): Likewise.
34808         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34810         (elf_machine_lazy_rel): Likewise.
34811         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34812         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34813         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34814         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34815         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34816         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34817         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34818         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34819         Likewise.
34820         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34821         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34822         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34823         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34824         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34825         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34826         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34827         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34828         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34830         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34833         (__posix_fallocate64_l64): Likewise.
34834         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34835         (posix_fallocate): Likewise.
34836         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34837         Likewise.
34838         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34839         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34840         (getifaddrs_internal): Likewise.
34841         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34842         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34843         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34844         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34845         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34846         (__posix_fallocate64_l64): Likewise.
34847         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34848         Likewise.
34849         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34850         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34851         (__get_clockfreq): Likewise.
34852         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34853         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34854         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34855         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34857         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34858         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34859         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34860         Likewise.
34861         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34862         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34863         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34864         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34865         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34866         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34867         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34868         Likewise.
34869         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34870         (posix_fallocate): Likewise.
34871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34872         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34873         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34874         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34875         (elf_machine_rela, elf_machine_rela_relative)
34876         (elf_machine_lazy_rel): Likewise.
34877         * time/asctime.c (asctime_internal): Likewise.
34878         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34879         * time/tzset.c (__tzset_parse_tz): Likewise.
34880         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34881         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34882         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34883         * wcsmbs/wcsmbsload.h: Likewise.
34885         [BZ #15894]
34886         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34888         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34889         (arena_get2): Remove THREAD_STATS conditionals.
34890         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34891         (__malloc_stats, int): Likewise.
34893 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34895         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34896         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34898         * manual/setjmp.texi: Fix typos/grammar errors.
34900         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34901         Only return early when n is <= 0.  Delete unused return statement.
34903         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34904         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34905         * debug/tst-longjmp_chk3.c: New file.
34907         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34908         (test_main): Replace code with set_fortify_handler call.
34909         * debug/test-strcpy_chk.c: Likewise.
34910         * debug/tst-chk1.c: Likewise.
34911         * debug/tst-longjmp_chk.c: Likewise.
34912         * test-skeleton.c: Include fcntl.h & paths.h
34913         (set_fortify_handler): Define.
34915         * debug/tst-longjmp_chk.c: Add header comment and include
34916         ../test-skeleton.c.
34917         (do_test): Mark static.
34918         (TEST_FUNCTION): Define.
34920         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34921         (IP_PMTUDISC_INTERFACE): Likewise.
34922         (IP_MULTICAST_IF): Likewise.
34923         (IP_MULTICAST_TTL): Likewise.
34924         (IP_MULTICAST_LOOP): Likewise.
34925         (IP_ADD_MEMBERSHIP): Likewise.
34926         (IP_DROP_MEMBERSHIP): Likewise.
34927         (IP_UNBLOCK_SOURCE): Likewise.
34928         (IP_BLOCK_SOURCE): Likewise.
34929         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34930         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34931         (IP_MSFILTER): Likewise.
34932         (MCAST_JOIN_GROUP): Likewise.
34933         (MCAST_BLOCK_SOURCE): Likewise.
34934         (MCAST_UNBLOCK_SOURCE): Likewise.
34935         (MCAST_LEAVE_GROUP): Likewise.
34936         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34937         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34938         (MCAST_MSFILTER): Likewise.
34939         (IP_MULTICAST_ALL): Likewise.
34940         (IP_UNICAST_IF): Likewise.
34942         * timezone/Makefile: Delete $(have-ksh) check.
34943         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34944         * timezone/tzselect.ksh: Add +x mode bits.
34946         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34947         (ANON_INODE_FS_MAGIC): Likewise.
34948         (BDEVFS_MAGIC): Likewise.
34949         (BINFMTFS_MAGIC): Likewise.
34950         (BTRFS_TEST_MAGIC): Likewise.
34951         (CRAMFS_MAGIC_WEND): Likewise.
34952         (DEBUGFS_MAGIC): Likewise.
34953         (ECRYPTFS_SUPER_MAGIC): Likewise.
34954         (EXT3_SUPER_MAGIC): Likewise.
34955         (EXT4_SUPER_MAGIC): Likewise.
34956         (FUTEXFS_SUPER_MAGIC): Likewise.
34957         (HOSTFS_SUPER_MAGIC): Likewise.
34958         (HUGETLBFS_MAGIC): Likewise.
34959         (MINIX3_SUPER_MAGIC): Likewise.
34960         (MTD_INODE_FS_MAGIC): Likewise.
34961         (NILFS_SUPER_MAGIC): Likewise.
34962         (OPENPROM_SUPER_MAGIC): Likewise.
34963         (PIPEFS_MAGIC): Likewise.
34964         (PSTOREFS_MAGIC): Likewise.
34965         (QNX6_SUPER_MAGIC): Likewise.
34966         (RAMFS_MAGIC): Likewise.
34967         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34968         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34969         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34970         (SECURITYFS_MAGIC): Likewise.
34971         (SELINUX_MAGIC): Likewise.
34972         (SMACK_MAGIC): Likewise.
34973         (SOCKFS_MAGIC): Likewise.
34974         (SQUASHFS_MAGIC): Likewise.
34975         (STACK_END_MAGIC): Likewise.
34976         (TMPFS_MAGIC): Likewise.
34977         (USBDEVICE_SUPER_MAGIC): Likewise.
34978         (V9FS_MAGIC): Likewise.
34979         (XENFS_SUPER_MAGIC): Likewise.
34980         (CRAMFS_MAGIC): Fix typo in comment.
34981         (EXT2_SUPER_MAGIC): Update comment.
34982         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34984 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34986         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34987         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34988         * sysdeps/unix/sysv/linux/arm: Move directory from
34989         ports/sysdeps/unix/sysv/linux/arm.
34990         * README: Update listing for arm-*-linux-gnueabi.
34992         * README: Remove mention of am33.
34994 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34996         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34997         than the comma operator, to avoid "rhs of comma has no effect"
34998         compiler warnings.
34999         (__sigfillset, __sigandset, __sigorset): Likewise.
35000         * include/signal.h (__sigemptyset): Likewise.
35001         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35003 2014-02-07  Allan McRae  <allan@archlinux.org>
35005         * version.h (RELEASE): Set to "development".
35006         (VERSION): Set to "2.19.90"
35007         * NEWS: Add 2.20 section.
35009 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35011         [BZ #16529]
35012         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35014 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35016         * manual/contrib.texi: Update entry for Carlos O'Donell,
35017         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35019 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35021         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35023         * sysdeps/unix/sysv/linux/kernel-features.h
35024         [__LINUX_KERNEL_VERSION >= 0x020621]
35025         (__ASSUME_PROC_PID_TASK_COMM): Define.
35027 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35029         [BZ #16398]
35030         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35031         conversion when destination buffer does not have enough space.
35032         * libio/tst-ftell-partial-wide.c: New test case.
35033         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35035         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35036         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35037         Leonard and Allan McRae.
35039 2014-02-04  David S. Miller  <davem@davemloft.net>
35041         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35042         32-bit.
35044 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35047         New file
35048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35049         New file
35050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35051         New file.
35052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35053         New file.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35055         New file.
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35057         New file.
35058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35059         New file.
35060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35061         New file.
35062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35063         New file.
35064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35065         New file.
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35067         New file.
35068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35069         New file.
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35071         New file.
35073 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35075         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35076         * shlib-versions: Likewise.
35078 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35079             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35081         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35082         (abilist-pattern): New variable, set to %-le.abilist.
35084         * Makerules (abilist-pattern): New variable.
35085         (vpath): Use $(abilist-pattern) in place of %.abilist.
35086         (check-abi-% pattern rule): Likewise.
35087         (check-abi, update-abi): Likewise.
35089 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35093 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35095         * manual/startup.texi: Add next, previous, and top entries for
35096         the `Program Arguments' and `Environment Variables' nodes.
35098 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35100         * manual/macros.texi: Add comments before MTASC-safety macros.
35102         * manual/users.texi: Document MTASC-safety properties.
35104         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35105         (pthread_getspecific, pthread_setspecific): Format with
35106         @deftypefun, and add @safety note.
35107         * manual/signal.texi: Move comments that analyze the above
35108         functions to their home place.
35110 2014-02-03  Allan McRae  <allan@archlinux.org>
35112         * po/sl.po: Update Slovenian translation from translation project.
35114 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35116         * manual/time.texi (timegm): Add missing blank after @c.
35117         Reported by Joseph Myers <joseph@codesourcery.com>.
35119 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35121         * manual/check-safety.sh: New.
35122         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35124         * manual/terminal.texi: Document MTASC-safety properties.
35126         * manual/filesys.texi: Document MTASC-safety properties.
35128         * manual/errno.texi: Document MTASC-safety properties.
35130         * manual/intro.texi: Document safety identifiers and
35131         conditionals.
35133         * manual/string.texi (wcstok): Fix prototype.
35134         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35136         * manual/time.texi: Document MTASC-safety properties.
35138         * manual/string.texi: Document MTASC-safety properties.
35140         * manual/threads.texi: Document MTASC-safety properties.
35142         * manual/stdio.texi: Document MTASC-safety properties.
35144         * manual/syslog.texi: Document MTASC-safety properties.
35146         * manual/sysinfo.texi: Document MTASC-safety properties.
35148         * manual/startup.texi: Document MTASC-safety properties.
35150         * manual/socket.texi: Document MTASC-safety properties.
35152         * manual/signal.texi: Document MTASC-safety properties.
35154 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35156         * manual/setjmp.texi: Document MTASC-safety properties.
35158         * manual/search.texi: Document MTASC-safety properties.
35160         * manual/resource.texi: Document MTASC-safety properties.
35162         * manual/process.texi: Document MTASC-safety properties.
35164         * manual/platform.texi: Document MTASC-safety properties.
35166         * manual/pipe.texi: Document MTASC-safety properties.
35168         * manual/pattern.texi: Document MTASC-safety properties.
35170         * manual/message.texi: Document MTASC-safety properties.
35172         [BZ #12751]
35173         * manual/memory.texi: Document MTASC-safety properties.
35175         * manual/math.texi: Document MTASC-safety properties.
35177         * manual/locale.texi: Document MTASC-safety properties.
35179         * manual/llio.texi: Document MTASC-safety properties.
35181         * manual/libdl.texi: New.
35183         * manual/lang.texi: Document MTASC-safety properties.
35185         * manual/job.texi: Document MTASC-safety properties.
35187         * manual/getopt.texi: Document MTASC-safety properties.
35189         * manual/ctype.texi: Document MTASC-safety properties.
35191 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35193         [BZ #16046]
35194         * csu/libc-tls.c (static_map): Remove variable.
35195         (__libc_setup_tls): Use main executable's link map for TLS data.
35196         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35197         casing for LM_ID_BASE and GL(dl_nns).
35198         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35199         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35200         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35201         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35202         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35203         member.
35204         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35205         l_phnum members.
35207 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35209         * manual/debug.texi: Document MTASC-safety properties.
35211 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35213         [BZ #16510]
35214         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35215         of __x86_64__ when disabling x87 inline functions.
35217 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35219         * manual/charset.texi: Document MTASC-safety properties.
35221         * manual/crypt.texi: Document MTASC-safety properties.
35223         * manual/conf.texi: Document MTASC-safety properties.
35225         * manual/arith.texi: Document MTASC-safety properties.
35227         * manual/argp.texi: Document MTASC-safety properties.
35229         * manual/macros.texi: Introduce macros to document multi
35230         thread, asynchronous signal and asynchronous cancellation
35231         safety properties.
35232         * manual/intro.texi: Introduce the properties themselves.
35234 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35236         * sysdeps/sh/sh4/Makefile: New file.
35238 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35240         * math/gen-libm-test.pl ($srcdir): New variable.
35241         ($auto_input): Use it.
35243 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35245         [BZ #16506]
35246         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35247         access beyond array bounds when parsing netgroups file.
35249         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35250         the old buffer before realloc.
35252 2014-01-27  Allan McRae  <allan@archlinux.org>
35254         * po/fr.po: Update French translation from translation project.
35256 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35258         * sysdeps/sh/libm-test-ulps: Regenerate.
35260 2014-01-24  David S. Miller  <davem@davemloft.net>
35262         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35264 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35266         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35267         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35269 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35271         [BZ #16474]
35272         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35273         string pointers after reallocation.
35275 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35277         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35278         __SH4A__ instead of __SH_FPU_ANY__.
35280 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35282         * sysdeps/sh/fpu_control.h: New file.
35283         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35284         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35285         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35286         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35287         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35288         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35289         * sysdeps/sh/sys/ucontext.h: Remove.
35290         * sysdeps/sh/sys: Remove directory.
35292 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35294         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35295         s390/sys/ucontext.h.
35296         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35297         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35299 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35301         [BZ #15605]
35302         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35304 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35306         [BZ#16431]
35307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35308         Adjust the vDSO correctly for internal calls.
35309         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35311 2014-01-20  Allan McRae  <allan@archlinux.org>
35313         * po/ca.po: Update Catalan translation from translation project.
35315 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35317         * sysdeps/s390/sotruss-lib.c: New file.
35319 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35321         [BZ#16430]
35322         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35323         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35324         local calls issues by not having a PLT stub required for IFUNC calls.
35325         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35327 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35329         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35330         * math/test-fpucw-static.c: Likewise.
35332 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35334         [BZ #16453]
35335         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35337 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35339         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35340         implementation for powerpc.
35342 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35344         [BZ #14782]
35345         * sysdeps/posix/system.c (__libc_system): Do not enable
35346         asynchronous cancellation.
35348 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35350         [BZ #16427]
35351         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35352         handling only for numbers special also in the IEEE case.
35354 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35356         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35358 2014-01-11  Allan McRae  <allan@archlinux.org>
35360         * po/bg.po: Update Bulgarian translation from translation project.
35362         * po/de.po: Update German translation from translation project.
35364 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35366         * sysdeps/generic/gcc-compat.h: New file.
35368 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35370         * benchtests/asin-inputs: Correct slow inputs.
35371         * benchtests/acos-inputs: Likewise.
35373 2014-01-10  Allan McRae  <allan@archlinux.org>
35375         * po:sv.po: Update Swedish translation from translation project.
35377         * po/vi.po: Update Vietnamese translation from translation project.
35379         * po/eo.po: Update Esperanto translation from translation project.
35381         * po/cs.po: Update Czech translation from translation project.
35383         * po/nl.po: Update Dutch translation from translation project.
35385         * po/pl.po: Update Polish translation from translation project.
35387         * po/ru.po: Update Russian translation from translation project.
35389         * po/uk.po: Update Ukrainian translation from translation project.
35391 2014-01-08  Brooks Moses  <bmoses@google.com>
35393         * elf/dl-load.c: Fix comment typo.
35395 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35397         * po/header.pot: Rename to...
35398         * po/pot.header: ... this.
35399         * po/Makefile: Use pot.header.
35401 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35402             Maxim Kuvyrkov  <maxim@kugelworks.com>
35404         [BZ #16394]
35405         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35406         SRC and DEST against LEN.
35408 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35410         [BZ #16414]
35411         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35412         implementation.
35413         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35415 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35419 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35421         [BZ #16408]
35422         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35423         for large positive arguments.
35425 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35427         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35429         * math/auto-libm-test-in: Mark various tests with
35430         xfail-rounding:ldbl-128ibm.
35431         * math/auto-libm-test-out: Regenerated.
35433         [BZ #16407]
35434         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35435         Increase overflow threshold.
35437 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35439         [BZ #14286]
35440         * stdio-common/vfprintf.c: Check for integer overflow.
35442 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35444         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35445         the first argument and return value of __tls_get_addr_internal.
35447 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35449         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35450         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35452 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35454         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35455         * sysdeps/s390/rtld-global-offsets.sym: New file.
35456         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35457         GLIBC_2.19 symbol.
35458         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35460         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35461         ... this.
35462         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35464         ... this.
35465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35466         Regenerate.
35467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35468         Regenerate.
35469         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35470         halfs of GPRs for high_gprs contexts.
35471         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35472         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35473         field.
35474         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35475         uc_flags field.
35476         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35477         64 bit versions:
35478         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35479         for high GPRs (uc_high_gprs) and for future extensions
35480         (__reserved).
35481         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35482         for future extensions (__reserved).
35483         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35484         64 bit versions:
35485         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35486         SC_HIGHGPRS offset definition.
35487         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35488         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35490         * Versions.def: Add GLIBC_2.19 for libpthread.
35491         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35492         siglongjmp for libpthread with GLIBC_2.19 symver.
35493         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35494         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35495         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35496         * sysdeps/s390/__longjmp.c: New file.
35497         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35498         * sysdeps/s390/longjmp.c: New file.
35499         * sysdeps/s390/setjmp.S: New file.
35500         * sysdeps/s390/sigjmp.S: New file.
35501         * sysdeps/s390/v1-longjmp.c: New file.
35502         * sysdeps/s390/v1-setjmp.h: New file.
35503         * sysdeps/s390/v1-sigjmp.c: New file.
35504         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35505         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35506         GLIBC_2.19 version.
35507         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35508         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35509         versioned symbols for ____longjmp_chk.
35510         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35511         Likewise.
35512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35513         Regenerate.
35514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35515         Regenerate.
35516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35517         Regenerate.
35518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35519         Regenerate.
35520         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35521         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35522         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35523         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35524         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35525         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35526         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35527         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35528         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35529         * sysdeps/s390/rtld-__longjmp.c: New file.
35530         * sysdeps/s390/rtld-setjmp.S: New file.
35532 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35534         [BZ #16400]
35535         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35536         Return -__logl (x) for small positive arguments without evaluating
35537         a polynomial.
35539 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35541         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35542         Rename to ...
35543         (__ptrace_peeksiginfo_args): ... this.
35544         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35546         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35548 2014-01-06  Allan McRae  <allan@archlinux.org>
35550         * inet/netinet/in.h: Fix typo in comment.
35552 2014-01-05  Andreas Jaeger  <aj@suse.de>
35554         * sysdeps/i386/fpu/libm-test-ulps: Update.
35556 2014-01-05  Allan McRae  <allan@archlinux.org>
35558         * po/libc.pot: Regenerated.
35560         * malloc/memusagestat.c: Fix gettext call formatting.
35562 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35564         * nscd/nscd.c: Improve usage() output.
35566 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35568         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35569         * sysdeps/unix/sysv/linux/configure: Regenerated.
35570         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35571         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35573 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35575         [BZ #16390]
35576         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35577         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35579 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35581         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35582         extra tokens at end of #undef directive.
35583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35584         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35585         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35587 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35589         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35591         * math/auto-libm-test-in: Mark various tests with
35592         xfail-rounding:ldbl-128ibm.
35593         * math/auto-libm-test-out: Regenerated.
35595 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35597         [BZ #16386]
35598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35599         numbers with subnormal high part when calculating exponent.
35601         [BZ #16385]
35602         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35603         fabs.
35605         [BZ #16384]
35606         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35607         M_LN2l.
35608         (__ieee754_acoshl): Use __log1pl not __log1p.
35610 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35612         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35613         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35614         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35615         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35616         (reused_arena, arena_get2): Convert to GNU style.
35617         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35618         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35619         (memalign_check, __malloc_set_state): Likewise.
35620         * malloc/mallocbug.c (main): Likewise.
35621         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35622         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35623         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35624         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35625         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35626         (__posix_memalign, malloc_info): Likewise.
35627         * malloc/malloc.h: Likewise.
35628         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35629         (mallochook, memalignhook, reallochook, mabort): Likewise.
35630         * malloc/mcheck.h: Likewise.
35631         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35632         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35633         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35634         * malloc/morecore.c (__default_morecore): Likewise.
35635         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35636         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35637         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35638         (print_and_abort): Likewise.
35639         * malloc/obstack.h: Likewise.
35640         * malloc/set-freeres.c (__libc_freeres): Likewise.
35641         * malloc/tst-mallocstate.c (main): Likewise.
35642         * malloc/tst-mtrace.c (main): Likewise.
35643         * malloc/tst-realloc.c (do_test): Likewise.
35645 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35647         [BZ #16366]
35648         * nscd/netgroupcache.c (do_notfound): New function.
35649         (addgetnetgrentX): Use it.
35651         [BZ # 16365]
35652         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35653         NSS_STATUS_NOTFOUND.
35655 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35657         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35660 2014-01-01  Allan McRae  <allan@archlinux.org>
35662         * scripts/update-copyrights: Update configure input file suffix.
35664         * NEWS: Update copyright year.
35665         * catgets/gencat.c: Likewise.
35666         * csu/version.c: Likewise.
35667         * debug/catchsegv.sh: Likewise.
35668         * debug/pcprofiledump.c: Likewise.
35669         * debug/xtrace.sh: Likewise.
35670         * elf/ldconfig.c: Likewise.
35671         * elf/ldd.bash.in: Likewise.
35672         * elf/pldd.c: Likewise.
35673         * elf/sotruss.ksh: Likewise.
35674         * elf/sprof.c: Likewise.
35675         * iconv/iconv_prog.c: Likewise.
35676         * iconv/iconvconfig.c: Likewise.
35677         * locale/programs/locale.c: Likewise.
35678         * locale/programs/localedef.c: Likewise.
35679         * login/programs/pt_chown.c: Likewise.
35680         * malloc/memusage.sh: Likewise.
35681         * malloc/memusagestat.c: Likewise.
35682         * malloc/mtrace.pl: Likewise.
35683         * manual/libc.texinfo: Likewise.
35684         * nscd/nscd.c: Likewise.
35685         * nss/getent.c: Likewise.
35686         * nss/makedb.c: Likewise.
35687         * posix/getconf.c: Likewise.
35688         * scripts/test-installation.pl: Likewise.
35690         * All files with FSF copyright notices: Update copyright dates
35691         using scripts/update-copyrights.
35692         * intl/plural.c: Regenerated.
35693         * locale/programs/charmap-kw.h: Likewise.
35694         * locale/programs/locfile-kw.h: Likewise.
35696 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35698         * sysdeps/unix/sysv/linux/configure: Regenerated.
35699         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35700         the linux/fanotify.h header.
35701         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35702         HAVE_LINUX_FANOTIFY_H is defined.
35704 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35706         * benchtests/cos-inputs: New inputs.
35707         * benchtests/sin-inputs: Likewise.
35709         * benchtests/atan-inputs: New inputs. Fix name of multiple
35710         precision fallback inputs.
35712         * benchtests/atanh-inputs: New inputs.
35713         * benchtests/tanh-inputs: Likewise.
35715         * benchtests/acosh-inputs: New inputs.
35716         * benchtests/asinh-inputs: Likewise.
35718         * benchtests/cosh-inputs: New inputs.
35719         * benchtests/sinh-inputs: Likewise.
35721         * benchtests/acos-inputs: Add more inputs.
35722         * benchtests/asin-inputs: Likewise.
35724 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35726         [BZ #16375]
35727         * manual/arith.texi: Fix spelling.
35728         * manual/charset.texi: Likewise.
35729         * manual/errno.texi: Likewise.
35730         * manual/filesys.texi: Likewise.
35731         * manual/lang.texi: Likewise.
35732         * manual/llio.texi: Likewise.
35733         * manual/locale.texi: Likewise.
35734         * manual/message.texi: Likewise.
35735         * manual/resource.texi: Likewise.
35736         * manual/search.texi: Likewise.
35737         * manual/setjmp.texi: Likewise.
35738         * manual/stdio.texi: Likewise.
35739         * manual/string.texi: Likewise.
35740         * manual/sysinfo.texi: Likewise.
35741         * manual/time.texi: Likewise.
35743 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35745         * po/sl.po: New file.
35747 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35749         * .gitignore: Add core/.gdbinit/.gdb_history.
35751 2013-12-27  Allan McRae  <allan@archlinux.org>
35753         [BZ #16369]
35754         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35755         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35757 2013-12-24  Brooks Moses  <bmoses@google.com>
35759         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35760         all compilers that claim C++98 compliance, not just GCC.
35761         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35762         Likewise.
35764 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35766         * NEWS: Restore accidentally deleted bug-fix entries.
35768 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35769             Ondřej Bílka  <neleai@seznam.cz>
35771         [BZ #15073]
35772         * malloc/malloc.c (_int_free): Perform sanity check only if we
35773         have_lock.
35775 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35777         [BZ #12986]
35778         * manual/stdio.texi (String Input Conversions): Clarify that character
35779         classes are not supported.
35781 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35785 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35787         [BZ #16337]
35788         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35789         Calculate results for small negative arguments directly rather
35790         than using reflection formula with special underflow handling.
35792         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35793         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35794         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35795         (fchflags): Likewise.
35796         (revoke): Likewise.
35797         (setlogin): Likewise.
35798         (sigaltstack): Likewise.
35799         (wait4): Likewise.
35800         (sigblock): Remove.
35801         (sigsetmask): Likewise.
35802         (wait3): Likewise.
35803         (waitpid): Likewise.
35804         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35805         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35806         file.
35807         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35808         * sysdeps/unix/bsd/Makefile: ... here.
35809         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35810         * sysdeps/unix/bsd/Versions: ... here.
35811         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35812         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35813         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35814         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35815         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35816         * sysdeps/unix/bsd/sigblock.c: ... here.
35817         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35818         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35819         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35820         * sysdeps/unix/bsd/sigvec.c: ... here.
35821         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35822         * sysdeps/unix/bsd/tcdrain.c: ... here.
35823         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35824         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35825         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35826         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35827         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35828         * sysdeps/unix/bsd/wait.c: ... here.
35829         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35830         * sysdeps/unix/bsd/wait3.c: ... here.
35831         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35832         * sysdeps/unix/bsd/waitpid.c: ... here.
35834 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35836         [BZ #16356]
35837         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35838         round-to-nearest for [!USE_AS_EXPM1L].
35839         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35840         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35841         more tests of exp and exp10.  Expect some exp10 tests to miss
35842         exceptions or fail in directed rounding modes.
35843         * math/auto-libm-test-out: Regenerated.
35844         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35845         (exp10_test_tonearest): New function.
35846         (exp10_towardzero_test_data): New array.
35847         (exp10_test_towardzero): New function.
35848         (exp10_downward_test_data): New array.
35849         (exp10_test_downward): New function.
35850         (exp10_upward_test_data): New array.
35851         (exp10_test_upward): New function.
35852         (main): Call the new functions.
35853         * sysdeps/i386/fpu/libm-test-ulps: Update.
35854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35856 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35858         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35859         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35860         * math/auto-libm-test-out: Regenerated.
35861         * math/libm-test.inc (acosh_test_data): Add more tests.
35862         (atanh_test_data): Likewise.
35863         (ceil_test_data): Likewise.
35864         (copysign_test_data): Likewise.
35865         * sysdeps/i386/fpu/libm-test-ulps: Update.
35866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35868         * timezone/checktab.awk: Update from tzcode 2013i.
35869         * timezone/private.h: Likewise.
35870         * timezone/scheck.c: Likewise.
35871         * timezone/tzfile.h: Likewise.
35872         * timezone/tzselect.ksh: Likewise.
35873         * timezone/zdump.c: Likewise.
35874         * timezone/zic.c: Likewise.
35876         * math/auto-libm-test-in: Add tests of cpow.
35877         * math/auto-libm-test-out: Regenerated.
35878         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35879         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35880         mpc_cc_c.
35881         (func_calc_desc): Add mpc_cc_c union field.
35882         (test_functions): Add cpow.
35883         (special_fill_2pi): New function.
35884         (special_real_inputs): Add 2pi.
35885         (calc_generic_results): Handle mpc_cc_c.
35886         * sysdeps/i386/fpu/libm-test-ulps: Update.
35887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35890         csqrt, ctan and ctanh.
35891         * math/auto-libm-test-out: Regenerated.
35892         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35893         (TEST_COND_x86): Likewise.
35894         (ccos_test_data): Use AUTO_TESTS_c_c.
35895         (ccosh_test_data): Likewise.
35896         (cexp_test_data): Likewise.
35897         (clog_test_data): Likewise.
35898         (csqrt_test_data): Likewise.
35899         (ctan_test_data): Likewise.
35900         (ctan_tonearest_test_data): Likewise.
35901         (ctan_towardzero_test_data): Likewise.
35902         (ctan_downward_test_data): Likewise.
35903         (ctan_upward_test_data): Likewise.
35904         (ctanh_test_data): Likewise.
35905         (ctanh_tonearest_test_data): Likewise.
35906         (ctanh_towardzero_test_data): Likewise.
35907         (ctanh_downward_test_data): Likewise.
35908         (ctanh_upward_test_data): Likewise.
35909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35910         mpc_c_c.
35911         (func_calc_desc): Add mpc_c_c union field.
35912         (FUNC_mpc_c_c): New macro.
35913         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35914         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35915         ctanh.
35916         (special_fill_min_subnorm_p120): New function.
35917         (special_real_inputs): Add min_subnorm_p120.
35918         (calc_generic_results): Handle mpc_c_c.
35919         * sysdeps/i386/fpu/libm-test-ulps: Update.
35920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35922 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35924         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35925         (do_sin_slow): New functions.
35926         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35927         (cslow2, csloww1, csloww2): Use the new functions.
35929         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35930         Use M to change sign of result instead of X.  Assume X is
35931         positive.
35932         (csloww1): Likewise.
35933         (__sin): Adjust.
35934         (__cos): Adjust.
35936         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35937         arguments A and DA.
35938         (__sin): Adjust.
35939         (__cos): Likewise.
35941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35942         (__cos): Likewise.
35943         (sloww1): Don't adjust sign of DX.
35944         (csloww1): Likewise.
35945         (sloww2): Use X directly and don't adjust sign of DX.
35946         (csloww2): Likewise.
35948 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35950         * math/auto-libm-test-in: Add tests of cabs and carg.
35951         * math/auto-libm-test-out: Regenerated.
35952         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35953         (carg_test_data): Likewise.
35954         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35955         mpc_c_f.
35956         (func_calc_desc): Add mpc_c_f union field.
35957         (test_functions): Add cabs and carg.
35958         (calc_generic_results): Handle mpc_c_f.
35960         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35961         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35962         as a macro and a compat symbol.
35963         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35964         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35965         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35966         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35967         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35968         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35969         not use .hidden.
35970         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35971         Likewise.
35972         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35973         Likewise.
35974         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35975         Likewise.
35976         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35977         Likewise.
35978         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35979         Likewise.
35980         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35981         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35982         from GLIBC_2.3.2.
35984 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35988 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35990         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35991         trailing whitespace removed.
35992         * scripts/config.guess: Update to version 2013-11-29.
35993         * scripts/config.sub: Update to version 2013-10-01.
35995         * math/auto-libm-test-in: Add tests of sincos.
35996         * math/auto-libm-test-out: Regenerated.
35997         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35998         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35999         mpfr_f_11.
36000         (func_calc_desc): Add mpfr_f_11 union field.
36001         (test_functions): Add sincos.
36002         (calc_generic_results): Handle mpfr_f_11.
36003         * sysdeps/i386/fpu/libm-test-ulps: Update.
36004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36006 2013-12-19  Andreas Schwab  <schwab@suse.de>
36008         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36009         CALL_MCOUNT.
36010         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36011         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36012         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36014 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36016         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36017         * sysdeps/i386/fpu/libm-test-ulps: Update.
36018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36020         [BZ #16293]
36021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36022         round-to-nearest mode when using frndint.
36023         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36024         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36025         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36026         Likewise.
36027         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36028         sinh test to fail.
36029         * math/auto-libm-test-out: Regenerated.
36030         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36031         (TEST_COND_x86): Likewise.
36032         (expm1_tonearest_test_data): New array.
36033         (expm1_test_tonearest): New function.
36034         (expm1_towardzero_test_data): New array.
36035         (expm1_test_towardzero): New function.
36036         (expm1_downward_test_data): New array.
36037         (expm1_test_downward): New function.
36038         (expm1_upward_test_data): New array.
36039         (expm1_test_upward): New function.
36040         (main): Run the new test functions.
36041         * sysdeps/i386/fpu/libm-test-ulps: Update.
36042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36044         * include/features.h: Update comment documenting feature test
36045         macros.  Mention _DEFAULT_SOURCE in comment.
36046         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36047         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36048         _BSD_SOURCE and _SVID_SOURCE.
36049         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36050         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36051         !_SVID_SOURCE]: Likewise.
36052         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36053         (__USE_POSIX_IMPLICITLY): Define.
36054         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36055         (_POSIX_SOURCE): Undefine and redefine.
36056         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36057         (_POSIX_C_SOURCE): Likewise.
36058         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36059         (Feature Test Macros): Update documentation of default features.
36061 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36063         * benchtests/Makefile: Add bench-strtok.
36064         * benchtests/bench-strtok.c: New file: strtok benchtest.
36066 2013-12-19  Allan McRae  <allan@archlinux.org>
36068         * manual/install.texi: Suppress menu for plain text output.
36069         * INSTALL: Regenerated.
36071 2013-12-18  Brooks Moses  <bmoses@google.com>
36073         [BZ #15846]
36074         * misc/getauxval.c: Include errno.h.
36075         (__getauxval): Set errno to ENOENT if the requested type is not
36076         found.
36077         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36078         don't declare with __attribute_const__.
36079         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36080         * manual/startup.texi: Document that getauxval sets errno.
36082 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36084         * math/auto-libm-test-in: Add tests of jn and yn.
36085         * math/auto-libm-test-out: Regenerated.
36086         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36087         (yn_test_data): Likewise.
36088         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36089         mpfr_if_f.
36090         (func_calc_desc): Add mpfr_if_f union field.
36091         (FUNC_mpfr_if_f): New macro.
36092         (test_functions): Add jn and yn.
36093         (calc_generic_results): Assert type of second input for
36094         mpfr_ff_f.  Handle mpfr_if_f.
36095         (output_for_one_input_case): Disable all checking for arguments
36096         fitting floating-point types in case of an integer argument.
36097         * sysdeps/i386/fpu/libm-test-ulps: Update.
36098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36101         Don't expect fegetround reference in libm.so.
36103 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36105         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36106         $(config-cflags-nofma).
36108 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36110         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36111         * math/auto-libm-test-out: Regenerated.
36113         [BZ #16338]
36114         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36115         to determine exponent and adjust argument to have exponent of -1.
36116         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36117         log2.
36118         * math/auto-libm-test-out: Regenerated.
36119         * sysdeps/i386/fpu/libm-test-ulps: Update.
36120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36122 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36124         * manual/probes.texi: Remove cases when per-thread arenas are
36125         disabled.
36127 2013-12-18  Andreas Schwab  <schwab@suse.de>
36129         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36130         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36131         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36132         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36133         * sysdeps/i386/i686/multiarch/Makefile: Update.
36134         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36136 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36138         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36139         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36141 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36143         [BZ #15968]
36144         Support TZ transition times < 00:00:00.
36145         This is needed for version-3 tz-format files; it supports time
36146         stamps past 2037 for America/Godthab (the only entry in the tz
36147         database for which this change is relevant).
36148         * manual/time.texi (TZ Variable): Document transition times
36149         from -167:59:59 through -00:00:01.
36150         * time/tzset.c (tz_rule): Time of day is now signed.
36151         (__tzset_parse_tz): Parse negative time of day.
36153         Document TZ transition times >= 25:00:00.
36154         * manual/time.texi (TZ Variable): Document transition times from
36155         25:00:00 through 167:59:59.  These are already supported, and this
36156         support will help with version-3 tz-format files.
36158         * manual/time.texi (TZ Variable): Modernize North America example
36159         to reflect current (i.e., 2007-and-later) daylight saving rules.
36161         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36163 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36165         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36166         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36169         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36170         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36171         * sysdeps/unix/bsd/clock.c: Likewise.
36172         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36173         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36174         * sysdeps/unix/bsd/init-posix.c: Likewise.
36175         * sysdeps/unix/bsd/poll.c: Likewise.
36176         * sysdeps/unix/bsd/ptsname.c: Likewise.
36177         * sysdeps/unix/bsd/seekdir.c: Likewise.
36178         * sysdeps/unix/bsd/setegid.c: Likewise.
36179         * sysdeps/unix/bsd/seteuid.c: Likewise.
36180         * sysdeps/unix/bsd/setgid.c: Likewise.
36181         * sysdeps/unix/bsd/setrgid.c: Likewise.
36182         * sysdeps/unix/bsd/setruid.c: Likewise.
36183         * sysdeps/unix/bsd/setsid.c: Likewise.
36184         * sysdeps/unix/bsd/setuid.c: Likewise.
36185         * sysdeps/unix/bsd/sigaction.c: Likewise.
36186         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36187         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36188         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36189         * sysdeps/unix/bsd/telldir.c: Likewise.
36190         * sysdeps/unix/bsd/times.c: Likewise.
36191         * sysdeps/unix/bsd/usleep.c: Likewise.
36193         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36194         ($(objpfx)libbsd-compat.a): Remove rule.
36196         * include/features.h (__FAVOR_BSD): Do not define.
36197         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36198         features conflicting with POSIX.
36199         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36200         (_BSD_SOURCE): Remove description of not being a subset of other
36201         feature test macros.
36202         * manual/job.texi (getpgrp): Do not document BSD version.
36203         (getpgid): Do not document by reference to BSD getpgrp.
36204         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36205         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36206         * signal/signal.h [__FAVOR_BSD]: Likewise.
36207         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36208         instead of making contents conditional on [__FAVOR_BSD].
36209         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36211 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36215 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36217         [BZ #16314]
36218         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36219         values below 2**-450, not 2**-500.
36220         * math/auto-libm-test-in: Don't allow spurious underflow from
36221         hypot.
36222         * math/auto-libm-test-out: Regenerated.
36224         [BZ #16316]
36225         [BZ #16330]
36226         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36227         values of ha and hb and sort them after adjusting subnormal
36228         arguments.
36229         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36230         Likewise.
36231         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36232         values of ea and eb and sort them after adjusting subnormal
36233         arguments.
36234         * math/auto-libm-test-in: Do not expect some hypot tests of
36235         subnormals to fail.  Add more hypot tests.
36236         * math/auto-libm-test-out: Regenerated.
36238 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36240         [BZ #13304]
36241         * sysdeps/sh/s_fma.c: New file.
36242         * sysdeps/sh/s_fmaf.c: New file.
36243         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36244         version.
36245         * sysdeps/sh/Implies: Add sh/soft-fp.
36247 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36249         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36250         level of indirection to members `objname', `errstring', `malloced'.
36251         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36252         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36253         it as the __longjmp argument (just pass 1 instead).
36254         (_dl_catch_error): Initialize C with argument pointers and address of
36255         volatile local ERRCODE rather than copying values out of C at return.
36257 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36259         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36260         * math/auto-libm-test-out: Regenerated.
36261         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36262         (hypot_test_data): Likewise.
36263         (pow_test_data): Likewise.
36264         (pow_tonearest_test_data): Likewise.
36265         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36266         mpfr_ff_f.
36267         (func_calc_desc): Add mpfr_ff_f union field.
36268         (FUNC_mpfr_ff_f): New macro.
36269         (test_functions): Add atan2, hypot and pow.
36270         (special_fill_min): New function.
36271         (special_fill_minus_min): Likewise.
36272         (special_fill_min_subnorm): Likewise.
36273         (special_fill_minus_min_subnorm): Likewise.
36274         (special_real_inputs): Add min, -min, min_subnorm and
36275         -min_subnorm.
36276         (calc_generic_results): Handle mpfr_ff_f.
36277         * sysdeps/i386/fpu/libm-test-ulps: Update.
36278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36280 2013-12-16  Will Newton  <will.newton@linaro.org>
36282         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36283         (Aligned Memory Blocks): Add documentation for aligned_alloc
36284         and suggest it as an alternative to posix_memalign.
36285         (Hooks for Malloc): Document __memalign_hook is also called
36286         for aligned_alloc.  (Summary of Malloc): Add summary for
36287         aligned alloc.  Document __memalign_hook is also called
36288         for aligned_alloc.
36290 2013-12-16  Will Newton  <will.newton@linaro.org>
36292         * manual/memory.texi (Malloc Examples): Clarify default
36293         alignment documentation.  Suggest posix_memalign rather
36294         than memalign or valloc.
36295         (Aligned Memory Blocks): Remove suggestion to use memalign
36296         or valloc.  Remove obsolete comment about BSD.
36297         Document memalign errno values and mark the function obsolete.
36298         Document posix_memalign returned error codes.  Mark valloc
36299         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36300         called for posix_memalign and valloc.
36301         (Summary of Malloc): Add posix_memalign to function summary.
36302         __memalign_hook is also called for posix_memalign and valloc.
36304 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36306         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36307         TAYLOR_SIN.
36308         (__sin): Adjust.
36309         (__cos): Likewise.
36310         (sloww): Use mynumber union.  Expand ternary operator into
36311         if-else statements.
36312         (cslow): use mynumber union.
36314 2013-12-16  Allan McRae  <allan@archlinux.org>
36316         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36317         * configure: Regenerated.
36319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36321         [BZ #14120]
36322         * configure.ac: Added --enable-maintainer-mode. Check for
36323         autoconf when enabled.
36324         * configure: Regenerated.
36326         * nscd/nscd.service: New file.
36327         * nscd/nscd.tmpfiles: New file.
36329 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36331         [BZ #12100]
36332         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36333         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36334         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36335         (strstr): Add __strstr_sse2_unaligned ifunc.
36336         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36337         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36338         (strcasestr): Remove __strcasestr_sse42 ifunc.
36339         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36343 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36345         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36346         * sysdeps/sh/bits/fenv.h: ... here.
36347         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36349 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36351         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36354         hypotf multiarch implementations.
36355         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36356         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36358         multiarch hypot for PPC64.
36359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36362         multiarch hypotf for PPC64.
36364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36365         modff multiarch implementations.
36366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36369         multiarch modf for PPC64.
36370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36373         multiarch modff for PPC64.
36375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36376         and logl multiarch implementations.
36377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36380         multiarch logb for PPC64.
36381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36384         multiarch logb for PPC64.
36385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36388         multiarch logb for PPC64.
36390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36391         isinff multiarch implementation.
36392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36393         file.
36394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36396         multiarch isinf for PPC64.
36397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36398         file.
36399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36400         multiarch isinff for PPC64.
36402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36403         finitef multiarch implementation.
36404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36405         file.
36406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36408         multiarch finite for PPC64.
36409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36410         file.
36411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36412         multiarch finitef for PPC64.
36414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36415         lrint multiarch implementation.
36416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36417         file.
36418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36420         multiarch llrint for PPC64.
36421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36422         multiarch lrint for PPC64.
36424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36425         copysignf multiarch implementation.
36426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36427         file.
36428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36429         file.
36430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36431         multiarch copysign for PPC64.
36432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36433         multiarch copysignf for PPC64.
36435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36436         multiarch implementation.
36437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36438         file.
36439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36440         file.
36441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36442         file.
36443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36444         file.
36445         multiarch llround for PPC64.
36446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36447         multiarch trunc for PPC64.
36448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36449         multiarch truncf for PPC64.
36451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36452         multiarch implementation.
36453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36454         file.
36455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36456         file.
36457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36458         file.
36459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36460         file.
36461         multiarch llround for PPC64.
36462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36463         multiarch round for PPC64.
36464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36465         multiarch roundf for PPC64.
36467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36468         multiarch implementation.
36469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36470         file.
36471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36472         file.
36473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36474         file.
36475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36476         file.
36477         multiarch llround for PPC64.
36478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36479         multiarch floor for PPC64.
36480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36481         multiarch floorf for PPC64.
36483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36484         multiarch implementation.
36485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36486         file.
36487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36488         file.
36489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36490         file.
36491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36492         file.
36493         multiarch llround for PPC64.
36494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36495         multiarch ceil for PPC64.
36496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36497         multiarch ceilf for PPC64.
36499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36500         multiarch implementation.
36501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36502         file.
36503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36504         file.
36505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36506         file.
36507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36508         multiarch llround for PPC64.
36509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36510         multiarch lround for PPC64.
36512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36513         multiarch implementation.
36514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36517         file.
36518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36521         multiarch isnan for PPC64.
36522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36523         multiarch isnanf for PPC64.
36525         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36526         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36527         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36528         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36529         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36532         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36533         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36534         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36538         multiarch implementations.
36539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36540         (__libc_ifunc_impl_list): Likewise.
36541         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36542         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36544         multiarch stpcpy for PPC64.
36546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36547         multiarch implementations.
36548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36549         (__libc_ifunc_impl_list): Likewise.
36550         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36551         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36552         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36553         multiarch strcpy for PPC64.
36555         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36556         redefine function name.
36557         (_wordcopy_fwd_dest_aligned): Likewise.
36558         (_wordcopy_bwd_aligned): Likewise.
36559         (_wordcopy_bwd_dest_aligned): Likewise.
36560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36561         multiarch implementations.
36562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36563         (__libc_ifunc_impl_list): Likewise.
36564         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36568         multiarch wcscpy for PPC64.
36570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36571         multiarch implementations.
36572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36573         (__libc_ifunc_impl_list): Likewise.
36574         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36575         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36576         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36578         multiarch wcscpy for PPC64.
36580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36581         multiarch implementations.
36582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36583         (__libc_ifunc_impl_list): Likewise.
36584         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36585         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36586         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36587         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36588         multiarch wcsrchr for PPC64.
36590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36591         multiarch implementations.
36592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36593         (__libc_ifunc_impl_list): Likewise.
36594         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36595         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36596         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36597         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36598         multiarch wcschr for PPC64.
36600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36601         multiarch implementations.
36602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36603         (__libc_ifunc_impl_list): Likewise.
36604         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36605         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36606         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36607         multiarch strchrnul for PPC64.
36609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36610         implementations.
36611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36612         (__libc_ifunc_impl_list): Likewise.
36613         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36614         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36615         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36616         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36617         strchr for PPC64.
36619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36620         implementations.
36621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36622         (__libc_ifunc_impl_list): Likewise.
36623         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36624         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36625         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36626         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36627         strncmp for PPC64.
36629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36630         multiarch implementations.
36631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36632         (__libc_ifunc_impl_list): Likewise.
36633         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36634         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36635         strncasecmp for PPC64.
36636         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36637         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36638         multiarch strncasecmp_l for PPC64.
36640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36641         multiarch implementations.
36642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36643         (__libc_ifunc_impl_list): Likewise.
36644         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36646         multiarch strcasecmp for PPC64.
36647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36648         file.
36649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36650         multiarch strcasecmp_l for PPC64.
36652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36653         implementations.
36654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36655         (__libc_ifunc_impl_list): Likewise.
36656         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36657         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36658         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36659         strnlen for PPC64.
36661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36662         implementations.
36663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36664         (__libc_ifunc_impl_list): Likewise.
36665         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36666         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36667         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36668         strlen for PPC64.
36670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36671         implementations.
36672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36673         (__libc_ifunc_impl_list): Likewise.
36674         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36675         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36676         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36677         rawmemrchr for PPC64.
36679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36680         implementation.
36681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36682         (__libc_ifunc_impl_list): Likewise.
36683         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36684         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36685         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36686         memrchr for PPC64.
36688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36689         implementation.
36690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36691         (__libc_ifunc_impl_list): Likewise.
36692         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36693         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36694         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36695         memchr for PPC64.
36697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36698         implementation.
36699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36700         (__libc_ifunc_impl_list): Likewise.
36701         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36702         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36703         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36704         mempcpy for PPC64.
36706         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36707         avoid cretion of __bzero symbol.
36708         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36709         Likewise.
36710         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36711         Likewise.
36712         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36713         Likewise.
36714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36715         multiarch implementations.
36716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36717         (__libc_ifunc_impl_list): Likewise.
36718         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36719         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36720         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36721         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36722         bzero for PPC32.
36723         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36724         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36725         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36726         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36727         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36728         memset for PPC64.
36729         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36731         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36733         implementations.
36734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36735         (__libc_ifunc_impl_list): Likewise.
36736         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36737         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36738         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36739         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36740         memcmp for PPC64.
36742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36743         multiarch for POWER/PPC64.
36744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36745         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36746         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36747         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36748         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36749         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36750         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36752         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36753         memcpy for PPC64.
36755         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36756         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36757         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36758         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36759         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36760         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36761         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36762         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36763         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36764         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36765         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36766         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36767         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36768         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36769         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36778 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36780         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36782 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36784         * benchtests/Makefile (bench): Add exp2 and log2.
36785         (LDLIBS-bench-exp2): Add -lm.
36786         (LDLIBS-bench-log2): Likewise.
36787         * benchtests/exp2-inputs: New inputs file.
36788         * benchtests/log2-inputs: New inputs file.
36789         * benchtests/log-inputs: Add new inputs.
36790         * benchtests/tan-inputs: Likewise.
36792 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36794         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36795         definition...
36796         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36797         (csloww2): ... from here.
36799         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36800         instead of structures.
36801         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36802         (POLYNOMIAL): Likewise.
36803         (TAYLOR_SLOW): Likewise.
36804         (__sin): Likewise.
36805         (__cos): Likewise.
36806         (slow1): Likewise.
36807         (slow2): Likewise.
36808         (sloww): Likewise.
36809         (sloww1); Likewise.
36810         (sloww2): Likewise.
36811         (bsloww1): Likewise.
36812         (bsloww2): Likewise.
36813         (cslow2): Likewise.
36814         (csloww): Likewise.
36815         (csloww1): Likewise.
36816         (csloww2): Likewise.
36818 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36820         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36821         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36822         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36823         * malloc/hooks.c (realloc_check): Likewise.
36825         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36826         * malloc/arena.c: Remove PER_THREAD conditional.
36827         [!PER_THREAD]: Remove code.
36828         (ptmalloc_unlock_all2): Likewise.
36829         (ptmalloc_init): Likewise.
36830         (_int_new_arena): Likewise.
36831         (arena_get2): Likewise.
36832         * malloc/hooks.c (__malloc_get_state): Likewise.
36833         (__malloc_set_state): Likewise.
36834         * malloc/malloc.c: Likewise.
36835         (struct malloc_state): Likewise.
36836         (struct malloc_par): Likewise.
36837         (__libc_realloc): Likewise.
36838         (__libc_mallopt): Likewise.
36840 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36842         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36844 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36846         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36847         macro to a function.  Check for zero perturb_byte.
36848         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36850         * malloc/malloc.c: (force_reg): Remove.
36851         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36852         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36853         force_reg by atomic_forced_read.
36854         * malloc/arena.c (ptmalloc_init): Likewise.
36855         * malloc/hooks.c (top_check): Likewise.
36857 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36861 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36865 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36867         * math/auto-libm-test-in: Add tests of lgamma.
36868         * math/auto-libm-test-out: Regenerated.
36869         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36870         (M_LOG_2_SQRT_PIl): Likewise.
36871         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36873         mpfr_f_f1.
36874         (func_calc_desc): Add mpfr_f_f1 union field.
36875         (ARGS1): New macro.
36876         (ARGS2): Likewise.
36877         (ARGS3): Likewise.
36878         (ARGS4): Likewise.
36879         (RET1): Likewise.
36880         (RET2): Likewise.
36881         (CALC): Likewise.
36882         (FUNC): Likewise.
36883         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36884         (test_functions): Add lgamma.
36885         (calc_generic_results): Handle mpfr_f_f1.
36886         * sysdeps/i386/fpu/libm-test-ulps: Update.
36887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36889 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36891         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36892         __mpn_add_n for PowerPC64/POWER7.
36893         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36894         __mpn_sub_n for PowerPC64/POWER7.
36896         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36897         __mpn_addmul_1 for PowerPC64.
36898         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36899         __mpn_submul_1 for PowerPC64.
36900         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36901         for PowerPC64.
36902         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36903         for PowerPC64.
36905 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36907         [BZ #15089]
36908         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36910 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36912         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36914         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36915         add multiarch folders.
36916         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36917         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36918         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36919         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36920         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36921         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36922         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36923         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36924         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36925         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36926         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36935         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36937         New file.
36938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36939         New file.
36940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36941         multiarch __ieee754_hypot for PowerPC32.
36942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36943         New file.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36945         New file.
36946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36947         multiarch __ieee754_hypotf for PowerPC32.
36949         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36950         long_double_symbol only if __logbl is defined.
36951         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36952         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36954         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36956         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36957         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36958         path for implementation.
36959         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36960         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36962         logb, and logbl multiarch implementations for PowerPC32.
36963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36964         file.
36965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36966         file.
36967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36968         multiarch logb for PowerPC32.
36969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36970         file.
36971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36972         file.
36973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36974         multiarch logbf for PowerPC32.
36975         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36977         file.
36978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36979         multiarch logbl implementation for PowerPC32.
36981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36982         and modff multiarch implementations.
36983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36984         New file.
36985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36986         New file.
36987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36988         multiarch modf for PowerPC32.
36989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36990         New file.
36991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36992         New file.
36993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36994         multiarch modff for PowerPC32.
36996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36997         and lrintf multiarch implementations.
36998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36999         New file.
37000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37001         New file.
37002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37003         multiarch lrint for PowerPC32.
37004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37005         file: multiarch lrintf for PowerPC32.
37007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37008         and lroundf multiarch implementations.
37009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37010         New file.
37011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37012         New file.
37013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37014         New file.
37015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37016         multiarch lround for PowerPC32.
37017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37018         file: multiarch lroundf for PowerPC32.
37020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37021         copysign and copysignf multiarch implementations.
37022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37023         New file.
37024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37025         New file.
37026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37027         file: multiarch copysign for PowerPC32.
37028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37029         file: multiarch copysignf for PowerPC32.
37031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37032         and truncf multiarch implementations.
37033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37034         New file.
37035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37036         file.
37037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37038         multiarch trunc for PowerPC32.
37039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37040         New file.
37041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37042         New file.
37043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37044         multiarch truncf for PowerPC32.
37046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37047         and roundf multiarch implementations.
37048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37049         New file.
37050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37051         file.
37052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37053         multiarch round for PowerPC32.
37054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37055         New file.
37056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37057         New file.
37058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37059         multiarch roundf for PowerPC32.
37061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37062         and floorf multiarch implementations.
37063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37064         New file.
37065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37066         file.
37067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37068         multiarch floor for PowerPC32.
37069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37070         New file.
37071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37072         New file.
37073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37074         multiarch floorf for PowerPC32.
37076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37077         and ceilf multiarch implementations.
37078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37079         New file.
37080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37081         file.
37082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37083         multiarch ceil for PowerPC32.
37084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37085         New file.
37086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37087         file.
37088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37089         multiarch ceilf for PowerPC32.
37091         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37092         is defined.
37093         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37094         FINITEF is defined.
37095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37096         and finitef multiarch implementations.
37097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37098         New file.
37099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37100         file.
37101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37102         multiarch finite for PowerPC32.
37103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37104         New file.
37105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37106         file: multiarch finitef for PowerPC32.
37108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37109         and isinff multiarch implementations.
37110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37111         file.
37112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37113         file.
37114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37115         multiarch isinf for PowerPC32.
37116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37117         New file.
37118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37119         multiarch isinff for PowerPC32.
37121         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37122         alias when __isnan is defined.
37123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37124         and isnanf multiarch implementations.
37125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37126         file.
37127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37128         file.
37129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37130         file.
37131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37132         file.
37133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37134         multiarch isnan for PowerPC32.
37135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37136         New file.
37137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37138         New file.
37139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37140         multiarch isnanf for PowerPC32.
37142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37143         and sqrtf multiarch implementations.
37144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37145         file.
37146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37147         file.
37148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37149         multiarch sqrt for PowerPC32.
37150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37151         file.
37152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37153         file.
37154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37155         multiarch sqrtf for PowerPC32.
37157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37158         and llroundf multiarch implementations.
37159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37160         New file.
37161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37162         New file.
37163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37164         New file.
37165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37166         file: multiarch llround for PowerPC32.
37167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37168         file: multiarch llroundf for PowerPC32.
37170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37171         multiarch PowerPC32 fpu implementations.
37172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37173         New file.
37174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37175         New file.
37176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37177         multiarch llrint for PowerPC32.
37178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37179         New file.
37180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37181         New file.
37182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37183         file.
37185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37187         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37188         file.
37189         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37190         file.
37191         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37192         file.
37193         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37194         multiarch wordcopy for PPC32.
37195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37196         wordcopy objects.
37197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37198         (__libc_ifunc_impl_list): Likewise.
37199         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37200         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37201         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37202         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37203         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37204         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37206         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37208         file.
37209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37210         file.
37211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37212         file.
37213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37214         multiarch wcscpy for PPC32.
37215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37216         multiarch objects.
37217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37218         (__libc_ifunc_impl_list): Likewise.
37219         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37220         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37221         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37222         sysdeps/powerpc/power6/wcscpy.c.
37224         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37226         file.
37227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37228         file.
37229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37230         file.
37231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37232         multiarch wcsrchr for PPC32.
37233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37234         multiarch objects.
37235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37236         (__libc_ifunc_impl_list): Likewise.
37237         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37238         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37239         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37240         sysdeps/powerpc/power6/wcsrchr.c.
37242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37243         file.
37244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37245         file.
37246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37248         multiarch wcschr for PPc32.
37249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37250         multiarch objects.
37251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37252         (__libc_ifunc_impl_list): Likewise.
37253         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37254         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37255         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37256         sysdeps/powerpc/power6/wcschr.c.
37258         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37259         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37260         file.
37261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37262         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37263         file: multiarch strchr for PPC32.
37264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37265         multiarch objects.
37266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37267         (__libc_ifunc_impl_list): Likewise.
37269         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37270         name.
37271         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37272         file.
37273         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37274         file.
37275         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37276         multiarch strchrnul for PPC32.
37277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37278         multiarch objects.
37279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37280         (__libc_ifunc_impl_list): Likewise.
37282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37283         file.
37284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37285         multiarch strncasecmp for PPC32.
37286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37287         file.
37288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37289         multiarch strncasecmp_l for PPC32.
37290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37291         strncasecmp multiarch objects.
37292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37293         (__libc_ifunc_impl_list): Likewise.
37295         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37296         file.
37297         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37298         multiarch strncasecmp for PPC32.
37299         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37300         New file.
37301         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37302         multiarch strcasecmp_l for PPC32.
37303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37304         multiarch objects.
37305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37306         (__libc_ifunc_impl_list): Likewise.
37308         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37309         file.
37310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37311         file.
37312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37313         multiarch strncmp for PPC32.
37314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37315         multiarch objects.
37316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37317         (__libc_ifunc_impl_list): Likewise.
37319         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37320         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37321         file.
37322         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37323         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37325         multiarch objects.
37326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37327         (__libc_ifunc_impl_list): Likewise.
37329         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37330         file.
37331         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37332         file.
37333         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37335         multiarch objects.
37336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37337         (__libc_ifunc_impl_list): Likewise.
37339         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37340         file.
37341         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37342         file.
37343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37344         multiarch rawmemchr for PPC32.
37345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37346         multiarch objects.
37347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37348         (__libc_ifunc_impl_list): Likewise.
37350         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37351         file.
37352         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37353         file.
37354         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37355         file: memrchr multiarch for PPC32.
37356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37357         multiarch objects.
37358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37359         (__libc_ifunc_impl_list): Likewise.
37361         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37362         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37363         file.
37364         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37365         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37366         multiarch memchr for PPC32.
37367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37368         multiarch objects.
37369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37370         (__libc_ifunc_impl_list): Likewise.
37372         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37373         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37374         file.
37375         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37376         file.
37377         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37378         file: multiarch mempcpy for PPC32.
37379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37380         multiarch objects.
37381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37382         (__libc_ifunc_impl_list): Likewise.
37384         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37385         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37386         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37388         multiarch bzero for PPC32.
37389         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37390         file.
37391         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37392         file.
37393         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37394         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37395         file: multiarch memset for PPC32.
37396         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37398         memset multiarch objects.
37399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37400         (__libc_ifunc_impl_list): Likewise.
37402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37403         file.
37404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37406         memcmp for PPC32.
37407         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37409         multiarch objects.
37410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37411         (__libc_ifunc_impl_list): Likewise.
37413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37416         file.
37417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37418         file.
37419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37420         file.
37421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37422         multiarch memcpy for PPC32.
37423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37424         multiarch objects.
37425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37426         (__libc_ifunc_impl_list): Likewise.
37428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37429         support multiarch for POWER/PPC32.
37430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37431         Likewise.
37432         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37434         Implies file to make multiarch folder appers before the fpu and
37435         default folder for power4 configuration.
37437 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37439         * scripts/bench.pl: Append volatile keyword to type.
37441 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37443         * sysdeps/sh/sotruss-lib.c: New file.
37444         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37446 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37450 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37452         [BZ #6810]
37453         * math/w_tgamma.c: Include <errno.h>.
37454         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37455         * math/w_tgammaf.c: Include <errno.h>.
37456         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37457         * math/w_tgammal.c: Include <errno.h>.
37458         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37459         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37460         underflow.  Add more tgamma tests.
37461         * math/auto-libm-test-out: Regenerated.
37462         * sysdeps/i386/fpu/libm-test-ulps: Update.
37463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37465         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37466         sin, sinh, tan, tanh, tgamma, y0 and y1.
37467         * math/auto-libm-test-out: Regenerated.
37468         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37469         (TEST_COND_x86): Likewise.
37470         (M_E2l): Remove macro.
37471         (M_E3l): Likewise.
37472         (M_2_SQRT_PIl): Likewise.
37473         (M_SQRT_PIl): Likewise.
37474         (M_1_DIV_El): Likewise.
37475         (log_test_data): Use AUTO_TESTS_f_f.
37476         (log10_test_data): Likewise.
37477         (log1p_test_data): Likewise.
37478         (log2_test_data): Likewise.
37479         (sin_test_data): Likewise.
37480         (sin_tonearest_test_data): Likewise.
37481         (sin_towardzero_test_data): Likewise.
37482         (sin_downward_test_data): Likewise.
37483         (sin_upward_test_data): Likewise.
37484         (sinh_test_data): Likewise.
37485         (sinh_tonearest_test_data): Likewise.
37486         (sinh_towardzero_test_data): Likewise.
37487         (sinh_downward_test_data): Likewise.
37488         (sinh_upward_test_data): Likewise.
37489         (tan_test_data): Likewise.
37490         (tan_tonearest_test_data): Likewise.
37491         (tan_towardzero_test_data): Likewise.
37492         (tan_downward_test_data): Likewise.
37493         (tan_upward_test_data): Likewise.
37494         (tanh_test_data): Likewise.
37495         (tgamma_test_data): Likewise.
37496         (y0_test_data): Likewise.
37497         (y1_test_data): Likewise.
37498         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37499         (special_real_inputs): Add pi/4.
37500         * sysdeps/i386/fpu/libm-test-ulps: Update.
37501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37503 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37505         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37506         "longjmp_target" static probes.
37507         (__longjmp): Rename to __longjmp_symbol.
37508         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37509         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37510         on which longjmp to generate.
37511         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37513         probe.
37514         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37515         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37516         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37517         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37518         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37519         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37521         __longjmp_symbol based on which __longjmp to generate.
37522         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37523         probe.
37524         (setjmp): Rename to setjmp_symbol.
37525         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37526         (_setjmp): Rename to _setjmp_symbol.
37527         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37528         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37529         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37530         which setjmp to generate.
37531         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37532         "longjmp_target" static probes.
37534 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37536         * benchtests/README: Add note about output arguments.
37537         * benchtests/bench-sincos.c: Remove file.
37538         * benchtests/sincos-inputs: New file.
37539         * scripts/bench.pl: Identify output arguments and define
37540         static variables for them.
37542         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37544         [BZ #15941]
37545         * Makefile (INSTALL): Add install-plain.texi as the primary
37546         dependency.
37547         * manual/install-plain.texi: New file.
37548         * manual/install.texi: Include node directive only for
37549         non-plaintext output.
37551 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37553         * stdlib/longlong.h: Update from GCC.
37555         [BZ #6807]
37556         [BZ #15901]
37557         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37558         * math/w_j0f.c (y0f): Likewise.
37559         * math/w_j0l.c (__y0l): Likewise.
37560         * math/w_j1.c (y1): Likewise.
37561         * math/w_j1f.c (y1f): Likewise.
37562         * math/w_j1l.c (__y1l): Likewise.
37563         * math/w_jn.c (yn): Likewise.
37564         * math/w_jnf.c (ynf): Likewise.
37565         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37566         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37567         value for Bessel function domain errors outside _SVID_ mode.
37568         Adjust sign of return value for yn (negative integer, 0).
37569         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37570         by zero in return for negative x and set sign appropriately for
37571         negative n.
37572         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37573         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37574         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37575         expectations in error cases.
37576         (y1_test_data): Likewise.
37577         (yn_test_data): Likewise.
37578         * sysdeps/i386/fpu/libm-test-ulps: Update.
37579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37581 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37583         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37584         "64" to "64-v1".  Add "64-v2".
37585         (abi-64-options): Rename to ...
37586         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37587         (abi-64-condition): Rename to ...
37588         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37589         (abi-64-ld-soname): Rename to ...
37590         (abi-64-v1-ld-soname): ... this.
37591         (abi-64-v2-options): Define.
37592         (abi-64-v2-condition): Likewise.
37593         (abi-64-v2-ld-soname): Likewise.
37594         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37595         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37600 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37601             Alan Modra  <amodra@gmail.com>
37603         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37604         New versions for use with the ELFv2 ABI.
37605         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37606         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37607         declaration.
37608         (struct La_ppc64v2_retval): Likewise.
37609         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37610         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37611         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37612         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37613         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37614         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37615         Do not save or restore CR.
37616         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37617         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37618         return values for ELFv2 ABI.  Fix location of FPR return registers.
37619         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37620         updated values for _CALL_ELF == 2.
37621         (La_regs, La_retval, int_retval): Likewise.
37623 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37625         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37626         (FRAME_MIN_SIZE_PARM): Likewise.
37627         (FRAME_BACKCHAIN): Likewise.
37628         (FRAME_CR_SAVE): Likewise.
37629         (FRAME_LR_SAVE): Likewise.
37630         (FRAME_TOC_SAVE): Likewise.
37631         (FRAME_PARM_SAVE): Likewise.
37632         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37633         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37634         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37635         (call_mcount_parm_offset): New macro.
37636         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37637         (PROF): Use symbolic stack frame offsets.
37638         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37639         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37640         Redefine in terms of FRAME_MIN_SIZE.
37641         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37642         (_dl_profile_resolve): Likewise.  Update comment.
37643         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37644         symbols stack frame offsets.
37645         (__sigsetjmp): Likewise.
37646         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37647         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37648         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37649         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37652         (FRAME_BACKCHAIN): Remove.
37653         (FRAME_CR_SAVE): Likewise.
37654         (FRAME_LR_SAVE): Likewise.
37655         (FRAME_COMPILER_DW): Likewise.
37656         (FRAME_LINKER_DW): Likewise.
37657         (FRAME_TOC_SAVE): Likewise.
37658         (FRAME_PARM_SAVE): Likewise.
37659         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37660         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37661         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37663         (CHECK_SP): Use symbolic stack frame offsets.
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37665         zone" instead of caller's parameter save area for temp storage.
37666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37667         Likewise.  Also, use symbolic stack frame offsets.
37668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37669         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37670         our own stack frame instead of the caller's.
37671         (__socket): Use symbolic stack frame offsets.
37673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37674             Alan Modra  <amodra@gmail.com>
37676         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37677         Define.
37678         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37679         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37680         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37681         New function.
37682         (elf_machine_fixup_plt): Call it.
37683         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37684         reloc arguments.
37685         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37686         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37687         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37688         r2 before calling target.
37690 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37691             Alan Modra  <amodra@gmail.com>
37693         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37694         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37695         versions of macros to support ELFv2 ABI.
37696         (LOCALENTRY): New macro.
37697         (ENTRY, EALIGN): Use it.
37698         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37699         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37700         fall through into ENTRY entry point.
37701         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37702         Only define if _CALL_ELF != 2.
37704         (elf_machine_matches_host): Verify ABI version matches.
37705         (RTLD_START): Use LOCALENTRY.
37706         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37707         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37708         (PLT_ENTRY_WORDS): New macro.
37709         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37710         (elf_machine_runtime_setup): Support ELFv2 ABI.
37711         (elf_machine_fixup_plt): Likewise.
37712         (elf_machine_plt_conflict): Likewise.
37713         (resolve_ifunc): Likewise.
37714         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37715         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37716         Likewise.
37717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37718         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37720         (makecontext): Support ELFv2 ABI.
37721         * elf/elf.h (EF_PPC64_ABI): Define.
37723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37725         * sysdeps/powerpc/powerpc64/sysdep.h
37726         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37727         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37728         (ENTRY) [ASSEMBLER]: ... but instead here ...
37729         (EALIGN) [ASSEMBLER]: ... and here.
37730         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37731         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37732         (ENTRY_2) [!ASSEMBLER]: Use it.
37733         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37734         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37736         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37737         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37739         Use PPC64_LOAD_FUNCPTR.
37741         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37743 2013-12-04  Alan Modra  <amodra@gmail.com>
37745         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37746         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37747         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37748         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37751         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37752         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37753         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37754         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37755         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37757 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37760         (__makecontext): Fix incorrect CFI when backtracing out of
37761         context created via makecontext.
37762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37763         (__setcontext): Fix incorrect CFI during switch to new context.
37764         (__novec_setcontext): Likewise.
37766 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37768         [BZ #4772]
37769         * time/strptime_l.c (__strptime_internal): Allow modifiers
37770         in strptime.
37771         * time/tst-strptime.c (day_tests): Add testcase.
37773 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37775         * scripts/bench.pl: Skip over blank lines.
37777 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37779         [BZ #926]
37780         * manual/time.texi (Calendar Time): Clarify what timezone functions
37781         use.
37783 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37787 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37789         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37790         implementation.
37791         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37792         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37793         * debug/memset_chk.c (__memset_chk): Likewise.
37794         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37795         * debug/strncpy_chk.c: Likewise.
37797 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37799         [BZ #15268]
37800         [BZ #15425]
37801         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37802         (__ieee754_exp): For possibly underflowing results, check size of
37803         result and force underflow exception if required.
37804         * math/auto-libm-test-in: Add more tests of exp.
37805         * math/auto-libm-test-out: Regenerated.
37806         * sysdeps/i386/fpu/libm-test-ulps: Update.
37807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37809         [BZ #16283]
37810         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37811         * math/w_exp2f.c (__exp2f): Likewise.
37812         * math/w_exp2l.c (__exp2l): Likewise.
37813         * math/auto-libm-test-in: Do not allow missing errno on exp2
37814         underflow.
37815         * math/auto-libm-test-out: Regenerated.
37817 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37819         [BZ #16274]
37820         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37821         handle filename validation.
37822         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37823         (do_open): Delete.
37825 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37827         [BZ #6786]
37828         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37829         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37830         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37831         <float.h>.
37832         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37833         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37834         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37836         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37837         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37838         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37839         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37840         Add more erfc tests.
37841         * math/auto-libm-test-out: Regenerated.
37842         * sysdeps/i386/fpu/libm-test-ulps: Update.
37843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37845         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37846         exp2, expm1, j0 and j1.
37847         * math/auto-libm-test-out: Regenerated.
37848         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37849         (erfc_test_data): Likewise.
37850         (exp_test_data): Likewise.
37851         (exp_tonearest_test_data): Likewise.
37852         (exp_towardzero_test_data): Likewise.
37853         (exp_downward_test_data): Likewise.
37854         (exp_upward_test_data): Likewise.
37855         (exp10_test_data): Likewise.
37856         (exp2_test_data): Likewise.
37857         (expm1_test_data): Likewise.
37858         (j0_test_data): Likewise.
37859         (j1_test_data): Likewise.
37860         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37861         (input_flag_type): Add flag_xfail_rounding.
37862         (input_flags): Add xfail-rounding.
37863         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37864         (output_for_one_input_case): Handle flag_xfail_rounding.
37865         * sysdeps/i386/fpu/libm-test-ulps: Update.
37866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37868 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37870         [BZ #16289]
37871         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37872         division by 0.
37874 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37876         [BZ #16195]
37877         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37878         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37879         (STAP_PROBE0): New macro.
37880         (STAP_PROBE1): Likewise.
37881         (STAP_PROBE2): Likewise.
37882         (STAP_PROBE3): Likewise.
37883         (STAP_PROBE4): Likewise.
37885 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37887         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37889 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37891         * benchtests/Makefile (bench): Add sqrt.
37892         (LDLIBS-bench-sqrt): New.
37893         * benchtests/sqrt-input: New.
37895 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37897         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37898         (GAIH_EAI): Likewise.
37899         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37900         (gaih_inet): Likewise.
37901         (getaddrinfo): Don't use GAIH_EAI.
37903         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37904         (struct gaih): Remove definition.
37906 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37908         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37909         Use HERRNOP directly.
37911 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37915 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37917         * math/gen-auto-libm-tests.c (test_functions): Add more
37918         single-argument functions.
37919         (special_fill_pi_2): New function.
37920         (special_fill_minus_pi_2): Likewise.
37921         (special_fill_pi_6): Likewise.
37922         (special_fill_minus_pi_6): Likewise.
37923         (special_fill_pi_3): Likewise.
37924         (special_fill_2pi_3): Likewise.
37925         (special_fill_e): Likewise.
37926         (special_fill_1_e): Likewise.
37927         (special_fill_e_minus_1): Likewise.
37928         (special_real_inputs): Add more special inputs.
37929         (output_for_one_input_case): Do not require ERANGE on underflow to
37930         zero if round-to-nearest result does not underflow to zero, unless
37931         exact results required.
37932         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37933         atan, atanh, cbrt, cos and cosh.
37934         * math/auto-libm-test-out: Regenerated.
37935         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37936         (acos_tonearest_test_data): Likewise.
37937         (acos_towardzero_test_data): Likewise.
37938         (acos_downward_test_data): Likewise.
37939         (acos_upward_test_data): Likewise.
37940         (acosh_test_data): Likewise.
37941         (asin_test_data): Likewise.
37942         (asin_tonearest_test_data): Likewise.
37943         (asin_towardzero_test_data): Likewise.
37944         (asin_upward_test_data): Likewise.
37945         (asinh_test_data): Likewise.
37946         (atan_test_data): Likewise.
37947         (atanh_test_data): Likewise.
37948         (cbrt_test_data): Likewise.
37949         (cos_test_data): Likewise.
37950         (cos_tonearest_test_data): Likewise.
37951         (cos_towardzero_test_data): Likewise.
37952         (cos_downward_test_data): Likewise.
37953         (cos_upward_test_data): Likewise.
37954         (cosh_test_data): Likewise.
37955         (cosh_tonearest_test_data): Likewise.
37956         (cosh_towardzero_test_data): Likewise.
37957         (cosh_downward_test_data): Likewise.
37958         (cosh_upward_test_data): Likewise.
37959         * sysdeps/i386/fpu/libm-test-ulps: Update.
37960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37962 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37964         [BZ #6787]
37965         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37966         * math/w_exp10f.c (__exp10f): Likewise.
37967         * math/w_exp10l.c (__exp10l): Likewise.
37968         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37969         errno settings in existing tests.
37971         [BZ #14032]
37972         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37973         precision control set to double precision.
37974         * sysdeps/i386/fpu/w_sqrt.c: New file.
37975         * math/auto-libm-test-in: Add more tests.
37976         * math/auto-libm-test-out: Update.
37978         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37979         (sqrt_test_tonearest): New function.
37980         (sqrt_towardzero_test_data): New variable.
37981         (sqrt_test_towardzero): New function.
37982         (sqrt_downward_test_data): New variable.
37983         (sqrt_test_downward): New function.
37984         (sqrt_upward_test_data): New variable.
37985         (sqrt_test_upward): New function.
37986         (main): Call the new functions.
37988         * math/gen-auto-libm-tests.c: New file.
37989         * math/auto-libm-test-in: Likewise.
37990         * math/auto-libm-test-out: New generated file.
37991         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37992         variables.
37993         (%beautify): Add generated representations of zero.
37994         (top level): Set $auto_input and call parse_auto_input.
37995         (beautify): Remove trailing "f" from hex float constants.
37996         (parse_args): Handle XFAIL_TEST.
37997         (convert_condition): New function.
37998         (or_value): Likewise.
37999         (or_cond_value): Likewise.
38000         (generate_testfile): Handle AUTO_TESTS_* lines.
38001         (parse_auto_input): New function.
38002         * math/libm-test.inc (XFAIL_TEST): New macro.
38003         (ERRNO_UNCHANGED): Update value.
38004         (ERRNO_EDOM): Likewise.
38005         (ERRNO_ERANGE): Likewise.
38006         (IGNORE_RESULT): Likewise.
38007         (TEST_COND_flt_32): New macro.
38008         (TEST_COND_dbl_64): Likewise.
38009         (TEST_COND_ldbl_96_intel): Likewise.
38010         (TEST_COND_ldbl_96_m68k): Likewise.
38011         (TEST_COND_ldbl_128): Likewise.
38012         (TEST_COND_ldbl_128ibm): Likewise.
38013         (TEST_COND_long32): Likewise.
38014         (TEST_COND_long64): Likewise.
38015         (TEST_COND_before_rounding): Likewise.
38016         (TEST_COND_after_rounding): Likewise.
38017         (enable_test): Handle XFAIL_TEST flag.
38018         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38019         with finite results.
38020         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38021         auto-libm-test-out.
38023 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38024             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38026         [BZ #16214]
38027         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38028         __tls_get_addr_internal instead of __tls_get_offset in order to
38029         avoid GOT pointer dependency.  Make rtld export
38030         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38031         __tls_get_addr since we are a __tls_get_offset platform.
38032         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38033         GOT pointer being set up before.
38034         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38036 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38038         * manual/math.texi (Errors in Math Functions): Document accuracy
38039         goals.
38041         [BZ #15004]
38042         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38043         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38044         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38045         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38046         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38047         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38048         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38049         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38050         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38051         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38052         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38053         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38054         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38055         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38056         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38057         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38059         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38060         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38061         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38062         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38063         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38064         Likewise.
38065         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38066         Likewise.
38067         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38068         Likewise.
38069         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38070         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38071         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38072         atomic-feupdateenv and flt-rounds.
38073         * sysdeps/powerpc/nofpu/Versions (libc): Add
38074         __atomic_feholdexcept, __atomic_feclearexcept,
38075         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38077         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38078         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38079         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38080         here.
38081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38082         Update.
38084         * manual/arith.texi (FP Exceptions): Document that exceptions may
38085         not be raised when matherr is used.
38086         (Math Error Reporting): Document overflow in directed rounding
38087         modes.  Document that errno may not be set when finite values are
38088         returned on overflow.  Document intent to set errno on underflow
38089         only for underflow to zero.
38091         [BZ #16271]
38092         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38093         round-to-nearest then adjust result for other rounding modes.
38094         * include/fenv.h (fegetround): Use libm_hidden_proto.
38095         * math/fegetround.c (fegetround): Use libm_hidden_def.
38096         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38097         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38098         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38099         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38100         Likewise.
38101         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38102         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38103         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38104         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38106 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38108         [BZ #16077]
38109         * nss/Versions (libnss_files): Add
38110         _nss_files_gethostbyname3_r.
38111         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38112         New function.
38113         (HOST_DB_LOOKUP): Remove macro.
38114         (_nss_files_gethostbyname_r): Implement function without the
38115         HOST_DB_LOOKUP macro.
38116         (_nss_files_gethostbyname2_r): Likewise.
38118 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38120         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38122 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38124         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38125         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38126         warning.
38128 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38130         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38131         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38132         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38133         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38134         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38135         __fe_nomask_env_priv and attribute_hidden.
38136         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38137         (libc_feupdateenv_test_ppc): Likewise.
38138         (libc_feresetround_ppc): Likewise.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38140         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38141         compat_symbol macro.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38143         (__fe_nomask_env): Likewise.
38144         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38146 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38148         * string/Makefile: Remove ifunc tests.
38149         * string/test-string.h: Define TEST_IFUNC.
38150         * string/test-bcopy-ifunc.c: Remove.
38151         * string/test-bzero-ifunc.c: Likewise.
38152         * string/test-memccpy-ifunc.c: Likewise.
38153         * string/test-memchr-ifunc.c: Likewise.
38154         * string/test-memcmp-ifunc.c: Likewise.
38155         * string/test-memcpy-ifunc.c: Likewise.
38156         * string/test-memmem-ifunc.c: Likewise.
38157         * string/test-memmove-ifunc.c: Likewise.
38158         * string/test-mempcpy-ifunc.c: Likewise.
38159         * string/test-memrchr-ifunc.c: Likewise.
38160         * string/test-memset-ifunc.c: Likewise.
38161         * string/test-rawmemchr-ifunc.c: Likewise.
38162         * string/test-stpcpy-ifunc.c: Likewise.
38163         * string/test-stpncpy-ifunc.c: Likewise.
38164         * string/test-strcasecmp-ifunc.c: Likewise.
38165         * string/test-strcasestr-ifunc.c: Likewise.
38166         * string/test-strcat-ifunc.c: Likewise.
38167         * string/test-strchr-ifunc.c: Likewise.
38168         * string/test-strchrnul-ifunc.c: Likewise.
38169         * string/test-strcmp-ifunc.c: Likewise.
38170         * string/test-strcpy-ifunc.c: Likewise.
38171         * string/test-strcspn-ifunc.c: Likewise.
38172         * string/test-strlen-ifunc.c: Likewise.
38173         * string/test-strncasecmp-ifunc.c: Likewise.
38174         * string/test-strncat-ifunc.c: Likewise.
38175         * string/test-strncmp-ifunc.c: Likewise.
38176         * string/test-strncpy-ifunc.c: Likewise.
38177         * string/test-strnlen-ifunc.c: Likewise.
38178         * string/test-strpbrk-ifunc.c: Likewise.
38179         * string/test-strrchr-ifunc.c: Likewise.
38180         * string/test-strspn-ifunc.c: Likewise.
38181         * string/test-strstr-ifunc.c: Likewise.
38183 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38185         * benchtests/Makefile: Remove ifunc tests.
38186         * benchtests/bench-string.h: Define TEST_IFUNC.
38187         * benchtests/bench-bcopy-ifunc.c: Remove.
38188         * benchtests/bench-bzero-ifunc.c: Likewise.
38189         * benchtests/bench-memccpy-ifunc.c: Likewise.
38190         * benchtests/bench-memchr-ifunc.c: Likewise.
38191         * benchtests/bench-memcmp-ifunc.c: Likewise.
38192         * benchtests/bench-memcpy-ifunc.c: Likewise.
38193         * benchtests/bench-memmem-ifunc.c: Likewise.
38194         * benchtests/bench-memmove-ifunc.c: Likewise.
38195         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38196         * benchtests/bench-memrchr-ifunc.c: Likewise.
38197         * benchtests/bench-memset-ifunc.c: Likewise.
38198         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38199         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38200         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38201         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38202         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38203         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38204         * benchtests/bench-strcat-ifunc.c: Likewise.
38205         * benchtests/bench-strchr-ifunc.c: Likewise.
38206         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38207         * benchtests/bench-strcmp-ifunc.c: Likewise.
38208         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38209         * benchtests/bench-strcpy-ifunc.c: Likewise.
38210         * benchtests/bench-strcspn-ifunc.c: Likewise.
38211         * benchtests/bench-strlen-ifunc.c: Likewise.
38212         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38213         * benchtests/bench-strncat-ifunc.c: Likewise.
38214         * benchtests/bench-strncmp-ifunc.c: Likewise.
38215         * benchtests/bench-strncpy-ifunc.c: Likewise.
38216         * benchtests/bench-strnlen-ifunc.c: Likewise.
38217         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38218         * benchtests/bench-strrchr-ifunc.c: Likewise.
38219         * benchtests/bench-strsep-ifunc.c: Likewise.
38220         * benchtests/bench-strspn-ifunc.c: Likewise.
38221         * benchtests/bench-strstr-ifunc.c: Likewise.
38223 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38225         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38227 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38229         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38230         * rt/aio.h: Likewise.
38231         * sysdeps/gnu/bits/utmp.h: Likewise.
38232         * sysdeps/gnu/bits/utmpx.h: Likewise.
38233         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38234         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38235         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38236         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38237         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38238         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38239         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38240         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38241         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38242         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38243         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38244         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38245         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38247         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38248         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38249         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38250         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38251         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38252         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38253         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38254         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38255         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38256         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38257         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38259         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38260         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38261         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38262         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38263         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38264         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38265         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38266         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38267         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38268         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38269         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38270         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38271         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38272         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38273         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38274         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38276 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38278         [BZ #16245]
38279         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38280         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38282 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38284         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38285         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38286         Likewise.
38288 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38291         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38292         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38293         (__fesetround): Remove define.
38294         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38295         rounding and exceptions handling.
38296         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38297         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38298         (__fe_nomask_env): Likewise.
38299         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38300         __fegetround instead of fegetround.
38301         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38302         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38304 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38306         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38307         it's there.
38309         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38311 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38313         [BZ #11157]
38314         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38315         (encrypt_r): Likewise.
38316         * malloc/obstack.h (obstack_free): Likewise.
38317         * posix/unistd.h (encrypt): Likewise.
38319 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38321         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38322         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38323         DL_CALL_DT_FINI() that call the functions directly.
38324         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38325         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38326         * elf/dl-fini.c: Likewise.
38328 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38330         * malloc/hooks.c (memalign_check): Add alignment rounding.
38331         * malloc/malloc.c (_mid_memalign): New function.
38332         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38333         Implement by calling _mid_memalign.
38334         * manual/probes.texi (Memory Allocation Probes): Remove
38335         memory_valloc_retry and memory_pvalloc_retry.
38337 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38339         * locale/programs/locarchive.c (open_archive): Add const
38340         qualifier to ARCHIVEFNAME and copy default fname to
38341         DEFAULT_FNAME.
38343         [BZ #15601]
38344         * libio/tst-widetext.input: Rename Oriya to Odia.
38345         * locale/iso-639.def: Likewise.
38347         * manual/probes.texi (Mathematical Function Probes): Add
38348         documentation for sin, cos, asin and acos probes.
38349         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38350         (__sin32): Add slowasin probe.
38351         (__cos32): Add slowacos probe.
38352         (__mpsin): Add slowsin probe.
38353         (__mpcos): Add slowcos probe.
38355 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38357         [BZ #15483]
38358         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38359         thread-local __sim_exceptions_thread and global
38360         __sim_exceptions_global.
38361         (__sim_disabled_exceptions): Change to thread-local
38362         __sim_disabled_exceptions_thread and global
38363         __sim_disabled_exceptions_global.
38364         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38365         and global __sim_round_mode_global.
38366         (__simulate_exceptions): Use thread-local floating-point state and
38367         set global state from it as needed.
38368         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38369         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38370         __sim_round_mode_thread.
38371         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38372         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38373         and global __sim_exceptions_global.
38374         (__sim_disabled_exceptions): Change to thread-local
38375         __sim_disabled_exceptions_thread and global
38376         __sim_disabled_exceptions_global.
38377         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38378         and global __sim_round_mode_global.
38379         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38380         (SIM_SET_GLOBAL): Likewise.
38381         * sysdeps/powerpc/soft-fp/sfp-machine.h
38382         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38383         __sim_round_mode_thread.
38384         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38385         __sim_disabled_exceptions_thread.
38386         (__sim_exceptions): Change to __sim_exceptions_thread.
38387         (__sim_disabled_exceptions): Change to
38388         __sim_disabled_exceptions_thread.
38389         (__sim_round_mode): Change to __sim_round_mode_thread.
38390         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38391         thread-local floating-point state and set global state from it as
38392         needed.
38393         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38394         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38395         (__sim_disabled_exceptions): Remove extern declaration.
38396         (feenableexcept): Use thread-local floating-point state and set
38397         global state from it as needed.
38398         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38399         extern declaration.
38400         (__sim_disabled_exceptions): Likewise.
38401         (__sim_round_mode): Likewise.
38402         (__fegetenv): Use thread-local floating-point state.
38403         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38404         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38405         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38406         floating-point state and set global state from it as needed.
38407         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38408         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38409         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38410         Likewise.
38411         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38412         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38413         Likewise.
38414         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38415         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38416         Use __sim_round_mode_thread.
38417         * math/test-fenv-tls.c: New file.
38418         * math/Makefile (tests): Add test-fenv-tls.
38419         ($(objpfx)test-fenv-tls): Depend on
38420         $(common-objpfx)nptl/libpthread.so.
38422 2013-11-19  Andreas Schwab  <schwab@suse.de>
38424         * locale/programs/locale.c (show_info): Decode wordarray elements.
38425         * locale/categories.def (LC_MONETARY): Add element for
38426         _NL_MONETARY_CRNCYSTR.
38427         * locale/C-monetary.c (conversion_rate): New variable.
38428         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38429         element.
38431 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38433         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38434         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38436 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38438         * elf/Makefile (tst-auxv): New test.
38439         * elf/tst-auxv.c: New
38440         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38442 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38444         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38445         (hidden_proto): Caller changed.
38446         (hidden_tls_proto): New macro.
38447         (libc_hidden_tls_proto): Likewise.
38448         (rtld_hidden_tls_proto): Likewise.
38449         (libm_hidden_tls_proto): Likewise.
38450         (libresolv_hidden_tls_proto): Likewise.
38451         (librt_hidden_tls_proto): Likewise.
38452         (libdl_hidden_tls_proto): Likewise.
38453         (libnss_files_hidden_tls_proto): Likewise.
38454         (libnsl_hidden_tls_proto): Likewise.
38455         (libnss_nisplus_hidden_tls_proto): Likewise.
38456         (libutil_hidden_tls_proto): Likewise.
38458 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38460         [BZ #10253]
38461         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38462         (decompose_rpath): Defer expansion to fillin_rpath.
38463         (_dl_init_paths): Pass linkmap to fillin_rpath.
38465 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38467         * benchtests/Makefile: Add strsep.
38468         * benchtests/bench-strsep.c: New file: strsep benchtest.
38469         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38471 2013-11-18  Andreas Schwab  <schwab@suse.de>
38473         * locale/programs/locale.c (show_info) [case byte]: Check for
38474         '\377' instead of '\177'.
38475         * locale/C-monetary.c (not_available): Always use "\377".
38476         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38477         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38478         detect unavailable sign_posn locale elements.
38479         * locale/localeconv.c (__localeconv): For grouping and
38480         mon_grouping handle "\177" and "\377" like no grouping.
38481         (INT_ELEM): New macro.  Use it to set all numeric members.
38482         * locale/programs/ld-monetary.c (monetary_read)
38483         <tok_mon_grouping>: Normalize single -1 to the empty string.
38484         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38485         Likewise.
38487 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38489         [BZ #16055]
38490         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38491         when we match (nil).
38492         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38494 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38496         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38497         (NO_TEST_INLINE): Update value.
38498         (ERRNO_UNCHANGED): Likewise.
38499         (ERRNO_EDOM): Likewise.
38500         (ERRNO_ERANGE): Likewise.
38501         (IGNORE_RESULT): Likewise.
38502         (check_float_internal): Check signs of NaN results if
38503         TEST_NAN_SIGN used.
38504         (check_complex): Pass TEST_NAN_SIGN flag through to second
38505         check_float_internal call.
38506         (copysign_test_data): Add tests with quiet NaNs as second
38507         argument.  Use TEST_NAN_SIGN.
38508         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38509         TEST_NAN_SIGN.
38510         (signbit_test_data): Add tests of quiet NaN argument.
38511         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38513         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38514         $ignore_result.
38515         (parse_args): Handle function results specified as IGNORE.
38516         * math/libm-test.inc (IGNORE_RESULT): New macro.
38517         (check_float_internal): Do not check numerical result if flag
38518         IGNORE_RESULT set.
38519         (check_complex): Pass through IGNORE_RESULT to second
38520         check_float_internal call.
38521         (check_int): Do not check numerical result if flag IGNORE_RESULT
38522         set.
38523         (check_long): Likewise.
38524         (check_bool): Likewise.
38525         (check_longlong): Likewise.
38526         (lrint_test_data): Add tests of infinite and NaN arguments.
38527         (lrint_tonearest_test_data): Likewise.
38528         (lrint_towardzero_test_data): Likewise.
38529         (lrint_downward_test_data): Likewise.
38530         (lrint_upward_test_data): Likewise.
38531         (llrint_test_data): Likewise.
38532         (llrint_tonearest_test_data): Likewise.
38533         (llrint_towardzero_test_data): Likewise.
38534         (llrint_downward_test_data): Likewise.
38535         (llrint_upward_test_data): Likewise.
38536         (lround_test_data): Likewise.
38537         (llround_test_data): Likewise.
38539         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38540         (ERRNO_UNCHANGED): Update value.
38541         (ERRNO_EDOM): Likewise.
38542         (ERRNO_ERANGE): Likewise.
38543         (NO_TEST_INLINE_FLOAT): New macro.
38544         (NO_TEST_INLINE_DOUBLE): Likewise.
38545         (enable_test): New function.
38546         (RUN_TEST_f_f): Check enable_test before running test.
38547         (RUN_TEST_2_f): Likewise.
38548         (RUN_TEST_fff_f): Likewise.
38549         (RUN_TEST_c_f): Likewise.
38550         (RUN_TEST_f_f1): Likewise.
38551         (RUN_TEST_fF_f1): Likewise.
38552         (RUN_TEST_fI_f1): Likewise.
38553         (RUN_TEST_ffI_f1): Likewise.
38554         (RUN_TEST_c_c): Likewise.
38555         (RUN_TEST_cc_c): Likewise.
38556         (RUN_TEST_f_i): Likewise.
38557         (RUN_TEST_f_i_tg): Likewise.
38558         (RUN_TEST_ff_i_tg): Likewise.
38559         (RUN_TEST_f_b): Likewise.
38560         (RUN_TEST_f_b_tg): Likewise.
38561         (RUN_TEST_f_l): Likewise.
38562         (RUN_TEST_f_L): Likewise.
38563         (RUN_TEST_fFF_11): Likewise.
38564         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38565         conditionals.
38566         (cosh_test_data): Likewise.
38567         (exp_test_data): Likewise.
38568         (expm1_test_data): Likewise.
38569         (hypot_test_data): Likewise.
38570         (pow_test_data): Likewise.
38571         (sinh_test_data): Likewise.
38572         (tanh_test_data): Likewise.
38573         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38574         flags argument.
38576         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38577         tests with quiet NaN input and output.
38578         (acosh_test_data): Likewise.
38579         (asin_test_data): Likewise.
38580         (asinh_test_data): Likewise.
38581         (atan_test_data): Likewise.
38582         (atanh_test_data): Likewise.
38583         (atan2_test_data): Likewise.
38584         (cbrt_test_data): Likewise.
38585         (cos_test_data): Likewise.
38586         (cosh_test_data): Likewise.
38587         (erf_test_data): Likewise.
38588         (erfc_test_data): Likewise.
38589         (exp_test_data): Likewise.
38590         (exp10_test_data): Likewise.
38591         (exp2_test_data): Likewise.
38592         (expm1_test_data): Likewise.
38593         (hypot_test_data): Likewise.
38594         (j0_test_data): Likewise.
38595         (j1_test_data): Likewise.
38596         (jn_test_data): Likewise.
38597         (lgamma_test_data): Likewise.
38598         (log_test_data): Likewise.
38599         (log10_test_data): Likewise.
38600         (log1p_test_data): Likewise.
38601         (log2_test_data): Likewise.
38602         (pow_test_data): Likewise.
38603         (scalb_test_data): Likewise.
38604         (sin_test_data): Likewise.
38605         (sincos_test_data): Likewise.
38606         (sinh_test_data): Likewise.
38607         (tan_test_data): Likewise.
38608         (tanh_test_data): Likewise.
38609         (tgamma_test_data): Likewise.
38610         (y0_test_data): Likewise.
38611         (y1_test_data): Likewise.
38612         (yn_test_data): Likewise.
38614         [BZ #16167]
38615         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38616         argument being NaN and avoid computations with second argument in
38617         that case.
38618         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38619         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38620         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38622 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38624         * locale/iso-639.def: Add Chitwani Tharu (the).
38626 2013-11-14  Andreas Schwab  <schwab@suse.de>
38628         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38629         word instead of empty string.
38631 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38634         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38636         (__fe_nomask_env): Likewise.
38638 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38640         * benchtests/bench-timing.h: Include time.h.
38642 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38644         [BZ #15997]
38645         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38646         to 3.4.0 for x32.
38647         * sysdeps/unix/sysv/linux/configure: Regenerated.
38649 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38651         [BZ #16151]
38652         * stdlib/strtod_l.c (round_and_return): Do not consider
38653         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38654         exponent one less than half the least subnormal exponent.
38655         * stdlib/test-strtod-round-data: Add more tests.
38656         * stdlib/tst-strtod-round.c (tests): Regenerated.
38658 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38660         [BZ #14143]
38661         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38662         (__fe_mask_env): Likewise.
38663         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38664         libm_hidden_proto and add function prototype.
38665         (__fe_mask_env): Add function prototype.
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38667         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38669         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38671         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38673 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38675         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38676         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38678 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38680         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38681         of htab_find_slot().
38683 2013-11-11  David S. Miller  <davem@davemloft.net>
38685         [BZ #16150]
38686         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38687         symbol in the non-vis3 case in static builds.
38688         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38689         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38690         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38691         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38693 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38695         [BZ #387]
38696         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38697         it is empty.
38699 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38701         * benchtests/Makefile: Add bench-strtod.
38702         * benchtests/bench-strtod.c: New file: strtod benchtest
38704 2013-11-11  Andreas Schwab  <schwab@suse.de>
38706         [BZ #16153]
38707         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38708         terminating NUL in key length.
38710 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38712         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38713         Add artificial ODP entry for vDSO symbol for PPC64.
38714         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38715         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38717 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38719         [BZ #15374]
38720         * nss/getent.c (services_keys): Recognize services starting with digit.
38722 2013-11-06  David S. Miller  <davem@davemloft.net>
38724         [BZ #15985]
38725         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38726         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38728 2013-11-06  Will Newton  <will.newton@linaro.org>
38730         * manual/memory.texi (Malloc Examples): Remove register
38731         keyword from examples.
38733 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38735         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38737 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38739         [BZ #6981]
38740         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38741         depending on [__GCC_IEC_559 > 0].
38742         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38743         depending on [__GCC_IEC_559_COMPLEX > 0].
38745 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38747         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38748         to iso-639.def.
38750 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38752         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38754 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38756         [BZ #16112]
38757         * malloc/malloc (malloc_info): Do not handle first bin as
38758         special case.
38760 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38762         * locale/iso-639.def: Add Central Nahuatl (nhn).
38764 2013-11-01  Bruno Haible  <bruno@clisp.org>
38766         [BZ #7003]
38767         * manual/math.texi (BSD Random): Specify range upper bound as
38768         in POSIX.
38770 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38772         * locale/iso-639.def: Add Meadow Mari (mhr).
38774 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38776         [BZ #14752], [BZ #15763]
38777         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38778         Validate name.
38779         * rt/tst_shm.c: Add test for escaping directory.
38781 2013-10-31  Andreas Schwab  <schwab@suse.de>
38783         [BZ #15917]
38784         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38785         followed by 'x' as part of digit sequence.
38786         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38788 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38790         [BZ #16037]
38791         * configure.ac: allow GNU Make 4.0 and greater.
38792         * configure: Regenerated.
38794 2013-10-30  Will Newton  <will.newton@linaro.org>
38796         [BZ #16038]
38797         * malloc/hooks.c (memalign_check): Limit alignment to the
38798         maximum representable power of two.
38799         * malloc/malloc.c (__libc_memalign): Likewise.
38800         * malloc/tst-memalign.c (do_test): Add test for very
38801         large alignment values.
38802         * malloc/tst-posix_memalign.c (do_test): Likewise.
38804 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38806         [BZ #11087]
38807         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38808         (munmap_chunk): Likewise.
38809         (mremap_chunk): Likewise.
38811 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38813         [BZ #15799]
38814         * stdlib/div.c (div): Remove obsolete code.
38815         * stdlib/ldiv.c (ldiv): Likewise.
38816         * stdlib/lldiv.c (lldiv): Likewise.
38818 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38820         [BZ #16071]
38821         * nss/nss_files/files-XXX.c (get_contents_ret): New
38822         enumerator.
38823         (get_contents): New function.
38824         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38826 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38828         * configure.in: Moved to ...
38829         * configure.ac: ... here. Change reference to configure.in
38830         to configure.ac.
38831         * sysdeps/arm/preconfigure.ac: ... here.
38832         configure.in to configure.ac.
38833         * sysdeps/gnu/configure.in: Moved to ...
38834         * sysdeps/gnu/configure.ac: ... here.
38835         * sysdeps/i386/configure.in: Moved to ...
38836         * sysdeps/i386/configure.ac: ... here.
38837         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38838         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38839         * sysdeps/mach/configure.in: Moved to ...
38840         * sysdeps/mach/configure.ac: ... here.
38841         * sysdeps/mach/hurd/configure.in: Moved to ...
38842         * sysdeps/mach/hurd/configure.ac: ... here.
38843         * sysdeps/powerpc/configure.in: Moved to ...
38844         * sysdeps/powerpc/configure.ac: ... here.
38845         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38846         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38847         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38848         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38849         * sysdeps/s390/s390-32/configure.in: Moved to ...
38850         * sysdeps/s390/s390-32/configure.ac: ... here.
38851         * sysdeps/s390/s390-64/configure.in: Moved to ...
38852         * sysdeps/s390/s390-64/configure.ac: ... here.
38853         * sysdeps/sh/configure.in: Moved to ...
38854         * sysdeps/sh/configure.ac: ... here.
38855         * sysdeps/sparc/configure.in: Moved to ...
38856         * sysdeps/sparc/configure.ac: ... here.
38857         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38858         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38859         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38860         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38861         * sysdeps/x86_64/configure.in: Moved to ...
38862         * sysdeps/x86_64/configure.ac: ... here.
38863         * sysdeps/x86_64/preconfigure.in: Moved to ...
38864         * sysdeps/x86_64/preconfigure.ac: ... here.
38865         * aclocal.m4: Change reference to configure.in to configure.ac.
38866         * config.h.in: Likewise.
38867         * manual/install.texi: Likewise.
38868         * manual/maint.texi: Likewise.
38869         * Makefile: Likewise.
38870         * malloc/Makefile: Likewise.
38871         * nscd/Makefile: Likewise.
38872         * Makeconfig: Change reference to configure.in and
38873         preconfigure.in to configure.ac and preconfigure.ac
38874         respectively.
38875         * INSTALL: Regenerated.
38876         * configure: Likewise.
38877         * sysdeps/gnu/configure: Likewise.
38878         * sysdeps/i386/configure: Likewise.
38879         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38880         * sysdeps/mach/configure: Likewise.
38881         * sysdeps/mach/hurd/configure: Likewise.
38882         * sysdeps/powerpc/configure: Likewise.
38883         * sysdeps/powerpc/powerpc32/configure: Likewise.
38884         * sysdeps/powerpc/powerpc64/configure: Likewise.
38885         * sysdeps/s390/s390-32/configure: Likewise.
38886         * sysdeps/s390/s390-64/configure: Likewise.
38887         * sysdeps/sh/configure: Likewise.
38888         * sysdeps/sparc/configure: Likewise.
38889         * sysdeps/unix/sysv/linux/configure: Likewise.
38890         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38891         * sysdeps/x86_64/configure: Likewise.
38892         * sysdeps/x86_64/preconfigure: Likewise.
38894 2013-10-29  Andreas Schwab  <schwab@suse.de>
38896         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38898 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38900         * benchtests/pow-inputs: Add new inputs.
38902         * benchtests/exp-inputs: Add new inputs.
38904         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38905         conditional check for return value.
38906         (__cos32): Likewise.
38908 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38910         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38911         to provide a boost for large inputs with word alignment.
38912         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38913         implementation based on optimized PPC64 strcpy.
38914         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38915         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38916         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38917         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38919 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38921         [BZ #2801]
38922         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38924 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38926         [BZ #14876]
38927         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38928         * time/tst-strptime.c (day_tests): Add testcase.
38930 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38932         [BZ #14029]
38933         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38935 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38937         [BZ #16074]
38938         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38939         MAP_FAILED on error.
38941 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38943         [BZ #16072]
38944         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38945         heap for large requests.
38947 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38949         [BZ #9954]
38950         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38951         result if the result has no associated interface.
38952         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38953         interface for all 127.X.Y.Z addresses.
38955 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38957         * locale/iso-639.def: Add Ligurian (lij)
38959 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38961         [BZ #15825]
38962         * sunrpc/rpc_main.c: Document rpcgen -5.
38964 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38966         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38968 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38970         [BZ #10278]
38971         * posix/glob.c: Match only directories when trailing slash is present.
38972         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38973         (main): Add testcase.
38975 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38977         [BZ #15670]
38978         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38980 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38982         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38983         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38984         AUTH_DES and cindex for FIPS 140-2.
38985         (DES Encryption): Add cindex FIPS 46-3.
38987         * locale/locarchive.h (struct locarhandle): Add fname.
38988         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38989         if an optional argument was specified to --list-archive,
38990         otherwise NULL.
38991         * locale/programs/locarchive.c (show_archive_content): Take new
38992         argument fname and pass it via ah.fname to open_archive.
38993         * locale/programs/localedef.h: Update decl.
38994         (open_archive): If AH->fname is non-null, open that file
38995         rather than the default file name, and don't ignore ENOENT.
38996         (create_archive): Set AH.fname to NULL.
38997         (delete_locales_from_archive): Likewise.
38998         (add_locales_to_archive): Likewise.
38999         * locale/programs/locfile.c (write_all_categories): Likewise.
39001 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39002             Aldy Hernandez  <aldyh@redhat.com>
39004         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39005         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39006         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39007         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39008         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39009         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39012         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39013         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39015         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39016         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39017         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39018         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39019         Likewise.
39020         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39021         Likewise.
39022         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39023         Likewise.
39024         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39025         Likewise.
39026         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39027         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39028         Likewise.
39029         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39030         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39031         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39032         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39033         Likewise.
39034         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39035         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39036         * sysdeps/powerpc/preconfigure: Likewise.
39037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39038         Likewise.
39039         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39040         Replace contents of file by #include of <fenv_libc.h>.
39041         * sysdeps/powerpc/soft-fp/sfp-machine.h
39042         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39043         and <sys/prctl.h>.
39044         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39051         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39057         Allow copysignl PLT reference to be missing.
39059 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39060             Joseph Myers  <joseph@codesourcery.com
39062         [BZ #15948]
39063         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39064         single character.
39065         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39067 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39069         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39070         * elf/tst-tls1.c: Likewise.
39071         * elf/tst-tls10.h: Likewise.
39072         * elf/tst-tls14.c: Likewise.
39073         * elf/tst-tls2.c: Likewise.
39074         * elf/tst-tls3.c: Likewise.
39075         * elf/tst-tls4.c: Likewise.
39076         * elf/tst-tls5.c: Likewise.
39077         * elf/tst-tls6.c: Likewise.
39078         * elf/tst-tls7.c: Likewise.
39079         * elf/tst-tls8.c: Likewise.
39080         * elf/tst-tls9.c: Likewise.
39081         * elf/tst-tlsmod1.c: Likewise.
39082         * elf/tst-tlsmod13.c: Likewise.
39083         * elf/tst-tlsmod13a.c: Likewise.
39084         * elf/tst-tlsmod14a.c: Likewise.
39085         * elf/tst-tlsmod16a.c: Likewise.
39086         * elf/tst-tlsmod16b.c: Likewise.
39087         * elf/tst-tlsmod2.c: Likewise.
39088         * elf/tst-tlsmod3.c: Likewise.
39089         * elf/tst-tlsmod4.c: Likewise.
39090         * elf/tst-tlsmod5.c: Likewise.
39091         * elf/tst-tlsmod6.c: Likewise.
39093 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39095         [BZ #12486]
39096         * malloc/malloc.c: remove checks for statistics.
39098 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39100         [BZ #15277]
39101         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39102         * inet/tst-network.c: Add testcase.
39104 2013-10-17  Andreas Schwab  <schwab@suse.de>
39106         [BZ #15218]
39107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39108         to determine canonical name.
39110 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39112         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39113         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39114         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39115         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39117         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39118         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39119         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39120         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39121         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39122         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39123         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39124         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39125         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39126         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39127         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39128         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39129         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39130         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39131         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39132         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39133         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39134         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39135         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39136         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39137         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39138         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39139         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39140         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39141         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39142         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39143         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39144         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39145         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39146         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39147         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39148         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39149         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39150         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39151         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39152         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39153         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39154         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39155         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39156         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39157         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39158         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39159         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39160         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39161         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39162         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39163         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39164         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39165         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39167         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39168         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39169         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39171 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39173         [BZ #16041]
39174         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39175         make result into a quiet NaN.
39177 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39179         * soft-fp/adddf3.c: Fix horizontal whitespace.
39180         * soft-fp/addsf3.c: Likewise.
39181         * soft-fp/addtf3.c: Likewise.
39182         * soft-fp/divdf3.c: Likewise.
39183         * soft-fp/divsf3.c: Likewise.
39184         * soft-fp/divtf3.c: Likewise.
39185         * soft-fp/double.h: Likewise.
39186         * soft-fp/eqdf2.c: Likewise.
39187         * soft-fp/eqsf2.c: Likewise.
39188         * soft-fp/eqtf2.c: Likewise.
39189         * soft-fp/extenddftf2.c: Likewise.
39190         * soft-fp/extended.h: Likewise.
39191         * soft-fp/extendsfdf2.c: Likewise.
39192         * soft-fp/extendsftf2.c: Likewise.
39193         * soft-fp/extendxftf2.c: Likewise.
39194         * soft-fp/fixdfdi.c: Likewise.
39195         * soft-fp/fixdfsi.c: Likewise.
39196         * soft-fp/fixdfti.c: Likewise.
39197         * soft-fp/fixsfdi.c: Likewise.
39198         * soft-fp/fixsfsi.c: Likewise.
39199         * soft-fp/fixsfti.c: Likewise.
39200         * soft-fp/fixtfdi.c: Likewise.
39201         * soft-fp/fixtfsi.c: Likewise.
39202         * soft-fp/fixtfti.c: Likewise.
39203         * soft-fp/fixunsdfdi.c: Likewise.
39204         * soft-fp/fixunsdfsi.c: Likewise.
39205         * soft-fp/fixunsdfti.c: Likewise.
39206         * soft-fp/fixunssfdi.c: Likewise.
39207         * soft-fp/fixunssfsi.c: Likewise.
39208         * soft-fp/fixunssfti.c: Likewise.
39209         * soft-fp/fixunstfdi.c: Likewise.
39210         * soft-fp/fixunstfsi.c: Likewise.
39211         * soft-fp/fixunstfti.c: Likewise.
39212         * soft-fp/floatdidf.c: Likewise.
39213         * soft-fp/floatdisf.c: Likewise.
39214         * soft-fp/floatditf.c: Likewise.
39215         * soft-fp/floatsidf.c: Likewise.
39216         * soft-fp/floatsisf.c: Likewise.
39217         * soft-fp/floatsitf.c: Likewise.
39218         * soft-fp/floattidf.c: Likewise.
39219         * soft-fp/floattisf.c: Likewise.
39220         * soft-fp/floattitf.c: Likewise.
39221         * soft-fp/floatundidf.c: Likewise.
39222         * soft-fp/floatundisf.c: Likewise.
39223         * soft-fp/floatunditf.c: Likewise.
39224         * soft-fp/floatunsidf.c: Likewise.
39225         * soft-fp/floatunsisf.c: Likewise.
39226         * soft-fp/floatunsitf.c: Likewise.
39227         * soft-fp/floatuntidf.c: Likewise.
39228         * soft-fp/floatuntisf.c: Likewise.
39229         * soft-fp/floatuntitf.c: Likewise.
39230         * soft-fp/fmadf4.c: Likewise.
39231         * soft-fp/fmasf4.c: Likewise.
39232         * soft-fp/fmatf4.c: Likewise.
39233         * soft-fp/gedf2.c: Likewise.
39234         * soft-fp/gesf2.c: Likewise.
39235         * soft-fp/getf2.c: Likewise.
39236         * soft-fp/ledf2.c: Likewise.
39237         * soft-fp/lesf2.c: Likewise.
39238         * soft-fp/letf2.c: Likewise.
39239         * soft-fp/muldf3.c: Likewise.
39240         * soft-fp/mulsf3.c: Likewise.
39241         * soft-fp/multf3.c: Likewise.
39242         * soft-fp/negdf2.c: Likewise.
39243         * soft-fp/negsf2.c: Likewise.
39244         * soft-fp/negtf2.c: Likewise.
39245         * soft-fp/op-1.h: Likewise.
39246         * soft-fp/op-2.h: Likewise.
39247         * soft-fp/op-4.h: Likewise.
39248         * soft-fp/op-8.h: Likewise.
39249         * soft-fp/op-common.h: Likewise.
39250         * soft-fp/quad.h: Likewise.
39251         * soft-fp/single.h: Likewise.
39252         * soft-fp/soft-fp.h: Likewise.
39253         * soft-fp/sqrtdf2.c: Likewise.
39254         * soft-fp/sqrtsf2.c: Likewise.
39255         * soft-fp/sqrttf2.c: Likewise.
39256         * soft-fp/subdf3.c: Likewise.
39257         * soft-fp/subsf3.c: Likewise.
39258         * soft-fp/subtf3.c: Likewise.
39259         * soft-fp/truncdfsf2.c: Likewise.
39260         * soft-fp/trunctfdf2.c: Likewise.
39261         * soft-fp/trunctfsf2.c: Likewise.
39262         * soft-fp/trunctfxf2.c: Likewise.
39263         * soft-fp/unorddf2.c: Likewise.
39264         * soft-fp/unordsf2.c: Likewise.
39265         * soft-fp/unordtf2.c: Likewise.
39267 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39269         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39270         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39272 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39274         * elf/dl-libc.c: Clear initfini list after freeing.
39276 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39278         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39279         * soft-fp/addsf3.c: Likewise.
39280         * soft-fp/addtf3.c: Likewise.
39281         * soft-fp/divdf3.c: Likewise.
39282         * soft-fp/divsf3.c: Likewise.
39283         * soft-fp/divtf3.c: Likewise.
39284         * soft-fp/double.h: Likewise.
39285         * soft-fp/eqdf2.c: Likewise.
39286         * soft-fp/eqsf2.c: Likewise.
39287         * soft-fp/eqtf2.c: Likewise.
39288         * soft-fp/extenddftf2.c: Likewise.
39289         * soft-fp/extended.h: Likewise.
39290         * soft-fp/extendsfdf2.c: Likewise.
39291         * soft-fp/extendsftf2.c: Likewise.
39292         * soft-fp/extendxftf2.c: Likewise.
39293         * soft-fp/fixdfdi.c: Likewise.
39294         * soft-fp/fixdfsi.c: Likewise.
39295         * soft-fp/fixdfti.c: Likewise.
39296         * soft-fp/fixsfdi.c: Likewise.
39297         * soft-fp/fixsfsi.c: Likewise.
39298         * soft-fp/fixsfti.c: Likewise.
39299         * soft-fp/fixtfdi.c: Likewise.
39300         * soft-fp/fixtfsi.c: Likewise.
39301         * soft-fp/fixtfti.c: Likewise.
39302         * soft-fp/fixunsdfdi.c: Likewise.
39303         * soft-fp/fixunsdfsi.c: Likewise.
39304         * soft-fp/fixunsdfti.c: Likewise.
39305         * soft-fp/fixunssfdi.c: Likewise.
39306         * soft-fp/fixunssfsi.c: Likewise.
39307         * soft-fp/fixunssfti.c: Likewise.
39308         * soft-fp/fixunstfdi.c: Likewise.
39309         * soft-fp/fixunstfsi.c: Likewise.
39310         * soft-fp/fixunstfti.c: Likewise.
39311         * soft-fp/floatdidf.c: Likewise.
39312         * soft-fp/floatdisf.c: Likewise.
39313         * soft-fp/floatditf.c: Likewise.
39314         * soft-fp/floatsidf.c: Likewise.
39315         * soft-fp/floatsisf.c: Likewise.
39316         * soft-fp/floatsitf.c: Likewise.
39317         * soft-fp/floattidf.c: Likewise.
39318         * soft-fp/floattisf.c: Likewise.
39319         * soft-fp/floattitf.c: Likewise.
39320         * soft-fp/floatundidf.c: Likewise.
39321         * soft-fp/floatundisf.c: Likewise.
39322         * soft-fp/floatunsidf.c: Likewise.
39323         * soft-fp/floatunsisf.c: Likewise.
39324         * soft-fp/floatuntidf.c: Likewise.
39325         * soft-fp/floatuntisf.c: Likewise.
39326         * soft-fp/floatuntitf.c: Likewise.
39327         * soft-fp/fmadf4.c: Likewise.
39328         * soft-fp/fmasf4.c: Likewise.
39329         * soft-fp/fmatf4.c: Likewise.
39330         * soft-fp/gedf2.c: Likewise.
39331         * soft-fp/gesf2.c: Likewise.
39332         * soft-fp/getf2.c: Likewise.
39333         * soft-fp/ledf2.c: Likewise.
39334         * soft-fp/lesf2.c: Likewise.
39335         * soft-fp/letf2.c: Likewise.
39336         * soft-fp/muldf3.c: Likewise.
39337         * soft-fp/mulsf3.c: Likewise.
39338         * soft-fp/multf3.c: Likewise.
39339         * soft-fp/negdf2.c: Likewise.
39340         * soft-fp/negsf2.c: Likewise.
39341         * soft-fp/negtf2.c: Likewise.
39342         * soft-fp/op-1.h: Likewise.
39343         * soft-fp/op-2.h: Likewise.
39344         * soft-fp/op-4.h: Likewise.
39345         * soft-fp/op-8.h: Likewise.
39346         * soft-fp/op-common.h: Likewise.
39347         * soft-fp/quad.h: Likewise.
39348         * soft-fp/single.h: Likewise.
39349         * soft-fp/soft-fp.h: Likewise.
39350         * soft-fp/sqrtdf2.c: Likewise.
39351         * soft-fp/sqrtsf2.c: Likewise.
39352         * soft-fp/sqrttf2.c: Likewise.
39353         * soft-fp/subdf3.c: Likewise.
39354         * soft-fp/subsf3.c: Likewise.
39355         * soft-fp/subtf3.c: Likewise.
39356         * soft-fp/truncdfsf2.c: Likewise.
39357         * soft-fp/trunctfdf2.c: Likewise.
39358         * soft-fp/trunctfsf2.c: Likewise.
39359         * soft-fp/trunctfxf2.c: Likewise.
39360         * soft-fp/unorddf2.c: Likewise.
39361         * soft-fp/unordsf2.c: Likewise.
39362         * soft-fp/unordtf2.c: Likewise.
39364 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39366         [BZ #15672]
39367         * misc/error.c (error_tail): Fix possible buffer overflow.
39369 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39371         [BZ #13028]
39372         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39373         address.
39375 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39377         [BZ #832]
39378         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39379         testing pipefail option.
39381 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39383         * soft-fp/double.h: Indent preprocessor directives inside #if.
39384         * soft-fp/extended.h: Likewise.
39385         * soft-fp/op-2.h: Likewise.
39386         * soft-fp/op-4.h: Likewise.
39387         * soft-fp/op-common.h: Likewise.
39388         * soft-fp/quad.h: Likewise.
39389         * soft-fp/single.h: Likewise.
39390         * soft-fp/soft-fp.h: Likewise.
39392 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39394         * iconv/iconv_prog.c: Fix typos.
39395         * stdio-common/psiginfo-data.h: Likewise.
39397 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39399         [BZ #15764]
39400         * locale/setlocale.c: Fix typo.
39402 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39404         [BZ #16036]
39405         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39406         signaling NaN arguments.
39407         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39408         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39410         [BZ #14910]
39411         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39412         unordered operands.
39413         * soft-fp/gesf2.c (__gesf2): Likewise.
39414         * soft-fp/getf2.c (__getf2): Likewise.
39415         * soft-fp/ledf2.c (__ledf2): Likewise.
39416         * soft-fp/lesf2.c (__lesf2): Likewise.
39417         * soft-fp/letf2.c (__letf2): Likewise.
39419         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39420         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39421         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39422         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39423         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39424         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39425         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39426         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39427         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39428         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39429         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39430         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39431         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39432         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39433         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39434         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39435         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39436         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39437         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39438         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39439         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39440         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39441         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39442         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39443         * soft-fp/floattidf.c (__floattidf): Likewise.
39444         * soft-fp/floattisf.c (__floattisf): Likewise.
39445         * soft-fp/floattitf.c (__floattitf): Likewise.
39446         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39447         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39448         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39449         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39450         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39451         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39452         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39453         * soft-fp/gesf2.c (__gesf2): Likewise.
39454         * soft-fp/getf2.c (__getf2): Likewise.
39455         * soft-fp/ledf2.c (__ledf2): Likewise.
39456         * soft-fp/lesf2.c (__lesf2): Likewise.
39457         * soft-fp/letf2.c (__letf2): Likewise.
39459         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39460         Undefine and redefine.
39461         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39462         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39463         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39464         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39465         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39466         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39467         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39468         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39469         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39470         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39471         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39472         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39473         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39474         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39475         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39477         [BZ #16032]
39478         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39479         without decrementing exponent if mantissa >= that for the
39480         denominator, not >.
39481         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39482         denominator, not >.  Decrement exponent in < case instead of
39483         incrementing in >= case.
39484         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39485         without decrementing exponent if mantissa >= that for the
39486         denominator, not >.
39488         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39489         computing saturated result for unsigned overflow.
39491 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39492             Jeff Law  <law@redhat.com>
39494         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39495         (atan2Mp): Add systemtap probe marker.
39496         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39497         (__ieee754_log): Add systemtap probe marker.
39498         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39499         (atanMp): Add systemtap probe marker.
39500         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39501         (tanMp): Add systemtap probe marker.
39502         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39503         (__slowexp): Add systemtap probe marker.
39504         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39505         (__slowpow): Add systemtap probe marker.
39506         * manual/probes.texi: Document probes.
39508 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39510         [BZ #15362]
39511         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39512         written.
39513         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39514         written.
39515         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39516         written to buffer but not flushed.
39517         * libio/iofwrite_u.c:  Likewise.
39518         * libio/iopadn.c:  Return bytes returned even if EOF was
39519         encountered.
39520         * libio/iowpadn.c:  Likewise.
39521         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39522         if _IO_padn does not write the whole buffer.
39523         [!COMPILE_WPRINTF] (PAD): Likewise.
39525 2013-10-10  David S. Miller  <davem@davemloft.net>
39527         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39528         directory block.
39530 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39532         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39533         instead of FSF address.
39534         * soft-fp/fixdfti.c: Likewise.
39535         * soft-fp/fixsfti.c: Likewise.
39536         * soft-fp/fixtfti.c: Likewise.
39537         * soft-fp/fixunsdfti.c: Likewise.
39538         * soft-fp/fixunssfti.c: Likewise.
39539         * soft-fp/fixunstfti.c: Likewise.
39540         * soft-fp/floattidf.c: Likewise.
39541         * soft-fp/floattisf.c: Likewise.
39542         * soft-fp/floattitf.c: Likewise.
39543         * soft-fp/floatuntidf.c: Likewise.
39544         * soft-fp/floatuntisf.c: Likewise.
39545         * soft-fp/floatuntitf.c: Likewise.
39546         * soft-fp/trunctfxf2.c: Likewise.
39548         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39549         * soft-fp/fixdfti.c: Likewise.
39550         * soft-fp/fixsfti.c: Likewise.
39551         * soft-fp/fixtfti.c: Likewise.
39552         * soft-fp/fixunsdfti.c: Likewise.
39553         * soft-fp/fixunssfti.c: Likewise.
39554         * soft-fp/fixunstfti.c: Likewise.
39555         * soft-fp/floattidf.c: Likewise.
39556         * soft-fp/floattisf.c: Likewise.
39557         * soft-fp/floattitf.c: Likewise.
39558         * soft-fp/floatuntidf.c: Likewise.
39559         * soft-fp/floatuntisf.c: Likewise.
39560         * soft-fp/floatuntitf.c: Likewise.
39561         * soft-fp/trunctfxf2.c: Likewise.
39563 2013-10-10  David S. Miller  <davem@davemloft.net>
39565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39567 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39569         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39570         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39571         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39572         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39573         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39574         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39575         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39578         for NaNs before doing comparisons on argument.
39579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39580         Likewise.
39582 2013-10-10  Will Newton  <will.newton@linaro.org>
39584         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39585         passed to _int_memalign does not overflow.
39587 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39589         * scripts/bench.pl: Add include-sources directive.
39590         * benchtests/README: Update documentation.
39592 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39594         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39595         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39596         instead of FP_INIT_ROUNDMODE.
39597         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39598         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39600         [BZ #16034]
39601         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39602         copy class of input value.
39603         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39604         not handle exceptions.
39605         * soft-fp/negsf2.c (__negsf2): Likewise.
39606         * soft-fp/negtf2.c (__negtf2): Likewise.
39607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39609 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39611         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39612         semicolon.  From Linux kernel.
39614 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39616         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39618 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39620         [BZ #156]
39621         * manual/socket.texi: Added statement about buffer
39622         for gethostbyname2_r.
39624 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39626         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39627         Use .p2align directive instead, throughout.
39628         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39629         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39630         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39631         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39632         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39633         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39634         * sysdeps/x86_64/strchr.S: Likewise.
39635         * sysdeps/x86_64/strrchr.S: Likewise.
39637 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39639         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39641         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39643         * sysdeps/generic/math_private.h (__mpsin1): Remove
39644         declaration.
39645         (__mpcos1): Likewise.
39646         (__mpsin): New argument __range_reduce.
39647         (__mpcos): Likewise.
39648         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39649         (slow): Use __mpsin and __mpcos.
39650         (slow1): Likewise.
39651         (slow2): Likewise.
39652         (sloww): Likewise.
39653         (sloww1): Likewise.
39654         (sloww2): Likewise.
39655         (bsloww): Likewise.
39656         (bsloww1): Likewise.
39657         (bsloww2): Likewise.
39658         (cslow2): Likewise.
39659         (csloww): Likewise.
39660         (csloww1): Likewise.
39661         (csloww2): Likewise.
39662         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39663         range_reduce.  Merge in __mpsin1.
39664         (__mpcos): Likewise.
39665         (__mpsin1): Remove.
39666         (__mpcos1): Likewise.
39668 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39670         * locale/loadlocale.c (_nl_intern_locale_data): Use
39671         LOCFILE_ALIGNED_P.
39672         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39673         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39674         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39675         obstack data is appropriately aligned.
39676         (obstack_int32_grow_fast): Likewise.
39677         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39678         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39679         (add_locale_uint32_array): Likewise.
39681 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39683         * benchtests/Makefile: Remove ARGLIST and RET variables.
39684         ($(objpfx)bench-%.c): Pass only function name to the script.
39685         * benchtests/README: Update documentation.
39686         * benchtests/acos-inputs: Add new directives.
39687         * benchtests/acosh-inputs: Likewise.
39688         * benchtests/asin-inputs: Likewise.
39689         * benchtests/asinh-inputs: Likewise.
39690         * benchtests/atan-inputs: Likewise.
39691         * benchtests/atanh-inputs: Likewise.
39692         * benchtests/cos-inputs: Likewise.
39693         * benchtests/cosh-inputs: Likewise.
39694         * benchtests/exp-inputs: Likewise.
39695         * benchtests/log-inputs: Likewise.
39696         * benchtests/pow-inputs: Likewise.
39697         * benchtests/rint-inputs: Likewise.
39698         * benchtests/sin-inputs: Likewise.
39699         * benchtests/sinh-inputs: Likewise.
39700         * benchtests/tan-inputs: Likewise.
39701         * benchtests/tanh-inputs: Likewise.
39702         * scripts/bench.pl: Add support for new directives.
39704 2013-10-07  Alan Modra  <amodra@gmail.com>
39706         * README: Fix careless merge.
39708 2013-10-05  Alan Modra  <amodra@gmail.com>
39710         * NEWS: Mention powerpc64le support and bugs fixed.
39711         * README: Both big-endian and little-endian powerpc64 supported.
39713 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39715         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39716         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39717         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39718         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39720 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39722         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39723         match prototype.
39725 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39727         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39728         Move -mhard-float appending from
39729         ports/sysdeps/powerpc/powerpc32/Makefile.
39730         [$(with-fp) = yes] (ASFLAGS): Likewise.
39731         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39732         * sysdeps/powerpc/nofpu: Move directory from
39733         ports/sysdeps/powerpc/nofpu.
39734         * sysdeps/powerpc/soft-fp: Move directory from
39735         ports/sysdeps/powerpc/soft-fp.
39736         * sysdeps/powerpc/powerpc32/405: Move directory from
39737         ports/sysdeps/powerpc/powerpc32/405.
39738         * sysdeps/powerpc/powerpc32/440: Move directory from
39739         ports/sysdeps/powerpc/powerpc32/440.
39740         * sysdeps/powerpc/powerpc32/464: Move directory from
39741         ports/sysdeps/powerpc/powerpc32/464.
39742         * sysdeps/powerpc/powerpc32/476: Move directory from
39743         ports/sysdeps/powerpc/powerpc32/476.
39744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39745         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39747         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39749         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39751         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39753         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39754         * README: Update for powerpc-*-linux-gnu software floating point
39755         support in libc.
39757         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39758         case to powerpc/powerpc32*.
39759         * sysdeps/unix/sysv/linux/configure: Regenerated.
39761         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39762         (_FPU_MASK_OM): Define as 0x04.
39763         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39765         0x00c10080.
39766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39767         0x0000003c.
39768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39771         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39772         getcontext_e500.
39773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39774         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39775         setcontext_e500.
39776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39777         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39778         and setcontext_e500.
39780 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39782         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39784 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39786         * manual/threads.texi (Default Thread Attributes): Fix typo.
39788 2013-10-04  Will Newton  <will.newton@linaro.org>
39790         * malloc/Makefile: Add tst-memalign.
39791         * malloc/tst-memalign.c: New file.
39793         * malloc/tst-posix_memalign.c: Add comments.
39794         (do_test): Add comments and call free on all potentially
39795         allocated pointers. Add space after cast.
39797         * malloc/tst-pvalloc.c: Add comments.
39798         (do_test): Add comments and call free on all potentially
39799         allocated pointers. Remove duplicate check for NULL pointer.
39800         Add space after cast.
39802         * malloc/tst-valloc.c: Add comments.
39803         (do_test): Add comments and call free on all potentially
39804         allocated pointers. Remove duplicate check for NULL pointer.
39805         Add space after cast.
39807 2013-10-04  Alan Modra  <amodra@gmail.com>
39809         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39810         Use stdint types in rather than __attribute__((mode())).
39811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39813 2013-10-04  Alan Modra  <amodra@gmail.com>
39815         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39816         Correct handling of unaligned relocs for little-endian.
39817         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39819 2013-10-04  Alan Modra  <amodra@gmail.com>
39821         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39822         * configure: Regenerate.
39823         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39824         * shlib-versions: Likewise.
39826 2013-10-04  Alan Modra  <amodra@gmail.com>
39828         * string/tester.c (test_memrchr): Increment reported test cycle.
39830 2013-10-04  Alan Modra  <amodra@gmail.com>
39832         * string/test-memcpy.c (do_one_test): When reporting errors, print
39833         string address and don't overrun end of string.
39835 2013-10-04  Alan Modra  <amodra@gmail.com>
39837         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39838         insrdi.  Make better use of reg selection to speed exit slightly.
39839         Schedule entry path a little better.  Remove useless "are we done"
39840         checks on entry to main loop.  Handle wrapping around zero address.
39841         Correct main loop count.  Handle single left-over word from main
39842         loop inline rather than by using loop_small.  Remove extra word
39843         case in loop_small caused by wrong loop count.  Add little-endian
39844         support.
39845         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39847         cache hint.
39848         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39849         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39850         support.  Avoid rlwimi.
39851         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39853 2013-10-04  Alan Modra  <amodra@gmail.com>
39855         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39856         insrdi.  Formatting.
39857         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39858         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39859         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39860         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39861         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39862         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39864 2013-10-04  Alan Modra  <amodra@gmail.com>
39866         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39868         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39869         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39870         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39872         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39873         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39874         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39875         use of regs.  Use power7 mtocrf.  Tidy function tails.
39877 2013-10-04  Alan Modra  <amodra@gmail.com>
39879         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39880         Formatting.  Consistently use rXXX register defines or rN defines.
39881         Use early exit labels that avoid restoring unused non-volatile regs.
39882         Make cr field use more consistent with rWORDn compares.  Rename
39883         regs used as shift registers for unaligned loop, using rN defines
39884         for short lifetime/multiple use regs.
39885         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39887         addi 1,1,64 to pop stack frame.  Simplify return value code.
39888         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39890 2013-10-04  Alan Modra  <amodra@gmail.com>
39892         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39893         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39894         rather than rlwimi.
39895         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39896         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39897         little-endian support.  Correct typos.
39898         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39899         rather than rlwimi.
39900         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39901         in loop and entry code to keep "and." results.
39902         (strchr): Add little-endian support.  Comment.  Move cntlzd
39903         earlier in tail.
39904         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39906 2013-10-04  Alan Modra  <amodra@gmail.com>
39908         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39909         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39910         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39911         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39913 2013-10-04  Alan Modra  <amodra@gmail.com>
39915         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39916         (rTMP): Define as r11.
39917         (strcmp): Add little-endian support.  Optimise tail.
39918         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39919         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39920         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39921         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39922         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39923         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39924         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39926 2013-10-04  Alan Modra  <amodra@gmail.com>
39928         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39929         little-endian support.  Remove unnecessary "are we done" tests.
39930         Handle "s" wrapping around zero and extremely large "size".
39931         Correct main loop count.  Handle single left-over word from main
39932         loop inline rather than by using small_loop.  Correct comments.
39933         Delete "zero" tail, use "end_max" instead.
39934         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39936 2013-10-04  Alan Modra  <amodra@gmail.com>
39938         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39939         support.  Don't branch over align.
39940         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39941         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39942         support.  Rearrange tmp reg use to suit.  Comment.
39943         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39945 2013-10-04  Alan Modra  <amodra@gmail.com>
39947         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39949 2013-10-04  Alan Modra  <amodra@gmail.com>
39951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39952         conditional form of branch and link when obtaining pc.
39953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39955 2013-10-04  Alan Modra  <amodra@gmail.com>
39957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39958         HIWORD/LOWORD.
39959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39962 2013-10-04  Alan Modra  <amodra@gmail.com>
39964         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39965         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39966         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39967         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39968         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39969         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39970         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39971         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39972         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39973         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39975 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39976             Alistair Popple <alistair@ozlabs.au.ibm.com>
39977             Alan Modra <amodra@gmail.com>
39979         [BZ #15723]
39980         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39981         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39982         _dl_hwcap access for little-endian.
39983         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39984         destroy vmx regs when saving unaligned.
39985         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39986         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39987         destroy vmx regs when saving unaligned.
39989 2013-10-04  Alan Modra  <amodra@gmail.com>
39991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39992         Don't use a union to pack hi/low value.
39994 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39996         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39997         for little-endian.
39998         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40000         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40001         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40002         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40004 2013-10-04  Alan Modra  <amodra@gmail.com>
40006         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40007         constants to usual value for .cst8 section, and remove redundant
40008         high address load.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40010         constant for 0x1p52.  Load little-endian words of double from
40011         correct stack offsets.
40013 2013-10-04  Alan Modra  <amodra@gmail.com>
40015         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40016         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40017         words of double from correct stack offsets.
40018         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40019         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40020         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40021         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40023         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40024         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40025         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40026         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40027         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40028         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40030         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40031         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40032         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40033         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40034         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40036 2013-10-04  Alan Modra  <amodra@gmail.com>
40038         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40039         64-bit int/double union.
40040         (_FPU_SETCW): Likewise.
40041         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40042         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40044 2013-10-04  Alan Modra  <amodra@gmail.com>
40046         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40047         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40049 2013-10-04  Alan Modra  <amodra@gmail.com>
40051         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40052         use vector int constants.
40053         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40055 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40057         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40058         array with long long.
40059         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40060         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40061         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40062         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40063         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40064         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40065         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40066         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40067         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40068         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40069         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40070         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40071         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40073 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40075         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40076         (__signbit): Likewise.  Correct for little-endian.
40077         (__signbitl): Call __signbit.
40078         (lrint): Correct for little-endian.
40079         (lrintf): Call lrint.
40081 2013-10-04  Alan Modra  <amodra@gmail.com>
40083         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40084         union 32-bit int array member with 64-bit int array.
40085         (t515, tm256): Double rather than long double.
40086         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40088 2013-10-04  Alan Modra  <amodra@gmail.com>
40090         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40091         Delete.
40092         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40094         version of math_ldbl.h.
40096 2013-10-04  Alan Modra  <amodra@gmail.com>
40098         [BZ #15734], [BZ #15735]
40099         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40100         all uses of ieee875 long double macros and unions.  Simplify test
40101         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40102         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40103         normalize after ldbl_extract_mantissa, and don't add hidden bit
40104         already handled.  Don't treat low word of ieee854 mantissa like
40105         low word of IBM long double and mask off bit when testing for
40106         zero.
40107         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40108         all uses of ieee875 long double macros and unions.  Simplify tests
40109         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40110         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40111         two1022, instead use their values.  Recognise that tests for large
40112         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40114         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40115         test for 0.0L and nan.  Correct negation.
40116         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40117         ieee875 long double macros and unions.  Correct output for large
40118         magnitude x.  Correct absolute value calculation.
40119         (__erfcl): Likewise.
40120         * math/libm-test.inc: Add tests for errors discovered in IBM long
40121         double versions of fmodl, remainderl, erfl and erfcl.
40123 2013-10-04  Alan Modra  <amodra@gmail.com>
40125         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40126         all uses of ieee854 long double macros and unions.  Simplify tests
40127         for long doubles that are fully specified by the high double.
40128         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40129         Likewise.
40130         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40131         Remove dead code too.
40132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40133         (__ieee754_ynl): Likewise.
40134         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40135         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40136         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40137         Remove dead code too.
40138         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40139         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40140         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40141         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40142         Simplify.
40143         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40144         Simplify.
40145         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40146         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40148         Comment on variable precision.
40149         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40150         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40151         Likewise.
40152         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40153         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40154         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40155         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40156         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40158 2013-10-04  Alan Modra  <amodra@gmail.com>
40160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40161         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40162         all uses of ieee854 long double macros and unions.
40163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40165         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40167         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40168         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40169         Likewise.
40170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40171         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40172         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40173         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40174         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40175         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40176         Simplify sign and nan test too.
40177         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40178         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40179         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40180         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40181         Likewise.
40182         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40183         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40184         Likewise.
40185         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40186         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40187         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40188         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40189         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40192 2013-10-04  Alan Modra  <amodra@gmail.com>
40194         * stdio-common/printf_size.c (__printf_size): Don't use
40195         union ieee854_long_double in fpnum union.
40196         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40197         signbit macro to retrieve sign from long double.
40198         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40199         retrieve sign from long double.
40200         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40201         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40202         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40203         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40204         * math/test-misc.c (main): Don't use union ieee854_long_double.
40206 2013-10-04  Alan Modra  <amodra@gmail.com>
40208         [BZ #15680]
40209         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40210         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40211         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40212         calculation.  Remove unnecessary test for denormal exponent.
40213         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40214         Correct handling of denormals.  Avoid undefined shift behaviour.
40215         Correct normalisation of low mantissa when low double is denormal.
40216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40217         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40218         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40219         Correct normalisation of low mantissa.  Test for overflow of high
40220         mantissa and normalise.
40221         (ldbl_nearbyint): Use more readable constant for two52.
40222         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40223         (__mpn_construct_long_double): Fix test for overflow of high
40224         mantissa and correct normalisation.  Avoid undefined shift.
40226 2013-10-04  Alan Modra  <amodra@gmail.com>
40228         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40229         (union ibm_extended_long_double): Define as an array of ieee754_double.
40230         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40231         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40232         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40233         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40242 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40244         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40245         page size instead of calling getpagesize.
40247         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40248         (LOCFILE_ALIGN_MASK): Likewise.
40249         (LOCFILE_ALIGN_UP): Likewise.
40250         (LOCFILE_ALIGNED_P): Likewise.
40251         * locale/programs/ld-collate.c (collate_output): Use the new
40252         macros instead of __alignof__ (int32_t).
40253         * locale/weight.h (findidx): Likewise.
40255 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40257         [BZ #431]
40258         * manual/string.texi: Fix strncat and wcsncat.
40260 2013-10-03  Brooks Moses  <bmoses@google.com>
40262         [BZ #15915]
40263         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40264         * Makerules: ...here, and adjust associated comments.
40266 2013-10-02  Will Newton  <will.newton@linaro.org>
40268         * malloc/Makefile: Add tst-pvalloc.
40269         * malloc/tst-pvalloc.c: New file.
40271 2013-10-02  Will Newton  <will.newton@linaro.org>
40273         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40274         improve test coverage.
40276 2013-10-02  Will Newton  <will.newton@linaro.org>
40278         * malloc/Makefile: Add tst-posix_memalign.
40279         * malloc/tst-posix_memalign.c: New file.
40281 2013-10-01  Eric Blake  <eblake@redhat.com>
40283         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40284         Use __THROWNL rather than __THROW on static functions.
40286 2013-09-30  Petr Machata  <pmachata@redhat.com>
40288         * elf/elf.h (R_AARCH64_ABS16): New macro.
40289         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40290         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40291         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40292         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40293         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40294         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40295         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40296         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40297         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40298         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40299         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40300         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40301         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40302         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40303         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40304         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40305         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40306         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40307         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40308         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40309         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40310         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40311         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40312         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40313         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40314         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40315         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40316         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40317         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40318         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40319         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40320         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40321         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40322         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40323         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40324         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40325         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40326         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40327         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40328         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40329         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40330         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40331         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40332         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40333         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40334         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40335         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40336         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40337         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40338         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40339         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40340         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40341         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40342         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40343         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40344         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40345         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40346         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40347         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40348         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40349         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40350         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40351         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40352         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40353         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40354         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40355         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40356         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40357         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40358         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40359         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40360         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40361         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40362         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40363         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40364         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40365         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40366         (R_AARCH64_TLSDESC_LDR): Likewise.
40367         (R_AARCH64_TLSDESC_ADD): Likewise.
40368         (R_AARCH64_TLSDESC_CALL): Likewise.
40370 2013-09-30  Andreas Schwab  <schwab@suse.de>
40372         [BZ #15048]
40373         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40374         the nss database lookup.
40375         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40378 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40380         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40382 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40385         ${Bash-specific parameter/pattern/string} parameter expansion.
40386         * sysdeps/unix/make-syscalls.sh: Likewise.
40388 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40390         * sysdeps/sh/stackguard-macros.h: New file.
40392 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40396         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40397         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40398         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40399         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40401 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40403         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40404         Fix thread ID register.
40406 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40408         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40409         [POSIX || UNIX98]: Require rather than permitting all symbols from
40410         <time.h>.
40411         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40412         element of struct sched_param.
40413         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40414         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40415         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40416         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40417         constant.
40419 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40421         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40422         argument calculation.
40424 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40426         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40427         Expect macro.
40428         [POSIX] (pthread_attr_t): Do not require type.
40429         [POSIX] (pthread_cond_t): Likewise.
40430         [POSIX] (pthread_condattr_t): Likewise.
40431         [POSIX] (pthread_key_t): Likewise.
40432         [POSIX] (pthread_mutex_t): Likewise.
40433         [POSIX] (pthread_mutexattr_t): Likewise.
40434         [POSIX] (pthread_once_t): Likewise.
40435         [POSIX] (pthread_t): Likewise.
40436         [POSIX-based standards] (pthread_atfork): Expect function.
40438 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40439             Richard Sandiford  <richard@codesourcery.com>
40441         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40442         (swap_endianness_p): New extern variable.
40443         (set_big_endian): New inline function.
40444         (maybe_swap_uint32): Likewise.
40445         (maybe_swap_uint32_array): Likewise.
40446         (maybe_swap_uint32_obstack): Likewise.
40447         * locale/programs/locfile.c: Include <stdbool.h>.
40448         (swap_endianness_p): New variable.
40449         (add_locale_uint32): Call maybe_swap_uint32.
40450         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40451         (write_locale_data): Call maybe_swap_uint32_array.
40452         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40453         maybe_swap_uint32.
40454         (obstack_int32_grow_fast): Likewise.
40455         (output_weightwc): Call maybe_swap_uint32_obstack.
40456         (collate_output): Likewise.
40457         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40458         (OPT_LITTLE_ENDIAN): Likewise.
40459         (options): Add --little-endian and --big-endian options.
40460         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40461         * locale/programs/locarchive.c: Include "locfile.h".
40462         (GET): New macro.
40463         (SET): Likewise.
40464         (INC): Likewise.
40465         (create_archive): Use the new macros to access fields of
40466         structures directly mapped from or written to locale archives.
40467         (oldlocrecentcmp): Likewise.
40468         (enlarge_archive): Likewise.
40469         (insert_name): Likewise.
40470         (add_alias): Likewise.
40471         (add_locale): Likewise.
40472         (delete_locales_from_archive): Likewise.
40473         (show_archive_content): Likewise.
40474         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40475         locale data.
40477 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40479         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40480         http://www.gnu.org/doc/freemanuals.texi.
40481         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40483 2013-09-24  Will Newton  <will.newton@linaro.org>
40485         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40486         macro.
40488 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40490         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40491         unsigned char.
40493 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40495         * manual/threads.texi (POSIX Threads): Fix a typo.
40497 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40499         [BZ #14547]
40500         * string/tst-strcoll-overflow.c: New test case.
40501         * string/Makefile (xtests): Add tst-strcoll-overflow.
40502         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40503         cache if string sizes may cause integer overflow.
40505         [BZ #14547]
40506         * string/strcoll_l.c (coll_seq): New members rule, idx,
40507         save_idx and back_us.
40508         (get_next_seq_nocache): New function.
40509         (do_compare_nocache): New function.
40510         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40511         when malloc fails.
40513 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40515         [BZ #15754]
40516         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40517         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40518         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40520         [BZ #15754]
40521         * elf/Makefile (tests): Add tst-ptrguard1.
40522         (tests-static): Add tst-ptrguard1-static.
40523         (tst-ptrguard1-ARGS): Define.
40524         (tst-ptrguard1-static-ARGS): Define.
40525         * elf/tst-ptrguard1.c: New file.
40526         * elf/tst-ptrguard1-static.c: New file.
40527         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40528         * sysdeps/i386/stackguard-macros.h: Likewise.
40529         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40530         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40531         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40532         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40533         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40534         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40536 2013-09-23  Hector Marco  <hecmargi@upv.es>
40537             Ismael Ripoll  <iripoll@disca.upv.es>
40538             Carlos O'Donell  <carlos@redhat.com>
40540         [BZ #15754]
40541         * sysdeps/generic/stackguard-macros.h: Define
40542         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40543         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40544         Define __pointer_chk_guard_local.
40545         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40546         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40548 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40550         [BZ #15859]
40551         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40553 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40555         * include/string.h (__ffs): Declare as hidden.
40556         * string/ffs.c (__ffs): Define as hidden.
40557         * sysdeps/i386/ffs.c (__ffs): Likewise.
40558         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40559         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40560         * sysdeps/s390/ffs.c (__ffs): Likewise.
40561         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40563 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40565         * NEWS: Mention malloc probes.
40567         * malloc/arena.c (new_heap): New memory_heap_new probe.
40568         (grow_heap): New memory_heap_more probe.
40569         (shrink_heap): New memory_heap_less probe.
40570         (heap_trim): New memory_heap_free probe.
40571         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40572         (systrim): New memory_sbrk_less probe.
40573         * manual/probes.texi: Document them.
40575         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40576         * manual/probes.texi: Document it.
40578         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40579         (__libc_realloc): Add memory_realloc_retry probe.
40580         (__libc_memalign): Add memory_memalign_retry probe.
40581         (__libc_valloc): Add memory_valloc_retry probe.
40582         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40583         (__libc_calloc): Add memory_calloc_retry probe.
40584         * manual/probes.texi: Document them.
40586         * malloc/arena.c (get_free_list): Add probe
40587         memory_arena_reuse_free_list.
40588         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40589         and memory_arena_reuse.
40590         (arena_get2) [!PER_THREAD]: Likewise.
40591         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40592         memory_arena_reuse_realloc.
40593         * manual/probes.texi: Document them.
40595         * malloc/malloc.c (__libc_free): Add
40596         memory_mallopt_free_dyn_thresholds probe.
40597         (__libc_mallopt): Add multiple memory_mallopt probes.
40598         * manual/probes.texi: Document them.
40600         * malloc/malloc.c: Include stap-probe.h.
40601         (__libc_mallopt): Add memory_mallopt probe.
40602         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40603         * manual/probes.texi: New.
40604         * manual/Makefile (chapters): Add probes.
40605         * manual/threads.texi: Set next node.
40607 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40609         [BZ #15963, #13985]
40610         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40611         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40612         Add `Chinese' to `nan' entry name.
40614 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40616         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40617         (POLYNOMIAL): Likewise.
40618         (TAYLOR_SINCOS): Likewise.
40619         (TAYLOR_SLOW): Likewise.
40620         (__sin): Use TAYLOR_SINCOS.
40621         (__cos): Likewise.
40622         (slow): Use TAYLOR_SLOW.
40623         (sloww): Likewise.
40624         (bsloww): Likewise.
40625         (csloww): Likewise.
40627 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40629         * stdlib/strtod_l.c: Fix buffer overrun.
40631 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40633         * benchtests/Makefile (bench): Add sincos.
40634         * benchtests/bench-sincos.c: New file.
40636         * math/libm-test.inc (cos_test_data): New test inputs.
40637         (sin_test_data): Likewise.
40639         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40640         macro.
40641         (__sin): Use it.
40642         (__cos): Likewise.
40643         (slow1): Likewise.
40644         (slow2): Likewise.
40645         (sloww1): Likewise.
40646         (sloww2): Likewise.
40647         (bsloww1): Likewise.
40648         (bsloww2): Likewise.
40649         (cslow2): Likewise.
40650         (csloww1): Likewise.
40651         (csloww2): Likewise.
40653         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40654         function.
40655         (__sin): Use it.
40656         (__cos): Likewise.
40658         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40659         gotos.
40660         (__cos): Likewise.
40662 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40664         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40665         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40666         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40667         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40668         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40669         * elf/cache.c (print_entry): Handle the new cache flags.
40671 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40672             Aldy Hernandez  <aldyh@redhat.com>
40674         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40675         Change condition to [_SOFT_FLOAT].
40676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40688         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40691         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40692         declaration.
40694 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40696         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40697         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40698         (__longjmp): Use LOAD_GP to load saved GPRs.
40699         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40700         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40701         (__sigsetjmp): Use SAVE_GP to save GPRs.
40703         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40704         Do not append -msoft-float.
40705         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40707 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40709         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40711 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40713         [BZ #15966]
40714         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40715         (_FPU_GETCW): Use initial "__" on variable and field names but not
40716         on macro parameter name.
40717         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40718         parentheses around reference to macro parameter.
40720 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40722         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40723         prototype.
40724         (ctype_startup): Use uint32_t in cast and sizeof for
40725         ctype->charnames.
40727 2013-09-11  Jia Liu  <proljc@gmail.com>
40729         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40730         __daddr_t_defined.
40731         [__FreeBSD__]: Likewise.
40733 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40736         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40737         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40738         (strchr): Remove __strchr_sse42 ifunc selection.
40739         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40740         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40742 2013-09-11  Will Newton  <will.newton@linaro.org>
40744         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40745         parameter to RES. Remove hardcoded 1000 value.
40746         * benchtests/bench-skeleton.c (main): Pass RES parameter
40747         to TIMING_INIT and multiply result by 1000.
40749 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40753 2013-09-11  Andreas Schwab  <schwab@suse.de>
40755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40756         if not defined.
40757         (O_TMPFILE) [__USE_GNU]: Define.
40758         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40759         Define.
40761 2013-09-11  Will Newton  <will.newton@linaro.org>
40763         [BZ #15857]
40764         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40765         does not overflow.
40767 2013-09-11  Will Newton  <will.newton@linaro.org>
40769         [BZ #15856]
40770         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40771         does not overflow.
40773 2013-09-11  Will Newton  <will.newton@linaro.org>
40775         [BZ #15855]
40776         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40777         does not overflow.
40779 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40781         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40785         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40787 2013-09-10  Allan McRae  <allan@archlinux.org>
40789         [BZ #15748]
40790         * manual/arith.texi (Parsing of Floats): Clarify
40791         cross-reference.
40793         [BZ #15849]
40794         * manual/install.texi (Running make install): Mention
40795         --enable-pt-chown.
40796         * INSTALL: Regenerated.
40798 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40800         * csu/init-first.c (_init): Remove the !SHARED condition around
40801         FPU control word initialization.
40802         * elf/dl-support.c (_dl_fpu_control): New variable.
40803         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40804         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40805         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40806         * math/test-fpucw-static.c: New file.
40807         * math/test-fpucw-ieee.c: New file.
40808         * math/test-fpucw-ieee-static.c: New file.
40809         * math/Makefile (tests): Add `test-fpucw-ieee' and
40810         `$(tests-static)'.
40811         (tests-static): New variable.
40812         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40813         dependency to...
40814         [($(build-shared),yes)]
40815         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40816         ... this.
40817         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40818         New dependency.
40820 2013-09-09  Allan McRae  <allan@archlinux.org>
40822         [BZ #15939]
40823         * manual/string.texi (Collation Functions): Fix typo in
40824         strcoll example.
40825         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40827         [BZ #15893]
40828         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40830         [BZ #15892]
40831         * libio/memstream.c (open_memstream): Fix memory leak.
40832         * libio/wmemstream.c (open_wmemstream): Likewise.
40834         [BZ #15895]
40835         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40837 2013-09-09  Will Newton  <will.newton@linaro.org>
40839         * malloc/Makefile: Add tst-realloc to tests.
40840         * malloc/tst-realloc.c: New file.
40842 2013-09-09  Allan McRae  <allan@archlinux.org>
40844         [BZ #15844]
40845         * COPYING: Update from GNU website to fix FSF address.
40846         * COPYING.LIB: Likewise.
40848 2013-09-06  David S. Miller  <davem@davemloft.net>
40850         * po/zh_TW.po: Update Chinese (traditional) translation from
40851         translation project.
40853 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40854             Joseph Myers  <joseph@codesourcery.com>
40856         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40857         "localeinfo.h".
40858         (obstack_chunk_alloc): New macro.
40859         (obstack_chunk_free): Likewise.
40860         (record_offset): New function.
40861         (init_locale_data): Likewise.
40862         (align_locale_data): Likewise.
40863         (add_locale_empty): Likewise.
40864         (add_locale_raw_data): Likewise.
40865         (add_locale_raw_obstack): Likewise.
40866         (add_locale_string): Likewise.
40867         (add_locale_wstring): Likewise.
40868         (add_locale_uint32): Likewise.
40869         (add_locale_uint32_array): Likewise.
40870         (add_locale_char): Likewise.
40871         (start_locale_structure): Likewise.
40872         (end_locale_structure): Likewise.
40873         (start_locale_prelude): Likewise.
40874         (end_locale_prelude): Likewise.
40875         (write_locale_data): Take locale_file structure rather than an
40876         iovec.
40877         * locale/programs/locfile.h: Include "obstack.h".
40878         (struct locale_file): Change to store locale file contents instead
40879         of header.
40880         (init_locale_data): New prototype.
40881         (align_locale_data): Likewise.
40882         (add_locale_empty): Likewise.
40883         (add_locale_raw_data): Likewise.
40884         (add_locale_raw_obstack): Likewise.
40885         (add_locale_string): Likewise.
40886         (add_locale_wstring): Likewise.
40887         (add_locale_uint32): Likewise.
40888         (add_locale_uint32_array): Likewise.
40889         (add_locale_char): Likewise.
40890         (start_locale_structure): Likewise.
40891         (end_locale_structure): Likewise.
40892         (start_locale_prelude): Likewise.
40893         (end_locale_prelude): Likewise.
40894         (write_locale_data): Update prototype.
40895         * locale/programs/3level.h (struct TABLE): Remove result field.
40896         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40897         Use new locale_file interface.
40898         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40899         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40900         * locale/programs/ld-address.c (address_output): Use new
40901         locale_file interface.
40902         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40903         NO_ADD_LOCALE.
40904         (collate_finish): Don't call collseq_table_finalize.
40905         (collate_output): Use new locale_file interface.
40906         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40907         in file.
40908         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40909         (TABLE): Move defines earlier in file.
40910         (ELEMENT): Likewise.
40911         (DEFAULT): Likewise.
40912         (wctrans_table_add): Move macro and inline function earlier in
40913         file.
40914         (struct wctype_table): Move type earlier in file.
40915         (add_locale_wctype_table): New static prototype.
40916         (struct locale_ctype_t): Use logical types instead of struct iovec
40917         pointers for members.
40918         (ctype_output): Use new locale_file interface.
40919         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40920         new locale_file interface.
40921         (allocate_arrays): Update for use of new locale_file interface.
40922         * locale/programs/ld-identification.c (identification_output): Use
40923         new locale_file interface.
40924         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40925         * locale/programs/ld-messages.c (messages_output): Likewise.
40926         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40927         * locale/programs/ld-name.c (name_output): Likewise.
40928         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40929         * locale/programs/ld-paper.c (paper_output): Likewise.
40930         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40931         * locale/programs/ld-time.c (time_output): Likewise.
40933 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40935         * benchtests/Makefile: Add memrchr benchmark.
40936         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40937         benchmark as memrchr.
40938         * benchtests/bench-memrchr-ifunc.c: New file.
40939         * benchtests/bench-memrchr.c: New file.
40941 2013-09-06   Will Newton  <will.newton@linaro.org>
40943         * benchtests/Makefile (string-bench): Add memcpy.
40945 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40946             Cong Wang  <amwang@redhat.com>
40948         [BZ #15850]
40949         * sysdeps/unix/sysv/linux/bits/in.h
40950         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40951         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40952         before __USE_KERNEL_IPV6_DEFS uses.
40953         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40954         IPPROTO_BEETPH.
40955         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40956         sockaddr_in6, or ipv6_mreq.
40958 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40960         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40961         memory access for final bytes in some large inputs.
40962         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40964 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40966         * string/test-memrchr.c: New file.
40967         * string/test-memrchr-ifunc.c: New file.
40968         * string/Makefile: Add new memrchr testcase.
40970 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40972         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40973         fanotify_init returns EPERM.
40975 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40977         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40978         errors.
40979         (top level): Treat second token from macro or constant entries for
40980         allowed headers as allowed.
40981         * include/complex.h: Condition internal declarations on
40982         [!_ISOMAC].
40983         * include/fenv.h: Condition include of <stdbool.h> and internal
40984         declarations on [!_ISOMAC].
40986 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40988         [BZ #15923]
40989         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40991 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40993         * configure.in (--enable-versioning): Remove configure option.
40994         (libc_cv_asm_symver_directive): Remove configure test.
40995         (libc_cv_ld_version_script_option): Likewise.
40996         (VERSIONING): Remove variable and AC_SUBST.
40997         (DO_VERSIONING): Remove AC_DEFINE.
40998         * configure: Regenerated.
40999         * config.h.in (DO_VERSIONING): Remove macro.
41000         * Makerules [$(versioning) = yes]: Change conditionals to
41001         [$(build-shared) = yes].
41002         * config.make.in (versioning): Remove variable.
41003         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41004         [$(build-shared) = yes].
41005         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41006         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41007         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41008         [$(build-shared) = yes].
41009         * extra-lib.mk [$(versioning) = yes]: Likewise.
41010         * hurd/Makefile [$(versioning) = yes]: Likewise.
41011         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41012         [SHARED].
41013         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41014         [SHARED].
41015         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41016         [SHARED && !NO_HIDDEN].
41017         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41018         [SHARED].
41019         [SHARED && DO_VERSIONING]: Likewise..
41020         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41021         [$(build-shared) = yes].
41022         * manual/install.texi (--disable-versioning): Remove
41023         documentation.
41024         * INSTALL: Regenerated.
41025         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41026         to [SHARED].
41027         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41028         [$(build-shared) = yes].
41029         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41030         * sysdeps/i386/i686/multiarch/strstr-c.c
41031         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41032         [SHARED && !NO_HIDDEN].
41033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41034         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41035         * sysdeps/powerpc/powerpc32/dl-machine.c
41036         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41037         * sysdeps/powerpc/powerpc32/sysdep.h
41038         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41039         to [SHARED && PIC && !NO_HIDDEN].
41040         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41041         conditional to [SHARED].
41043 2013-09-04   Will Newton  <will.newton@linaro.org>
41045         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41046         * benchtests/bench-string.h: Include bench-timing.h instead
41047         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41048         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41049         call to HP_TIMING_DIFF_INIT.
41050         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41051         instead of hp-timing.h macros.
41052         * benchtests/bench-memchr.c: Likewise.
41053         * benchtests/bench-memcmp.c: Likewise.
41054         * benchtests/bench-memcpy.c: Likewise.
41055         * benchtests/bench-memmem.c: Likewise.
41056         * benchtests/bench-memmove.c: Likewise.
41057         * benchtests/bench-memset.c: Likewise.
41058         * benchtests/bench-rawmemchr.c: Likewise.
41059         * benchtests/bench-strcasecmp.c: Likewise.
41060         * benchtests/bench-strcasestr.c: Likewise.
41061         * benchtests/bench-strcat.c: Likewise.
41062         * benchtests/bench-strchr.c: Likewise.
41063         * benchtests/bench-strcmp.c: Likewise.
41064         * benchtests/bench-strcpy.c: Likewise.
41065         * benchtests/bench-strcpy_chk.c: Likewise.
41066         * benchtests/bench-strlen.c: Likewise.
41067         * benchtests/bench-strncasecmp.c: Likewise.
41068         * benchtests/bench-strncat.c: Likewise.
41069         * benchtests/bench-strncmp.c: Likewise.
41070         * benchtests/bench-strncpy.c: Likewise.
41071         * benchtests/bench-strnlen.c: Likewise.
41072         * benchtests/bench-strpbrk.c: Likewise.
41073         * benchtests/bench-strrchr.c: Likewise.
41074         * benchtests/bench-strspn.c: Likewise.
41075         * benchtests/bench-strstr.c: Likewise.
41077 2013-09-04  Will Newton  <will.newton@linaro.org>
41079         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41081 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41083         [BZ #15427]
41084         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41085         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41086         * math/libm-test.inc (lgamma_test_data): Add more tests.
41087         * sysdeps/i386/fpu/libm-test-ulps: Update.
41088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41090 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41092         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41094         Add ifunc.
41095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41096         Add strcmp-sse2-unaligned
41097         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41099 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41101         * Versions.def (libc): Add GLIBC_2.19.
41103 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41105         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41106         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41108 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41110         [BZ #14155]
41111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41112         intermediate calculations in recurrence.
41113         (__ieee754_ynf): Likewise.
41114         * math/libm-test.inc (jn_test_data): Do not allow spurious
41115         underflow exception.  Add more tests.
41116         (yn_test_data): Add more tests.
41117         * sysdeps/i386/fpu/libm-test-ulps: Update.
41118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41120 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41122         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41124 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41126         * csu/init-first.c: Fix then/than typos.
41127         * locale/programs/ld-collate.c: Likewise.
41128         * locale/programs/linereader.h: Likewise.
41129         * manual/charset.texi: Likewise.
41130         * manual/filesys.texi: Likewise.
41131         * manual/stdio.texi: Likewise.
41132         * manual/string.texi: Likewise.
41133         * stdlib/fmtmsg.c: Likewise.
41134         * sysdeps/i386/stpncpy.S: Likewise.
41135         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41136         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41137         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41138         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41140 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41142         * elf/dl-open.c: Fix typos.
41143         * iconvdata/gbbig5.c: Likewise.
41144         * iconvdata/iso-2022-jp.c: Likewise.
41145         * iconv/gconv_int.h: Likewise.
41146         * iconv/loop.c: Likewise.
41147         * nis/rpcsvc/nis.h: Likewise.
41148         * resolv/ns_name.c: Likewise.
41149         * stdio-common/vfscanf.c: Likewise.
41150         * streams/stropts.h: Likewise.
41151         * sunrpc/rpc_thread.c: Likewise.
41152         * sysdeps/i386/strpbrk.S: Likewise.
41153         * sysdeps/ieee754/k_standard.c: Likewise.
41154         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41156         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41157         * sysdeps/mach/hurd/profil.c: Likewise.
41158         * sysdeps/s390/dl-procinfo.h: Likewise.
41159         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41160         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41161         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41162         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41165 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41167         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41170 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41172         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41173         aix specific files.
41174         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41175         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41177         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41178         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41179         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41180         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41181         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41183 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41184             Roland McGrath  <roland@hack.frob.com>
41186         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41187         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41189 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41191         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41192         __executable_start symbol instead of _start.
41194 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41196         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41197         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41198         Move macros to...
41199         * sysdeps/gnu/ldsodefs.h: ... this new file.
41201         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41202         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41203         instead of ELFOSABI_LINUX.
41205         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41206         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41207         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41208         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41209         Likewise.
41210         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41211         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41212         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41213         Likewise.
41214         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41215         (ibm_extended_long_double): Add ieee_nan member.
41216         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41217         (do_test): New function.
41219         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41220         TEST_TRUNC.
41221         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41222         functions, renamed from truncdfsf_test, trunctfsf_test,
41223         trunctfdf_test.
41224         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41225         functions.
41226         (do_test): Run all these.
41228 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41230         * argp/argp-help.c: Fix typos.
41231         * argp/argp-parse.c: Likewise.
41232         * debug/backtracesyms.c: Likewise.
41233         * elf/elf.h: Likewise.
41234         * malloc/malloc.c: Likewise.
41235         * nis/nis_print.c: Likewise.
41236         * resolv/res_comp.c: Likewise.
41237         * stdlib/stdlib.h: Likewise.
41238         * sunrpc/clnt_tcp.c: Likewise.
41239         * sunrpc/clnt_udp.c: Likewise.
41240         * sunrpc/clnt_unix.c: Likewise.
41241         * sysdeps/unix/bsd/ptsname.c: Likewise.
41242         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41243         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41245         Likewise.
41246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41247         Likewise.
41248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41249         Likewise.
41250         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41252 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41254         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41257 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41259         [BZ #15897]
41260         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41261         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41262         ($(objpfx)bug-dl-leaf): New rule.
41263         ($(objpfx)bug-dl-leaf.so): Likewise.
41264         ($(objpfx)bug-dl-leaf.out): Likewise.
41265         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41266         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41267         * dlfcn/bug-dl-leaf.c: New test.
41268         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41269         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41270         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41271         (dlclose): Likewise.
41272         (dlmopen): Likewise.
41274 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41276         * include/netdb.h [!_ISOMAC]:
41277         Don't include <tls.h>.
41278         (h_errno, __libc_h_errno): Move declaration and macros out of
41279         [_LIBC_REENTRANT].
41281         * include/resolv.h [_RESOLV_H_]:
41282         Don't include <tls.h>.
41283         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41284         * resolv/res_libc.c: Don't include <tls.h>.
41285         (_res): Use __attribute__ ((nocommon)) in place of
41286         __attribute__ ((section (".bss"))).
41288         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41289         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41291         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41293         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41294         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41296         * resolv/res_mkquery.c: Include <sys/time.h>.
41298         * inet/ifreq.c: Moved to ...
41299         * sysdeps/unix/ifreq.c: ... here.
41300         * inet/ifreq.c: New file, true stub version.
41302         * socket/sa_len.c: New file.
41303         * socket/Makefile (aux): Add it.
41304         * sysdeps/unix/sysv/linux/Makefile
41305         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41306         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41307         and #include <socket/sa_len.c>.
41308         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41309         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41311         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41312         * bits/socket.h: ... here.
41314         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41315         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41316         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41318 2013-08-27  Andreas Schwab  <schwab@suse.de>
41320         [BZ #15736]
41321         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41322         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41323         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41324         * string/test-strcasecmp.c (test_main): Run tests in several
41325         locales.
41326         * string/test-strncasecmp.c (test_main): Likewise.
41328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41329         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41330         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41331         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41332         (__strncasecmp_ssse3) [PIC]: Likewise.
41334 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41336         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41338         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41339         instead of explicitly declaring xdecrypt.
41340         * nis/nss_nis/nis-publickey.c: Likewise.
41342 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41344         [BZ #15890]
41345         * nscd/aicache.c: Include res_hconf.h.
41346         (addhstaiX): Initialize res_hconf.
41348 2013-08-26  Andreas Schwab  <schwab@suse.de>
41350         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41351         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41353 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41355         * nscd/aicache.c (addhstaiX): Fix indentation.
41357 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41359         * configure.ac: Quote $build_pt_chown test.
41360         * configure: Regenerated.
41362 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41364         [BZ #15532]
41365         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41366         * math/s_cexpf.c (__cexpf): Likewise.
41367         * math/s_cexpl.c (__cexpl): Likewise.
41368         * math/libm-test.inc (cexp_test_data): Correct expected return
41369         value for NaN + i0.  Add another test.
41371 2013-08-22  David S. Miller  <davem@davemloft.net>
41373         * po/ca.po: Update Catalan translation from translation project.
41374         * po/uk.po: Add Ukrainian translations from translation project.
41376 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41378         [BZ #15797]
41379         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41380         is infinite, not alongside NaN test.
41381         * math/s_fdimf.c (__fdimf): Likewise.
41382         * math/s_fdiml.c (__fdiml): Likewise.
41383         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41384         errno is unchanged.
41386 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41388         * argp/argp-help.c: Fix typos.
41389         * crypt/speeds.c: Likewise.
41390         * csu/check_fds.c: Likewise.
41391         * elf/dl-load.c: Likewise.
41392         * elf/dl-open.c: Likewise.
41393         * elf/reldep3.c: Likewise.
41394         * elf/reldep.c: Likewise.
41395         * elf/sprof.c: Likewise.
41396         * iconv/iconv_charmap.c: Likewise.
41397         * iconv/skeleton.c: Likewise.
41398         * iconv/strtab.c: Likewise.
41399         * io/lockf64.c: Likewise.
41400         * libio/libioP.h: Likewise.
41401         * resolv/gai_notify.c: Likewise.
41402         * resolv/ns_name.c: Likewise.
41403         * resolv/ns_samedomain.c: Likewise.
41404         * resolv/res_send.c: Likewise.
41405         * stdlib/random.c: Likewise.
41406         * sunrpc/rpc/xdr.h: Likewise.
41407         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41408         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41409         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41410         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41411         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41414         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41415         * sysdeps/mach/hurd/check_fds.c: Likewise.
41416         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41417         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41419         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41420         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41421         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41422         * sysdeps/pthread/aio_notify.c: Likewise.
41423         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41424         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41425         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41426         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41427         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41429 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41431         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41432         version if bit_Slow_SSE4_2 is set.
41433         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41434         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41436 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41438         [BZ #15867]
41439         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41440         trampoline stack frame information.
41441         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41442         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41443         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41444         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41445         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41446         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41447         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41448         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41449         sa_flags value.
41450         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41451         interrupting a syscall and set with option SA_SIGINFO.
41453 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41455         [BZ #15531]
41456         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41457         argument is infinite.
41458         * math/s_cprojf.c (__cprojf): Likewise.
41459         * math/s_cprojl.c (__cprojl): Likewise.
41460         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41461         * math/libm-test.inc (cproj_test_data): Add more tests.
41463         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41465         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41466         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41467         size.  Use __ffs to determine corresponding shift.
41469 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41470             Roland McGrath  <roland@hack.frob.com>
41472         * Makefile (INSTALL): Remove trailing blank lines from output of
41473         makeinfo.
41475 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41477         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41478         Align 32 bit compat elf_greg to 8 bytes.
41480 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41482         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41484 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41486         * string/strcoll_l.c (coll_seq): New structure.
41487         (get_next_seq_cached): New function.
41488         (get_next_seq): New function.
41489         (do_compare): New function.
41490         (STRCOLL): Use GNU style definition.  Simplify implementation
41491         by using get_next_seq, get_next_seq_cached and do_compare.
41493 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41495         [BZ #14699]
41496         CVE-2013-4237
41497         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41498         member.
41499         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41500         member.
41501         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41502         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41503         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41504         conditional.
41505         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41506         GETDENTS_64BIT_ALIGNED.
41507         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41508         * manual/filesys.texi (Reading/Closing Directory): Document
41509         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41510         strongly.
41511         * manual/conf.texi (Limits for Files): Add portability note to
41512         NAME_MAX, PATH_MAX.
41513         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41515 2013-08-13  Andreas Schwab  <schwab@suse.de>
41517         [BZ #15749]
41518         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41519         of fabs.
41520         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41521         LDBL_MAX_EXP >= 16384]: Add tests for it.
41523 2013-08-12  David S. Miller  <davem@davemloft.net>
41525         * version.h (RELEASE): Set to "development".
41526         (VERSION): Set to "2.18.90".
41527         * NEWS: Add 2.19 section.
41529 2013-08-03  David S. Miller  <davem@davemloft.net>
41531         * po/ko.po: Update Korean translation from translation project.
41533 2013-08-01  David S. Miller  <davem@davemloft.net>
41535         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41536         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41537         Bilka.
41539 2013-07-30  David S. Miller  <davem@davemloft.net>
41541         * po/fr.po: Update French translation from translation project.
41543 2013-07-28  David S. Miller  <davem@davemloft.net>
41545         * po/cs.po: Update Czech translation from translation project.
41547         * po/sv.po: Update Swedish translation from translation project.
41549 2013-07-27  David S. Miller  <davem@davemloft.net>
41551         * po/eo.po: Update Esperanto translation from translation project.
41553         * po/vi.po: Update Vietnamese translation from translation project.
41555         * po/de.po: Update German translation from translation project.
41557 2013-07-26  David S. Miller  <davem@davemloft.net>
41559         * po/bg.po: Update Bulgarian translation from translation project.
41561         * po/nl.po: Update Dutch translation from translation project.
41562         * po/pl.po: Update Polish translation from translation project.
41563         * po/ru.po: Update Russian translation from translation project.
41565 2013-07-24  David S. Miller  <davem@davemloft.net>
41567         * po/libc.pot: Update.
41569 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41571         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41572         variable page size.
41573         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41574         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41575         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41577 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41579         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41581 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41582             Andreas Schwab  <schwab@suse.de>
41583             Roland McGrath  <roland@hack.frob.com>
41584             Joseph Myers  <joseph@codesourcery.com>
41585             Carlos O'Donell  <carlos@redhat.com>
41587         [BZ #15755]
41588         * config.h.in: Define HAVE_PT_CHOWN.
41589         * config.make.in (build-pt-chown): New variable.
41590         * configure.in (--enable-pt_chown): New configure option.
41591         * configure: Regenerate.
41592         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41593         build-pt-chown is enabled.
41594         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41595         pt_chown to fix pty ownership.
41596         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41597         CLOSE_ALL_FDS.
41598         * manual/install.texi (Configuring and compiling): Mention
41599         --enable-pt_chown. Add @findex for grantpt.
41600         * INSTALL: Regenerate.
41602 2013-07-20  David S. Miller  <davem@davemloft.net>
41604         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41605         difference between 32-bit and 64-bit.
41607 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41609         [BZ #15711]
41610         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41611         Avoid system header dependency with -ffreestanding.
41612         ($(objpfx)bits/syscall%d): Likewise.
41614 2013-07-13  David S. Miller  <davem@davemloft.net>
41616         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41617         underflows from atanl/atan2l due to bug 15319.
41618         (casinh_test_data): Likewise.
41620 2013-07-07  David S. Miller  <davem@davemloft.net>
41622         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41624 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41626         * sysdeps/i386/fpu/libm-test-ulps: Update.
41627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41629 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * configure.in (--enable-lock-elision): Fix message text.
41632         * INSTALL: Regenerate.
41633         * configure: Regenerate.
41635 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41639 2013-07-03  Andreas Jaeger  <aj@suse.de>
41641         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41642         define.
41643         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41644         (ptrace_peeksiginfo_args): Add.
41645         (__ptrace_peeksiginfo_flags): Add.
41646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41647         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41648         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41650 2013-07-03  Allan McRae  <allan@archlinux.org>
41652         * sysdeps/i386/fpu/libm-test-ulps: Update.
41654 2013-07-02  David S. Miller  <davem@davemloft.net>
41656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41658 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41662 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41664         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41667 2013-07-02  Andi Kleen <ak@linux.intel.com>
41669         * config.h.in (ENABLE_LOCK_ELISION): Add.
41670         * configure.in (--enable-lock-elision): Add option.
41671         * manual/install.texi: Document --enable lock elision.
41672         * configure: Regenerate
41673         * INSTALL: Regenerate.
41675 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41677         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41678         SSE4.2 strcasecmp for libc.a.
41679         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41681 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41683         [BZ #13304]
41684         * soft-fp/op-common.h (_FP_FMA): New macro.
41685         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41686         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41687         (_FP_MUL_MEAT_1_imm): ... here.
41688         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41689         (_FP_MUL_MEAT_1_wide): ... here.
41690         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41691         (_FP_MUL_MEAT_1_hard): ... here.
41692         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41693         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41694         (_FP_MUL_MEAT_2_wide): ... here.
41695         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41696         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41697         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41698         (_FP_MUL_MEAT_2_gmp): ... here.
41699         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41700         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41701         (_FP_MUL_MEAT_4_wide): ... here.
41702         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41703         (_FP_MUL_MEAT_4_gmp): ... here.
41704         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41705         (_FP_WFRACBITS_DW_S): Likewise.
41706         (_FP_WFRACXBITS_DW_S): Likewise.
41707         (_FP_HIGHBIT_DW_S): Likewise.
41708         (FP_FMA_S): Likewise.
41709         (_FP_FRAC_HIGH_DW_S): Likewise.
41710         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41711         (_FP_WFRACBITS_DW_D): Likewise.
41712         (_FP_WFRACXBITS_DW_D): Likewise.
41713         (_FP_HIGHBIT_DW_D): Likewise.
41714         (FP_FMA_D): Likewise.
41715         (_FP_FRAC_HIGH_DW_D): Likewise.
41716         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41717         (_FP_WFRACBITS_DW_E): Likewise.
41718         (_FP_WFRACXBITS_DW_E): Likewise.
41719         (_FP_HIGHBIT_DW_E): Likewise.
41720         (FP_FMA_E): Likewise.
41721         (_FP_FRAC_HIGH_DW_E): Likewise.
41722         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41723         (_FP_WFRACBITS_DW_Q): Likewise.
41724         (_FP_WFRACXBITS_DW_Q): Likewise.
41725         (_FP_HIGHBIT_DW_Q): Likewise.
41726         (FP_FMA_Q): Likewise.
41727         (_FP_FRAC_HIGH_DW_Q): Likewise.
41728         * soft-fp/fmasf4.c: New file.
41729         * soft-fp/fmadf4.c: Likewise.
41730         * soft-fp/fmatf4.c: Likewise.
41732 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41735         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41736         Silvermont.
41737         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41738         macro.
41739         (index_Slow_SSE4_2): Likewise.
41740         (index_Prefer_PMINUB_for_stringop): Likewise.
41741         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41742         bit_Slow_SSE4_2 is set.
41743         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41744         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41746 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41748         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41749         rtld_global._dl_hwcap2.
41750         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41751         POWER8.
41752         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41753         POWER8 feature descriptions defined in _dl_hwcap2.
41754         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41755         string handling for POWER8 feature bits.
41756         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41757         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41758         _dl_powerpc_cap_flags.
41759         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41760         * sysdeps/powerpc/rtld-global-offsets.sym
41761         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41762         _dl_hwcap2 in the rtld_global_ro structure.
41764 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41766         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41767         hardware capabilities in support of AT_HWCAP2.
41768         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41769         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41770         GLRO(dl_hwcap2).
41771         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41772         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41773         explicitly the unknown a_type display mechanism is used.
41774         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41775         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41776         struct member.
41777         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41778         to macro prototype for AT_HWCAP2 support.
41779         * sysdeps/i386/dl-procinfo.h: Likewise.
41780         * sysdeps/s390/dl-procinfo.h: Likewise.
41781         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41782         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41783         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41784         return -1 for unknown a_type display fallback.
41785         * sysdeps/sparc/dl-procinfo.h: Likewise.
41786         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41787         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41789 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41791         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41792         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41794 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41796         [BZ #12492]
41797         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41798         mprotect making __stack_prot writable.
41800 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41801             Joseph Myers  <joseph@codesourcery.com>
41803         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41804         as being properly aligned.
41806 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41808         * dlfcn/modstatic5.c: New file.
41809         * dlfcn/tststatic5.c: New file.
41810         * dlfcn/Makefile (tests): Add tststatic5.
41811         (tests-static): Likewise.
41812         (modules-names): Add modstatic5.
41813         (tststatic5-ENV): New variable.
41814         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41816         [BZ #15022]
41817         * elf/dl-support.c (_dl_main_map): New variable.
41818         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41819         (_dl_nns, _dl_load_adds): Set to 1.
41820         (_dl_initial_searchlist): Refer to _dl_main_map.
41821         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41822         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41823         call to _dl_get_origin.
41824         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41825         around call_map.
41826         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41827         * dlfcn/modstatic3.c: New file.
41828         * dlfcn/tststatic3.c: New file.
41829         * dlfcn/tststatic4.c: New file.
41830         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41831         (tests-static): Likewise.
41832         (modules-names): Add modstatic3.
41833         (tststatic3-ENV, tststatic4-ENV): New variables.
41834         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41835         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41837 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41839         * configure.in (CC): Require GCC version 4.4 or later.
41840         * configure: Regenerated.
41841         * manual/install.texi (Tools for Compilation): Update GCC version
41842         requirement.
41843         * INSTALL: Regenerated.
41845 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41847         [BZ #15674]
41848         * string/test-memcmp.c (check2): New.
41849         (main): Call check2.
41851         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41853 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41855         [BZ #15022]
41856         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41857         over to...
41858         (dl_open_worker) [!SHARED]: ... here.
41860 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41862         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41864 2013-06-25  Richard Henderson  <rth@redhat.com>
41866         * locale/programs/locarchive.c: Include <libc-internal.h>
41868 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41870         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41871         trailing whitespace removed.
41873 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41875         [BZ #10283]
41876         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41877         * locale/programs/locarchive.c: Include libc-mmap.h.
41878         (prepare_address_space): Take two new outputs (the mmap base and len).
41879         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41880         values.
41881         (create_archive): Declare new mmap base and len values for
41882         prepare_address_space, and store the result in ah.
41883         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41884         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41885         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41886         Declare new mmap base and len values for
41887         prepare_address_space, and store the result in new_ah.
41888         (open_archive): Declare new mmap base and len values for
41889         prepare_address_space, and store the result in ah.
41890         (close_archive): If ah->mmap_base is not NULL, use that and
41891         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41892         * sysdeps/generic/libc-mmap.h: New file.
41894 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41896         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41897         (ALIGN_UP): Likewise.
41898         (PTR_ALIGN_DOWN): Likewise.
41899         (PTR_ALIGN_UP): Likewise.
41901 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41903         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41904         entry mapped to PPC_PLATFORM_POWER8.
41905         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41906         POWER8.
41907         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41908         (_dl_string_platform): Add case for exporting platform position for
41909         POWER8.
41910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41911         search path to sysdeps/powerpc/powerpc32/power8 directory.
41912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41913         search path to sysdeps/powerpc/powerpc64/power8 directory.
41914         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41915         power7 directories.
41916         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41917         power7 directories.
41919 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41921         * INSTALL: Regenerate.
41923         * nscd/connections.c (nscd_init): Fix comment.
41925 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41927         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41929         [BZ #15667]
41930         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41931         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41933 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41935         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41936         DL_DST_REQ_STATIC.
41937         (DL_DST_REQ_STATIC): Remove macro.
41939 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41941         [BZ #7006]
41942         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41943         with a shift of 0 bits.
41945 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41947         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41948         $(tststatic-ENV).
41950 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41952         [BZ #15655]
41953         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41955 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41957         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41958         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41959         accepts -fno-tree-loop-distribute-patterns.
41960         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41961         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41962         recursive call.
41963         * string/memset.c (memset): Likewise.
41964         * string/test-memmove.c (simple_memmove): Disable loop transformation
41965         to library calls.
41966         * string/test-memset.c (simple_memset): Likewise.
41967         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41968         * benchtests/bench-memset.c (simple_memset): Likewise.
41969         * configure: Regenerated.
41971 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41973         * math/test-misc.c (main): Ignore fesetround failure when failures
41974         of subsequent rounding tests would be ignored.
41976         [BZ #15654]
41977         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41978         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41979         * math/fegetenv.c (__fegetenv): Return 0.
41980         * math/fegetexcept.c (fegetexcept): Return 0.
41981         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41982         FE_TONEAREST.
41983         * math/feholdexcpt.c (feholdexcept): Return 0.
41984         * math/fesetenv.c (__fesetenv): Return 0.
41985         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41986         argument FE_TONEAREST.
41987         * math/feupdateenv.c (__feupdateenv): Return 0.
41988         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41990 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41992         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41993         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41994         ($(objpfx)rtld-%.os rules): Use them.
41996 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41998         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41999         fields.
42001 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42003         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42004         length of target pattern, then descending length of dependency pattern.
42005         * configure.in (AWK): Require gawk 3.1.2 or newer.
42006         * manual/install.texi (Tools for Compilation): Say that we do.
42007         * configure: Regenerated.
42009         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42010         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42011         * scripts/sysd-rules.awk: ... this new script.
42012         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42013         than a glob-style pattern.
42015 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42017         * math/test-misc.c (main): Do not treat incorrectly rounded
42018         conversions as failure unless ROUNDING_TESTS passes.
42020 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42022         [BZ #15631]
42023         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42024         restore exception state around main square root computation, then
42025         check for inexactness explicitly.
42027         * math/libm-test.inc (fma_test_data): Add another test.
42029 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42031         * manual/threads.texi (Non-POSIX Extensions): New document
42032         node.  Document pthread_getattr_default_np and
42033         pthread_setattr_default_np.
42035         * Versions.def (libpthread): Add GLIBC_2.18.
42036         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42038         Likewise.
42039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42040         Likewise.
42041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42042         Likewise.
42043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42044         Likewise.
42045         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42046         Likewise.
42047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42048         Likewise.
42049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42050         Likewise.
42051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42052         Likewise.
42053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42054         Likewise.
42056 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42059         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42061 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42062             H.J. Lu  <hjl.tools@gmail.com>
42064         [BZ #15627]
42065         * sysdeps/x86_64/rtld-memset.c: Remove file.
42066         * sysdeps/x86_64/rtld-memset.S: New file.
42068 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42070         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42071         (test_in_one_mode): Take arguments for whether the rounding mode
42072         is supported for each floating-point type.
42073         (do_test): Pass new arguments to test_in_one_mode using
42074         ROUNDING_TESTS.
42076 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42078         * posix/tst-waitid.c (do_test): Distinguish different instances of
42079         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42080         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42081         before entering the kernel for waitpid.
42083 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42085         * NEWS: Fix note on clock function precision.  Text by Roland
42086         McGrath.
42088 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42090         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42091         it into place only when and if the sanity check passes.
42093 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42095         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42096         output for whether conversion result is exact.  Take argument
42097         indicating whether type is IBM long double.
42098         (round_for_all): Change need_exact field to ibm_ld.
42099         * stdlib/tst-strtod-round.c (struct exactness): New type.
42100         (struct test): Change bool ld_ok field to struct exactness exact.
42101         (TEST): Update all definitions for change to field.
42102         (tests): Regenerate array contents.
42103         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42104         field value.  Check for IBM long double here.
42105         (do_test): Update calls to test_in_one_mode.
42107 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42109         [BZ #12515]
42110         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42111         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42113 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42115         [BZ #15605]
42116         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42117         generated by the compiler on loop optimizations.
42118         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42119         general definitions.
42121 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42123         * math/bug-nextafter.c: Include <math-tests.h>.
42124         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42125         the relevant type.
42126         * math/bug-nexttoward.c: Include <math-tests.h>.
42127         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42128         the relevant type.
42129         * math/test-misc.c: Include <math-tests.h>.
42130         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42131         the relevant type.
42133 2013-06-12  Andreas Jaeger  <aj@suse.de>
42135         * po/ia.po: Update Interlingua translation from translation
42136         project.
42138 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42140         * include/fenv.h: Include stdbool.h.
42141         (struct rm_ctx): New structure.
42142         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42143         Define macro.
42144         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42145         (SET_RESTORE_ROUNDF): Likewise.
42146         (SET_RESTORE_ROUNDL): Likewise.
42147         (SET_RESTORE_ROUND_NOEX): Likewise.
42148         (SET_RESTORE_ROUND_NOEXF): Likewise.
42149         (SET_RESTORE_ROUND_NOEXL): Likewise.
42150         (SET_RESTORE_ROUND_53BIT): Likewise.
42151         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42152         (libc_feresetround_noexf_ctx): Likewise.
42153         (libc_feresetround_noexl_ctx): Likewise.
42154         (libc_feholdsetround_53bit_ctx): Likewise.
42155         (libc_feresetround_53bit_ctx): Likewise.
42156         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42157         (libc_feholdexcept_setround_sse_ctx): New function.
42158         (libc_fesetenv_sse_ctx): Likewise.
42159         (libc_feupdateenv_sse_ctx): Likewise.
42160         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42161         (libc_feholdexcept_setround_387_ctx): Likewise.
42162         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42163         (libc_feholdsetround_387_prec_ctx): Likewise.
42164         (libc_feholdsetround_387_ctx): Likewise.
42165         (libc_feholdsetround_387_53bit_ctx): Likewise.
42166         (libc_feholdsetround_sse_ctx): Likewise.
42167         (libc_feresetround_sse_ctx): Likewise.
42168         (libc_feresetround_387_ctx): Likewise.
42169         (libc_feupdateenv_387_ctx): Likewise.
42170         (libc_feholdexcept_setroundf_ctx): Define macro.
42171         (libc_fesetenvf_ctx): Likewise.
42172         (libc_feupdateenvf_ctx): Likewise.
42173         (libc_feholdsetroundf_ctx): Likewise.
42174         (libc_feresetroundf_ctx): Likewise.
42175         (libc_feholdexcept_setround_ctx): Likewise.
42176         (libc_fesetenv_ctx): Likewise.
42177         (libc_feupdateenv_ctx): Likewise.
42178         (libc_feholdsetround_ctx): Likewise.
42179         (libc_feresetround_ctx): Likewise.
42180         (libc_feholdexcept_setroundl_ctx): Likewise.
42181         (libc_feupdateenvl_ctx): Likewise.
42182         (libc_feholdsetroundl_ctx): Likewise.
42183         (libc_feresetroundl_ctx): Likewise.
42184         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42185         (libc_feresetround_53bit_ctx): Likewise.
42187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42189         * locale/iso-639.def: Convert to UTF-8.
42191 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42193         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42194         (EXCEPTION_TESTS_double): Likewise.
42195         (EXCEPTION_TESTS_long_double): Likewise.
42196         (EXCEPTION_TESTS): Likewise.
42197         * math/libm-test.inc (test_exceptions): Only test exceptions if
42198         EXCEPTION_TESTS (FLOAT).
42200 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42202         * benchtests/Makefile (string-bench): Add strcpy_chk and
42203         stpcpy_chk.
42204         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42205         * benchtests/bench-stpcpy_chk.c: New file.
42206         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42207         * benchtests/bench-strcpy_chk.c: New file.
42208         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42209         code.
42210         (do_test): Likewise.
42212 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42214         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42215         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42216         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42217         with tabs where appropriate.
42218         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42219         dl-procinfo.h.
42220         [PPC_PLATFORM_PPC440]: Likewise.
42221         [PPC_PLATFORM_PPC464]: Likewise.
42222         [PPC_PLATFORM_PPC476]: Likewise.
42223         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42224         ppc464, and ppc476 platform strings merging from ports/
42225         dl-procinfo.h.
42227 2013-06-11  Andreas Schwab  <schwab@suse.de>
42229         [BZ #14991]
42230         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42231         (from_ucs4_idx): Regenerate.
42232         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42233         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42234         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42235         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42236         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42237         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42238         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42239         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42240         from FROM_LOOP and TO_LOOP specific macros.
42241         (BODY): Handle combining characters.
42242         * iconvdata/BIG5HKSCS.irreversible: Update.
42243         * iconvdata/BIG5HKSCS.precomposed: New file.
42244         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42245         characters.
42246         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42248 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42250         * include/sys/time.h: Fix indentation and add copyright header.
42252         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42253         (do_test): Likewise.
42254         * string/test-memchr.c (do_one_test): Likewise.
42255         (do_test): Likewise.
42256         * string/test-memcmp.c (do_one_test): Likewise.
42257         (do_test): Likewise.
42258         * string/test-memcpy.c (do_one_test): Likewise.
42259         (do_test): Likewise.
42260         * string/test-memmem.c (do_one_test): Likewise.
42261         (do_test): Likewise.
42262         (do_random_tests): Likewise.
42263         * string/test-memmove.c (do_one_test): Likewise.
42264         (do_test): Likewise.
42265         * string/test-memset.c (do_one_test): Likewise.
42266         (do_test): Likewise.
42267         * string/test-rawmemchr.c (do_one_test): Likewise.
42268         (do_test): Likewise.
42269         * string/test-strcasecmp.c (do_one_test): Likewise.
42270         (do_test): Likewise.
42271         * string/test-strcasestr.c (do_one_test): Likewise.
42272         (do_test): Likewise.
42273         * string/test-strcat.c (do_one_test): Likewise.
42274         (do_test): Likewise.
42275         * string/test-strchr.c (do_one_test): Likewise.
42276         (do_test): Likewise.
42277         * string/test-strcmp.c (do_one_test): Likewise.
42278         (do_test): Likewise.
42279         * string/test-strcpy.c (do_one_test): Likewise.
42280         (do_test): Likewise.
42281         * string/test-string.h: Likewise.
42282         (test_init): Likewise.
42283         * string/test-strlen.c (do_one_test): Likewise.
42284         (do_test): Likewise.
42285         * string/test-strncasecmp.c (do_one_test): Likewise.
42286         (do_test): Likewise.
42287         * string/test-strncat.c (do_one_test): Likewise.
42288         (do_test): Likewise.
42289         * string/test-strncmp.c (do_one_test): Likewise.
42290         (do_test_limit): Likewise.
42291         (do_test): Likewise.
42292         * string/test-strncpy.c (do_one_test): Likewise.
42293         (do_test): Likewise.
42294         * string/test-strnlen.c (do_one_test): Likewise.
42295         (do_test): Likewise.
42296         * string/test-strpbrk.c (do_one_test): Likewise.
42297         (do_test): Likewise.
42298         * string/test-strrchr.c (do_one_test): Likewise.
42299         (do_test): Likewise.
42300         * string/test-strspn.c (do_one_test): Likewise.
42301         (do_test): Likewise.
42302         * string/test-strstr.c (do_one_test): Likewise.
42303         (do_test): Likewise.
42305         * benchtests/Makefile (string-bench): Add string benchmarks.
42306         * benchtests/bench-bcopy-ifunc.c: New file.
42307         * benchtests/bench-bcopy.c: New file.
42308         * benchtests/bench-bzero-ifunc.c: New file.
42309         * benchtests/bench-bzero.c: New file.
42310         * benchtests/bench-memccpy-ifunc.c: New file.
42311         * benchtests/bench-memccpy.c: New file.
42312         * benchtests/bench-memchr-ifunc.c: New file.
42313         * benchtests/bench-memchr.c: New file.
42314         * benchtests/bench-memcmp-ifunc.c: New file.
42315         * benchtests/bench-memcmp.c: New file.
42316         * benchtests/bench-memmem-ifunc.c: New file.
42317         * benchtests/bench-memmem.c: New file.
42318         * benchtests/bench-memmove-ifunc.c: New file.
42319         * benchtests/bench-memmove.c: New file.
42320         * benchtests/bench-mempcpy-ifunc.c: New file.
42321         * benchtests/bench-mempcpy.c: New file.
42322         * benchtests/bench-memset-ifunc.c: New file.
42323         * benchtests/bench-memset.c: New file.
42324         * benchtests/bench-rawmemchr-ifunc.c: New file.
42325         * benchtests/bench-rawmemchr.c: New file.
42326         * benchtests/bench-stpcpy-ifunc.c: New file.
42327         * benchtests/bench-stpcpy.c: New file.
42328         * benchtests/bench-stpncpy-ifunc.c: New file.
42329         * benchtests/bench-stpncpy.c: New file.
42330         * benchtests/bench-strcasecmp-ifunc.c: New file.
42331         * benchtests/bench-strcasecmp.c: New file.
42332         * benchtests/bench-strcasestr-ifunc.c: New file.
42333         * benchtests/bench-strcasestr.c: New file.
42334         * benchtests/bench-strcat-ifunc.c: New file.
42335         * benchtests/bench-strcat.c: New file.
42336         * benchtests/bench-strchr-ifunc.c: New file.
42337         * benchtests/bench-strchr.c: New file.
42338         * benchtests/bench-strchrnul-ifunc.c: New file.
42339         * benchtests/bench-strchrnul.c: New file.
42340         * benchtests/bench-strcmp-ifunc.c: New file.
42341         * benchtests/bench-strcmp.c: New file.
42342         * benchtests/bench-strcpy-ifunc.c: New file.
42343         * benchtests/bench-strcpy.c: New file.
42344         * benchtests/bench-strcspn-ifunc.c: New file.
42345         * benchtests/bench-strcspn.c: New file.
42346         * benchtests/bench-strlen-ifunc.c: New file.
42347         * benchtests/bench-strlen.c: New file.
42348         * benchtests/bench-strncasecmp-ifunc.c: New file.
42349         * benchtests/bench-strncasecmp.c: New file.
42350         * benchtests/bench-strncat-ifunc.c: New file.
42351         * benchtests/bench-strncat.c: New file.
42352         * benchtests/bench-strncmp-ifunc.c: New file.
42353         * benchtests/bench-strncmp.c: New file.
42354         * benchtests/bench-strncpy-ifunc.c: New file.
42355         * benchtests/bench-strncpy.c: New file.
42356         * benchtests/bench-strnlen-ifunc.c: New file.
42357         * benchtests/bench-strnlen.c: New file.
42358         * benchtests/bench-strpbrk-ifunc.c: New file.
42359         * benchtests/bench-strpbrk.c: New file.
42360         * benchtests/bench-strrchr-ifunc.c: New file.
42361         * benchtests/bench-strrchr.c: New file.
42362         * benchtests/bench-strspn-ifunc.c: New file.
42363         * benchtests/bench-strspn.c: New file.
42364         * benchtests/bench-strstr-ifunc.c: New file.
42365         * benchtests/bench-strstr.c: New file.
42367         * benchtests/Makefile: Disable parallel execution of targets.
42368         (string-bench): Add memcpy.
42369         (benchset): New variable to store a list of benchmark sets.
42370         (bench-func): Renamed from bench.
42371         (bench-set): New target.
42372         (bench): Depend on bench-func and bench-set.
42373         * benchtests/README: Add section on benchmark sets.
42374         * benchtests/bench-memcpy-ifunc.c: New file.
42375         * benchtests/bench-memcpy.c: New file.
42376         * benchtests/bench-string.h: New file.
42378 2013-06-11  Andreas Schwab  <schwab@suse.de>
42380         [BZ #15577]
42381         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42382         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42383         values in the triple.
42384         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42385         terminator in the group key.
42387 2013-06-11  Andreas Jaeger  <aj@suse.de>
42389         * po/zh_TW.po: Update Chinese (traditional) translation from
42390         translation project.
42392 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42394         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42395         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42396         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42397         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42398         (clock_getcpuclockid): Likewise.
42399         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42400         Add weak_alias and libc_hidden_def.
42401         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42402         * rt/clock_gettime.c (clock_gettime): Rename to
42403         __clock_gettime.  Add weak_alias and libc_hidden_def.
42404         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42405         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42406         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42407         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42408         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42409         Likewise.
42410         * rt/clock_settime.c (clock_settime): Rename to
42411         __clock_settime.  Add weak_alias and libc_hidden_def.
42412         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42414 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42416         * mach/err_boot.sub: Remove trailing whitespace.
42417         * mach/err_ipc.sub: Likewise.
42418         * mach/err_mach.sub: Likewise.
42420         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42421         (ROUNDING_TESTS_double): Likewise.
42422         (ROUNDING_TESTS_long_double): Likewise.
42423         (ROUNDING_TESTS): Likewise.
42424         * math/libm-test.inc: Include <math-tests.h>.
42425         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42426         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42427         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42428         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42430 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42432         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42433         of assigning.
42435 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42437         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42438         otherwise empty TRANS lines.
42439         * sysdeps/gnu/errlist.c: Regenerated.
42441         * catgets/gencat.c (error_print): Use (void) in function
42442         definition.
42443         * crypt/crypt_util.c (__init_des): Likewise.
42444         * crypt/speeds.c (Stop): Likewise.
42445         (main): Likewise.
42446         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42447         * inet/ruserpass.c (token): Likewise.
42448         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42449         * intl/localealias.c (extend_alias_table): Likewise.
42450         * intl/plural-exp.c (init_germanic_plural): Likewise.
42451         * libio/fcloseall.c (__fcloseall): Likewise.
42452         * libio/genops.c (_IO_flush_all): Likewise.
42453         (_IO_flush_all_linebuffered): Likewise.
42454         (_IO_cleanup): Likewise.
42455         (_IO_iter_begin): Likewise.
42456         (_IO_iter_end): Likewise.
42457         (_IO_list_lock): Likewise.
42458         (_IO_list_unlock): Likewise.
42459         (_IO_list_resetlock): Likewise.
42460         * libio/getchar.c (getchar): Likewise.
42461         * libio/getchar_u.c (getchar_unlocked): Likewise.
42462         * libio/getwchar.c (getwchar): Likewise.
42463         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42464         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42465         * login/getpt.c (__getpt): Likewise.
42466         * login/tst-utmp.c (main): Likewise.
42467         * malloc/hooks.c (__malloc_check_init): Likewise.
42468         * malloc/malloc.c (__malloc_stats): Likewise.
42469         * malloc/mtrace.c (tr_break): Likewise.
42470         (mtrace): Likewise.
42471         (muntrace): Likewise.
42472         * misc/fstab.c (endfsent): Likewise.
42473         * misc/getclktck.c (__getclktck): Likewise.
42474         * misc/getdtsz.c (__getdtablesize): Likewise.
42475         * misc/gethostid.c (gethostid): Likewise.
42476         * misc/getpagesize.c (__getpagesize): Likewise.
42477         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42478         (__get_nprocs): Likewise.
42479         (__get_phys_pages): Likewise.
42480         (__get_avphys_pages): Likewise.
42481         * misc/getttyent.c (getttyent): Likewise.
42482         (setttyent): Likewise.
42483         (endttyent): Likewise.
42484         * misc/getusershell.c (getusershell): Likewise.
42485         (endusershell): Likewise.
42486         (setusershell): Likewise.
42487         (initshells): Likewise.
42488         * misc/hsearch.c (__hdestroy): Likewise.
42489         * misc/sync.c (sync): Likewise.
42490         * misc/syslog.c (closelog_internal): Likewise.
42491         (closelog): Likewise.
42492         * misc/ttyslot.c (ttyslot): Likewise.
42493         * misc/vhangup.c (vhangup): Likewise.
42494         * posix/fork.c (__fork): Likewise.
42495         * posix/getegid.c (__getegid): Likewise.
42496         * posix/geteuid.c (__geteuid): Likewise.
42497         * posix/getgid.c (__getgid): Likewise.
42498         * posix/getpid.c (__getpid): Likewise.
42499         * posix/getppid.c (__getppid): Likewise.
42500         * posix/getuid.c (__getuid): Likewise.
42501         * posix/pause.c (pause): Likewise.
42502         * posix/setpgrp.c (setpgrp): Likewise.
42503         * posix/setsid.c (__setsid): Likewise.
42504         * posix/test-vfork.c (noop): Likewise.
42505         * resolv/gethnamaddr.c (_endhtent): Likewise.
42506         (_gethtent): Likewise.
42507         (ht_endhostent): Likewise.
42508         (gethostent): Likewise.
42509         (dns_service): Likewise.
42510         * stdlib/drand48.c (drand48): Likewise.
42511         * stdlib/lrand48.c (lrand48): Likewise.
42512         * stdlib/mrand48.c (mrand48): Likewise.
42513         * stdlib/rand.c (rand): Likewise.
42514         * stdlib/random.c (__random): Likewise.
42515         * stdlib/setenv.c (clearenv): Likewise.
42516         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42517         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42518         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42519         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42520         (__get_nprocs): Likewise.
42521         (__get_phys_pages): Likewise.
42522         (__get_avphys_pages): Likewise.
42523         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42524         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42525         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42526         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42527         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42528         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42529         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42530         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42531         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42532         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42533         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42534         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42535         * sysdeps/posix/clock.c (clock): Likewise.
42536         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42537         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42538         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42539         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42540         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42541         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42542         (__get_nprocs_conf): Likewise.
42543         (__get_phys_pages): Likewise.
42544         (__get_avphys_pages): Likewise.
42545         * time/clock.c (clock): Likewise.
42546         * time/tzset.c (__tzname_max): Likewise.
42548 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42550         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42551         (__bswap_32): Do not use "register".
42552         * crypt/crypt.c (_ufc_doit_r): Likewise.
42553         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42554         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42555         * gmon/gmon.c (__monstartup): Likewise.
42556         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42557         * hurd/hurdmalloc.c (more_memory): Likewise.
42558         (malloc): Likewise.
42559         (free): Likewise.
42560         (realloc): Likewise.
42561         (malloc_fork_prepare): Likewise.
42562         (malloc_fork_parent): Likewise.
42563         (malloc_fork_child): Likewise.
42564         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42565         (_svcauth_des): Likewise.
42566         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42567         * inet/inet_net.c (inet_network): Likewise.
42568         * inet/inet_netof.c (inet_netof): Likewise.
42569         * inet/rcmd.c (__validuser2_sa): Likewise.
42570         * io/fts.c (fts_open): Likewise.
42571         (fts_load): Likewise.
42572         (fts_close): Likewise.
42573         (fts_read): Likewise.
42574         (fts_children): Likewise.
42575         (fts_build): Likewise.
42576         (fts_stat): Likewise.
42577         (fts_sort): Likewise.
42578         (fts_alloc): Likewise.
42579         (fts_lfree): Likewise.
42580         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42581         (_IO_file_xsgetn): Likewise.
42582         (_IO_file_xsgetn_mmap): Likewise.
42583         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42584         (_IO_cookie_write): Likewise.
42585         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42586         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42587         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42588         * malloc/obstack.c (_obstack_begin): Likewise.
42589         (_obstack_begin_1): Likewise.
42590         (_obstack_newchunk): Likewise.
42591         (_obstack_allocated_p): Likewise.
42592         (obstack_free): Likewise.
42593         (_obstack_memory_used): Likewise.
42594         * misc/getttyent.c (getttynam): Likewise.
42595         (getttyent): Likewise.
42596         (skip): Likewise.
42597         (value): Likewise.
42598         * misc/getusershell.c (initshells): Likewise.
42599         * misc/syslog.c (__vsyslog_chk): Likewise.
42600         * misc/ttyslot.c (ttyslot): Likewise.
42601         * nis/nis_hash.c (__nis_hash): Likewise.
42602         * posix/fnmatch_loop.c (FCT): Likewise.
42603         * posix/getconf.c (print_all): Likewise.
42604         (main): Likewise.
42605         * posix/getopt.c (exchange): Likewise.
42606         * posix/glob.c (globfree): Likewise.
42607         (prefix_array): Likewise.
42608         (__glob_pattern_type): Likewise.
42609         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42610         (NS_GET32): Likewise.
42611         (NS_PUT16): Likewise.
42612         (NS_PUT32): Likewise.
42613         * resolv/gethnamaddr.c (getanswer): Likewise.
42614         (gethostbyname2): Likewise.
42615         (gethostbyaddr): Likewise.
42616         (_gethtent): Likewise.
42617         (_gethtbyname2): Likewise.
42618         (_gethtbyaddr): Likewise.
42619         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42620         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42621         * resolv/res_init.c (__res_vinit): Likewise.
42622         (net_mask): Likewise.
42623         * resolv/res_mkquery.c (outchar): Likewise.
42624         (PRINT): Likewise.
42625         * stdio-common/printf_fp.c (outchar): Likewise.
42626         (PRINT): Likewise.
42627         * stdio-common/printf_fphex.c (outchar): Likewise.
42628         (PRINT): Likewise.
42629         * stdio-common/printf_size.c (outchar): Likewise.
42630         (PRINT): Likewise.
42631         * stdio-common/test_rdwr.c (main): Likewise.
42632         * stdio-common/tfformat.c (matches): Likewise.
42633         * stdio-common/vfprintf.c (outchar): Likewise.
42634         (printf_unknown): Likewise.
42635         (buffered_vfprintf): Likewise.
42636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42637         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42638         (ReadFile): Likewise.
42639         * stdlib/qsort.c (SWAP): Likewise.
42640         (_quicksort): Likewise.
42641         * stdlib/setenv.c (__add_to_environ): Likewise.
42642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42643         * stdlib/strtol_l.c (__strtol_l): Likewise.
42644         * stdlib/tst-strtod.c (main): Likewise.
42645         * stdlib/tst-strtol.c (main): Likewise.
42646         * stdlib/tst-strtoll.c (main): Likewise.
42647         * string/bits/string2.h (__strcmp_cc): Likewise.
42648         (__strcmp_cg): Likewise.
42649         (__strcspn_c1): Likewise.
42650         (__strcspn_c2): Likewise.
42651         (__strcspn_c3): Likewise.
42652         (__strspn_c1): Likewise.
42653         (__strspn_c2): Likewise.
42654         (__strspn_c3): Likewise.
42655         (__strsep_1c): Likewise.
42656         (__strsep_2c): Likewise.
42657         (__strsep_3c): Likewise.
42658         * string/memccpy.c (__memccpy): Likewise.
42659         * string/stpcpy.c (__stpcpy): Likewise.
42660         * string/strcmp.c (strcmp): Likewise.
42661         * string/strrchr.c (strrchr): Likewise.
42662         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42663         Likewise.
42664         * sysdeps/mach/hurd/getcwd.c
42665         (_hurd_canonicalize_directory_name_internal): Likewise.
42666         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42667         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42668         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42669         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42670         Likewise, in both definitions.
42671         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42672         definitions.
42673         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42674         64] (__bswap_64): Likewise.
42675         * time/test_time.c (main): Likewise.
42676         * time/tzfile.c (__tzfile_read): Likewise.
42677         (__tzfile_compute): Likewise.
42678         * time/tzset.c (__tzset_parse_tz): Likewise.
42679         (tzset_internal): Likewise.
42680         (compute_change): Likewise.
42681         * wcsmbs/wcscat.c (__wcscat): Likewise.
42682         * wcsmbs/wcschr.c (wcschr): Likewise.
42683         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42684         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42685         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42686         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42687         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42688         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42689         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42690         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42691         * wcsmbs/wmemset.c (wmemset): Likewise.
42693 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42695         * scripts/config.guess: Update to version 2013-05-16.
42696         * scripts/config.sub: Update to version 2013-04-24.
42697         * scripts/install-sh: Update to version 2011-11-20.07.
42698         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42699         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42701 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42703         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42704         * elf/sln.c: Likewise.
42705         * hurd/hurd/ioctl.h: Likewise.
42706         * hurd/hurdmalloc.c: Likewise.
42707         * hurd/xattr.c: Likewise.
42708         * include/shlib-compat.h: Likewise.
42709         * inet/ruserpass.c: Likewise.
42710         * libio/iofgets_u.c: Likewise.
42711         * libio/iofgetws_u.c: Likewise.
42712         * locale/programs/ld-identification.c: Likewise.
42713         * locale/programs/ld-time.c: Likewise.
42714         * mach/msg-destroy.c: Likewise.
42715         * nss/nss_files/files-netgrp.c: Likewise.
42716         * resolv/res_data.c: Likewise.
42717         * soft-fp/op-1.h: Likewise.
42718         * soft-fp/op-2.h: Likewise.
42719         * soft-fp/op-4.h: Likewise.
42720         * soft-fp/op-common.h: Likewise.
42721         * stdio-common/printf_fphex.c: Likewise.
42722         * stdlib/strtod_l.c: Likewise.
42723         * sunrpc/rpc/clnt.h: Likewise.
42724         * sysdeps/generic/framestate.c: Likewise.
42725         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42726         * sysdeps/i386/bsd-setjmp.S: Likewise.
42727         * sysdeps/i386/__longjmp.S: Likewise.
42728         * sysdeps/i386/setjmp.S: Likewise.
42729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42730         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42747         * sysdeps/ieee754/support.c: Likewise.
42748         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42749         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42750         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42751         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42752         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42753         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42754         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42755         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42756         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42757         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42758         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42759         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42760         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42761         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42762         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42763         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42764         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42767 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42769         * posix/transbug.c: Remove executable mode.
42771 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42773         * crypt/speeds.c: Remove trailing whitespace.
42774         * dlfcn/default.c: Likewise.
42775         * elf/ifuncdep2.c: Likewise.
42776         * elf/ifuncmain1.c: Likewise.
42777         * elf/ifuncmain1vis.c: Likewise.
42778         * elf/testobj.h: Likewise.
42779         * elf/tst-stackguard1.c: Likewise.
42780         * gmon/sys/gmon.h: Likewise.
42781         * hurd/hurdmsg.c: Likewise.
42782         * hurd/new-fd.c: Likewise.
42783         * hurd/ports-get.c: Likewise.
42784         * iconvdata/ibm1008_420.c: Likewise.
42785         * inet/tst-getni1.c: Likewise.
42786         * inet/tst-getni2.c: Likewise.
42787         * libio/ioungetc.c: Likewise.
42788         * libio/wfiledoalloc.c: Likewise.
42789         * manual/libm-err-tab.pl: Likewise.
42790         * math/w_dremf.c: Likewise.
42791         * misc/ftruncate.c: Likewise.
42792         * posix/bug-glob2.c: Likewise.
42793         * posix/tst-pcre.c: Likewise.
42794         * posix/wait4.c: Likewise.
42795         * resolv/README: Likewise.
42796         * resolv/res_debug.h: Likewise.
42797         * resolv/tst-inet_ntop.c: Likewise.
42798         * setjmp/bug269-setjmp.c: Likewise.
42799         * soft-fp/extended.h: Likewise.
42800         * soft-fp/op-1.h: Likewise.
42801         * soft-fp/op-2.h: Likewise.
42802         * soft-fp/op-4.h: Likewise.
42803         * soft-fp/op-8.h: Likewise.
42804         * soft-fp/testit.c: Likewise.
42805         * stdio-common/bug16.c: Likewise.
42806         * stdlib/random.c: Likewise.
42807         * sunrpc/rpcsvc/rquota.x: Likewise.
42808         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42809         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42811         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42812         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42813         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42814         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42815         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42816         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42817         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42818         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42819         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42820         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42821         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42822         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42823         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42824         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42825         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42826         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42827         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42828         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42829         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42830         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42831         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42832         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42833         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42836         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42837         * sysdeps/ieee754/s_lib_version.c: Likewise.
42838         * sysdeps/mach/hurd/check_fds.c: Likewise.
42839         * sysdeps/mach/hurd/getsockname.c: Likewise.
42840         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42841         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42842         * sysdeps/powerpc/bits/link.h: Likewise.
42843         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42844         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42845         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42846         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42847         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42848         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42849         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42850         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42851         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42852         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42853         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42854         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42855         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42856         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42857         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42858         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42859         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42862         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42863         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42864         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42865         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42866         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42867         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42868         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42869         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42870         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42872         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42873         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42875         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42876         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42877         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42878         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42879         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42880         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42881         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42882         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42883         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42884         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42885         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42886         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42887         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42888         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42889         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42890         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42891         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42892         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42895         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42897         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42898         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42899         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42900         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42901         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42902         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42903         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42904         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42905         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42906         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42907         * sysdeps/powerpc/sysdep.h: Likewise.
42908         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42909         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42910         * sysdeps/sh/dl-trampoline.S: Likewise.
42911         * sysdeps/sh/memset.S: Likewise.
42912         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42913         * sysdeps/sh/strlen.S: Likewise.
42914         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42915         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42916         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42917         * sysdeps/sparc/sparc32/rem.S: Likewise.
42918         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42919         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42920         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42921         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42922         * sysdeps/sparc/sparc32/urem.S: Likewise.
42923         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42924         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42925         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42926         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42927         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42928         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42929         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42930         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42931         * sysdeps/unix/bsd/times.c: Likewise.
42932         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42933         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42937         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42938         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42939         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42940         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42941         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42942         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42943         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42945         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42946         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42947         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42948         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42949         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42950         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42951         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42952         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42953         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42954         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42955         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42956         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42957         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42958         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42959         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42960         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42961         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42962         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42963         * sysdeps/x86_64/strcspn.S: Likewise.
42965 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42967         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42968         generated file.  Regenerate properly from gen-translit.pl.
42969         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42970         locale/C-translit.h.
42972 2013-06-05  Andreas Schwab  <schwab@suse.de>
42974         [BZ #15100]
42975         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42976         week as 6 instead of -1.
42977         * time/tst-strptime.c (day_tests): Add test case.
42979 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42981         * sysdeps/generic/math_private.h
42982         (libc_feholdexcept_setround_53bit): Replace with
42983         libc_feholdsetround_53bit.
42984         (libc_feupdateenv_53bit): Replace with
42985         libc_feresetround_53bit.
42986         (SET_RESTORE_ROUND_53BIT): Adjust.
42988 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42990         * string/test-strchrnul.c: Add copyright header.
42992         * posix/tst-getaddrinfo4.c: Increase test timeout.
42994 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42996         [BZ #15536]
42997         * math/libm-test.inc (MAX_EXP): Remove
42998         (MIN_EXP): Define.
42999         (ulp): Use MIN_EXP - MANT_DIG.
43000         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43002 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43004         * po/be.po: Revert last change.
43005         * po/zh_CN.po: Likewise.
43006         * po/header.pot: Likewise.
43008 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43010         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43011         link-libc-deps to empty as target-specific variable.
43012         * Makerules (link-libc-args): New variable.
43013         (libc-for-link): Likewise.
43014         (link-libc-deps): Likewise.
43015         (lib%.so): Depend on $(link-libc-deps).  Link with
43016         $(link-libc-args).
43017         (build-module): Link with $(link-libc-args).
43018         (build-module-asneeded): Likewise.
43019         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43020         list of objects.
43021         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43022         target-specific variable.
43023         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43024         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43025         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43026         libc.
43027         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43028         libc and ld.so.
43029         ($(objpfx)libpcprofile.so): Likewise.
43030         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43031         libc_nonshared.a.
43032         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43033         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43034         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43035         $(link-libc-deps).
43036         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43037         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43038         * login/Makefile ($(objpfx)libutil.so): Likewise.
43039         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43040         * math/Makefile ($(objpfx)libm.so): Likewise.
43041         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43042         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43043         variable instead of depending directly on libc.
43044         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43045         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43046         $(link-libc-deps).
43047         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43048         libc.
43049         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43050         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43051         ($(objpfx)libanl.so): Likewise.
43052         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43053         ld.so.
43054         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43055         $(link-libc-deps).
43056         * sysdeps/i386/fpu/Makefile: Remove file.
43057         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43058         ($(objpfx)libm.so): Remove dependency on ld.so.
43060 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43062         [BZ # 15553]
43063         * nis/yp_xdr.c (XDRMAXNAME): Define.
43064         (XDRMAXRECORD): Define.
43065         (xdr_domainname): Use XDRMAXNAME.
43066         (xdr_mapname): Likewise.
43067         (xdr_peername): Likewise.
43068         (xdr_keydat): Use XDRMAXRECORD.
43069         (xdr_valdat): Likewise.
43071 2013-05-30  Jeff Law  <law@redhat.com>
43073         [BZ #14256]
43074         * manual/errno.texi (ESTALE): Update to account for more than
43075         just NFS file systems.
43076         * sysdeps/gnu/errlist.c: Regenerated.
43078 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43080         [BZ #15465]
43081         * elf/Makefile (tests): Add tst-null-argv.
43082         (modules-names):  Add tst-null-argv-lib.
43083         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43084         (tst-null-argv-ENV): Set environment for tst-null-argv.
43085         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43086         (RTLD_PROGNAME): New macro.
43087         * elf/tst-null-argv.c: New test case.
43088         * elf/tst-null-argv-lib.c: Library for test case.
43089         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43090         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43091         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43092         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43093         * elf/dl-init.c (call_init): Likewise.
43094         (_dl_init): Likewise.
43095         * elf/dl-load.c (print_search_path): Likewise.
43096         (_dl_map_object): Likewise.
43097         * elf/dl-lookup.c (do_lookup_x): Likewise.
43098         (add_dependency): Likewise.
43099         (_dl_lookup_symbol_x): Likewise.
43100         (_dl_debug_bindings): Likewise.
43101         * elf/dl-open.c (_dl_show_scope): Likewise.
43102         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43103         * elf/dl-version.c (match_symbol): Likewise.
43104         (_dl_check_map_versions): Likewise.
43105         * elf/rtld.c (dl_main): Likewise.
43106         (print_unresolved): Use RTLD_PROGNAME.
43107         (print_missing_version): Likewise.
43108         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43109         (elf_machine_rela): Likewise.
43110         * sysdeps/powerpc/powerpc32/dl-machine.c
43111         (__process_machine_rela): Likewise.
43112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43113         Likewise.
43114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43115         Likewise.
43116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43117         Likewise.
43118         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43120         Likewise.
43121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43122         Likewise.
43123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43125 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43127         * po/be.po: Add descriptive title.
43128         * po/zh_CN.po: Likewise.
43129         * po/header.pot: Likewise.
43131 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43133         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43134         error message.
43135         (enlarge_archive): Likewise.
43137 2013-05-28  Ben North  <ben@redfrontdoor.org>
43139         * manual/arith.texi (frexp): It is the magnitude of the return
43140         value which lies in [0.5, 1), not the return value itself.
43142 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43146 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43148         * stdio-common/bug26.c (main): Correct fscanf template.
43150         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43151         declare _dl_skip_args.
43153         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43154         Don't declare.
43156         * manual/platform.texi: Add missing @end deftypefun.
43158 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43160         [BZ #15529]
43161         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43162         bit of mantissa of 2^16382.
43163         * math/libm-test.inc (hypot_test_data): Add more tests.
43165         * math/libm-test.inc: Add drem and pow10 to list of tested
43166         functions.
43167         (pow10_test): New function.
43168         (drem_test): Likewise.
43169         (drem_test_tonearest): Likewise.
43170         (drem_test_towardzero): Likewise.
43171         (drem_test_downward): Likewise.
43172         (drem_test_upward): Likewise.
43173         (main): Call the new functions.
43175         * math/libm-test.inc (finite_test_data): Remove.
43176         (finite_test): Run tests from isfinite_test_data.
43177         (gamma_test_data): Remove.
43178         (gamma_test): Run tests from lgamma_test_data.
43179         * sysdeps/i386/fpu/libm-test-ulps: Update.
43180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43182 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43184         * manual/platform.texi: Add PowerPC PPR function set documentation.
43185         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43186         implementation.
43188 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43190         * math/libm-test.inc (MAX_EXP): Define.
43191         (ULPDIFF): Define.
43192         (ulp): New function.
43193         (check_float_internal): Use ULPDIFF.
43194         (cpow_test): Disable failing test.
43195         (check_ulp): Test ulp() implemetnation.
43196         (main): Call check_ulp before starting tests.
43198 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43200         * math/gen-libm-test.pl (generate_testfile): Do not handle
43201         START_DATA and END_DATA.
43202         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43203         END_DATA.
43204         (acos_tonearest_test_data): Likewise.
43205         (acos_towardzero_test_data): Likewise.
43206         (acos_downward_test_data): Likewise.
43207         (acos_upward_test_data): Likewise.
43208         (acosh_test_data): Likewise.
43209         (asin_test_data): Likewise.
43210         (asin_tonearest_test_data): Likewise.
43211         (asin_towardzero_test_data): Likewise.
43212         (asin_downward_test_data): Likewise.
43213         (asin_upward_test_data): Likewise.
43214         (asinh_test_data): Likewise.
43215         (atan_test_data): Likewise.
43216         (atanh_test_data): Likewise.
43217         (atan2_test_data): Likewise.
43218         (cabs_test_data): Likewise.
43219         (cacos_test_data): Likewise.
43220         (cacosh_test_data): Likewise.
43221         (carg_test_data): Likewise.
43222         (casin_test_data): Likewise.
43223         (casinh_test_data): Likewise.
43224         (catan_test_data): Likewise.
43225         (catanh_test_data): Likewise.
43226         (cbrt_test_data): Likewise.
43227         (ccos_test_data): Likewise.
43228         (ccosh_test_data): Likewise.
43229         (ceil_test_data): Likewise.
43230         (cexp_test_data): Likewise.
43231         (cimag_test_data): Likewise.
43232         (clog_test_data): Likewise.
43233         (clog10_test_data): Likewise.
43234         (conj_test_data): Likewise.
43235         (copysign_test_data): Likewise.
43236         (cos_test_data): Likewise.
43237         (cos_tonearest_test_data): Likewise.
43238         (cos_towardzero_test_data): Likewise.
43239         (cos_downward_test_data): Likewise.
43240         (cos_upward_test_data): Likewise.
43241         (cosh_test_data): Likewise.
43242         (cosh_tonearest_test_data): Likewise.
43243         (cosh_towardzero_test_data): Likewise.
43244         (cosh_downward_test_data): Likewise.
43245         (cosh_upward_test_data): Likewise.
43246         (cpow_test_data): Likewise.
43247         (cproj_test_data): Likewise.
43248         (creal_test_data): Likewise.
43249         (csin_test_data): Likewise.
43250         (csinh_test_data): Likewise.
43251         (csqrt_test_data): Likewise.
43252         (ctan_test_data): Likewise.
43253         (ctan_tonearest_test_data): Likewise.
43254         (ctan_towardzero_test_data): Likewise.
43255         (ctan_downward_test_data): Likewise.
43256         (ctan_upward_test_data): Likewise.
43257         (ctanh_test_data): Likewise.
43258         (ctanh_tonearest_test_data): Likewise.
43259         (ctanh_towardzero_test_data): Likewise.
43260         (ctanh_downward_test_data): Likewise.
43261         (ctanh_upward_test_data): Likewise.
43262         (erf_test_data): Likewise.
43263         (erfc_test_data): Likewise.
43264         (exp_test_data): Likewise.
43265         (exp_tonearest_test_data): Likewise.
43266         (exp_towardzero_test_data): Likewise.
43267         (exp_downward_test_data): Likewise.
43268         (exp_upward_test_data): Likewise.
43269         (exp10_test_data): Likewise.
43270         (exp2_test_data): Likewise.
43271         (expm1_test_data): Likewise.
43272         (fabs_test_data): Likewise.
43273         (fdim_test_data): Likewise.
43274         (finite_test_data): Likewise.
43275         (floor_test_data): Likewise.
43276         (fma_test_data): Likewise.
43277         (fma_towardzero_test_data): Likewise.
43278         (fma_downward_test_data): Likewise.
43279         (fma_upward_test_data): Likewise.
43280         (fmax_test_data): Likewise.
43281         (fmin_test_data): Likewise.
43282         (fmod_test_data): Likewise.
43283         (fpclassify_test_data): Likewise.
43284         (frexp_test_data): Likewise.
43285         (gamma_test_data): Likewise.
43286         (hypot_test_data): Likewise.
43287         (ilogb_test_data): Likewise.
43288         (isfinite_test_data): Likewise.
43289         (isgreater_test_data): Likewise.
43290         (isgreaterequal_test_data): Likewise.
43291         (isinf_test_data): Likewise.
43292         (isless_test_data): Likewise.
43293         (islessequal_test_data): Likewise.
43294         (islessgreater_test_data): Likewise.
43295         (isnan_test_data): Likewise.
43296         (isnormal_test_data): Likewise.
43297         (issignaling_test_data): Likewise.
43298         (isunordered_test_data): Likewise.
43299         (j0_test_data): Likewise.
43300         (j1_test_data): Likewise.
43301         (jn_test_data): Likewise.
43302         (ldexp_test_data): Likewise.
43303         (lgamma_test_data): Likewise.
43304         (lrint_test_data): Likewise.
43305         (lrint_tonearest_test_data): Likewise.
43306         (lrint_towardzero_test_data): Likewise.
43307         (lrint_downward_test_data): Likewise.
43308         (lrint_upward_test_data): Likewise.
43309         (llrint_test_data): Likewise.
43310         (llrint_tonearest_test_data): Likewise.
43311         (llrint_towardzero_test_data): Likewise.
43312         (llrint_downward_test_data): Likewise.
43313         (llrint_upward_test_data): Likewise.
43314         (log_test_data): Likewise.
43315         (log10_test_data): Likewise.
43316         (log1p_test_data): Likewise.
43317         (log2_test_data): Likewise.
43318         (logb_test_data): Likewise.
43319         (logb_downward_test_data): Likewise.
43320         (lround_test_data): Likewise.
43321         (llround_test_data): Likewise.
43322         (modf_test_data): Likewise.
43323         (nearbyint_test_data): Likewise.
43324         (nextafter_test_data): Likewise.
43325         (nexttoward_test_data): Likewise.
43326         (pow_test_data): Likewise.
43327         (pow_tonearest_test_data): Likewise.
43328         (pow_towardzero_test_data): Likewise.
43329         (pow_downward_test_data): Likewise.
43330         (pow_upward_test_data): Likewise.
43331         (remainder_test_data): Likewise.
43332         (remainder_tonearest_test_data): Likewise.
43333         (remainder_towardzero_test_data): Likewise.
43334         (remainder_downward_test_data): Likewise.
43335         (remainder_upward_test_data): Likewise.
43336         (remquo_test_data): Likewise.
43337         (rint_test_data): Likewise.
43338         (rint_tonearest_test_data): Likewise.
43339         (rint_towardzero_test_data): Likewise.
43340         (rint_downward_test_data): Likewise.
43341         (rint_upward_test_data): Likewise.
43342         (round_test_data): Likewise.
43343         (scalb_test_data): Likewise.
43344         (scalbn_test_data): Likewise.
43345         (scalbln_test_data): Likewise.
43346         (signbit_test_data): Likewise.
43347         (sin_test_data): Likewise.
43348         (sin_tonearest_test_data): Likewise.
43349         (sin_towardzero_test_data): Likewise.
43350         (sin_downward_test_data): Likewise.
43351         (sin_upward_test_data): Likewise.
43352         (sincos_test_data): Likewise.
43353         (sinh_test_data): Likewise.
43354         (sinh_tonearest_test_data): Likewise.
43355         (sinh_towardzero_test_data): Likewise.
43356         (sinh_downward_test_data): Likewise.
43357         (sinh_upward_test_data): Likewise.
43358         (sqrt_test_data): Likewise.
43359         (tan_test_data): Likewise.
43360         (tan_tonearest_test_data): Likewise.
43361         (tan_towardzero_test_data): Likewise.
43362         (tan_downward_test_data): Likewise.
43363         (tan_upward_test_data): Likewise.
43364         (tanh_test_data): Likewise.
43365         (tgamma_test_data): Likewise.
43366         (trunc_test_data): Likewise.
43367         (y0_test_data): Likewise.
43368         (y1_test_data): Likewise.
43369         (yn_test_data): Likewise.
43370         (significand_test_data): Likewise.
43372         * math/gen-libm-test.pl (@functions): Remove variable.
43373         (generate_testfile): Don't handle START and END lines.
43374         * math/libm-test.inc (START): New macro.
43375         (END): Likewise.
43376         (END_COMPLEX): Likewise.
43377         (acos_test): Use END macro without arguments.
43378         (acos_test_tonearest): Likewise.
43379         (acos_test_towardzero): Likewise.
43380         (acos_test_downward): Likewise.
43381         (acos_test_upward): Likewise.
43382         (acosh_test): Likewise.
43383         (asin_test): Likewise.
43384         (asin_test_tonearest): Likewise.
43385         (asin_test_towardzero): Likewise.
43386         (asin_test_downward): Likewise.
43387         (asin_test_upward): Likewise.
43388         (asinh_test): Likewise.
43389         (atan_test): Likewise.
43390         (atanh_test): Likewise.
43391         (atan2_test): Likewise.
43392         (cabs_test): Likewise.
43393         (cacos_test): Use END_COMPLEX macro without arguments.
43394         (cacosh_test): Likewise.
43395         (carg_test): Use END macro without arguments.
43396         (casin_test): Use END_COMPLEX macro without arguments.
43397         (casinh_test): Likewise.
43398         (catan_test): Likewise.
43399         (catanh_test): Likewise.
43400         (cbrt_test): Use END macro without arguments.
43401         (ccos_test): Use END_COMPLEX macro without arguments.
43402         (ccosh_test): Likewise.
43403         (ceil_test): Use END macro without arguments.
43404         (cexp_test): Use END_COMPLEX macro without arguments.
43405         (cimag_test): Use END macro without arguments.
43406         (clog_test): Use END_COMPLEX macro without arguments.
43407         (clog10_test): Likewise.
43408         (conj_test): Likewise.
43409         (copysign_test): Use END macro without arguments.
43410         (cos_test): Likewise.
43411         (cos_test_tonearest): Likewise.
43412         (cos_test_towardzero): Likewise.
43413         (cos_test_downward): Likewise.
43414         (cos_test_upward): Likewise.
43415         (cosh_test): Likewise.
43416         (cosh_test_tonearest): Likewise.
43417         (cosh_test_towardzero): Likewise.
43418         (cosh_test_downward): Likewise.
43419         (cosh_test_upward): Likewise.
43420         (cpow_test): Use END_COMPLEX macro without arguments.
43421         (cproj_test): Likewise.
43422         (creal_test): Use END macro without arguments.
43423         (csin_test): Use END_COMPLEX macro without arguments.
43424         (csinh_test): Likewise.
43425         (csqrt_test): Likewise.
43426         (ctan_test): Likewise.
43427         (ctan_test_tonearest): Likewise.
43428         (ctan_test_towardzero): Likewise.
43429         (ctan_test_downward): Likewise.
43430         (ctan_test_upward): Likewise.
43431         (ctanh_test): Likewise.
43432         (ctanh_test_tonearest): Likewise.
43433         (ctanh_test_towardzero): Likewise.
43434         (ctanh_test_downward): Likewise.
43435         (ctanh_test_upward): Likewise.
43436         (erf_test): Use END macro without arguments.
43437         (erfc_test): Likewise.
43438         (exp_test): Likewise.
43439         (exp_test_tonearest): Likewise.
43440         (exp_test_towardzero): Likewise.
43441         (exp_test_downward): Likewise.
43442         (exp_test_upward): Likewise.
43443         (exp10_test): Likewise.
43444         (exp2_test): Likewise.
43445         (expm1_test): Likewise.
43446         (fabs_test): Likewise.
43447         (fdim_test): Likewise.
43448         (finite_test): Likewise.
43449         (floor_test): Likewise.
43450         (fma_test): Likewise.
43451         (fma_test_towardzero): Likewise.
43452         (fma_test_downward): Likewise.
43453         (fma_test_upward): Likewise.
43454         (fmax_test): Likewise.
43455         (fmin_test): Likewise.
43456         (fmod_test): Likewise.
43457         (fpclassify_test): Likewise.
43458         (frexp_test): Likewise.
43459         (gamma_test): Likewise.
43460         (hypot_test): Likewise.
43461         (ilogb_test): Likewise.
43462         (isfinite_test): Likewise.
43463         (isgreater_test): Likewise.
43464         (isgreaterequal_test): Likewise.
43465         (isinf_test): Likewise.
43466         (isless_test): Likewise.
43467         (islessequal_test): Likewise.
43468         (islessgreater_test): Likewise.
43469         (isnan_test): Likewise.
43470         (isnormal_test): Likewise.
43471         (issignaling_test): Likewise.
43472         (isunordered_test): Likewise.
43473         (j0_test): Likewise.
43474         (j1_test): Likewise.
43475         (jn_test): Likewise.
43476         (ldexp_test): Likewise.
43477         (lgamma_test): Likewise.
43478         (lrint_test): Likewise.
43479         (lrint_test_tonearest): Likewise.
43480         (lrint_test_towardzero): Likewise.
43481         (lrint_test_downward): Likewise.
43482         (lrint_test_upward): Likewise.
43483         (llrint_test): Likewise.
43484         (llrint_test_tonearest): Likewise.
43485         (llrint_test_towardzero): Likewise.
43486         (llrint_test_downward): Likewise.
43487         (llrint_test_upward): Likewise.
43488         (log_test): Likewise.
43489         (log10_test): Likewise.
43490         (log1p_test): Likewise.
43491         (log2_test): Likewise.
43492         (logb_test): Likewise.
43493         (logb_test_downward): Likewise.
43494         (lround_test): Likewise.
43495         (llround_test): Likewise.
43496         (modf_test): Likewise.
43497         (nearbyint_test): Likewise.
43498         (nextafter_test): Likewise.
43499         (nexttoward_test): Likewise.
43500         (pow_test): Likewise.
43501         (pow_test_tonearest): Likewise.
43502         (pow_test_towardzero): Likewise.
43503         (pow_test_downward): Likewise.
43504         (pow_test_upward): Likewise.
43505         (remainder_test): Likewise.
43506         (remainder_test_tonearest): Likewise.
43507         (remainder_test_towardzero): Likewise.
43508         (remainder_test_downward): Likewise.
43509         (remainder_test_upward): Likewise.
43510         (remquo_test): Likewise.
43511         (rint_test): Likewise.
43512         (rint_test_tonearest): Likewise.
43513         (rint_test_towardzero): Likewise.
43514         (rint_test_downward): Likewise.
43515         (rint_test_upward): Likewise.
43516         (round_test): Likewise.
43517         (scalb_test): Likewise.
43518         (scalbn_test): Likewise.
43519         (scalbln_test): Likewise.
43520         (signbit_test): Likewise.
43521         (sin_test): Likewise.
43522         (sin_test_tonearest): Likewise.
43523         (sin_test_towardzero): Likewise.
43524         (sin_test_downward): Likewise.
43525         (sin_test_upward): Likewise.
43526         (sincos_test): Likewise.
43527         (sinh_test): Likewise.
43528         (sinh_test_tonearest): Likewise.
43529         (sinh_test_towardzero): Likewise.
43530         (sinh_test_downward): Likewise.
43531         (sinh_test_upward): Likewise.
43532         (sqrt_test): Likewise.
43533         (tan_test): Likewise.
43534         (tan_test_tonearest): Likewise.
43535         (tan_test_towardzero): Likewise.
43536         (tan_test_downward): Likewise.
43537         (tan_test_upward): Likewise.
43538         (tanh_test): Likewise.
43539         (tgamma_test): Likewise.
43540         (trunc_test): Likewise.
43541         (y0_test): Likewise.
43542         (y1_test): Likewise.
43543         (yn_test): Likewise.
43544         (significand_test): Likewise.
43546 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43548         [BZ #15381]
43549         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43551 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43553         [BZ #14894]
43554         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43555         __ppc_mdoio and __ppc_mdoom.
43556         * manual/platform.texi: Document new functions __ppc_yield,
43557         __ppc_mdoio and __ppc_mdoom.
43559 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43561         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43562         (main): Mention "tls" pseudo-hwcap is legacy.
43563         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43565 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43567         * math/gen-libm-test.pl (parse_args): Output only string of
43568         arguments as text for test name, not full call or descriptions of
43569         tests for extra outputs.
43570         (generate_testfile): Do not pass function name to parse_args.
43571         Generate this_func variable from START.
43572         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43573         field to arg_str.
43574         (struct test_ff_f_data): Likewise.
43575         (test_ff_f_data_nexttoward): Likewise.
43576         (struct test_fi_f_data): Likewise.
43577         (struct test_fl_f_data): Likewise.
43578         (struct test_if_f_data): Likewise.
43579         (struct test_fff_f_data): Likewise.
43580         (struct test_c_f_data): Likewise.
43581         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43582         (struct test_fF_f1_data): Likewise.
43583         (struct test_ffI_f1_data): Likewise.
43584         (struct test_c_c_data): Rename test_name field to arg_str.
43585         (struct test_cc_c_data): Likewise.
43586         (struct test_f_i_data): Likewise.
43587         (struct test_ff_i_data): Likewise.
43588         (struct test_f_l_data): Likewise.
43589         (struct test_f_L_data): Likewise.
43590         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43591         and extra2_name.
43592         (COMMON_TEST_SETUP): New macro.
43593         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43594         (COMMON_TEST_CLEANUP): Likewise.
43595         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43596         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43597         macros.
43598         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43599         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43600         macros.
43601         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43602         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43603         cleanup macros.
43604         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43605         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43606         macros.
43607         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43608         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43609         macros.
43610         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43611         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43612         cleanup macros.
43613         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43614         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43615         cleanup macros.
43616         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43617         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43618         cleanup macros.
43619         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43620         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43621         macros.
43622         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43623         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43624         macros.
43625         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43626         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43627         macros.
43628         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43629         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43630         cleanup macros.
43631         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43632         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43633         cleanup macros.
43634         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43635         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43636         macros.
43637         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43638         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43639         cleanup macros.
43640         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43641         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43642         macros.
43643         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43644         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43645         macros.
43646         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43647         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43648         cleanup macros.
43649         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43651 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43653         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43654         to _sifields.sigfault.
43655         (si_addr_lsb): Define new macro.
43656         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43657         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43658         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43660 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43662         [BZ #15441]
43663         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43664         returns -1.
43665         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43666         null return -1.
43667         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43668         loading the domain.
43670 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43672         * math/gen-libm-test.pl (parse_args): Do not include expected
43673         result in test name.
43674         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43675         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43676         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43677         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43678         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43681 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43683         * benchtests/Makefile: Sort function entries.
43685         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43686         tanh, asinh, acosh, atanh.
43687         * benchtests/acos-inputs: New file.
43688         * benchtests/acosh-inputs: New file.
43689         * benchtests/asin-inputs: New file.
43690         * benchtests/asinh-inputs: New file.
43691         * benchtests/atanh-inputs: New file.
43692         * benchtests/cosh-inputs: New file.
43693         * benchtests/log-inputs: New file.
43694         * benchtests/sinh-inputs: New file.
43695         * benchtests/tanh-inputs: New file.
43697 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43699         [BZ #15339]
43700         * posix/tst-getaddrinfo4.c: New test.
43701         * posix/Makefile (tests): Add it.
43703 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43705         [BZ #15339]
43706         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43707         when no services were used.
43708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43709         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43711 2013-05-21  Andreas Schwab  <schwab@suse.de>
43713         [BZ #15014]
43714         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43715         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43716         successful.
43717         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43718         redundant variable declarations and reallocation of buffer when
43719         parsing as IPv6 address.  Always set NSS status when called from
43720         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43721         buffer too small.  Correct computation of needed size.
43722         * nss/Makefile (tests): Add test-digits-dots.
43723         * nss/test-digits-dots.c: New test.
43725 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43727         * benchtests/Makefile: Remove instructions for adding
43728         benchmark tests.
43729         * benchtests/README: New file to explain how to execute and
43730         enhance the benchmark tests.
43732 2013-05-21  Andreas Schwab  <schwab@suse.de>
43734         [BZ #15493]
43735         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43736         * setjmp/tst-sigsetjmp.c: New test.
43738 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43740         * sysdeps/x86_64/memset.S (memset): New implementation.
43741         (__bzero): Likewise.
43742         (__memset_tail): New function.
43744 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43746         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43747         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43748         __memcpy_sse2_unaligned ifunc selection.
43749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43750         Add memcpy-sse2-unaligned.S.
43751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43752         Add: __memcpy_sse2_unaligned.
43754 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43756         [BZ #15490]
43757         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43758         math_force_eval before restoring floating-point envrionment.
43759         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43760         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43761         Likewise.
43762         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43763         <math_private.h>.
43764         (__nearbyintl): Use math_force_eval before restoring
43765         floating-point environment.
43766         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43768         * math/gen-libm-test.pl (special_functions): Remove.
43769         (parse_args): Don't handle TEST_extra.  Handle functions with no
43770         return value.
43771         * math/libm-test.inc (struct test_sincos_data): Replace with
43772         struct test_fFF_11_data.
43773         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43774         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43775         (sincos_test_data): Change element type to struct
43776         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43777         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43778         RUN_TEST_LOOP_sincos.
43779         * math/README.libm-test: Don't mention special handling of
43780         individual functions.
43781         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43782         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43783         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43784         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43785         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43788         * math/gen-libm-test.pl (get_variable): Remove function.
43789         (parse_args): Don't show pointer parameters to call in test
43790         names.  Use "extra output N" in test names for extra outputs
43791         rather than naming variables.
43793 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43795         [BZ #15488]
43796         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43797         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43798         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43799         double tests.
43800         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43801         disable.
43802         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43803         check_long_double.
43805         * math/gen-libm-test.pl (@tests): Remove variable.
43806         ($count): Likewise.
43807         (new_test): Remove function.
43808         (show_exceptions): New function.
43809         (special_functions): Use show_exceptions instead of new_test.
43810         (parse_args): Likewise.
43811         (generate_testfile): Pass only function name in generated call to
43812         print_max_error or print_complex_max_error.
43813         (get_ulps): Do not handle complex tests specially.
43814         (output_test): Rename to ...
43815         (get_all_ulps_for_test): ... this.  Return a string rather than
43816         printing to a file.  Require ulps to be present.
43817         (output_ulps): Generate arrays rather than #defines.
43818         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43819         (struct ulp_data): New type.
43820         (BUILD_COMPLEX_ULP): Remove macro.
43821         (compare_ulp_data): New function.
43822         (find_ulps): Likewise.
43823         (find_test_ulps): Likewise.
43824         (find_function_ulps): Likewise.
43825         (find_complex_function_ulps): Likewise.
43826         (print_max_error): Determine allowed ulps using
43827         find_function_ulps.
43828         (print_complex_max_error): Determine allowed ulps using
43829         find_complex_function_ulps.
43830         (check_float_internal): Determine max ulps using find_test_ulps.
43831         (check_float): Do not take max_ulp parameter.  Update call to
43832         check_float_internal.
43833         (check_complex): Likewise.
43834         (check_int): Do not take max_ulp parameter.
43835         (check_long): Likewise.
43836         (check_bool): Likewise.
43837         (check_longlong): Likewise.
43838         (struct test_f_f_data): Remove max_ulp field.
43839         (struct test_ff_f_data): Likewise.
43840         (struct test_ff_f_data_nexttoward): Likewise.
43841         (struct test_fi_f_data): Likewise.
43842         (struct test_fl_f_data): Likewise.
43843         (struct test_if_f_data): Likewise.
43844         (struct test_fff_f_data): Likewise.
43845         (struct test_c_f_data): Likewise.
43846         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43847         (struct test_fF_f1_data): Likewise.
43848         (struct test_ffI_f1_data): Likewise.
43849         (struct test_c_c_data): Remove max_ulp field.
43850         (struct test_cc_c_data): Likewise.
43851         (struct test_f_i_data): Likewise.
43852         (struct test_ff_i_data): Likewise.
43853         (struct test_f_l_data): Likewise.
43854         (struct test_f_L_data): Likewise.
43855         (struct test_sincos_data): Likewise.
43856         (RUN_TEST_f_f): Do not handle ulps.
43857         (RUN_TEST_LOOP_f_f): Likewise.
43858         (RUN_TEST_2_f): Likewise.
43859         (RUN_TEST_LOOP_2_f): Likewise.
43860         (RUN_TEST_fff_f): Likewise.
43861         (RUN_TEST_LOOP_fff_f): Likewise.
43862         (RUN_TEST_c_f): Likewise.
43863         (RUN_TEST_LOOP_c_f): Likewise.
43864         (RUN_TEST_f_f1): Likewise.
43865         (RUN_TEST_LOOP_f_f1): Likewise.
43866         (RUN_TEST_fF_f1): Likewise.
43867         (RUN_TEST_LOOP_fF_f1): Likewise.
43868         (RUN_TEST_fI_f1): Likewise.
43869         (RUN_TEST_LOOP_fI_f1): Likewise.
43870         (RUN_TEST_ffI_f1): Likewise.
43871         (RUN_TEST_LOOP_ffI_f1): Likewise.
43872         (RUN_TEST_c_c): Likewise.
43873         (RUN_TEST_LOOP_c_c): Likewise.
43874         (RUN_TEST_cc_c): Likewise.
43875         (RUN_TEST_LOOP_cc_c): Likewise.
43876         (RUN_TEST_f_i): Likewise.
43877         (RUN_TEST_LOOP_f_i): Likewise.
43878         (RUN_TEST_f_i_tg): Likewise.
43879         (RUN_TEST_LOOP_f_i_tg): Likewise.
43880         (RUN_TEST_ff_i_tg): Likewise.
43881         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43882         (RUN_TEST_f_b): Likewise.
43883         (RUN_TEST_LOOP_f_b): Likewise.
43884         (RUN_TEST_f_b_tg): Likewise.
43885         (RUN_TEST_LOOP_f_b_tg): Likewise.
43886         (RUN_TEST_f_l): Likewise.
43887         (RUN_TEST_LOOP_f_l): Likewise.
43888         (RUN_TEST_f_L): Likewise.
43889         (RUN_TEST_LOOP_f_L): Likewise.
43890         (RUN_TEST_sincos): Likewise.
43891         (RUN_TEST_LOOP_sincos): Likewise.
43893 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #15480]
43896         [BZ #15485]
43897         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43898         main case of finite arguments, set rounding mode to FE_TONEAREST
43899         and discard exceptions.
43900         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43901         exceptions.
43902         (remainder_tonearest_test_data): New variable.
43903         (remainder_test_tonearest): New function.
43904         (remainder_towardzero_test_data): New variable.
43905         (remainder_test_towardzero): New function.
43906         (remainder_downward_test_data): New variable.
43907         (remainder_test_downward): New function.
43908         (remainder_upward_test_data): New variable.
43909         (remainder_test_upward): New function.
43910         (main): Call the new test functions.
43912         * math/libm-test.inc (struct test_f_f1_data): Remove field
43913         extra_init.
43914         (struct test_fF_f1_data): Likewise.
43915         (struct test_ffI_f1_data): Likewise.
43916         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43917         based on value of EXTRA_EXPECTED.
43918         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43919         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43920         EXTRA_VAR based on value of EXTRA_EXPECTED.
43921         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43922         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43923         EXTRA_VAR based on value of EXTRA_EXPECTED.
43924         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43925         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43926         EXTRA_VAR based on value of EXTRA_EXPECTED.
43927         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43928         * math/gen-libm-test.pl (parse_args): Don't output initializers
43929         for extra output values.
43931         * math/libm-test.inc (check_int): Expect result to be exactly
43932         equal to expected value and do not handle ulps.
43933         (check_long): Likewise.
43934         (check_longlong): Likewise.
43936         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43937         exceptions.
43938         (cimag_test_data): Likewise.
43939         (conj_test_data): Likewise.
43940         (copysign_test_data): Likewise.
43941         (cproj_test_data): Likewise.
43942         (creal_test_data): Likewise.
43943         (fabs_test_data): Likewise.
43944         (fdim_test_data): Likewise.
43945         (finite_test_data): Likewise.
43946         (floor_test_data): Likewise.
43947         (fmax_test_data): Likewise.
43948         (fmin_test_data): Likewise.
43949         (fmod_test_data): Likewise.
43950         (fpclassify_test_data): Likewise.
43951         (frexp_test_data): Likewise.
43952         (ilogb_test_data): Likewise.
43953         (isfinite_test_data): Likewise.
43954         (isgreater_test_data): Likewise.
43955         (isgreaterequal_test_data): Likewise.
43956         (isinf_test_data): Likewise.
43957         (isless_test_data): Likewise.
43958         (islessequal_test_data): Likewise.
43959         (islessgreater_test_data): Likewise.
43960         (isnan_test_data): Likewise.
43961         (isnormal_test_data): Likewise.
43962         (issignaling_test_data): Likewise.
43963         (isunordered_test_data): Likewise.
43964         (ldexp_test_data): Likewise.
43965         (lrint_test_data): Likewise.
43966         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43967         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43968         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43969         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43970         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43971         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43972         test input.
43973         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43974         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43975         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43976         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43977         that test input.
43978         (lrint_downward_test_data): Test for "inexact" exceptions.
43979         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43980         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43981         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43982         test input.
43983         (lrint_upward_test_data): Test for "inexact" exceptions.
43984         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43985         test input.
43986         (llrint_test_data): Test for "inexact" exceptions.
43987         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43988         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43989         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43990         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43991         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43992         (llrint_downward_test_data): Test for "inexact" exceptions.
43993         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43994         (llrint_upward_test_data): Test for "inexact" exceptions.
43995         (logb_test_data): Likewise.
43996         (logb_downward_test_data): Likewise.
43997         (nextafter_test_data): Likewise.
43998         (nexttoward_test_data): Likewise.
43999         (remainder_test_data): Likewise.
44000         (remquo_test_data): Likewise.
44001         (scalbn_test_data): Likewise.
44002         (scalbln_test_data): Likewise.
44003         (signbit_test_data): Likewise.
44004         (sqrt_test_data): Likewise.
44005         (significand_test_data): Likewise.
44007 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44009         [BZ #15424]
44010         * benchtests/bench-modf.c (struct args): Mark arg0 as
44011         volatile.
44012         * scripts/bench.pl: Mark members of struct args as volatile.
44014 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44016         [BZ # 15497]
44017         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44018         negative infinity on POWER6 or lower.
44019         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44021 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44023         [BZ #15442]
44024         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44025         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44026         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44027         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44028         (_FP_SETQNAN): New macro.
44029         (_FP_SETQNAN_SEMIRAW): Likewise.
44030         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44031         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44032         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44033         (FP_EXTEND): Use _FP_FRAC_SNANP.
44034         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44035         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44036         into account.
44037         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44038         New macro.
44039         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44040         Likewise.
44042 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44044         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44045         with DIVIDE_BY_ZERO_EXCEPTION.
44046         (gamma_test_data): Likewise.
44047         (lgamma_test_data): Likewise.
44048         (log_test_data): Likewise.
44049         (log10_test_data): Likewise.
44050         (log2_test_data): Likewise.
44051         (tgamma_test_data): Likewise.
44053         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44054         (acos_test_tonearest): Likewise.
44055         (acos_test_towardzero): Likewise.
44056         (acos_test_downward): Likewise.
44057         (acos_test_upward): Likewise.
44058         (acosh_test): Likewise.
44059         (asin_test): Likewise.
44060         (asin_test_tonearest): Likewise.
44061         (asin_test_towardzero): Likewise.
44062         (asin_test_downward): Likewise.
44063         (asin_test_upward): Likewise.
44064         (asinh_test): Likewise.
44065         (atan_test): Likewise.
44066         (atanh_test): Likewise.
44067         (atan2_test): Likewise.
44068         (cabs_test): Likewise.
44069         (cacos_test): Likewise.
44070         (cacosh_test): Likewise.
44071         (casin_test): Likewise.
44072         (casinh_test): Likewise.
44073         (catan_test): Likewise.
44074         (catanh_test): Likewise.
44075         (cbrt_test): Likewise.
44076         (ccos_test): Likewise.
44077         (ccosh_test): Likewise.
44078         (cexp_test): Likewise.
44079         (clog_test): Likewise.
44080         (clog10_test): Likewise.
44081         (cos_test): Likewise.
44082         (cos_test_tonearest): Likewise.
44083         (cos_test_towardzero): Likewise.
44084         (cos_test_downward): Likewise.
44085         (cos_test_upward): Likewise.
44086         (cosh_test): Likewise.
44087         (cosh_test_tonearest): Likewise.
44088         (cosh_test_towardzero): Likewise.
44089         (cosh_test_downward): Likewise.
44090         (cosh_test_upward): Likewise.
44091         (cpow_test): Likewise.
44092         (csin_test): Likewise.
44093         (csinh_test): Likewise.
44094         (csqrt_test): Likewise.
44095         (ctan_test): Likewise.
44096         (ctan_test_tonearest): Likewise.
44097         (ctan_test_towardzero): Likewise.
44098         (ctan_test_downward): Likewise.
44099         (ctan_test_upward): Likewise.
44100         (ctanh_test): Likewise.
44101         (ctanh_test_tonearest): Likewise.
44102         (ctanh_test_towardzero): Likewise.
44103         (ctanh_test_downward): Likewise.
44104         (ctanh_test_upward): Likewise.
44105         (erf_test): Likewise.
44106         (erfc_test): Likewise.
44107         (exp_test): Likewise.
44108         (exp_test_tonearest): Likewise.
44109         (exp_test_towardzero): Likewise.
44110         (exp_test_downward): Likewise.
44111         (exp_test_upward): Likewise.
44112         (exp10_test): Likewise.
44113         (exp2_test): Likewise.
44114         (expm1_test): Likewise.
44115         (fmod_test): Likewise.
44116         (gamma_test): Likewise.
44117         (hypot_test): Likewise.
44118         (j0_test): Likewise.
44119         (j1_test): Likewise.
44120         (jn_test): Likewise.
44121         (lgamma_test): Likewise.
44122         (log_test): Likewise.
44123         (log10_test): Likewise.
44124         (log1p_test): Likewise.
44125         (log2_test): Likewise.
44126         (logb_test_downward): Likewise.
44127         (pow_test): Likewise.
44128         (pow_test_tonearest): Likewise.
44129         (pow_test_towardzero): Likewise.
44130         (pow_test_downward): Likewise.
44131         (pow_test_upward): Likewise.
44132         (remainder_test): Likewise.
44133         (remquo_test): Likewise.
44134         (sin_test): Likewise.
44135         (sin_test_tonearest): Likewise.
44136         (sin_test_towardzero): Likewise.
44137         (sin_test_downward): Likewise.
44138         (sin_test_upward): Likewise.
44139         (sincos_test): Likewise.
44140         (sinh_test): Likewise.
44141         (sinh_test_tonearest): Likewise.
44142         (sinh_test_towardzero): Likewise.
44143         (sinh_test_downward): Likewise.
44144         (sinh_test_upward): Likewise.
44145         (sqrt_test): Likewise.
44146         (tan_test): Likewise.
44147         (tan_test_tonearest): Likewise.
44148         (tan_test_towardzero): Likewise.
44149         (tan_test_downward): Likewise.
44150         (tan_test_upward): Likewise.
44151         (tanh_test): Likewise.
44152         (tgamma_test): Likewise.
44153         (y0_test): Likewise.
44154         (y1_test): Likewise.
44155         (yn_test): Likewise.
44157         * math/gen-libm-test.pl (adjust_arg): Remove function.
44158         (special_function): Remove argument $in_func.  Only handle
44159         generating output for tables of tests, not inside functions.
44160         (parse_args): Likewise.
44161         (generate_testfile): Remove variable $in_func.  Update call to
44162         parse_args.
44163         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44164         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44165         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44166         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44167         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44168         (MAX_VALUE_INIT): Rename macro to max_value.
44169         (MIN_VALUE_INIT): Rename macro to min_value.
44170         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44171         (plus_zero): Remove variable.
44172         (minus_zero): Likewise.
44173         (plus_infty): Likewise.
44174         (minus_infty): Likewise.
44175         (qnan_value): Likewise.
44176         (max_value): Likewise.
44177         (min_value): Likewise.
44178         (min_subnorm_value): Likewise.
44180 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44182         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44183         uint64_t or uint32_t usage.
44184         * crypt/sha256-block.c: Likewise.
44185         * crypt/sha256-crypt.c: Likewise.
44186         * crypt/sha256.c: Likewise.
44187         * crypt/sha512-block.c: Likewise.
44188         * crypt/sha512-crypt.c: Likewise.
44189         * crypt/sha512.c: Likewise.
44190         * debug/backtrace-tst.c: Likewise.
44191         * debug/pcprofiledump.c: Likewise.
44192         * elf/cache.c: Likewise.
44193         * elf/dl-cache.c: Likewise.
44194         * elf/dl-misc.c: Likewise.
44195         * elf/dl-profile.c: Likewise.
44196         * elf/dl-support.c: Likewise.
44197         * elf/ldconfig.c: Likewise.
44198         * elf/sprof.c: Likewise.
44199         * iconv/dummy-repertoire.c: Likewise.
44200         * iconv/iconv_charmap.c: Likewise.
44201         * iconv/skeleton.c: Likewise.
44202         * iconvdata/8bit-generic.c: Likewise.
44203         * iconvdata/cp737.h: Likewise.
44204         * iconvdata/cp775.h: Likewise.
44205         * iconvdata/ibm1008.h: Likewise.
44206         * iconvdata/ibm1025.h: Likewise.
44207         * iconvdata/ibm1046.h: Likewise.
44208         * iconvdata/ibm1097.h: Likewise.
44209         * iconvdata/ibm1112.h: Likewise.
44210         * iconvdata/ibm1122.h: Likewise.
44211         * iconvdata/ibm1123.h: Likewise.
44212         * iconvdata/ibm1124.h: Likewise.
44213         * iconvdata/ibm1129.h: Likewise.
44214         * iconvdata/ibm1130.h: Likewise.
44215         * iconvdata/ibm1132.h: Likewise.
44216         * iconvdata/ibm1133.h: Likewise.
44217         * iconvdata/ibm1137.h: Likewise.
44218         * iconvdata/ibm1140.h: Likewise.
44219         * iconvdata/ibm1141.h: Likewise.
44220         * iconvdata/ibm1142.h: Likewise.
44221         * iconvdata/ibm1143.h: Likewise.
44222         * iconvdata/ibm1144.h: Likewise.
44223         * iconvdata/ibm1145.h: Likewise.
44224         * iconvdata/ibm1146.h: Likewise.
44225         * iconvdata/ibm1147.h: Likewise.
44226         * iconvdata/ibm1148.h: Likewise.
44227         * iconvdata/ibm1149.h: Likewise.
44228         * iconvdata/ibm1153.h: Likewise.
44229         * iconvdata/ibm1154.h: Likewise.
44230         * iconvdata/ibm1155.h: Likewise.
44231         * iconvdata/ibm1156.h: Likewise.
44232         * iconvdata/ibm1157.h: Likewise.
44233         * iconvdata/ibm1158.h: Likewise.
44234         * iconvdata/ibm1160.h: Likewise.
44235         * iconvdata/ibm1161.h: Likewise.
44236         * iconvdata/ibm1162.h: Likewise.
44237         * iconvdata/ibm1163.h: Likewise.
44238         * iconvdata/ibm1164.h: Likewise.
44239         * iconvdata/ibm1166.h: Likewise.
44240         * iconvdata/ibm1167.h: Likewise.
44241         * iconvdata/ibm12712.h: Likewise.
44242         * iconvdata/ibm1390.h: Likewise.
44243         * iconvdata/ibm1399.h: Likewise.
44244         * iconvdata/ibm16804.h: Likewise.
44245         * iconvdata/ibm4517.h: Likewise.
44246         * iconvdata/ibm4899.h: Likewise.
44247         * iconvdata/ibm4909.h: Likewise.
44248         * iconvdata/ibm4971.h: Likewise.
44249         * iconvdata/ibm5347.h: Likewise.
44250         * iconvdata/ibm803.h: Likewise.
44251         * iconvdata/ibm856.h: Likewise.
44252         * iconvdata/ibm901.h: Likewise.
44253         * iconvdata/ibm902.h: Likewise.
44254         * iconvdata/ibm9030.h: Likewise.
44255         * iconvdata/ibm9066.h: Likewise.
44256         * iconvdata/ibm921.h: Likewise.
44257         * iconvdata/ibm922.h: Likewise.
44258         * iconvdata/ibm9448.h: Likewise.
44259         * iconvdata/isiri-3342.h: Likewise.
44260         * iconvdata/jis0201.h: Likewise.
44261         * include/link.h: Likewise.
44262         * include/netdb.h: Likewise.
44263         * inet/check_native.c: Likewise.
44264         * inet/check_pf.c: Likewise.
44265         * inet/getipv4sourcefilter.c: Likewise.
44266         * inet/getnameinfo.c: Likewise.
44267         * inet/getsourcefilter.c: Likewise.
44268         * inet/htonl.c: Likewise.
44269         * inet/setipv4sourcefilter.c: Likewise.
44270         * inet/setsourcefilter.c: Likewise.
44271         * inet/test-inet6_opt.c: Likewise.
44272         * inet/tst-network.c: Likewise.
44273         * locale/C-collate.c: Likewise.
44274         * locale/C-ctype.c: Likewise.
44275         * locale/C-time.c: Likewise.
44276         * locale/C-translit.h: Likewise.
44277         * locale/loadarchive.c: Likewise.
44278         * locale/programs/3level.h: Likewise.
44279         * locale/programs/charmap.c: Likewise.
44280         * locale/programs/charmap.h: Likewise.
44281         * locale/programs/ld-address.c: Likewise.
44282         * locale/programs/ld-collate.c: Likewise.
44283         * locale/programs/ld-ctype.c: Likewise.
44284         * locale/programs/ld-identification.c: Likewise.
44285         * locale/programs/ld-measurement.c: Likewise.
44286         * locale/programs/ld-messages.c: Likewise.
44287         * locale/programs/ld-monetary.c: Likewise.
44288         * locale/programs/ld-name.c: Likewise.
44289         * locale/programs/ld-numeric.c: Likewise.
44290         * locale/programs/ld-paper.c: Likewise.
44291         * locale/programs/ld-telephone.c: Likewise.
44292         * locale/programs/ld-time.c: Likewise.
44293         * locale/programs/linereader.c: Likewise.
44294         * locale/programs/locale.c: Likewise.
44295         * locale/programs/locarchive.c: Likewise.
44296         * locale/programs/locfile.h: Likewise.
44297         * locale/programs/repertoire.c: Likewise.
44298         * locale/programs/simple-hash.c: Likewise.
44299         * locale/programs/simple-hash.h: Likewise.
44300         * malloc/memusage.c: Likewise.
44301         * malloc/memusagestat.c: Likewise.
44302         * nis/nis_defaults.c: Likewise.
44303         * nis/nis_hash.c: Likewise.
44304         * nis/nis_print.c: Likewise.
44305         * nis/nis_xdr.c: Likewise.
44306         * nscd/connections.c: Likewise.
44307         * nscd/hstcache.c: Likewise.
44308         * nscd/nscd_gethst_r.c: Likewise.
44309         * nscd/nscd_getserv_r.c: Likewise.
44310         * nscd/nscd_helper.c: Likewise.
44311         * nscd/servicescache.c: Likewise.
44312         * nss/makedb.c: Likewise.
44313         * nss/nss_db/db-XXX.c: Likewise.
44314         * nss/nss_db/db-initgroups.c: Likewise.
44315         * nss/nss_db/db-netgrp.c: Likewise.
44316         * nss/nss_files/files-network.c: Likewise.
44317         * nss/nss_files/files-parse.c: Likewise.
44318         * posix/bug-regex5.c: Likewise.
44319         * posix/fnmatch_loop.c: Likewise.
44320         * posix/regcomp.c: Likewise.
44321         * posix/regexec.c: Likewise.
44322         * posix/tst-rfc3484-2.c: Likewise.
44323         * posix/tst-rfc3484-3.c: Likewise.
44324         * posix/tst-rfc3484.c: Likewise.
44325         * resolv/nss_dns/dns-canon.c: Likewise.
44326         * resolv/nss_dns/dns-network.c: Likewise.
44327         * resolv/res_init.c: Likewise.
44328         * resolv/res_mkquery.c: Likewise.
44329         * resolv/tst-aton.c: Likewise.
44330         * stdlib/cxa_atexit.c: Likewise.
44331         * stdlib/cxa_finalize.c: Likewise.
44332         * stdlib/gen-fpioconst.c: Likewise.
44333         * stdlib/strtol_l.c: Likewise.
44334         * string/tst-endian.c: Likewise.
44335         * sunrpc/auth_des.c: Likewise.
44336         * sunrpc/clnt_udp.c: Likewise.
44337         * sunrpc/rtime.c: Likewise.
44338         * sunrpc/svcauth_des.c: Likewise.
44339         * sunrpc/xdr.c: Likewise.
44340         * sunrpc/xdr_intXX_t.c: Likewise.
44341         * sunrpc/xdr_rec.c: Likewise.
44342         * sysdeps/generic/ldconfig.h: Likewise.
44343         * sysdeps/generic/ldsodefs.h: Likewise.
44344         * sysdeps/generic/memusage.h: Likewise.
44345         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44348         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44351         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44352         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44353         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44355         * sysdeps/posix/getaddrinfo.c: Likewise.
44356         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44357         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44358         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44359         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44360         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44361         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44362         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44363         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44364         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44365         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44366         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44367         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44368         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44369         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44371         * sysdeps/x86_64/dl-tls.h: Likewise.
44372         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44373         * time/alt_digit.c: Likewise.
44374         * time/era.c: Likewise.
44375         * wcsmbs/tst-c16c32-1.c: Likewise.
44377 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44379         * math/libm-test.inc (struct test_sincos_data): New type.
44380         (RUN_TEST_LOOP_sincos): New macro.
44381         (sincos_test_data): New variable.
44382         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44384 2013-05-16  Richard Henderson  <rth@redhat.com>
44386         * math/atest-exp2.c (LIMB64): New macro.
44387         (CONSTSZ): New macro.
44388         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44389         (hexdig): Move ...
44390         (print_mpn_fp): ... to function scope.
44391         (read_mpn_hex): Remove.
44392         (get_log2): Remove.
44393         (exp2_mpn): Use mp_log2.
44394         (main): Use mp_exp1.
44396 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44398         * math/libm-test.inc: Remove comment about not testing "inexact"
44399         exceptions.
44400         (INEXACT_EXCEPTION): New macro.
44401         (NO_INEXACT_EXCEPTION): Likewise.
44402         (INVALID_EXCEPTION_OK): Update value.
44403         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44404         (OVERFLOW_EXCEPTION_OK): Likewise.
44405         (UNDERFLOW_EXCEPTION_OK): Likewise.
44406         (IGNORE_ZERO_INF_SIGN): Likewise.
44407         (ERRNO_UNCHANGED): Likewise.
44408         (ERRNO_EDOM): Likewise.
44409         (ERRNO_ERANGE): Likewise.
44410         (test_exceptions): Handle testing "inexact" exceptions.
44411         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44412         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44413         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44414         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44415         INEXACT_EXCEPTION.
44416         (rint_towardzero_test_data): Likewise.
44417         (rint_downward_test_data): Likewise.
44418         (rint_upward_test_data): Likewise.
44420         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44421         with OVERFLOW_EXCEPTION.
44422         (exp10_test_data): Likewise.
44423         (exp2_test_data): Likewise.
44424         (expm1_test_data): Likewise.
44425         (lgamma_test_data): Likewise.
44426         (pow_test_data): Likewise.
44427         (tgamma_test_data): Likewise.
44428         (yn_test_data): Remove duplicate test of overflow.
44430         * math/libm-test.inc (struct test_cc_c_data): New type.
44431         (RUN_TEST_LOOP_cc_c): New macro.
44432         (cpow_test_data): New variable.
44433         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44435         * math/libm-test.inc (struct test_f_L_data): New type.
44436         (RUN_TEST_LOOP_f_L): New macro.
44437         (llrint_test_data): New variable.
44438         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44439         (llrint_tonearest_test_data): New variable.
44440         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44441         (llrint_towardzero_test_data): New variable.
44442         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44443         (llrint_downward_test_data): New variable.
44444         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44445         (llrint_upward_test_data): New variable.
44446         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44447         (llround_test_data): New variable.
44448         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44450 2013-05-13  Peter Collingbourne  <pcc@google.com>
44452         * math/atest-exp2.c (get_log2): Remove const attribute.
44454 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44456         * math/libm-test.inc (struct test_f_l_data): New type.
44457         (RUN_TEST_LOOP_f_l): New macro.
44458         (lrint_test_data): New variable.
44459         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44460         (lrint_tonearest_test_data): New variable.
44461         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44462         (lrint_towardzero_test_data): New variable.
44463         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44464         (lrint_downward_test_data): New variable.
44465         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44466         (lrint_upward_test_data): New variable.
44467         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44468         (lround_test_data): New variable.
44469         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44471 2013-05-15  Peter Collingbourne  <pcc@google.com>
44473         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44474         (EXTRACT_WORDS64) Use where appropriate.
44475         (INSERT_WORDS64) Likewise.
44477         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44478         constraints with x constraints.
44479         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44481         * malloc/obstack.c (_obstack_compat): Add initializer.
44483 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44485         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44486         si_trapno and add si_addr_lsb to _sifields.sigfault.
44487         (si_trapno): Remove macro.
44488         (si_addr_lsb): Define new macro.
44489         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44491 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44493         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44494         instead of TEST_f_l.
44495         (llrint_test_tonearest): Likewise.
44496         (llrint_test_towardzero): Likewise.
44497         (llrint_test_downward): Likewise.
44498         (llrint_test_upward): Likewise.
44499         (llround_test): Likewise.
44501         * math/libm-test.inc (struct test_f_i_data): Add comment.
44502         (RUN_TEST_LOOP_f_b): New macro.
44503         (RUN_TEST_LOOP_f_b_tg): Likewise.
44504         (finite_test_data): New variable.
44505         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44506         (isfinite_test_data): New variable.
44507         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44508         (isinf_test_data): New variable.
44509         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44510         (isnan_test_data): New variable.
44511         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44512         (isnormal_test_data): New variable.
44513         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44514         (issignaling_test_data): New variable.
44515         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44516         (signbit_test_data): New variable.
44517         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44519         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44520         with INVALID_EXCEPTION.
44521         (acosh_test_data): Likewise.
44522         (asin_test_data): Likewise.
44523         (atanh_test_data): Likewise.
44524         (fmod_test_data): Likewise.
44525         (log_test_data): Likewise.
44526         (log10_test_data): Likewise.
44527         (log2_test_data): Likewise.
44528         (pow_test_data): Likewise.
44529         (sqrt_test_data): Likewise.
44530         (y0_test_data): Likewise.
44531         (y1_test_data): Likewise.
44532         (yn_test_data): Likewise.
44534         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44535         function contents.
44537         * math/libm-test.inc (struct test_ff_i_data): New type.
44538         (RUN_TEST_LOOP_ff_i_tg): New macro.
44539         (isgreater_test_data): New variable.
44540         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44541         (isgreaterequal_test_data): New variable.
44542         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44543         (isless_test_data): New variable.
44544         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44545         (islessequal_test_data): New variable.
44546         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44547         (islessgreater_test_data): New variable.
44548         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44549         (isunordered_test_data): New variable.
44550         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44552 2013-05-14  David S. Miller  <davem@davemloft.net>
44554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44556 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44558         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44560         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44561         extra_test to int.
44562         (struct test_f_i_data): Change type of max_ulp to int.
44564         * math/libm-test.inc (test_ffI_f1_data): New type.
44565         (RUN_TEST_LOOP_ffI_f1): New macro.
44566         (remquo_test_data): New variable.
44567         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44569         * setjmp/tst-setjmp-fp.c: New file.
44570         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44571         (link-libm): New variable.
44572         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44574         * math/libm-test.inc (struct test_f_i_data): New type.
44575         (RUN_TEST_LOOP_f_i): New macro.
44576         (RUN_TEST_LOOP_f_i_tg): Likewise.
44577         (fpclassify_test_data): New variable.
44578         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44579         (ilogb_test_data): New variable.
44580         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44582         * math/libm-test.inc (scalbln_test): Correct function name in END
44583         call.
44585         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44586         (RUN_TEST_LOOP_fI_f1): New macro.
44587         (frexp_test_data): New variable.
44588         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44590         * math/libm-test.inc (struct test_fF_f1_data): New type.
44591         (RUN_TEST_LOOP_fF_f1): New macro.
44592         (modf_test_data): New variable.
44593         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44595         * math/libm-test.inc (struct test_f_f1_data): New type.
44596         (RUN_TEST_LOOP_f_f1): New macro.
44597         (gamma_test_data): New variable.
44598         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44599         (lgamma_test_data): New variable.
44600         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44602 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44604         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44605         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44606         (main): Comment "tls" pseudo-hwcap.
44608 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44610         * math/libm-test.inc (struct test_fl_f_data): New type.
44611         (RUN_TEST_LOOP_fl_f): New variable.
44612         (scalbln_test_data): New variable.
44613         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44615         * math/libm-test.inc (struct test_fi_f_data): New type.
44616         (RUN_TEST_LOOP_fi_f): New macro.
44617         (ldexp_test_data): New variable.
44618         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44619         (scalbn_test_data): New variable.
44620         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44622         * math/libm-test.inc (struct test_c_f_data): New type.
44623         (RUN_TEST_LOOP_c_f): New macro.
44624         (cabs_test_data): New variable.
44625         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44626         (carg_test_data): New variable.
44627         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44628         (cimag_test_data): New variable.
44629         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44630         (creal_test_data): New variable.
44631         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44633         * math/libm-test.inc (struct test_if_f_data): New type.
44634         (RUN_TEST_LOOP_if_f): New macro.
44635         (jn_test_data): New variable.
44636         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44637         (yn_test_data): New variable.
44638         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44640         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44642 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44644         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44645         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44647 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44649         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44650         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44651         (bench-deps): Add bench-timing.h.
44652         * benchtests-bench-skeleton.c: Include bench-timing.h.
44653         (main): Use TIMING_* macros instead of clock_gettime.
44654         * benchtests/bench-timing.h: New file.
44656         [BZ #14582]
44657         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44658         Renamed from _LIB_VERSION.
44659         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44661 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44663         * math/libm-test.inc (struct test_fff_f_data): New type.
44664         (RUN_TEST_LOOP_fff_f): New macro.
44665         (fma_test_data): New variable.
44666         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44667         (fma_towardzero_test_data): New variable.
44668         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44669         (fma_downward_test_data): New variable.
44670         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44671         (fma_upward_test_data): New variable.
44672         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44674         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44675         (struct test_c_c_data): New type.
44676         (RUN_TEST_LOOP_c_c): New macro.
44677         (cacos_test_data): New variable.
44678         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44679         (cacosh_test_data): New variable.
44680         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44681         (casin_test_data): New variable.
44682         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44683         (casinh_test_data): New variable.
44684         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44685         (catan_test_data): New variable.
44686         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44687         (catanh_test_data): New variable.
44688         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44689         (ccos_test_data): New variable.
44690         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44691         (ccosh_test_data): New variable.
44692         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44693         (cexp_test_data): New variable.
44694         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44695         (clog_test_data): New variable.
44696         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44697         (clog10_test_data): New variable.
44698         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44699         (conj_test_data): New variable.
44700         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44701         (cproj_test_data): New variable.
44702         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44703         (csin_test_data): New variable.
44704         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44705         (csinh_test_data): New variable.
44706         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44707         (csqrt_test_data): New variable.
44708         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44709         (ctan_test_data): New variable.
44710         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44711         (ctan_tonearest_test_data): New variable.
44712         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44713         (ctan_towardzero_test_data): New variable.
44714         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44715         (ctan_downward_test_data): New variable.
44716         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44717         (ctan_upward_test_data): New variable.
44718         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44719         (ctanh_test_data): New variable.
44720         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44721         (ctanh_tonearest_test_data): New variable.
44722         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44723         (ctanh_towardzero_test_data): New variable.
44724         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44725         (ctanh_downward_test_data): New variable.
44726         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44727         (ctanh_upward_test_data): New variable.
44728         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44729         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44730         of BUILD_COMPLEX.
44732         * math/libm-test.inc (struct test_ff_f_data): New type.
44733         (struct test_ff_f_data_nexttoward): Likewise.
44734         (RUN_TEST_LOOP_2_f): New macro.
44735         (RUN_TEST_LOOP_ff_f): Likewise.
44736         (atan2_test_data): New variable.
44737         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44738         (copysign_test_data): New variable.
44739         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44740         (fdim_test_data): New variable.
44741         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44742         (fmax_test_data): New variable.
44743         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44744         (fmin_test_data): New variable.
44745         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44746         (fmod_test_data): New variable.
44747         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44748         (hypot_test_data): New variable.
44749         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44750         (nextafter_test_data): New variable.
44751         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44752         (nexttoward_test_data): New variable.
44753         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44754         (pow_test_data): New variable.
44755         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44756         (pow_tonearest_test_data): New variable.
44757         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44758         (pow_towardzero_test_data): New variable.
44759         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44760         (pow_downward_test_data): New variable.
44761         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44762         (pow_upward_test_data): New variable.
44763         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44764         (remainder_test_data): New variable.
44765         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44766         (scalb_test_data): New variable.
44767         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44768         * sysdeps/i386/fpu/libm-test-ulps: Update.
44770 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44772         * math/libm-test.inc (fma_test): Use max_value instead of local
44773         variable fltmax.
44774         (nextafter_test): Likewise.
44776         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44777         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44778         (acos_downward_test_data): New variable.
44779         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44780         (acos_upward_test_data): New variable.
44781         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44782         (acosh_test_data): New variable.
44783         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44784         (asin_test_data): New variable.
44785         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44786         (asin_tonearest_test_data): New variable.
44787         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44788         (asin_towardzero_test_data): New variable.
44789         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44790         (asin_downward_test_data): New variable.
44791         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44792         (asin_upward_test_data): New variable.
44793         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44794         (asinh_test_data): New variable.
44795         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44796         (atan_test_data): New variable.
44797         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44798         (atanh_test_data): New variable.
44799         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44800         (cbrt_test_data): New variable.
44801         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44802         (ceil_test_data): New variable.
44803         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44804         (cos_test_data): New variable.
44805         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44806         (cos_tonearest_test_data): New variable.
44807         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44808         (cos_towardzero_test_data): New variable.
44809         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44810         (cos_downward_test_data): New variable.
44811         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44812         (cos_upward_test_data): New variable.
44813         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44814         (cosh_test_data): New variable.
44815         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44816         (cosh_tonearest_test_data): New variable.
44817         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44818         (cosh_towardzero_test_data): New variable.
44819         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44820         (cosh_downward_test_data): New variable.
44821         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44822         (cosh_upward_test_data): New variable.
44823         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44824         (erf_test_data): New variable.
44825         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44826         (erfc_test_data): New variable.
44827         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44828         (exp_test_data): New variable.
44829         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44830         (exp_tonearest_test_data): New variable.
44831         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44832         (exp_towardzero_test_data): New variable.
44833         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44834         (exp_downward_test_data): New variable.
44835         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44836         (exp_upward_test_data): New variable.
44837         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44838         (exp10_test_data): New variable.
44839         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44840         (exp2_test_data): New variable.
44841         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44842         (expm1_test_data): New variable.
44843         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44844         (fabs_test_data): New variable.
44845         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44846         (floor_test_data): New variable.
44847         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44848         (j0_test_data): New variable.
44849         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44850         (j1_test_data): New variable.
44851         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44852         (log_test_data): New variable.
44853         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44854         (log10_test_data): New variable.
44855         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44856         (log1p_test_data): New variable.
44857         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44858         (log2_test_data): New variable.
44859         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44860         (logb_test_data): New variable.
44861         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44862         (logb_downward_test_data): New variable.
44863         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44864         (nearbyint_test_data): New variable.
44865         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44866         (rint_test_data): New variable.
44867         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44868         (rint_tonearest_test_data): New variable.
44869         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44870         (rint_towardzero_test_data): New variable.
44871         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44872         (rint_downward_test_data): New variable.
44873         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44874         (rint_upward_test_data): New variable.
44875         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44876         (round_test_data): New variable.
44877         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44878         (sin_test_data): New variable.
44879         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44880         (sin_tonearest_test_data): New variable.
44881         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44882         (sin_towardzero_test_data): New variable.
44883         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44884         (sin_downward_test_data): New variable.
44885         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44886         (sin_upward_test_data): New variable.
44887         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44888         (sinh_test_data): New variable.
44889         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44890         (sinh_tonearest_test_data): New variable.
44891         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44892         (sinh_towardzero_test_data): New variable.
44893         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44894         (sinh_downward_test_data): New variable.
44895         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44896         (sinh_upward_test_data): New variable.
44897         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44898         (sqrt_test_data): New variable.
44899         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44900         (tan_test_data): New variable.
44901         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44902         (tan_tonearest_test_data): New variable.
44903         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44904         (tan_towardzero_test_data): New variable.
44905         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44906         (tan_downward_test_data): New variable.
44907         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44908         (tan_upward_test_data): New variable.
44909         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44910         (tanh_test_data): New variable.
44911         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44912         (tgamma_test_data): New variable.
44913         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44914         (trunc_test_data): New variable.
44915         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44916         (y0_test_data): New variable.
44917         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44918         (y1_test_data): New variable.
44919         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44920         (significand_test_data): New variable.
44921         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44923 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44925         [BZ #12387]
44926         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44928 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44930         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44932 2013-05-10  Andreas Jaeger  <aj@suse.de>
44934         [BZ #15448]
44935         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44936         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44938 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44940         * math/gen-libm-test.pl (adjust_arg): New function.
44941         (special_functions): Handle generating output in both functions
44942         and arrays.
44943         (parse_args): Likewise.
44944         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44945         $in_func argument to parse_args.
44946         * math/libm-test.inc (struct test_f_f_data): New type.
44947         (IF_ROUND_INIT_): New macro.
44948         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44949         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44950         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44951         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44952         (ROUND_RESTORE_): Likewise.
44953         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44954         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44955         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44956         (ROUND_RESTORE_FE_UPWARD): Likewise.
44957         (RUN_TEST_LOOP_f_f): New macro.
44958         (acos_test_data): New variable.
44959         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44960         (acos_tonearest_test_data): New variable.
44961         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44963 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44965         * benchtests/bench-skeleton.c (startup): Fix coding style.
44967 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44969         [BZ #6809]
44970         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44971         negative infinity argument.
44972         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44973         negative infinity argument.
44974         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44975         negative infinity argument.
44976         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44977         domain errors.
44979 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44981         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44982         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44983         * iconv/iconv_prog.c (main): Likewise.
44984         * locale/programs/charmap-dir.c (charmap_readdir)
44985         (fopen_uncompressed): Likewise.
44986         * locale/programs/locfile.c (siblings_uncached)
44987         (write_locale_data): Use lstat64 instead of lstat.
44988         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44989         stat.
44991 2013-05-10  Andreas Jaeger  <aj@suse.de>
44993         [BZ #15395]
44994         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44995         localization.
44996         Include <locale.h>.
44998 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45000         * elf/dl-close.c (_dl_close_worker): Add comments.
45002 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45004         [BZ #15359]
45005         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45006         high part of pi/2.
45007         (__ieee754_rem_pio2l): Update comments.
45009         [BZ #15429]
45010         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45011         high part of pi/2.
45012         (__ieee754_rem_pio2l): Update comments.
45014         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45015         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45017         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45018         M_PI_4l.
45020         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45021         (M_PI_34_LOG10El): Likewise.
45022         (M_PI2_LOG10El): Likewise.
45023         (M_PI4_LOG10El): Likewise.
45024         (M_PI_LOG10El): Likewise.
45026 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45030 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45032         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45033         (MINUS_ZERO_INIT): Likewise.
45034         (PLUS_INFTY_INIT): Likewise.
45035         (MINUS_INFTY_INIT): Likewise.
45036         (QNAN_VALUE_INIT): Likewise.
45037         (MAX_VALUE_INIT): Likewise.
45038         (MIN_VALUE_INIT): Likewise.
45039         (MIN_SUBNORM_VALUE_INIT): Likewise.
45040         (plus_zero): Initialize with PLUS_ZERO_INIT.
45041         (minus_zero): Initialize with MINUS_ZERO_INIT.
45042         (plus_infty): Initialize with PLUS_INFTY_INIT.
45043         (minus_infty): Initialize with MINUS_INFTY_INIT.
45044         (qnan_value): Initialize with QNAN_VALUE_INIT.
45045         (max_value): Initialize with MAX_VALUE_INIT.
45046         (min_value): Initialize with MIN_VALUE_INIT.
45047         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45049         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45050         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45051         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45052         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45054         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45055         (RUN_TEST_2_f): Likewise.
45056         (RUN_TEST_ff_f): Likewise.
45057         (RUN_TEST_fi_f): Likewise.
45058         (RUN_TEST_fl_f): Likewise.
45059         (RUN_TEST_fff_f): Likewise.
45060         (RUN_TEST_c_f): Likewise.
45061         (RUN_TEST_f_f1): Likewise.
45062         (RUN_TEST_fF_f1): Likewise.
45063         (RUN_TEST_fI_f1): Likewise.
45064         (RUN_TEST_ffI_f1): Likewise.
45065         (RUN_TEST_c_c): Likewise.
45066         (RUN_TEST_cc_c): Likewise.
45067         (RUN_TEST_f_i): Likewise.
45068         (RUN_TEST_f_i_tg): Likewise.
45069         (RUN_TEST_ff_i_tg): Likewise.
45070         (RUN_TEST_f_b): Likewise.
45071         (RUN_TEST_f_b_tg): Likewise.
45072         (RUN_TEST_f_l): Likewise.
45073         (RUN_TEST_f_L): Likewise.
45074         (RUN_TEST_sincos): Likewise.
45075         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45076         whether to show exceptions.  Do not include ");\n" in return
45077         value.
45078         (special_functions): Output call to RUN_TEST_sincos instead of
45079         check_float calls.  Update calls to new_test.
45080         (parse_args): Output call to single RUN_TEST_* macro instead of
45081         check_* calls and other assignments.  Update calls to new_test.
45083         [BZ #2546]
45084         [BZ #2560]
45085         [BZ #5159]
45086         [BZ #15426]
45087         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45088         input to result for tgamma overflow.
45089         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45090         (gamma_coeff): New variable.
45091         (NCOEFF): New macro.
45092         (gamma_positive): New function.
45093         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45094         underflow here.  Use gamma_positive instead of exp (lgamma) for
45095         other arguments.
45096         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45097         (gamma_coeff): New variable.
45098         (NCOEFF): New macro.
45099         (gammaf_positive): New function.
45100         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45101         underflow here.  Use gamma_positive instead of exp (lgamma) for
45102         other arguments.
45103         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45104         (gamma_coeff): New variable.
45105         (NCOEFF): New macro.
45106         (gammal_positive): New function.
45107         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45108         underflow here.  Use gamma_positive instead of exp (lgamma) for
45109         other arguments.
45110         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45111         (gamma_coeff): New variable.
45112         (NCOEFF): New macro.
45113         (gammal_positive): New function.
45114         (__ieee754_gammal_r): Handle positive infinity, overflow and
45115         underflow here.  Handle NaN the same as positive infinity.  Remove
45116         check x < 0xffffffff for negative integers.  Use gamma_positive
45117         instead of exp (lgamma) for other arguments.
45118         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45119         (gamma_coeff): New variable.
45120         (NCOEFF): New macro.
45121         (gammal_positive): New function.
45122         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45123         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45127         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45128         * sysdeps/generic/math_private.h (__gamma_productf): New
45129         prototype.
45130         (__gamma_product): Likewise.
45131         (__gamma_productl): Likewise.
45132         * math/Makefile (libm-calls): Add gamma_product.
45133         * math/libm-test.inc (tgamma_test): Add more tests.
45134         * sysdeps/i386/fpu/libm-test-ulps: Update.
45135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45137 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45139         * benchtests/bench-skeleton.c (main): Preheat CPU.
45141 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45143         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45145 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45147         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45148         and _dl_skip_args_internal.
45150 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45152         * manual/message.texi (Message Translation): Talk about users.
45153         Message to key mapping impacts design.
45155 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45157         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45159         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45161         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45162         * sysdeps/wordsize-64/glob64.c: ... here.
45164         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45165         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45166         New macros.
45168         * debug/getlogin_r_chk.c: Moved to ...
45169         * login/getlogin_r_chk.c: ... here.
45170         * debug/Makefile (routines): Move getlogin_r_chk to ...
45171         * login/Makefile (routines): ... here.
45172         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45173         * login/Versions (libc: GLIBC_2.4): ... here.
45175         * io/poll.c (__poll): Renamed from poll.
45176         Add libc_hidden_def.
45177         (poll): Define as weak alias.
45179         * debug/ptsname_r_chk.c: Moved to ...
45180         * login/ptsname_r_chk.c: ... here.
45181         * debug/Makefile (routines): Move ptsname_r_chk to ...
45182         * login/Makefile (routines): ... here.
45183         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45184         * login/Versions (libc: GLIBC_2.4): ... here.
45186         * posix/getlogin.c: Moved to ...
45187         * login/getlogin.c: ... here.
45188         * posix/getlogin_r.c: Moved to ...
45189         * login/getlogin_r.c: ... here.
45190         * posix/getlogin_r.c: Moved to ...
45191         * login/getlogin_r.c: ... here.
45192         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45193         * login/Makefile (routines): ... here.
45194         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45195         * login/Versions (libc: GLIBC_2.0): ... here.
45197         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45198         (setrlimit): Define as weak alias.
45200         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45201         Call __ names for open, ftruncate, and close.
45202         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45203         (truncate): Define as weak alias.
45205 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45207         * math/gen-libm-test.pl (parse_args): Initialize x before each
45208         test of frexp, modf and remquo.
45210         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45211         test signgam value.
45213 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45215         [BZ #15418]
45216         [BZ #15419]
45217         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45218         internal tests.
45219         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45221 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45223         * elf/dl-writev.h: New file.
45224         * elf/dl-misc.c: Include it.
45225         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45226         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45228 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45230         * math/libm-test.inc (noXFails): Remove variable.
45231         (noXPasses): Likewise.
45232         (BUILD_COMPLEX_INT): Remove macro.
45233         (print_screen): Remove xfail argument.
45234         (print_screen_max_error): Likewise.
45235         (update_stats): Likewise.
45236         (print_max_error): Likewise.  Update calls to other affected
45237         functions.
45238         (print_complex_max_error): Likewise.
45239         (test_single_exception): Update calls to print_screen.
45240         (test_single_errno): Likewise.
45241         (check_float_internal): Remove xfail argument.  Update calls to
45242         other affected functions.
45243         (check_float): Likewise.
45244         (check_complex): Likewise.
45245         (check_int): Likewise.
45246         (check_long): Likewise.
45247         (check_bool): Likewise.
45248         (check_longlong): Likewise.
45249         (main): Don't print noXFails and noXPasses.
45250         * math/gen-libm-test.pl (top level): Don't mention expected
45251         failure handling in comment.
45252         (new_test): Don't handle expected failures.
45253         (parse_args): Don't mention expected failure handling in comment.
45254         (generate_testfile): Don't handle expected failures.
45255         (parse_ulps): Likewise.
45256         (print_ulps_file): Likewise.
45257         (get_failure): Remove function.
45258         (output_test): Don't handle expected failures.
45259         * make/README.libm-test: Don't mention expected failure handling.
45261         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45262         (minus_zero): Likewise.
45263         (plus_infty): Likewise.
45264         (minus_infty): Likewise.
45265         (qnan_value): Likewise.
45266         (max_value): Likewise.
45267         (min_value): Likewise.
45268         (min_subnorm_value): Likewise.
45269         (initialize): Do not initialize those variables dynamically.
45271 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45273         * io/open.c (__open_2): Moved to ...
45274         * io/open_2.c: ... this new file.
45275         * io/open64.c (__open64_2): Moved to ...
45276         * io/open64_2.c: ... this new file.
45277         * io/openat.c (__openat_2): Moved to ...
45278         * io/openat_2.c: ... this new file.
45279         * io/openat64.c (__openat64_2): Moved to ...
45280         * io/openat64_2.c: ... this new file.
45281         * io/Makefile (routines): Add them.
45282         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45283         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45284         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45285         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45286         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45287         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45288         (__openat64): Add hidden_ver.
45289         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45290         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45292         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45293         Separately conditionalize setting of GLRO(dl_sysinfo) so
45294         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45295         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45297 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45299         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45300         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45301         definition.
45302         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45303         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45304         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45305         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45306         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45308 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45310         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45311         test signgam value.
45313         * math/libm-test.inc (hypot_test): Do not use
45314         IGNORE_ZERO_INF_SIGN.
45316 2013-05-03  Andreas Jaeger  <aj@suse.de>
45318         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45319         Linux 3.9.
45320         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45321         (PF_MAX): Adjust for VSOCK change.
45323 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45327 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45329         [BZ #15264]
45330         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45331         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45332         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45334 2013-05-02  David S. Miller  <davem@davemloft.net>
45336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45338 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45340         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45342 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45344         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45346 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45348         [BZ #14952]
45349         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45350         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45351         Use __attribute__ ((__gnu_inline__)).
45352         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45353         Don't use __attribute__ ((__gnu_inline__)).
45355 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45357         [BZ #15423]
45358         * math/s_catan.c (__catan): Handle small real or imaginary part of
45359         input specially to avoid spurious underflow.
45360         * math/s_catanf.c (__catanf): Likewise.
45361         * math/s_catanh.c (__catanh): Likewise.
45362         * math/s_catanhf.c (__catanhf): Likewise.
45363         * math/s_catanhl.c (__catanhl): Likewise.
45364         * math/s_catanl.c (__catanl): Likewise.
45365         * math/libm-test.inc (catan_test): Add more tests.
45366         (catanh_test): Likewise.
45367         * sysdeps/i386/fpu/libm-test-ulps: Update.
45368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45370 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45374 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45376         [BZ #15416]
45377         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45378         accurately for denominator in atan2.
45379         * math/s_catanf.c (__catanf): Likewise.
45380         * math/s_catanh.c (__catanh): Likewise.
45381         * math/s_catanhf.c (__catanhf): Likewise.
45382         * math/s_catanhl.c (__catanhl): Likewise.
45383         * math/s_catanl.c (__catanl): Likewise.
45384         * math/libm-test.inc (catan_test): Add more tests.
45385         (catanh_test): Likewise.
45386         * sysdeps/i386/fpu/libm-test-ulps: Update.
45387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45389 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45391         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45393         * benchtests/Makefile (bench): Remove slow benchmarks.
45394         * benchtests/atan-inputs: Add slow benchmark inputs.
45395         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45396         (BENCH_FUNC): Accept variant offset.
45397         (VARIANT): Define.
45398         * benchtests/bench-skeleton.c (main): Run benchmark for each
45399         variant.
45400         * benchtests/cos-inputs: Add slow benchmark inputs.
45401         * benchtests/exp-inputs: Likewise.
45402         * benchtests/pow-inputs: Likewise.
45403         * benchtests/sin-inputs: Likewise.
45404         * benchtests/slowatan-inputs: Remove.
45405         * benchtests/slowatan.c: Remove.
45406         * benchtests/slowcos-inputs: Remove.
45407         * benchtests/slowcos.c: Remove.
45408         * benchtests/slowexp-inputs: Remove.
45409         * benchtests/slowexp.c: Remove.
45410         * benchtests/slowpow-inputs: Remove.
45411         * benchtests/slowpow.c: Remove.
45412         * benchtests/slowsin-inputs: Remove.
45413         * benchtests/slowsin.c: Remove.
45414         * benchtests/slowtan-inputs: Remove.
45415         * benchtests/slowtan.c: Remove.
45416         * benchtests/tan-inputs: Add slow benchmark inputs.
45417         * scripts/bench.pl: Parse comments and directives.
45419         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45420         in CPPFLAGS.
45421         ($(objpfx)bench-%.c): Remove *-ITER.
45422         * benchtests/bench-modf.c: Remove definition of ITER.
45423         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45424         (main): Loop for DURATION seconds instead of fixed number of
45425         iterations.
45426         * scripts/bench.pl: Don't expect iterations in parameters.
45428 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45430         * io/fchdir.c (__fchdir): Renamed from fchdir.
45431         (fchdir): Define as weak alias.
45433 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45435         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45436         (ERRNO_EDOM): Likewise.
45437         (ERRNO_ERANGE): Likewise.
45438         (noErrnoTests): New variable.
45439         (init_max_error): Set errno to 0.
45440         (test_single_errno): New function.
45441         (test_errno): Likewise.
45442         (check_float_internal): Call test_errno.  Set errno to 0.
45443         (check_complex): Refer to errno tests in comment.
45444         (check_int): Call test_errno.  Set errno to 0.
45445         (check_long): Likewise.
45446         (check_bool): Likewise.
45447         (check_longlong): Likewise.
45448         (cos_test): Use ERRNO_* flags for errno tests instead of
45449         check_int.
45450         (expm1_test): Likewise.
45451         (fmod_test): Likewise.
45452         (ilogb_test): Likewise.
45453         (lgamma_test): Likewise.
45454         (pow_test): Likewise.
45455         (remainder_test): Likewise.
45456         (sin_test): Likewise.
45457         (tan_test): Likewise.
45458         (yn_test): Likewise.
45459         (initialize): Set errno to 0.
45460         (main): Print number of errno tests.
45461         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45463 2013-04-29  Andreas Jaeger  <aj@suse.de>
45465         [BZ #15084]
45466         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45467         and RES_USEVC.
45469         [BZ #15085]
45470         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45471         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45472         unimplemented.
45474         [BZ #15380]
45475         * stdlib/random.c (__initstate): Return NULL if
45476         __initstate fails.
45478         [BZ #15086]
45479         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45480         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45481         RES_SNGLKUPREOP.
45483 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45487 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45489         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45490         of individual tests.
45491         (casin_test): Likewise.
45492         (casinh_test): Likewise.
45494 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45496         [BZ #15409]
45497         * math/s_catan.c (__catan): Handle arguments with large real or
45498         imaginary part separately without squaring.
45499         * math/s_catanf.c (__catanf): Likewise.
45500         * math/s_catanh.c (__catanh): Likewise.
45501         * math/s_catanhf.c (__catanhf): Likewise.
45502         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45503         and redefine.
45504         (__catanhl): Handle arguments with large real or imaginary part
45505         separately without squaring.
45506         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45507         and redefine.
45508         (__catanl): Handle arguments with large real or imaginary part
45509         separately without squaring.
45510         * math/libm-test.inc (catan_test): Add more tests.
45511         (catanh_test): Likewise.
45512         * sysdeps/i386/fpu/libm-test-ulps: Update.
45513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45515 2013-04-27  Andreas Jaeger  <aj@suse.de>
45517         [BZ #15007]
45518         * stdlib/stdlib.h: Update guards for qecvt.
45519         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45520         <stdlib.h>.
45522 2013-04-27  Allan McRae  <allan@archlinux.org>
45524         * sysdeps/i386/fpu/libm-test-ulps: Update.
45526 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45528         [BZ #15406]
45529         * math/s_catan.c: Include <float.h>.
45530         (__catan): Ensure underflow exception occurs for underflowed
45531         result.
45532         * math/s_catanf.c: Include <float.h>.
45533         (__catanf): Ensure underflow exception occurs for underflowed
45534         result.
45535         * math/s_catanh.c: Include <float.h>.
45536         (__catanh): Ensure underflow exception occurs for underflowed
45537         result.
45538         * math/s_catanhf.c: Include <float.h>.
45539         (__catanhf): Ensure underflow exception occurs for underflowed
45540         result.
45541         * math/s_catanhl.c: Include <float.h>.
45542         (__catanhl): Ensure underflow exception occurs for underflowed
45543         result.
45544         * math/s_catanl.c: Include <float.h>.
45545         (__catanl): Ensure underflow exception occurs for underflowed
45546         result.
45547         * math/libm-test.inc (catan_test): Add more tests.
45548         (catanh_test): Likewise.
45550         [BZ #15405]
45551         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45552         underflowed result.
45553         * math/s_ccoshf.c (__ccoshf): Likewise.
45554         * math/s_ccoshl.c (__ccoshl): Likewise.
45555         * math/s_csin.c (__csin): Likewise.
45556         * math/s_csinf.c (__csinf): Likewise.
45557         * math/s_csinh.c (__csinh): Likewise.
45558         * math/s_csinhf.c (__csinhf): Likewise.
45559         * math/s_csinhl.c (__csinhl): Likewise.
45560         * math/s_csinl.c (__csinl): Likewise.
45561         * math/libm-test.inc (ccos_test): Add more tests.
45562         (ccosh_test): Likewise.
45563         (csin_test): Likewise.
45564         (csinh_test): Likewise.
45566 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45568         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45569         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45570         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45571         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45572         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45573         powerpc/power5+/fpu folders.
45574         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45577 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45581 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45583         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45584         additions to variable.
45585         [$(config-machine) = x86_64] (modules-names): Likewise.
45586         ($(objpfx)tst-audit3): Remove dependency.
45587         ($(objpfx)tst-audit3.out): Likewise.
45588         ($(objpfx)tst-audit4): Likewise.
45589         ($(objpfx)tst-audit4.out): Likewise.
45590         ($(objpfx)tst-audit5): Likewise.
45591         ($(objpfx)tst-audit5.out): Likewise.
45592         ($(objpfx)tst-audit6): Likewise.
45593         ($(objpfx)tst-audit6.out): Likewise.
45594         ($(objpfx)tst-audit7): Likewise.
45595         ($(objpfx)tst-audit7.out): Likewise.
45596         (tst-audit3-ENV): Remove variable.
45597         (tst-audit4-ENV): Likewise.
45598         (tst-audit5-ENV): Likewise.
45599         (tst-audit6-ENV): Likewise.
45600         (tst-audit7-ENV): Likewise.
45601         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45602         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45603         addition to variable.
45604         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45605         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45606         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45607         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45609         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45610         tst-audit3, tst-audit4 and tst-audit5.
45611         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45612         tst-audit6 and tst-audit7.
45613         [$(subdir) = elf] (modules-names): Add audit modules for those
45614         tests.
45615         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45616         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45617         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45618         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45619         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45620         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45621         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45622         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45623         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45624         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45625         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45626         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45627         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45628         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45629         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45630         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45631         Likewise.
45632         [$(subdir) = elf && $(config-cflags-avx) = yes]
45633         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45634         [$(subdir) = elf && $(config-cflags-avx) = yes]
45635         (CFLAGS-tst-auditmod4a.c): Likewise.
45636         [$(subdir) = elf && $(config-cflags-avx) = yes]
45637         (CFLAGS-tst-auditmod4b.c): Likewise.
45638         [$(subdir) = elf && $(config-cflags-avx) = yes]
45639         (CFLAGS-tst-auditmod6b.c): Likewise.
45640         [$(subdir) = elf && $(config-cflags-avx) = yes]
45641         (CFLAGS-tst-auditmod6c.c): Likewise.
45642         [$(subdir) = elf && $(config-cflags-avx) = yes]
45643         (CFLAGS-tst-auditmod7b.c): Likewise.
45644         * elf/tst-audit3.c: Move to ...
45645         * sysdeps/x86_64/tst-audit3.c: ... here.
45646         * elf/tst-audit4.c: Move to ...
45647         * sysdeps/x86_64/tst-audit4.c: ... here.
45648         * elf/tst-audit5.c: Move to ...
45649         * sysdeps/x86_64/tst-audit5.c: ... here.
45650         * elf/tst-audit6.c: Move to ...
45651         * sysdeps/x86_64/tst-audit6.c: ... here.
45652         * elf/tst-audit7.c: Move to ...
45653         * sysdeps/x86_64/tst-audit7.c: ... here.
45654         * elf/tst-auditmod3a.c: Move to ...
45655         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45656         * elf/tst-auditmod3b.c: Move to ...
45657         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45658         * elf/tst-auditmod4a.c: Move to ...
45659         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45660         * elf/tst-auditmod4b.c: Move to ...
45661         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45662         * elf/tst-auditmod5a.c: Move to ...
45663         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45664         * elf/tst-auditmod5b.c: Move to ...
45665         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45666         * elf/tst-auditmod6a.c: Move to ...
45667         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45668         * elf/tst-auditmod6b.c: Move to ...
45669         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45670         * elf/tst-auditmod6c.c: Move to ...
45671         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45672         * elf/tst-auditmod7a.c: Move to ...
45673         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45674         * elf/tst-auditmod7b.c: Move to ...
45675         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45677 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45679         [BZ #15366]
45680         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45681         define unconditionally.
45682         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45683         define unconditionally.
45684         (INT8_C, INT16_C, etc.): Likewise.
45686 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45688         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45689         __ehdr_start with hidden visibility.
45691         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45693 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45695         * math/libm-test.inc (cos_test): Use accurate hex constants.
45696         (sincost_test): Likewise.
45698 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45700         * math/libm-test.inc (catan_test): Add more tests.
45701         (catanh_test): Likewise.
45703         * math/s_catanf.c (__catanf): Use suffixed floating-point
45704         constants.
45705         * math/s_catanhf.c (__catanhf): Likewise.
45706         * math/s_catanhl.c (__catanhl): Likewise.
45707         * math/s_catanl.c (__catanl): Likewise.
45709         [BZ #15394]
45710         * math/s_catan.c (__catan): Calculate imaginary part of result
45711         with log1p not log unless computing log of number close to 0.
45712         * math/s_catanf.c (__catanf): Likewise.
45713         * math/s_catanl.c (__catanl): Likewise.
45714         * math/s_catanh.c (__catanh): Calculate real part of result with
45715         log1p not log unless computing log of number close to 0.
45716         * math/s_catanhf.c (__catanhf): Likewise.
45717         * math/s_catanhl.c (__catanhl): Likewise.
45718         * math/libm-test.inc (catan_test): Add more tests.
45719         (catanh_test): Likewise.
45720         * sysdeps/i386/fpu/libm-test-ulps: Update.
45721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45723 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45725         * benchtests/Makefile: Mention files in which fast and slow
45726         paths of math functions are implemented.
45728 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45730         * sysdeps/posix/timespec_get.c: New file.
45732 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45734         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45735         POWER.
45736         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45737         for POWER.
45738         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45739         powerpc/power5/fpu folders.
45740         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45741         * benchtests/Makefile: Add modf testcase.
45742         * benchtests/bench-modf.c: New file: Benchmark test for mo
45744 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45746         [BZ #14888]
45747         * time/Makefile (tests): Add tst-strptime-whitespace.
45748         * time/strptime_l.c (get_number): Use ISSPACE.
45749         (__strptime_internal): Likewise.
45750         * time/tst-strptime-whitespace.c: New test case.
45752 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45754         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45755         member.
45756         (_nss_files_init): Set it here.
45758 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45760         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45761         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45762         unsigned.
45764 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45766         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45768 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45770         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45771         size just once.
45773 2013-04-21  David S. Miller  <davem@davemloft.net>
45775         * po/ru.po: Update Russion translation from translation project.
45777 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45779         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45780         and setfsgid.
45782 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45784         * configure.in: Remove i386 configure warning. Remove i386 case.
45785         * configure: Regenerate.
45786         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45787         Add example to error message.
45788         * sysdeps/i386/configure: Regenerate.
45790 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45792         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45793         slowtan.
45794         * benchtests/cos-inputs: New file.
45795         * benchtests/slowcos-inputs: New file.
45796         * benchtests/slowcos.c: New file.
45797         * benchtests/slowtan-inputs: New file.
45798         * benchtests/slowtan.c: New file.
45799         * benchtests/tan-inputs: New file.
45801 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45803         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45804         considered kosher.
45806 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45808         * benchtests/Makefile: Include cppflags-iterator.mk to add
45809         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45811         * Makefile.in (bench-clean): New target.
45812         * benchtests/Makefile (bench-clean): Likewise.
45814 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45816         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45818 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45820         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45822 2013-04-15  Andreas Schwab  <schwab@suse.de>
45824         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45826         * nscd/pwdcache.c (cache_addpw): Likewise.
45827         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45828         more than recsize.
45830 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45832         * benchtests/Makefile (bench): Write all output to
45833         bench-out.tmp together.
45835 2013-04-15  Andreas Schwab  <schwab@suse.de>
45837         * nscd/nscd.c (main): Don't fork again after closing files.
45839 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45841         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45843         * benchtests/Rules (bench-deps): Collect dependencies into a
45844         single variable.  Add Makefile to dependencies.
45845         ($(objpfx)bench-%.c): Depend on bench-deps.
45847 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45848             Xavier Roche  <roche+kml2@exalead.com>
45850         [BZ #15361]
45851         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45852         just that it's a file descriptor.
45853         * manual/llio.texi (Synchronizing AIO Operations): Update description
45854         for EBADF error from aio_fsync.
45856 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45858         * Rules (bench): Move target definition...
45859         * benchtests/Makefile: ... here.
45861 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45863         * math/libm-test.inc (cos_test): Fix PI/2 test.
45864         (sincos_test): Likewise.
45865         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45866         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45868 2013-04-11  Andreas Schwab  <schwab@suse.de>
45870         [BZ #13988]
45871         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45872         accept exponent character only when digits were seen.
45873         * stdio-common/Makefile (tests): Add bug26.
45874         * stdio-common/bug26.c: New file.
45876         [BZ #14293]
45877         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45878         non-freeable.
45880 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45882         * Makeconfig (rtld-prefix): Define built linker prefix.
45883         * Rules (run-bench): Use it.
45884         * math/Makefile (run-regen-ulps): Likewise.
45886         * Rules (bench): Remove eval.
45888 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45889             Roland McGrath  <roland@hack.frob.com>
45890             Ondrej Bilka  <neleai@seznam.cz>
45892         [BZ #15346]
45893         * time/getdate.c: Include ctype.h and alloca.h.
45894         (__getdate_r): Trim leading and trailing spaces of input.
45895         * time/tst-getdate.c (tests): Add tests with leading and
45896         trailing spaces.
45898 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45900         [BZ #14280]
45901         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45902         when computing value.
45904 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45906         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45907         Use testrun.sh to run libm tests.
45909         [BZ #15309]
45910         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45912 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45914         [BZ #15264]
45915         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45917 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45919         * Makefile.in (regen-ulps): New target.
45920         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45921         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45922         [ifneq (no,$(PERL)] (regen-ulps): New target.
45923         [ifeq (no,$(PERL)] (regen-ulps): New target.
45924         * math/libm-test.inc (ulps_file_name): Define.
45925         (output_dir): New variable.
45926         (options): Add "output-dir" option.
45927         (parse_opt): Handle 'o' case.
45928         (main): If output_dir is non-NULL use it as a prefix
45929         otherwise use "".
45930         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45934         [BZ #10060, #10062]
45935         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45936         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45937         fail configure if __sync_val_compare_and_swap is not inlined.
45938         * sysdeps/i386/configure: Regenerate.
45939         * configure.in: Build for i686 when configured for i386.
45940         * configure: Regenerate.
45941         * README: Remove i386 reference.
45943 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45945         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45946         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45948 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45950         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45951         (lmsnanval): New variables.
45952         (F): Add conversion tests.
45953         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45954         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45956         * stdio-common/tstdiomisc.c (F): Properly collect individual
45957         tests' results.
45959         [BZ #14686, #15336]
45960         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45961         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45962         Instead, use input NaN values or generate a qNaN by arithmetic
45963         operation.  Also fix bugs to comply with the standard.
45964         * math/libm-test.inc (remainder_test): Add more tests.
45966         [BZ #15335, #15342]
45967         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45968         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45969         input NaN values or generate a qNaN by arithmetic operation.
45971         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45972         unreachable code.
45974         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45975         definitions.
45977 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45979         [BZ #14478]
45980         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45981         underflowed result.
45982         * math/s_cexpf.c (__cexpf): Likewise.
45983         * math/s_cexpl.c (__cexpl): Likewise.
45984         * math/libm-test.inc (cexp_test): Add more tests.
45986 2013-04-03  Andreas Schwab  <schwab@suse.de>
45988         [BZ #15330]
45989         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45990         order arrays from heap if bigger than alloca cutoff.
45992 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45994         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45995         (SNAN_TESTS_double): Refer to GCC PR56831.
45996         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45997         GCC PR56828.
45999 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46001         * Rules (bench): Move bench.out after the run is complete.
46003         * Rules (bench): Echo currently running benchmark.
46005         * benchtests/Makefile (bench): Add atan and slowatan.
46006         * benchtests/atan-inputs: New file.
46007         * benchtests/slowatan-inputs: New file.
46008         * benchtests/slowatan.c: New file.
46010         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46011         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46012         its value.
46014         [BZ #15305]
46015         * sysdeps/unix/sysv/linux/kernel-features.h
46016         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46017         __ASSUME_XFS_RESTRICTED_CHOWN.
46018         * sysdeps/unix/sysv/linux/pathconf.c
46019         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46020         Save and restore errno.
46022 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46024         [BZ #15327]
46025         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46026         arguments using __kernel_casinh.
46027         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46028         arguments using __kernel_casinhf.
46029         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46030         arguments using __kernel_casinhl.
46031         * math/libm-test.inc (cacosh_test): Add more tests.
46032         * sysdeps/i386/fpu/libm-test-ulps: Update.
46033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46035 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46040         * bench/Makefile (bench): Add sin and slowsin.
46041         * benchtests/sin-inputs: New file.
46042         * benchtests/slowsin-inputs: New file.
46043         * benchtests/slowsin.c: New file.
46045         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46046         (bench): Add slowexp and slowpow.
46047         (exp-ITER): Increase iterations.
46048         (pow-ITER): Likewise.
46049         * benchtests/exp-inputs: Change input.
46050         * benchtests/pow-inputs: Likewise.
46051         * benchtests/slowexp-inputs: New file.
46052         * benchtests/slowexp.c: New file.
46053         * benchtests/slowpow-inputs: New file.
46054         * benchtests/slowpow.c: New file.
46056 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46058         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46059         instructions.
46060         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46061         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46062         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46063         * benchtests/Makefile: Add rint benchtest.
46064         * benchtests/rint-inputs: Input for rint benchtest.
46066 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46068         * Versions.def (libm): Add GLIBC_2.18.
46069         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46070         hidden libm prototypes.
46071         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46072         * math/Makefile (libm-calls): Add s_issignaling.
46073         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46074         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46075         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46076         declaration.
46077         * math/math.h [__USE_GNU] (issignaling): New macro.
46078         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46079         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46081         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46082         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46083         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46084         * manual/arith.texi (issignaling): New section.
46085         * manual/libm-err-tab.pl (@all_functions): Update comment.
46086         * math/gen-libm-test.pl (parse_args): Apply special handling for
46087         issignaling.
46088         * math/libm-test.inc (print_float, issignaling_test): New
46089         functions.
46090         (check_float_internal): Add issignaling checks.
46091         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46092         default definition.
46093         * sysdeps/powerpc/math-tests.h: New file.
46094         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46095         tests.
46096         * math/test-snan.c (TEST_FUNC): Likewise.
46098 2013-03-30  David S. Miller  <davem@davemloft.net>
46100         * po/de.po: Update from translation team.
46102 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46104         [BZ #10357]
46105         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46106         imaginary part less than 1.0 and real part less than 0.5
46107         specially.
46108         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46109         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46110         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46111         (cacos_test): Add more tests.
46112         (casin_test): Likewise.
46113         (casinh_test): Likewise.
46114         * sysdeps/i386/fpu/libm-test-ulps: Update.
46115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46117 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46119         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46120         ONE with its value.
46122         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46123         (__pow_mp): Replace ONE and MONE with their values.
46124         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46127         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46128         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46129         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46131         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46133         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46134         (__pow_mp): Replace ZERO and MZERO with their values.
46135         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46136         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46137         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46139         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46140         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46141         (__sqr): Likewise.
46143         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46145         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46147 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46149         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46150         Declare with __attribute__ ((weak)).
46151         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46152         Call __call_tls_dtors only if it's not NULL.
46154 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46156         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46157         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46158         magic __ehdr_start linker symbol if it's defined.
46159         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46160         them up here if it was already done.
46162         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46163         (_dl_aux_init): Use const in cast when setting it.
46164         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46165         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46166         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46168         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46169         Declare them here.
46170         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46171         * csu/libc-tls.c: Nor here.
46172         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46174         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46175         (__libc_message): Never call vsyslog.
46177 2013-03-28  Alan Modra  <amodra@gmail.com>
46179         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46180         Define as empty.
46181         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46182         Likewise.
46184 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46186         [BZ #15214]
46187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46188         underflow.
46189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46191 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46193         [BZ #15304]
46194         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46195         Don't add gid passed as argument.
46197         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46199 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46201         [BZ #15307]
46202         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46203         imaginary part between 1.0 and 1.5 and real part less than 0.5
46204         specially.
46205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46207         * math/libm-test.inc (cacos_test): Add more tests.
46208         (casin_test): Likewise.
46209         (casinh_test): Likewise.
46210         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46213 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46215         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46216         constants.
46217         (norm): Likewise.
46218         (denorm): Likewise.
46219         (__dbl_mp): Likewise.
46220         (add_magnitudes): Likewise.
46221         (sub_magnitudes): Likewise.
46222         (__add): Likewise.
46223         (__sub): Likewise.
46224         (__mul): Likewise.
46225         (__sqr): Likewise.
46226         (__inv): Likewise.
46227         (__dvd): Likewise.
46229         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46230         commented code.
46231         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46232         (__dubcos): Likewise.
46233         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46234         (__ieee754_acos): Likewise.
46235         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46236         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46237         (__exp1): Likewise.
46238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46240         (log1): Likewise.
46241         (my_log2): Likewise.
46242         (checkint): Likewise.
46243         * sysdeps/ieee754/dbl-64/e_remainder.c
46244         (__ieee754_remainder): Likewise.
46245         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46247         (bsloww): Likewise.
46248         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46250         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46251         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46252         MANTISSA_STORE_T to store computations on mantissa.  Use
46253         macros for rounding and division.
46254         (denorm): Likewise.
46255         (__dbl_mp): Likewise.
46256         (add_magnitudes): Likewise.
46257         (sub_magnitudes): Likewise.
46258         (__mul): Likewise.
46259         (__sqr): Likewise.
46260         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46261         powers of two in terms of TWOPOW macro.
46262         (mp_no): Make type of mantissa as MANTISSA_T.
46263         [!RADIXI]: Define RADIXI.
46264         [!TWO52]: Define TWO52.
46265         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46267 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46269         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46270         llroundl symbol when building for PPC32.
46272 2013-03-24  Mark H Weaver  <mhw@netris.org>
46274         * manual/arith.texi (Normalization Functions): Fix prototypes for
46275         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46277 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46279         [BZ #13889]
46280         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46281         high value to check if expl overflow.
46282         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46283         to check for underflow and overflow.
46284         * math/libm-test.inc: Add exp test.
46286 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46288         [BZ #11120]
46289         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46290         with NOT_IN_libc.
46292 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46294         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46295         symbol.
46297 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46299         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46300         wrap blocks consisting of several statements.
46302         * sysdeps/generic/math-tests.h: New file.
46303         * sysdeps/i386/fpu/math-tests.h: Likewise.
46304         * math/test-snan.c: Include it.
46305         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46307 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46309         [BZ #15285]
46310         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46311         (__ieee754_j0l): Do not improve calculations using cos of twice
46312         input for inputs above LDBL_MAX / 2.0L.
46313         (__ieee754_y0l): Likewise.
46314         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46315         (__ieee754_j1l): Do not improve calculations using cos of twice
46316         input for inputs above LDBL_MAX / 2.0L.
46317         (__ieee754_y1l): Likewise.
46318         * math/libm-test.inc (j0_test): Add another test.
46319         (j1_test): Likewise.
46320         (y0_test): Likewise.
46321         (y1_test): Likewise.
46322         * sysdeps/i386/fpu/libm-test-ulps: Update.
46324 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46326         * Rules ($(objpfx)bench-%.c): Include code from a C source
46327         file.
46329 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46331         [BZ #15287]
46332         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46333         imaginary part 1.0 and real part less than 0.5 specially.
46334         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46335         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46336         * math/libm-test.inc (cacos_test): Add more tests.
46337         (casin_test): Likewise.
46338         (casinh_test): Likewise.
46339         * sysdeps/i386/fpu/libm-test-ulps: Update.
46340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46342 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46344         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46345         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46347 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46349         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46350         * config.make.in (config-cflags-sse4): Remove variable.
46351         (config-cflags-avx): Likewise.
46352         (config-cflags-sse2avx): Likewise.
46353         (config-cflags-novzeroupper): Likewise.
46354         (config-asflags-i686): Likewise.
46355         (have-mfma4): Likewise.
46356         (have-as-vis3): Likewise.
46357         (MIG): Likewise.
46358         * configure.in (MIG): Do not AC_SUBST.
46359         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46360         (libc_cv_cc_sse4): Do not AC_SUBST.
46361         (libc_cv_cc_avx): Likewise.
46362         (libc_cv_cc_sse2avx): Likewise.
46363         (libc_cv_cc_novzeroupper): Likewise.
46364         (libc_cv_cc_fma4): Likewise.
46365         (libc_cv_as_i686): Likewise.
46366         (libc_cv_sparc_as_vis3): Likewise.
46367         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46368         LIBC_CONFIG_VAR.
46369         (config-asflags-i686): Likewise.
46370         (config-cflags-avx): Likewise.
46371         (config-cflags-sse2avx): Likewise.
46372         (have-mfma4): Likewise.
46373         (config-cflags-novzeroupper): Likewise.
46374         * sysdeps/mach/configure.in (MIG): Likewise.
46375         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46376         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46377         LIBC_CONFIG_VAR.
46378         (config-cflags-avx): Likewise.
46379         (config-cflags-sse2avx): Likewise.
46380         (have-mfma4): Likewise.
46381         (config-cflags-novzeroupper): Likewise.
46382         * configure: Regenerated.
46383         * sysdeps/i386/configure: Likewise.
46384         * sysdeps/mach/configure: Likewise.
46385         * sysdeps/sparc/configure: Likewise.
46386         * sysdeps/x86_64/configure: Likewise.
46388 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46390         [BZ #14812]
46391         * locale/programs/localedef.c (options): Put N_ translation marker
46392         on argument names, not just descriptions.
46394 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46396         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46398 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46400         [BZ #14176]
46401         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46403 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46405         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46406         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46407         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46408         [!BEFORE_ABORT] (before_abort): New function.
46409         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46410         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46411         (writev_for_fatal): New function.
46412         (WRITEV_FOR_FATAL): New macro; call that.
46413         (backtrace_and_maps): New function.
46414         (BEFORE_ABORT): New macro; call that.
46415         (struct str_list): Type removed.
46416         (__libc_message, __libc_fatal): Functions removed.
46417         Include <sysdeps/posix/libc_fatal.c> instead.
46419 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46421         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46422         constants.
46423         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46424         double constants.
46426 2013-03-19  Andreas Schwab  <schwab@suse.de>
46428         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46429         * sysdeps/gnu/configure: Regenerate.
46431         * configure.in: Substitute libc_cv_rtlddir.
46432         * configure: Regenerate.
46433         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46434         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46435         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46436         * elf/Makefile (install-others, CFLAGS-interp.c)
46437         (ldso_install, common-ldd-rewrite): Likewise.
46438         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46439         $(inst_slibdir)/$(rtld-installed-name).
46440         * scripts/rellns-sh: Add -p option.
46441         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46442         for source.
46444 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46446         * manual/nptl.texi: Renamed to ...
46447         * manual/threads.texi: ... this.
46448         * manual/Makefile (chapters): Update.
46450 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46452         [BZ #14812]
46453         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46454         on argument names, not just descriptions.
46455         * malloc/memusagestat.c (options): Likewise.
46456         * nss/getent.c (options): Likewise.
46458 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46460         [BZ #14812]
46461         * iconv/iconv_prog.c (options): Put N_ translation marker
46462         on argument names, not just descriptions.
46463         * iconv/iconvconfig.c (options): Likewise.
46465 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46467         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46468         implementation which is faster on all x86_64 architectures.
46469         Tested on AMD, Intel Nehalem, SNB, IVB.
46470         * sysdeps/x86_64/strnlen.S: Likewise.
46472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46473         Remove all multiarch strlen and strnlen versions.
46474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46475         Remove strlen and strnlen related parts.
46477         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46478         Inline strlen part.
46479         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46481         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46482         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46483         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46484         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46485         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46486         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46488 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46490         * manual/memory.texi (Malloc Tunable Parameters):
46491         Sort parameters alphabetically. Add comments for missing entries.
46493 2013-03-17  David S. Miller  <davem@davemloft.net>
46495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46497 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46499         [BZ #15283]
46500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46501         for arguments at most half maximum finite value.
46502         * math/libm-test.inc (j0_test): Add more tests.
46503         (j1_test): Likewise.
46504         (y0_test): Likewise.
46505         (y1_test): Likewise.
46506         * sysdeps/i386/fpu/libm-test-ulps: Update.
46507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46509         [BZ #14155]
46510         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46511         1 / x and functions P and Q for arguments above 0x1p256L.
46512         (__ieee754_y0l): Likewise.
46513         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46514         (__ieee754_y1l): Likewise.
46515         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46516         (j1_test): Likewise.
46517         (y0_test): Likewise.
46518         (y1_test): Likewise.
46520 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46522         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46523         variable.
46525 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46527         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46528         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46529         zero since it's initialized to EXEC_PAGESIZE.
46531         * sysdeps/unix/sysv/linux/ldsodefs.h
46532         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46533         * sysdeps/generic/ldsodefs.h: ... here.
46535 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46537         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46539         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46540         math/test-snan.c.
46541         * math/test-snan.c: Renamed from
46542         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46543         * math/Makefile (tests): Add test-snan.
46544         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46545         test-powerpc-snan.
46547         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46548         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46549         functions.
46550         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46551         __builtin_nan family of functions.
46552         * math/libm-test.inc (initialize): Initialize qnan_value with
46553         __builtin_nan family of functions.
46554         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46555         Remove variables.
46556         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46557         Remove functions.
46558         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46559         storage class.  Initialize qNaN_var and sNaN_var with
46560         __builtin_nan and __builtin_nans families of functions,
46561         respectively.
46563         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46564         (sqrt_test): Remove duplicate test with qNaN input.
46565         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46566         (round_test, signbit_test, significand_test): Note missing +/-Inf
46567         as well as qNaN tests.
46569         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46570         qNaN_var.  Fix a few strings, too.
46571         * math/libm-test.inc (nan_value): Rename to qnan_value.
46572         * math/gen-libm-test.pl (%beautify): Adjust to that.
46573         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46574         * math/test-misc.c (main): Likewise.
46575         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46576         to __qnan_bytes, and __qnan_union, respectively.
46577         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46578         Likewise.
46579         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46580         and lqnanval, respectively.
46581         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46582         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46583         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46584         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46586         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46587         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46588         doubles.
46590         * math/test-misc.c (main): Fix copy'n'pastos.
46591         * misc/tst-efgcvt.c (special): Likewise.
46593         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46594         Remove declarations.
46596 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46598         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46599         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46600         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46601         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46603 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46606         macro to return vdso values correctly in IFUNC implementations.
46607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46608         Optimization by using IFUNC.
46610 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46611             Richard Henderson  <rth@redhat.com>
46612             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46614         * Makefile.in (bench): New target.
46615         * NEWS: Mention the benchmark framework.
46616         * Rules (bench): Likewise.
46617         (binaries-bench): Generate binaries for functions to
46618         benchmark.
46619         * benchtests/Makefile: New makefile for benchmark tests.
46620         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46621         programs.
46622         * benchtests/exp-inputs: New input file for EXP function.
46623         * benchtests/pow-inputs: New input file for POW function.
46624         * scripts/bench.pl: New script to generate source files for
46625         benchmark programs.
46627 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46629         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46630         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46631         computations on mantissa.  Use macros for rounding and
46632         division.
46633         (denorm): Likewise.
46634         (__dbl_mp): Likewise.
46635         (add_magnitudes): Likewise.
46636         (sub_magnitudes): Likewise.
46637         (__mul): Likewise.
46638         (__sqr): Likewise.
46639         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46640         powers of two in terms of TWOPOW macro.
46641         (mp_no): Make type of mantissa as MANTISSA_T.
46642         [!RADIXI]: Define RADIXI.
46643         [!TWO52]: Define TWO52.
46644         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46646         * manual/nptl.texi (cindex): Modify threads to pthreads.
46648 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46650         * sysdeps/x86_64/preconfigure: Regenerated.
46652 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46654         [BZ #14155]
46655         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46656         0x1p28 and above.
46657         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46658         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46659         0x1p28 and above.
46660         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46661         * math/libm-test.inc (j0_test): Do not allow one spurious
46662         underflow exception.
46663         (y1_test): Likewise.
46665 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46667         * manual/Makefile (chapters): Add nptl.
46668         * manual/debug.texi (Debugging Support): Add link to Threads
46669         chapter.
46670         * manual/nptl.texi: New file.
46672         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46674 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46676         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46677         for non-NULL pointer before the memory validity test. Pointed
46678         out by Holger Brunck <holger.brunck@keymile.com>.
46680 2013-03-13  Andreas Schwab  <schwab@suse.de>
46682         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46683         instead of .os.
46685 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46687         * timezone/zic.c: Update from tzcode 2013b.
46689 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46691         * manual/install.texi (Configuring and compiling):
46692         Mention i686 and i586.
46693         * INSTALL: Regenerate.
46695 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46697         * sysdeps/init_array/elf-init.c: New file.
46698         * csu/elf-init.c
46699         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46700         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46702         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46703         __gmon_start__ as global, but as static with a .preinit_array pointer.
46704         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46705         * sysdeps/init_array/crti.S: New file, empty except for comments.
46706         * sysdeps/init_array/crtn.S: Likewise.
46708 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46710         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46711         definining bcopy.
46712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46713         Remove Prefer_SSE_for_memop.
46714         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46715         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46716         HAS_PREFER_SSE_FOR_MEMOP.
46717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46718         memset-x86-64.
46719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46720         Remove bzero, memset ifunc support.
46721         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46722         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46723         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46724         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46726 2013-03-11  Andreas Schwab  <schwab@suse.de>
46728         [BZ #15234]
46729         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46730         by SHLIB_COMPAT.
46731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46732         (GLIBC_2.16): Remove pthread_atfork.
46734 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46736         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46737         (ptestcases.h): Likewise.
46739 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46741         * Makeconfig ($(common-objpfx)config.status): Depend on
46742         sysdeps/*/preconfigure{,.in} too.
46744 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46746         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46747         (__free_hook): Use void * instead of __malloc_ptr_t.
46748         (__malloc_hook): Likewise.
46749         (__realloc_hook): Likewise.
46750         (__memalign_hook): Likewise.
46751         (__after_morecore_hook): Likewise.
46752         * malloc/arena.c (save_malloc_hook): Likewise.
46753         (save_free_hook): Likewise.
46754         * malloc/hooks.c (malloc_hook_ini): Likewise.
46755         (realloc_hook_ini): Likewise.
46756         (memalign_hook_ini): Likewise.
46757         * malloc/malloc.c (malloc_hook_ini): Likewise.
46758         (realloc_hook_ini): Likewise.
46759         (memalign_hook_ini): Likewise.
46760         (__free_hook): Likewise.
46761         (__malloc_hook): Likewise.
46762         (__realloc_hook): Likewise.
46763         (__memalign_hook): Likewise.
46764         (__libc_malloc): Likewise.
46765         (__libc_free): Likewise.
46766         (__libc_realloc): Likewise.
46767         (__libc_memalign): Likewise.
46768         (__libc_valloc): Likewise.
46769         (__libc_pvalloc): Likewise.
46770         (__libc_calloc): Likewise.
46771         (__posix_memalign): Likewise.
46772         * malloc/morecore.c (__sbrk): Likewise.
46773         (__default_morecore): Likewise.
46775         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46777         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46778         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46779         __malloc_ptrdiff_t.
46781         * malloc/malloc.h (__malloc_size_t): Remove macro.
46782         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46783         __malloc_size_t.
46784         (old_memalign_hook): Likewise.
46785         (old_realloc_hook): Likewise.
46786         (struct hdr): Likewise.
46787         (flood): Likewise.
46788         (mallochook): Likewise.
46789         (memalignhook): Likewise.
46790         (reallochook): Likewise.
46791         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46792         (tr_old_realloc_hook): Likewise.
46793         (tr_old_memalign_hook): Likewise.
46794         (tr_mallochook): Likewise.
46795         (tr_reallochook): Likewise.
46796         (tr_memalignhook): Likewise.
46798 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46801         default_ldbl_pack and using as default implementation.
46802         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46803         implementation.
46804         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46805         redundant definition.
46806         (ldbl_insert_mantissa): Likewise.
46807         (ldbl_canonicalize): Likewise.
46808         (ldbl_nearbyint): Likewise.
46809         (ldbl_pack): Rename to ldbl_pack_ppc.
46810         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46811         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46812         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46814 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46817         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46818         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46819         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46821         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46822         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46823         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46825 2013-03-07  Andreas Jaeger  <aj@suse.de>
46827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46828         bits/mman-linux.h.
46830 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46832         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46833         Include mpa.h and declare __MPEXP.
46834         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46835         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46836         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46837         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46838         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46839         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46840         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46842         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46843         (__slowpow): Use long double EXPL and LOGL functions to
46844         compute POW.
46845         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46846         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46848         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46849         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46850         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46853         intermediate variable to calculate exponent.
46854         (__sqr): Likewise.
46855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46856         Likewise.
46857         (__sqr): Likewise.
46859         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46860         [!NO__SQR]: Define __sqr.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46862         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46863         sysdeps/ieee754/dbl-64/mpa.c.
46864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46866         [BZ #12723]
46867         * posix/Makefile (tests): Add tst-pathconf.
46868         * posix/tst-pathconf.c: New test case.
46869         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46870         _PC_PIPE_BUF.
46871         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46873 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46875         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46877 2013-03-06  Andreas Jaeger  <aj@suse.de>
46879         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46880         definition via __MAP_ANONYMOUS.
46882         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46883         it's not part of Linux headers.
46885         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46886         (MAP_HUGE_MASK): Define.
46888         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46889         Define.
46890         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46891         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46892         Define.
46893         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46894         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46895         Define.
46896         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46897         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46898         Define.
46899         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46901         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46902         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46903         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46904         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46905         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46906         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46908         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46909         Handle f2fs.
46911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46912         Handle f2fs and efivarfs.
46914         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46915         f2fs.
46917         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46918         (EFIVARFS_MAGIC): Add.
46919         (F2FS_LINK_MAX): Add.
46921 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46923         * stdio-common/vfprintf.c: Replace __builtin_expect with
46924         __glibc_unlikely.
46926 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #13550]
46929         * sysdeps/generic/bp-sym.h: Remove file.
46930         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46931         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46932         <bp-sym.h> and <bp-asm.h>.
46933         (__longjmp): Don't use BP_SYM.
46934         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46935         and <bp-asm.h>.
46936         (memcpy): Don't use BP_SYM.
46937         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46938         <bp-sym.h> and <bp-asm.h>.
46939         (memcpy): Don't use BP_SYM.
46940         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46941         <bp-asm.h>.
46942         (memcpy): Don't use BP_SYM.
46943         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46944         <bp-asm.h>.
46945         (memset): Don't use BP_SYM.
46946         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46947         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46948         (__bzero): Don't use BP_SYM.
46949         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46950         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46951         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46952         <bp-sym.h> and <bp-asm.h>.
46953         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46954         pointers.
46955         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46956         <bp-sym.h> and <bp-asm.h>.
46957         (memcpy): Don't use BP_SYM.
46958         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46959         <bp-sym.h> and <bp-asm.h>.
46960         (memset): Don't use BP_SYM.
46961         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46962         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46963         (__bzero): Don't use BP_SYM.
46964         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46965         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46966         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46967         <bp-sym.h> and <bp-asm.h>.
46968         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46969         pointers.
46970         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46971         <bp-sym.h> and <bp-asm.h>.
46972         (memcpy): Don't use BP_SYM.
46973         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46974         <bp-sym.h> and <bp-asm.h>.
46975         (memset): Don't use BP_SYM.
46976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46978         (__bzero): Don't use BP_SYM.
46979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46981         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46982         <bp-sym.h> and <bp-asm.h>.
46983         (__memchr): Don't use BP_SYM.
46984         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46985         <bp-sym.h> and <bp-asm.h>.
46986         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46987         pointers.
46988         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46989         <bp-sym.h> and <bp-asm.h>.
46990         (memcpy): Don't use BP_SYM.
46991         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46992         <bp-sym.h> and <bp-asm.h>.
46993         (__mempcpy): Don't use BP_SYM.
46994         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46995         <bp-sym.h> and <bp-asm.h>.
46996         (__memrchr): Don't use BP_SYM.
46997         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46998         <bp-sym.h> and <bp-asm.h>.
46999         (memset): Don't use BP_SYM.
47000         (__bzero): Likewise.
47001         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47002         <bp-sym.h> and <bp-asm.h>.
47003         (__rawmemchr): Don't use BP_SYM.
47004         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47005         <bp-sym.h> and <bp-asm.h>.
47006         (__STRCMP): Don't use BP_SYM.
47007         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47008         <bp-sym.h> and <bp-asm.h>.
47009         (strchr): Don't use BP_SYM.
47010         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47011         <bp-sym.h> and <bp-asm.h>.
47012         (__strchrnul): Don't use BP_SYM.
47013         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47014         <bp-sym.h> and <bp-asm.h>.
47015         (strlen): Don't use BP_SYM.
47016         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47017         <bp-sym.h> and <bp-asm.h>.
47018         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47019         pointers.
47020         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47021         <bp-sym.h> and <bp-asm.h>.
47022         (__strnlen): Don't use BP_SYM.
47023         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47024         <bp-sym.h> and <bp-asm.h>.
47025         (__GI__setjmp): Don't use BP_SYM.
47026         (_setjmp): Likewise.
47027         (__sigsetjmp): Likewise.
47028         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47029         (L(start_addresses)): Don't use BP_SYM.
47030         (_start): Likewise.
47031         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47032         <bp-asm.h>.
47033         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47034         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47035         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47036         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47037         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47038         <bp-asm.h>.
47039         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47040         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47041         about bounded pointers.
47042         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47043         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47044         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47045         <bp-asm.h>.
47046         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47047         about bounded pointers.  Remove GKM FIXME comments.
47048         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47049         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47050         <bp-asm.h>.
47051         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47052         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47053         Remove GKM FIXME comments.
47054         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47055         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47056         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47057         <bp-asm.h>.
47058         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47059         about bounded pointers.  Remove GKM FIXME comment.
47060         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47061         and <bp-asm.h>.
47062         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47063         pointers.
47064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47065         <bp-sym.h> and <bp-asm.h>.
47066         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47068         <bp-sym.h> and <bp-asm.h>.
47069         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47070         comment.
47072 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47074         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47075         call free(NULL).
47077 2013-03-05  David S. Miller  <davem@davemloft.net>
47079         * po/es.po: Update from translation team.
47081 2013-03-05  Andreas Jaeger  <aj@suse.de>
47083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47084         <bits/mman-linux.h>.
47085         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47086         is fine.
47087         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47088         <bits/mman-linux.h> to end of file.
47089         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47090         is fine.
47091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47092         <bits/mman-linux.h> to end of file.
47093         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47094         is fine.
47095         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47096         <bits/mman-linux.h> to end of file.
47098         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47099         (MCL_CURRENT, MCL_FUTURE): Define here.
47101 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47103         [BZ #15232]
47104         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47105         attribute_hidden.
47106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47108 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47110         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47111         fourth parameter needed for rt_sigprocmask syscall.
47112         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47113         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47114         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47115         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47116         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47117         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47119 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47121         [BZ #13550]
47122         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47123         comment about bounded pointers.
47124         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47125         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47127 2013-03-04  Andreas Jaeger  <aj@suse.de>
47129         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47130         common definitions.
47132         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47133         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47134         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47135         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47136         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47139 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47141         [BZ #15055]
47142         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47143         __ieee754_sqrl instead of __sqrl.
47145 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47147         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47148         * sysdeps/powerpc/fpu_control.h: ... here.
47149         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47150         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47151         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47152         * sysdeps/powerpc/bits/mathinline.h: ... here.
47154 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47156         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47157         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47158         to just [NEED_DL_SYSINFO_DSO].
47159         * elf/dl-support.c: Likewise.
47160         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47161         * elf/rtld.c (dl_main): Likewise.
47162         * elf/setup-vdso.h (setup_vdso): Likewise.
47163         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47164         * sysdeps/unix/sysv/linux/dl-sysdep.c
47165         (_dl_discover_osversion): Likewise.
47167 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47169         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47170         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47172 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47174         * NEWS: Mention libm performance improvements and non-x86 PI
47175         futex support.
47177         * csu/libc-start.c (__pthread_initialize_minimal): Change
47178         function arguments.
47179         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47181 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47183         [BZ #13550]
47184         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47185         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47186         <bp-sym.h> and <bp-asm.h>.
47187         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47188         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47189         and <bp-asm.h>.
47190         (memcpy): Don't use BP_SYM.
47191         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47192         <bp-asm.h>.
47193         (__mpn_add_n): Don't use BP_SYM.
47194         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47195         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47196         and <bp-asm.h>.
47197         (__mpn_addmul_1): Don't use BP_SYM.
47198         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47199         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47200         <bp-sym.h>.
47201         (_setjmp): Don't use BP_SYM.
47202         (__novmx_setjmp): Likewise.
47203         (__GI__setjmp): Likewise.
47204         (__vmx_setjmp): Likewise.
47205         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47206         <bp-sym.h>.
47207         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47208         (__bzero): Don't use BP_SYM.
47209         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47210         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47211         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47212         <bp-sym.h> and <bp-asm.h>.
47213         (memcpy): Don't use BP_SYM.
47214         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47215         <bp-sym.h> and <bp-asm.h>.
47216         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47217         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47218         <bp-sym.h> and <bp-asm.h>.
47219         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47220         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47221         <bp-asm.h>.
47222         (__mpn_lshift): Don't use BP_SYM.
47223         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47224         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47225         <bp-asm.h>.
47226         (memset): Don't use BP_SYM.
47227         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47228         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47229         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47230         <bp-asm.h>.
47231         (__mpn_mul_1): Don't use BP_SYM.
47232         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47233         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47234         <bp-sym.h> and <bp-asm.h>.
47235         (memcmp): Don't use BP_SYM.
47236         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47237         <bp-sym.h> and <bp-asm.h>.
47238         (memcpy): Don't use BP_SYM.
47239         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47240         <bp-sym.h> and <bp-asm.h>.
47241         (memset): Don't use BP_SYM.
47242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47243         <bp-sym.h> and <bp-asm.h>.
47244         (strncmp): Don't use BP_SYM.
47245         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47246         <bp-sym.h> and <bp-asm.h>.
47247         (memcpy): Don't use BP_SYM.
47248         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47249         <bp-sym.h> and <bp-asm.h>.
47250         (memset): Don't use BP_SYM.
47251         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47252         <bp-sym.h> and <bp-asm.h>.
47253         (__memchr): Don't use BP_SYM.
47254         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47255         <bp-sym.h> and <bp-asm.h>.
47256         (memcmp): Don't use BP_SYM.
47257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47258         <bp-sym.h> and <bp-asm.h>.
47259         (memcpy): Don't use BP_SYM.
47260         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47261         <bp-sym.h> and <bp-asm.h>.
47262         (__mempcpy): Don't use BP_SYM.
47263         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47264         <bp-sym.h> and <bp-asm.h>.
47265         (__memrchr): Don't use BP_SYM.
47266         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47267         <bp-sym.h> and <bp-asm.h>.
47268         (memset): Don't use BP_SYM.
47269         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47270         <bp-sym.h> and <bp-asm.h>.
47271         (__rawmemchr): Don't use BP_SYM.
47272         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47273         <bp-sym.h> and <bp-asm.h>.
47274         (__STRCMP): Don't use BP_SYM.
47275         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47276         <bp-sym.h> and <bp-asm.h>.
47277         (strchr): Don't use BP_SYM.
47278         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47279         <bp-sym.h> and <bp-asm.h>.
47280         (__strchrnul): Don't use BP_SYM.
47281         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47282         <bp-sym.h> and <bp-asm.h>.
47283         (strlen): Don't use BP_SYM.
47284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47285         <bp-sym.h> and <bp-asm.h>.
47286         (strncmp): Don't use BP_SYM.
47287         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47288         <bp-sym.h> and <bp-asm.h>.
47289         (__strnlen): Don't use BP_SYM.
47290         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47291         <bp-asm.h>.
47292         (__mpn_rshift): Don't use BP_SYM.
47293         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47294         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47295         <bp-sym.h> and <bp-asm.h>.
47296         (__sigsetjmp): Don't use BP_SYM.
47297         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47298         (L(start_addresses)): Don't use BP_SYM.
47299         (_start): Likewise.
47300         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47301         <bp-asm.h>.
47302         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47303         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47304         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47305         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47306         <bp-asm.h>.
47307         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47308         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47309         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47310         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47311         <bp-asm.h>.
47312         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47313         comments.
47314         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47315         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47316         <bp-asm.h>.
47317         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47318         FIXME comments.
47319         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47320         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47321         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47322         <bp-asm.h>.
47323         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47324         comment.
47325         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47326         and <bp-asm.h>.
47327         (strncmp): Don't use BP_SYM,
47328         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47329         <bp-asm.h>.
47330         (__mpn_sub_n): Don't use BP_SYM.
47331         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47332         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47333         and <bp-asm.h>.
47334         (__mpn_submul_1): Don't use BP_SYM.
47335         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47337         <bp-sym.h> and <bp-asm.h>.
47338         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47340         <bp-sym.h> and <bp-asm.h>.
47341         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47342         comment.
47344 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47347         Use ZK to minimize writes to Z.
47348         (sub_magnitudes): Simplify code a bit.
47349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47350         Use ZK to minimize writes to Z.
47351         (sub_magnitudes): Simplify code a bit.
47353 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47355         * csu/gmon-start.c: Add special exception to license text.
47357 2013-02-27  Richard Henderson  <rth@redhat.com>
47359         * scripts/config.guess: Update from config.git.
47360         * scripts/config.sub: Likewise.
47362 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47364         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47366         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47368         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47370         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47372         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47374 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47376         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47377         [$(build-shared = yes].
47379 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47381         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47382         (__mul): Reduce iterations for calculating mantissa.
47384         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47385         MPTWO.
47386         (__mpranred): Likewise.
47388         [BZ #15160]
47389         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47390         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47392 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47394         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47395         Define __attribute__.
47397 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47399         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47400         unused.
47401         * posix/regex_internal.h (__attribute): Remove.
47402         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47403         (re_string_context_at): Likewise.
47404         (bitset_not): Use __attribute__ and mark function as possibly
47405         unused.
47406         (bitset_merge): Likewise.
47407         (bitset_mask): Likewise.
47408         (re_string_char_size_at): Likewise.
47409         (re_string_wchar_at): Likewise.
47410         (re_string_elem_size_at): Likewise.
47412 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47414         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47415         code.
47416         (cc32): Likewise.
47418         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47419         (__acr): Likewise.
47420         (__cpy): Likewise.
47421         (norm): Likewise.
47422         (denorm): Likewise.
47423         (__dbl_mp): Likewise.
47424         (add_magnitudes): Likewise.
47425         (sub_magnitudes): Likewise.
47426         (__mul): Likewise.
47427         (__inv): Likewise.
47429         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47430         style.
47432         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47433         style.
47435         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47436         code.
47438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47439         up changes with default code.
47440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47441         Likewise.
47443 2013-02-24  Allan McRae  <allan@archlinux.org>
47445         * manual/socket.texi (The Internet Namespace): Order menu items
47446         to match that in the file.
47448         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47449         node listing of the info page menu.
47451 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47453         [BZ #13550]
47454         * sysdeps/i386/bp-asm.h: Remove file.
47455         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47456         (PARMS): Do not use macros from bp-asm.h.
47457         (S1): Likewise.
47458         (S2): Likewise.
47459         (SIZE): Likewise.
47460         (__mpn_add_n): Do not use BP_SYM
47461         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47462         "bp-asm.h".
47463         (PARMS): Do not use macros from bp-asm.h.
47464         (S1): Likewise.
47465         (SIZE): Likewise.
47466         (__mpn_addmul_1): Do not use BP_SYM
47467         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47468         "bp-asm.h".
47469         (PARMS): Do not use macros from bp-asm.h.
47470         (SIGMSK): Likewise.
47471         (_setjmp): Likewise.  Do not use BP_SYM.
47472         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47473         "bp-asm.h".
47474         (PARMS): Do not use macros from bp-asm.h.
47475         (SIGMSK): Likewise.
47476         (setjmp): Likewise.  Do not use BP_SYM.
47477         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47478         "bp-asm.h".
47479         (PARMS): Do not use macros from bp-asm.h.
47480         (__frexp): Do not use BP_SYM.
47481         (frexp): Likewise.
47482         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47483         "bp-asm.h".
47484         (PARMS): Do not use macros from bp-asm.h.
47485         (__frexpf): Do not use BP_SYM.
47486         (frexpf): Likewise.
47487         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47488         "bp-asm.h".
47489         (PARMS): Do not use macros from bp-asm.h.
47490         (__frexpl): Do not use BP_SYM.
47491         (frexpl): Likewise.
47492         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47493         "bp-asm.h".
47494         (PARMS): Do not use macros from bp-asm.h.
47495         (__remquo): Do not use BP_SYM.
47496         (remquo): Likewise.
47497         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47498         "bp-asm.h".
47499         (PARMS): Do not use macros from bp-asm.h.
47500         (__remquof): Do not use BP_SYM.
47501         (remquof): Likewise.
47502         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47503         "bp-asm.h".
47504         (PARMS): Do not use macros from bp-asm.h.
47505         (__remquol): Do not use BP_SYM.
47506         (remquol): Likewise.
47507         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47508         "bp-asm.h".
47509         (PARMS): Do not use macros from bp-asm.h.
47510         (DEST): Likewise.
47511         (SRC): Likewise.
47512         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47513         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47514         "bp-asm.h".
47515         (PARMS): Do not use macros from bp-asm.h.
47516         (strlen): Do not use BP_SYM.
47517         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47518         "bp-asm.h".
47519         (PARMS): Do not use macros from bp-asm.h.
47520         (S1): Likewise.
47521         (S2): Likewise.
47522         (SIZE): Likewise.
47523         (__mpn_add_n): Do not use BP_SYM.
47524         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47525         "bp-asm.h".
47526         (PARMS): Do not use macros from bp-asm.h.
47527         (S1): Likewise.
47528         (SIZE): Likewise.
47529         (__mpn_addmul_1): Do not use BP_SYM.
47530         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47531         weak_alias.
47532         (bzero): Likewise.
47533         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47534         "bp-asm.h".
47535         (PARMS): Do not use macros from bp-asm.h.
47536         (S): Likewise.
47537         (SIZE): Likewise.
47538         (__mpn_lshift): Do not use BP_SYM.
47539         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47540         "bp-asm.h".
47541         (PARMS): Do not use macros from bp-asm.h.
47542         (DEST): Likewise.
47543         (SRC): Likewise.
47544         (LEN): Likewise.
47545         (memcpy): Likewise.  Do not use BP_SYM.
47546         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47547         libc_hidden_def and weak_alias.
47548         (mempcpy): Do not use BP_SYM in weak_alias.
47549         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47550         "bp-asm.h".
47551         (PARMS): Do not use macros from bp-asm.h.
47552         (DEST): Likewise.
47553         (LEN): Likewise.
47554         [!BZERO_P] (CHR): Likewise.
47555         (memset): Likewise.  Do not use BP_SYM.
47556         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47557         "bp-asm.h".
47558         (PARMS): Do not use macros from bp-asm.h.
47559         (S1): Likewise.
47560         (SIZE): Likewise.
47561         (__mpn_mul_1): Do not use BP_SYM.
47562         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47563         "bp-asm.h".
47564         (PARMS): Do not use macros from bp-asm.h.
47565         (S): Likewise.
47566         (SIZE): Likewise.
47567         (__mpn_rshift): Do not use BP_SYM.
47568         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47569         "bp-asm.h".
47570         (PARMS): Do not use macros from bp-asm.h.
47571         (STR): Likewise.
47572         (CHR): Likewise.
47573         (strchr): Likewise.  Do not use BP_SYM.
47574         (index): Do not use BP_SYM in weak_alias.
47575         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47576         "bp-asm.h".
47577         (PARMS): Do not use macros from bp-asm.h.
47578         (DEST): Likewise.
47579         (SRC): Likewise.
47580         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47581         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47582         "bp-asm.h".
47583         (PARMS): Do not use macros from bp-asm.h.
47584         (strlen): Do not use BP_SYM.
47585         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47586         "bp-asm.h".
47587         (PARMS): Do not use macros from bp-asm.h.
47588         (S1): Likewise.
47589         (S2): Likewise.
47590         (SIZE): Likewise.
47591         (__mpn_sub_n): Do not use BP_SYM.
47592         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47593         "bp-asm.h".
47594         (PARMS): Do not use macros from bp-asm.h.
47595         (S1): Likewise.
47596         (SIZE): Likewise.
47597         (__mpn_submul_1): Do not use BP_SYM.
47598         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47599         "bp-asm.h".
47600         (PARMS): Do not use macros from bp-asm.h.
47601         (S1): Likewise.
47602         (S2): Likewise.
47603         (SIZE): Likewise.
47604         (__mpn_add_n): Do not use BP_SYM.
47605         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47606         weak_alias.
47607         (bzero): Likewise.
47608         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47609         "bp-asm.h".
47610         (PARMS): Do not use macros from bp-asm.h.
47611         (BLK2): Likewise.
47612         (LEN): Likewise.
47613         (memcmp): Do not use BP_SYM.
47614         (bcmp): Do not use BP_SYM in weak_alias.
47615         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47616         "bp-asm.h".
47617         (PARMS): Do not use macros from bp-asm.h.
47618         (DEST): Likewise.
47619         (SRC): Likewise.
47620         (LEN): Likewise.
47621         (memcpy): Likewise.  Do not use BP_SYM.
47622         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47623         "bp-asm.h".
47624         (PARMS): Do not use macros from bp-asm.h.
47625         (DEST): Likewise.
47626         (SRC): Likewise.
47627         (LEN): Likewise.
47628         (memmove): Likewise.  Do not use BP_SYM.
47629         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47630         "bp-asm.h".
47631         (PARMS): Do not use macros from bp-asm.h.
47632         (DEST): Likewise.
47633         (SRC): Likewise.
47634         (LEN): Likewise.
47635         (__mempcpy): Likewise.  Do not use BP_SYM.
47636         (mempcpy): Do not use BP_SYM in weak_alias.
47637         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47638         "bp-asm.h".
47639         (PARMS): Do not use macros from bp-asm.h.
47640         (DEST): Likewise.
47641         (LEN): Likewise.
47642         [!BZERO_P] (CHR): Likewise.
47643         (memset): Likewise.  Do not use BP_SYM.
47644         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47645         "bp-asm.h".
47646         (PARMS): Do not use macros from bp-asm.h.
47647         (STR2): Likewise.
47648         (strcmp): Do not use BP_SYM.
47649         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47650         "bp-asm.h".
47651         (PARMS): Do not use macros from bp-asm.h.
47652         (STR): Likewise.
47653         (DELIM): Likewise.
47654         [USE_AS_STRTOK_R] (SAVE): Likewise.
47655         (FUNCTION): Likewise.  Do not use BP_SYM.
47656         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47657         aliases.
47658         (strtok_r): Likewise.
47659         (__GI___strtok_r): Likewise.
47660         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47661         (PARMS): Do not use macros from bp-asm.h.
47662         (S): Likewise.
47663         (SIZE): Likewise.
47664         (__mpn_lshift): Do not use BP_SYM.
47665         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47666         (PARMS): Do not use macros from bp-asm.h.
47667         (STR): Likewise.
47668         (CHR): Likewise.
47669         (__memchr): Do not use BP_SYM.
47670         (memchr): Do not use BP_SYM in weak_alias.
47671         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47672         (PARMS): Do not use macros from bp-asm.h.
47673         (BLK2): Likewise.
47674         (LEN): Likewise.
47675         (memcmp): Do not use BP_SYM.
47676         (bcmp): Do not use BP_SYM in weak_alias.
47677         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47678         (PARMS): Do not use macros from bp-asm.h.
47679         (S1): Likewise.
47680         (SIZE): Likewise.
47681         (__mpn_mul_1): Do not use BP_SYM.
47682         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47683         "bp-asm.h".
47684         (PARMS): Do not use macros from bp-asm.h.
47685         (STR): Likewise.
47686         (CHR): Likewise.
47687         (__rawmemchr): Do not use BP_SYM.
47688         (rawmemchr): Do not use BP_SYM in weak_alias.
47689         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47690         (PARMS): Do not use macros from bp-asm.h.
47691         (S): Likewise.
47692         (SIZE): Likewise.
47693         (__mpn_rshift): Do not use BP_SYM.
47694         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47695         (PARMS): Do not use macros from bp-asm.h.
47696         (SIGMSK): Likewise.
47697         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47698         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47699         (_start): Do not use BP_SYM.
47700         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47701         (PARMS): Do not use macros from bp-asm.h.
47702         (DEST): Likewise.
47703         (SRC): Likewise.
47704         (__stpcpy): Likewise.  Do not use BP_SYM.
47705         (stpcpy): Do not use BP_SYM in weak_alias.
47706         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47707         "bp-asm.h".
47708         (PARMS): Do not use macros from bp-asm.h.
47709         (DEST): Likewise.
47710         (SRC): Likewise.
47711         (LEN): Likewise.
47712         (__stpncpy): Likewise.  Do not use BP_SYM.
47713         (stpncpy): Do not use BP_SYM in weak_alias.
47714         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47715         (PARMS): Do not use macros from bp-asm.h.
47716         (STR): Likewise.
47717         (CHR): Likewise.
47718         (strchr): Likewise.  Do not use BP_SYM.
47719         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47720         "bp-asm.h".
47721         (PARMS): Do not use macros from bp-asm.h.
47722         (STR): Likewise.
47723         (CHR): Likewise.
47724         (__strchrnul): Likewise.  Do not use BP_SYM.
47725         (strchrnul): Do not use BP_SYM in weak_alias.
47726         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47727         "bp-asm.h".
47728         (PARMS): Do not use macros from bp-asm.h.
47729         (STOP): Likewise.
47730         (strcspn): Do not use BP_SYM.
47731         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47732         "bp-asm.h".
47733         (PARMS): Do not use macros from bp-asm.h.
47734         (STR): Likewise.
47735         (STOP): Likewise.
47736         (strpbrk): Likewise.  Do not use BP_SYM.
47737         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47738         "bp-asm.h".
47739         (PARMS): Do not use macros from bp-asm.h.
47740         (STR): Likewise.
47741         (CHR): Likewise.
47742         (strrchr): Likewise.  Do not use BP_SYM.
47743         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47744         (PARMS): Do not use macros from bp-asm.h.
47745         (SKIP): Likewise.
47746         (strspn): Do not use BP_SYM.
47747         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47748         (PARMS): Do not use macros from bp-asm.h.
47749         (STR): Likewise.
47750         (DELIM): Likewise.
47751         (SAVE): Likewise.
47752         (FUNCTION): Likewise.  Do not use BP_SYM.
47753         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47754         aliases.
47755         (strtok_r): Likewise.
47756         (__GI___strtok_r): Likewise.
47757         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47758         (PARMS): Do not use macros from bp-asm.h.
47759         (S1): Likewise.
47760         (S2): Likewise.
47761         (SIZE): Likewise.
47762         (__mpn_sub_n): Do not use BP_SYM.
47763         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47764         "bp-asm.h".
47765         (PARMS): Do not use macros from bp-asm.h.
47766         (S1): Likewise.
47767         (SIZE): Likewise.
47768         (__mpn_submul_1): Do not use BP_SYM.
47769         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47770         <bp-sym.h>.
47771         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47772         and <bp-asm.h>.
47773         (PARMS): Do not use macros from bp-asm.h.
47774         (FLAGS): Likewise.
47775         (PTID): Likewise.
47776         (TLS): Likewise.
47777         (CTID): Likewise.
47778         (__clone): Do not use BP_SYM.
47779         (clone): Do not use BP_SYM in weak_alias.
47780         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47781         and <bp-asm.h>.
47782         (PARMS): Do not use macros from bp-asm.h.
47783         (LEN): Likewise.
47784         (__mmap64): Do not use BP_SYM.
47785         (mmap64): Do not use BP_SYM in weak_alias.
47786         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47787         <bp-sym.h> and <bp-asm.h>.
47788         (PARMS): Do not use macros from bp-asm.h.
47789         (__posix_fadvise64_l64): Do not use BP_SYM.
47790         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47791         (PARMS): Do not use macros from bp-asm.h.
47792         (NSOPS): Likewise.
47793         (semtimedop): Do not use BP_SYM.
47794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47795         and <bp-asm.h>.
47797 2013-02-21  Allan McRae  <allan@archlinux.org>
47799         * manual/message.texi (Charset conversion in gettext):
47800         Move @end statement to beginning of line.
47802 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47805         static.
47806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47807         Likewise.
47809         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47810         (denorm): Likewise.
47811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47814 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47816         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47817         tail-call to the resolved function if pltexit isn't needed.
47819 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47822         or Y being zero as being unlikely.
47823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47824         Likewise.
47826 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47828         * manual/nss.texi (System Databases and Name Service Switch):
47829         Remove frobnicate @pxref.
47831 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47833         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47834         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47836 2013-02-20  Petr Machata  <pmachata@redhat.com>
47838         * elf/elf.h (R_ARM_TARGET1): New macro.
47839         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47840         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47841         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47842         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47843         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47844         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47845         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47846         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47847         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47848         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47849         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47850         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47851         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47852         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47853         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47854         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47855         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47856         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47857         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47858         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47859         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47860         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47861         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47862         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47863         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47864         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47865         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47866         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47867         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47868         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47869         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47870         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47871         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47872         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47873         (R_ARM_THM_GOT_BREL12): Likewise.
47874         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47875         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47876         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47877         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47878         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47879         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47880         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47881         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47882         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47884 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47886         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47887         __attribute_used__ to __attribute__ ((unused)).
47889 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47891         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47892         powerpc mpa.c.
47893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47894         comment formatting.
47895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47897 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47899         [BZ #13550]
47900         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47901         Remove macro.
47902         (ENTER): Remove both macro definitions.
47903         (LEAVE): Likewise.
47904         (CHECK_BOUNDS_LOW): Likewise.
47905         (CHECK_BOUNDS_HIGH): Likewise.
47906         (CHECK_BOUNDS_BOTH): Likewise.
47907         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47908         (RETURN_BOUNDED_POINTER): Likewise.
47909         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47910         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47911         (POP_ERRNO_LOCATION_RETURN): Likewise.
47912         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47913         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47914         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47915         macros.
47916         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47917         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47918         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47919         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47920         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47921         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47922         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47923         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47924         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47925         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47926         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47927         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47928         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47929         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47930         removed macros.
47931         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47932         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47933         macros.
47934         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47935         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47936         * sysdeps/i386/i586/memset.S (memset): Likewise.
47937         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47938         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47939         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47940         macros.
47941         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47942         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47943         Change uses of L(2) to L(out).
47944         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47945         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47946         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47947         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47948         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47949         removed macros.
47950         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47951         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47952         macros.
47953         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47954         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47955         (RETURN): Do not use macro LEAVE.
47956         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47957         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47958         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47959         * sysdeps/i386/i686/memset.S (memset): Likewise.
47960         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47961         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47962         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47963         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47964         Likewise.
47965         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47966         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47967         L(1_2) and L(1_3) into L(1).
47968         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47969         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47970         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47971         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47972         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47973         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47974         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47975         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47976         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47977         macros.
47978         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47979         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47980         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47981         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47982         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47983         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47984         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47985         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47986         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47987         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47988         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47989         * sysdeps/i386/strspn.S (strspn): Likewise.
47990         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47991         conditional code.
47992         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47993         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47994         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47995         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47996         L(1_3) into L(1_1).
47997         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47998         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47999         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48000         macros.
48001         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48003 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48005         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48006         macro.
48008 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48010         * math/atest-exp.c (exp_mpn): Remove ROUND.
48011         * math/atest-exp2.c (exp_mpn): Likewise.
48012         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48014         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48015         * stdlib/tst-tls-atexit-lib.c: Likewise.
48016         * stdlib/tst-tls-atexit.c: Likewise.
48018 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48020         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48021         and __attribute_alloc_size__.
48023 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48025         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48026         __attribute_alloc_size__.
48027         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48028         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48030 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48032         * include/programs/xmalloc.h: New file.
48033         * catgets/gencat.c: Include it.
48034         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48035         * elf/pldd.c: Likewise.
48036         * iconv/iconv_charmap.c: Likewise.
48037         * iconv/iconvconfig.c: Likewise.
48038         * iconv/strtab.c: Likewise.
48039         * locale/programs/locale.c: Likewise.
48040         * locale/programs/localedef.h: Likewise.
48041         * locale/programs/simple-hash.c: Likewise.
48042         * nscd/nscd.h: Likewise.
48043         * nss/makedb.c: Likewise.
48044         * sysdeps/generic/ldconfig.h: Likewise.
48046 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48048         * Versions.def: Add GLIBC_2.18.
48049         * include/link.h (struct link_map): New member l_tls_dtor_count.
48050         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48051         (__call_tls_dtors): Likewise.
48052         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48053         __cxa_thread_atexit_impl.
48054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48055         Likewise.
48056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48057         Likewise.
48058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48059         Likewise.
48060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48061         Likewise.
48062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48064         Likewise.
48065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48066         Likewise.
48067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48069         Likewise.
48070         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48071         (tests): Add test case tst-tls-atexit.
48072         (modules-names): Add shared library for tst-tls-atexit.
48073         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48074         (GLIBC_PRIVATE): Add __call_tls_dtors.
48075         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48076         for libstdc++.
48077         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48078         * stdlib/tst-tls-atexit.c: New test case.
48079         * stdlib/tst-tls-atexit-lib.c: New test case.
48081         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48083         * elf/Versions (ld): Add _dl_find_dso_for_object.
48084         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48085         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48086         (dl_open_worker): Use _dl_find_dso_for_object.
48087         * elf/dl-sym.c (do_sym): Likewise.
48088         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48090 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48092         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48093         Syntactic changes only.
48094         (_dl_runtime_profile): Do a tail-call to the resolved function.
48096 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48098         [BZ #13550]
48099         * sysdeps/x86_64/bp-asm.h: Remove file.
48100         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48101         <bp-sym.h> and <bp-asm.h>.
48102         (__clone): Do not use BP_SYM.
48103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48104         <bp-sym.h> and <bp-asm.h>.
48105         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48106         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48107         "bp-asm.h".
48108         (_setjmp): Do not use BP_SYM.
48109         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48110         "bp-asm.h".
48111         (setjmp): Do not use BP_SYM.
48112         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48113         libc_hidden_def.
48114         (mempcpy): Do not use BP_SYM in weak_alias.
48115         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48116         "bp-asm.h".
48117         (strchr): Do not use BP_SYM.
48118         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48119         "bp-asm.h".
48120         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48121         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48122         (_start): Do not use BP_SYM.
48123         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48124         "bp-asm.h".
48125         (strcat): Do not use BP_SYM.
48126         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48127         "bp-asm.h".
48128         (STRCMP): Do not use BP_SYM.
48129         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48130         "bp-asm.h".
48131         (STRCPY): Do not use BP_SYM.
48132         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48133         "bp-asm.h".
48134         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48135         "bp-asm.h".
48136         (FUNCTION): Do not use BP_SYM.
48137         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48138         weak_alias.
48139         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48141 2013-02-17  Andreas Jaeger  <aj@suse.de>
48143         * time/Versions: Sort entries.
48144         * string/Versions: Likewise.
48145         * resolv/Versions: Likewise.
48146         * posix/Versions: Likewise.
48147         * iconv/Versions: Likewise.
48148         * elf/Versions: Likewise.
48149         * wcsmbs/Versions: Likewise.
48151 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48153         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48154         loop termination condition.
48156         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48157         variable to calculate EZ.
48158         (__sqr): Likewise.
48160         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48161         the lower precision input.
48163 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48165         [BZ #13550]
48166         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48167         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48168         (run-via-rtld-prefix): Do not handle %-bp tests.
48169         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48170         (all-object-suffixes): Remove .ob.
48171         (bppfx): Remove variable.
48172         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48173         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48174         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48175         [$(build-bounded) = yes] (libtype.ob): Likewise.
48176         * Makerules (elide-routines.ob): Remove variable.
48177         (do-tests-clean): Do not handle *-bp.out.
48178         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48179         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48180         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48181         (tests): Do not include $(tests-bp.out).
48182         (xtests): Do not include $(xtests-bp.out).
48183         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48184         [$(build-bounded) = yes] ($(addprefix
48185         $(objpfx),$(binaries-bounded))): Remove rule.
48186         ($(objpfx)%-bp.out): Remove rule.
48187         * config.make.in (build-bounded): Remove variable.
48188         * crypt/Makefile [$(build-bounded) = yes]
48189         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48190         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48191         append to variable.
48192         [$(build-bounded) = yes] (install-lib): Likewise.
48193         [$(build-bounded) = yes] (generated): Likewise.
48194         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48195         Remove rule.
48196         * intl/Makefile [$(build-bounded) = yes]
48197         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48198         * math/Makefile [$(build-bounded) = yes]
48199         ($(tests:%=$(objpfx)%-bp): Likewise.
48200         * misc/Makefile [$(build-bounded) = yes]
48201         ($(objpfx)tst-tsearch-bp): Likewise.
48202         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48203         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48204         Remove dependency.
48205         * string/Makefile (o-objects.ob): Remove variable.
48206         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48207         (CFLAGS-.ob): Remove variable.
48208         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48209         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48210         both definitions of variable.
48211         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48212         (ASFLAGS-.ob): Remove variable.
48214 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48216         [BZ #13550]
48217         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48218         Remove __BOUNDED_POINTERS__ from condition.
48219         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48220         * string/bits/string2.h [!__NO_STRING_INLINES &&
48221         !__BOUNDED_POINTERS__]: Likewise.
48222         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48223         Likewise.
48224         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48225         Remove conditional code.
48226         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48227         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48228         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48229         condition.
48231         [BZ #13550]
48232         * csu/libc-start.c: Do not include <bp-sym.h>.
48233         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48234         * elf/dl-open.c: Do not include <bp-sym.h>.
48235         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48236         * math/fegetenv.c: Do not include <bp-sym.h>.
48237         (fegetenv): Do not use BP_SYM in versioned symbols.
48238         * nptl/sysdeps/pthread/bits/libc-lockP.h
48239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48240         <bp-sym.h>.
48241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48242         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48244         (__pthread_mutex_destroy): Likewise.
48245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48246         (__pthread_mutex_lock): Likewise.
48247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48248         (__pthread_mutex_trylock): Likewise.
48249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48250         (__pthread_mutex_unlock): Likewise.
48251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48252         (__pthread_mutexattr_init): Likewise.
48253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48254         (__pthread_mutexattr_destroy): Likewise.
48255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48256         (__pthread_mutexattr_settype): Likewise.
48257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48258         (__pthread_rwlock_init): Likewise.
48259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48260         (__pthread_rwlock_destroy): Likewise.
48261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48262         (__pthread_rwlock_rdlock): Likewise.
48263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48264         (__pthread_rwlock_tryrdlock): Likewise.
48265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48266         (__pthread_rwlock_wrlock): Likewise.
48267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48268         (__pthread_rwlock_trywrlock): Likewise.
48269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48270         (__pthread_rwlock_unlock): Likewise.
48271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48272         (__pthread_key_create): Likewise.
48273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48274         (__pthread_setspecific): Likewise.
48275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48276         (__pthread_getspecific): Likewise.
48277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48278         Likewise.
48279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48280         (_pthread_cleanup_push_defer): Likewise.
48281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48282         (_pthread_cleanup_pop_restore): Likewise.
48283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48284         (pthread_setcancelstate): Likewise.
48285         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48286         <bp-sym.h>.
48287         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48288         (memchr): Do not use BP_SYM in weak_alias.
48289         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48290         (fegetenv): Do not use BP_SYM in versioned symbols.
48291         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48292         (fesetenv): Do not use BP_SYM in versioned symbols.
48293         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48294         (feupdateenv): Do not use BP_SYM in versioned symbols.
48295         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48296         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48297         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48298         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48299         (open64): Do not use BP_SYM in weak_alias.
48300         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48301         (fegetenv): Do not use BP_SYM in versioned symbols.
48302         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48303         (fesetenv): Do not use BP_SYM in versioned symbols.
48304         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48305         (feupdateenv): Do not use BP_SYM in versioned symbols.
48306         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48307         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48308         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48309         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48310         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48311         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48312         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48313         <bp-sym.h>.
48314         (__libc_start_main): Do not use BP_SYM.
48316 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48319         redundant return line.
48320         (norm): Likewise.
48321         (denorm): Likewise.
48322         (dbl_mp): Likewise.
48323         (sub_magnitudes): Likewise.
48324         (__add): Likewise.
48325         (__sub): Likewise.
48326         (__mul): Likewise.
48327         (__inv): Likewise.
48328         (__dvd): Likewise.
48329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48330         (norm): Likewise.
48331         (denorm): Likewise.
48332         (dbl_mp): Likewise.
48333         (sub_magnitudes): Likewise.
48334         (__add): Likewise.
48335         (__sub): Likewise.
48336         (__mul): Likewise.
48337         (__inv): Likewise.
48338         (__dvd): Likewise.
48340         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48341         instead of __mul.
48342         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48343         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48344         (cc32): Likewise.
48346         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48347         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48349         of __mul for squares.
48350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48351         function
48352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48353         Likewise.
48354         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48355         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48357 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48359         [BZ #13550]
48360         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48361         code.
48362         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48363         prototype or function definition.  Rename ubp_* variables and
48364         parameters.  Remove argv definitions conditional on
48365         [__BOUNDED_POINTERS__].
48366         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48367         * elf/dl-runtime.c (_dl_fixup): Likewise.
48368         * include/set-hooks.h (RUN_HOOK): Likewise.
48369         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48370         definition.
48371         * string/strcpy.c (strcpy): Do not use __unbounded.
48372         * sysdeps/generic/frame.h (struct layout): Likewise.
48373         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48374         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48375         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48376         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48377         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48378         (__backtrace): Likewise.
48379         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48380         use __ptrvalue.
48381         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48382         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48383         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48384         Likewise.
48385         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48386         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48387         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48388         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48389         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48390         Do not use __unbounded.
48391         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48392         Rename __unboundedrlimits parameter to rlimits in prototype.
48393         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48394         Do not use __unbounded.
48395         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48396         not use __ptrvalue.
48397         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48398         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48399         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48401         __ptrvalue or __unbounded.
48402         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48403         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48404         use __unbounded.
48405         (__new_msgctl): Do not use __ptrvalue.
48406         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48407         __unbounded.
48408         (__libc_msgrcv): Do not use __ptrvalue.
48409         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48410         startup_info): Do not use __unbounded.
48411         (__libc_start_main): Likewise.  Rename ubp_* variables and
48412         parameters.  Remove argv definitions conditional on
48413         [__BOUNDED_POINTERS__].
48414         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48415         __ptrvalue.
48416         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48417         use __unbounded.
48418         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48419         or __ptrvalue.
48420         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48421         use __unbounded.
48422         (__new_shmctl): Do not use __ptrvalue.
48423         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48424         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48425         Likewise.
48426         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48427         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48428         (__libc_sigaction): Likewise.
48429         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48430         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48431         Likewise.
48432         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48434 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48436         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48438         * string/mempcpy.c: Implement by calling memcpy.
48440 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48442         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48445         evaluation.
48447         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48448         values in the mantissa.
48450         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48451         minimize writes to Z.
48452         (sub_magnitudes): Simplify code a bit.
48454 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48456         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48457         from the message.  The linker prefixes all warnings with that already.
48459 2013-02-12  Andreas Schwab  <schwab@suse.de>
48461         [BZ #15078]
48462         * posix/regexec.c (extend_buffers): Add parameter min_len.
48463         (check_matching): Pass minimum needed length.
48464         (clean_state_log_if_needed): Likewise.
48465         (get_subexp): Likewise.
48466         * posix/Makefile (tests): Add bug-regex34.
48467         (bug-regex34-ENV): Define.
48468         * posix/bug-regex34.c: New file.
48470         [BZ #11561]
48471         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48472         elements compare against the byte sequence of it, not its name.
48473         * posix/Makefile (tests): Add bug-regex35.
48474         (bug-regex35-ENV): Define.
48475         * posix/bug-regex35.c: New file.
48477 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48479         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48480         comment.
48481         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48482         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48483         (CHECK_EOL): Add undef.
48485 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48487         * bits/stdlib-bsearch.h: New file.
48488         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48489         * stdlib/stdlib.h: Likewise.
48491 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48493         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48494         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48495         declaration.
48496         * manual/search.texi (Array Search Function): Add missing const in
48497         lfind prototype.
48498         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48499         declaration to use rlim_t.
48500         (Basic Scheduling Functions): Remove erroneous const from
48501         sched_getparam prototype.  Remove erroneous * from
48502         sched_get_priority_max and sched_get_priority_min prototypes.
48503         (Resource Usage): Fix summary @comment on vtimes to refer to
48504         sys/vtimes.h rather than vtimes.h.
48505         Add missing *s in vtimes prototype.
48506         (Limits on Resources): Fix ulimit prototype to return long int.
48507         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48508         prototypes to use long int rather than double.
48509         (BSD Random): Fix initstate and setstate to use char *, not void *.
48510         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48511         prototype to make second argument 'struct aiocb64 *const[]'.
48512         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48513         (Status of AIO Operations): Remove erroneous const in aio_return and
48514         aio_return64 prototypes.
48515         (Synchronizing I/O): Fix sync prototype to return void.
48516         * manual/startup.texi (Suboptions): Remove an erroneous const in
48517         getsubopt prototype.
48518         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48519         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48520         use size_t rather than int.
48521         (Scanning All Users): Likewise for getpwent_r.
48522         (Setting Groups): Add missing const to setgroups prototype.
48523         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48524         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48525         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48526         'const void *' rather than 'const char *'.
48527         (Host Address Functions): Likewise for inet_ntop.
48528         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48529         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48530         ssize_t for return value.
48531         (Sending Data): Likewise for send, sendto, sendmsg.
48532         (Socket Option Functions): Add a missing const in setsockopt prototype.
48533         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48534         use wchar_t for the argument.
48535         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48536         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48537         take no arguments.
48538         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48539         double/float/long double for second argument.
48540         Fix return types of significand, significandf, significandl.
48541         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48542         argument in fchmod prototype.
48543         (File Owner): Use uid_t and gid_t in fchown prototype.
48544         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48545         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48546         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48547         use 'const struct dirent **' as argument types to CMP function pointer
48548         argument.
48549         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48550         (File Times): Fix summary magic @comment for struct utimbuf and utime
48551         to refer to utime.h, not time.h.
48552         * manual/string.texi (Argz Functions): Add missing const in
48553         argz_extract and argz_next prototypes.
48554         (Finding Tokens in a String): Likewise for basename.
48555         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48556         (Copying and Concatenation): Fix typo in wmemmove prototype.
48557         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48558         (Signal Stack): Remove erroneous const in sigstack prototype.
48559         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48560         prototype.
48561         (Simple Calendar Time): Likewise for stime.
48562         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48563         prototype.
48564         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48565         say sys/sysctl.h instead.
48566         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48567         and vsyslog prototypes.
48569 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48571         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48572         Remove.
48574 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48576         * misc/sys/mman.h: Fix typo in mremap comment.
48578 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48580         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48581         the '\0' terminator.
48583 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48585         [BZ #13550]
48586         * debug/segfault.c: Don't include <bp-checks.h>.
48587         * sysdeps/generic/bp-checks.h: Remove file.
48588         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48589         (__GETDENTS): Don't use CHECK_N.
48590         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48591         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48592         (__getgroups): Don't use CHECK_N.
48593         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48594         (setgroups): Don't use CHECK_N.
48595         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48596         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48597         (__libc_msgrcv): Don't use CHECK_N.
48598         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48599         (__libc_msgsnd): Don't use CHECK_N.
48600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48601         <bp-checks.h>.
48602         (__libc_pread): Don't use CHECK_N.
48603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48604         include <bp-checks.h>.
48605         (__libc_pread64): Don't use CHECK_N.
48606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48607         include <bp-checks.h>.
48608         (__libc_pwrite): Don't use CHECK_N.
48609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48610         include <bp-checks.h>.
48611         (__libc_pwrite64): Don't use CHECK_N.
48612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48613         <bp-checks.h>.
48614         (__libc_pread): Don't use CHECK_N.
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48616         include <bp-checks.h>.
48617         (__libc_pread64): Don't use CHECK_N.
48618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48619         include <bp-checks.h>.
48620         (__libc_pwrite): Don't use CHECK_N.
48621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48622         include <bp-checks.h>.
48623         (__libc_pwrite64): Don't use CHECK_N.
48624         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48625         (do_pread): Don't use CHECK_N.
48626         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48627         (do_pread64): Don't use CHECK_N.
48628         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48629         (do_pwrite): Don't use CHECK_N.
48630         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48631         (do_pwrite64): Don't use CHECK_N.
48632         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48633         (__libc_readv): Don't use CHECK_N.
48634         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48635         (semop): Don't use CHECK_N.
48636         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48637         <bp-checks.h>.
48638         (semtimedop): Don't use CHECK_N.
48639         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48640         (__libc_pread): Don't use CHECK_N.
48641         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48642         <bp-checks.h>.
48643         (__libc_pread64): Don't use CHECK_N.
48644         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48645         <bp-checks.h>.
48646         (__libc_pwrite): Don't use CHECK_N.
48647         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48648         <bp-checks.h>.
48649         (__libc_pwrite64): Don't use CHECK_N.
48650         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48651         <bp-checks.h>.
48652         (__libc_msgrcv): Don't use CHECK_N.
48653         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48654         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48655         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48656         (__libc_writev): Don't use CHECK_N.
48658 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48660         * string/strcpy.c: Removed unused variable.
48662         * Makeconfig (+sysdep-includes): Define with := rather than =.
48663         Use an existing include/ subdir of each sysdeps dir before it.
48665 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48667         * nscd/connection.c (register_traced_file): Comment function.
48668         [HAVE_INOTIFY] (union __inev): Define.
48669         [HAVE_INOTIFY] (inotify_check_files): New function.
48670         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48671         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48672         clear_db_cache.
48673         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48675 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48677         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48678         loaded if not already and that a failure is permanent.
48680 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48682         [BZ #15006]
48683         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48684         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48686 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48688         [BZ #13550]
48689         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48690         (CHECK_1_NULL_OK): Likewise.
48691         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48692         (__fxstat): Do not use CHECK_1.
48693         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48694         <bp-checks.h>.
48695         (___fxstat64): Do not use CHECK_1.
48696         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48697         <bp-checks.h>.
48698         (__fxstatat): Do not use CHECK_1.
48699         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48700         <bp-checks.h>.
48701         (__fxstatat64): Do not use CHECK_1.
48702         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48703         <bp-checks.h>.
48704         (__fxstat): Do not use CHECK_1.
48705         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48706         <bp-checks.h>.
48707         (__fxstatat): Do not use CHECK_1.
48708         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48709         <bp-checks.h>.
48710         (__getresgid): Do not use CHECK_1.
48711         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48712         <bp-checks.h>.
48713         (__getresuid): Do not use CHECK_1.
48714         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48715         <bp-checks.h>.
48716         (__lxstat): Do not use CHECK_1.
48717         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48718         <bp-checks.h>.
48719         (__old_msgctl): Do not use CHECK_1.
48720         (__new_msgctl): Likewise.
48721         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48722         <bp-checks.h>.
48723         (__new_setrlimit): Do not use CHECK_1.
48724         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48725         <bp-checks.h>.
48726         (__old_shmctl): Do not use CHECK_1.
48727         (__new_shmctl): Likewise.
48728         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48729         <bp-checks.h>.
48730         (__xstat): Do not use CHECK_1.
48731         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48732         (__lxstat): Do not use CHECK_1.
48733         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48734         <bp-checks.h>.
48735         (___lxstat64): Do not use CHECK_1.
48736         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48737         (__old_msgctl): Do not use CHECK_1.
48738         (__new_msgctl): Likewise.
48739         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48740         <bp-checks.h>.
48741         (__gettimeofday): Do not use CHECK_1.
48742         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48743         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48744         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48745         <bp-checks.h>.
48746         (__gettimeofday): Do not use CHECK_1.
48747         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48748         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48749         (__new_shmctl): Do not use CHECK_1.
48750         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48751         <bp-checks.h>.
48752         (do_sigtimedwait): Do not use CHECK_1.
48753         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48754         <bp-checks.h>.
48755         (do_sigwaitinfo): Do not use CHECK_1.
48756         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48757         <bp-checks.h>.
48758         (msgctl): Do not use CHECK_1.
48759         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48760         <bp-checks.h>.
48761         (shmctl): Do not use CHECK_1.
48762         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48763         (ustat): Do not use CHECK_1.
48764         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48765         <bp-checks.h>.
48766         (__fxstat): Do not use CHECK_1.
48767         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48768         <bp-checks.h>.
48769         (__fxstatat): Do not use CHECK_1.
48770         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48771         <bp-checks.h>.
48772         (__lxstat): Do not use CHECK_1.
48773         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48774         <bp-checks.h>.
48775         (__xstat): Do not use CHECK_1.
48776         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48777         (__xstat): Do not use CHECK_1.
48778         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48779         (___xstat64): Do not use CHECK_1.
48781         [BZ #13550]
48782         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48783         definitions.
48784         (CHECK_BOUNDS_HIGH): Likewise.
48785         * string/strcpy.c: Do not include <bp-checks.h>.
48786         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48788 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48790         * nscd/nscd-client.h (__nscd_drop_map_ref):
48791         Add __attribute__ ((unused)).
48792         * nis/nss-nisplus.h (niserr2nss): Likewise.
48794         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48795         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48797         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48798         Remove inline keyword.
48799         * include/rounding-mode.h (round_away): Likewise.
48800         * libio/wfileops.c (adjust_wide_data): Likewise.
48801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48802         (__m128i_strloadu_tolower): Likewise.
48803         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48804         (__m128i_strloadu_tolower): Likewise.
48805         * time/mktime.c (ydhms_diff): Likewise.
48806         * locale/elem-hash.h (elem_hash): Likewise.
48807         * locale/setlocale.c (setdata): Likewise.
48808         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48809         (re_string_wchar_at): Likewise.
48810         (bitset_not, bitset_merge, bitset_mask): Likewise.
48811         [!(__GNUC__ > 3)] (inline): Remove macro.
48812         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48813         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48814         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48815         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48816         * string/memcmp.c (memcmp_bytes): Likewise.
48817         * locale/programs/locarchive.c (compute_hashval): Likewise.
48818         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48819         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48820         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48821         * nss/getent.c (print_rpc, print_protocols): Likewise.
48822         (print_passwd, print_group, print_aliases): Likewise.
48823         * nis/nss-nisplus.h (niserr2nss): Likewise.
48824         * nscd/connections.c (restart_p): Likewise.
48825         Change return type to bool.
48827 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48829         * Makeconfig (all-Depend-files): Add existing
48830         $(sorted-subdirs:=/Depend) files.
48831         (all-subdirs): Remove nss.
48832         * sysdeps/unix/inet/Subdirs: Add it here instead.
48833         * hesiod/Depend: New file.
48835         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48836         instead of calling alloca.
48838         * io/lseek.c (__lseek): Rename to __libc_lseek.
48839         Define __lseek as an alias.
48841         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48843 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48845         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48846         else clause and remove check for non-standard endianness.
48848 2013-02-04  David S. Miller  <davem@davemloft.net>
48850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48852 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48854         [BZ #13550]
48855         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48856         (__ubp_memchr): Remove prototype.
48857         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48858         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48859         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48860         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48861         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48862         Remove alias.
48863         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48864         (__ubp_memchr): Likewise.
48865         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48866         (__ubp_memchr): Likewise.
48867         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48868         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48869         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48870         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48871         CHECK_STRING.
48872         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48873         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48874         (__getcwd): Do not use CHECK_STRING.
48875         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48876         <bp-checks.h>.
48877         (__real_chown): Do not use CHECK_STRING.
48878         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48879         <bp-checks.h>.
48880         (fchownat): Do not use CHECK_STRING.
48881         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48882         CHECK_STRING.
48883         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48884         <bp-checks.h>.
48885         (__lchown): Do not use CHECK_STRING.
48886         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48887         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48888         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48889         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48891         include <bp-checks.h>.
48892         (truncate64): Do not use CHECK_STRING.
48893         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48894         <bp-checks.h>.
48895         (__real_chown): Do not use CHECK_STRING.
48896         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48897         <bp-checks.h>.
48898         (__lchown): Do not use CHECK_STRING.
48899         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48900         <bp-checks.h>.
48901         (__chown): Do not use CHECK_STRING.
48902         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48903         <bp-checks.h>.
48904         (truncate64): Do not use CHECK_STRING.
48905         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48906         Likewise.
48907         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48908         (__xmknod): Do not use CHECK_STRING.
48909         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48910         <bp-checks.h>.
48911         (__xmknodat): Do not use CHECK_STRING.
48912         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48913         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48915 2013-02-04  Andreas Schwab  <schwab@suse.de>
48917         [BZ #14142]
48918         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48919         * include/netdb.h: Likewise for h_errno.
48920         * elf/tst-stackguard1.c: Include <tls.h>.
48922 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48924         * elf/link.h (struct link_map): Extend the l_addr comment.
48925         * include/link.h (struct link_map): Likewise.
48927 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48929         [BZ #13550]
48930         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48931         (BOUNDED_1): Remove macro.
48932         * debug/backtrace.c: Don't include <bp-checks.h>.
48933         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48934         (__backtrace): Likewise.
48935         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48936         <bp-checks.h>.
48937         (__backtrace): Don't use BOUNDED_1.
48938         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48939         <bp-checks.h>.
48940         (__backtrace): Don't use BOUNDED_1.
48941         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48942         (__backtrace): Don't use BOUNDED_1.
48943         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48944         (shmat): Don't use BOUNDED_N.
48946 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48948         [BZ #13550]
48949         * sysdeps/generic/bp-start.h: Remove file.
48950         * csu/libc-start.c: Don't include <bp-start.h>.
48951         (LIBC_START_MAIN): Set up __environ directly instead of using
48952         INIT_ARGV_and_ENVIRON.
48953         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48954         <bp-start.h>.
48956         [BZ #13550]
48957         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48958         definitions.
48959         (CHECK_FCNTL): Likewise.
48960         (CHECK_N_PAGES): Likewise.
48962         [BZ #13550]
48963         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48964         definitions.
48965         (CHECK_SIGSET_NULL_OK): Likewise.
48966         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48967         <bp-checks.h>.
48968         (sigpending): Don't use CHECK_SIGSET.
48969         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48970         <bp-checks.h>.
48971         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48972         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48973         <bp-checks.h>.
48974         (do_sigsuspend): Don't use CHECK_SIGSET.
48975         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48976         use CHECK_SIGSET.
48977         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48978         (do_sigwait): Don't use CHECK_SIGSET.
48979         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48980         use CHECK_SIGSET.
48981         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48982         include <bp-checks.h>.
48983         (sigpending): Don't use CHECK_SIGSET.
48984         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48985         include <bp-checks.h>.
48986         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48987         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48988         <bp-checks.h>.
48989         (sigpending): Don't use CHECK_SIGSET.
48990         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48991         <bp-checks.h>.
48992         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48994         [BZ #13550]
48995         * sysdeps/generic/bp-semctl.h: Remove file.
48996         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48997         <bp-checks.h> and <bp-semctl.h>.
48998         (__old_semctl): Don't use CHECK_SEMCTL.
48999         (__new_semctl): Likewise.
49000         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49001         and <bp-semctl.h>.
49002         (__old_semctl): Don't use CHECK_SEMCTL.
49003         (__new_semctl): Likewise.
49004         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49005         <bp-checks.h> and <bp-semctl.h>.
49006         (__old_semctl): Don't use CHECK_SEMCTL.
49007         (__new_semctl): Likewise.
49008         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49009         <bp-checks.h> and <bp-semctl.h>.
49010         (semctl): Don't use CHECK_SEMCTL.
49012         [BZ #13550]
49013         * Makerules (elide-bp-thunks): Remove variable.
49014         (elide-routines.oS): Don't use $(elide-bp-thunks).
49015         (elide-routines.os): Likewise.
49016         (elide-routines.o): Likewise.
49017         (elide-routines.op): Likewise.
49018         (elide-routines.og): Likewise.
49019         (objects): Don't use $(bp-thunks).
49020         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49021         include.
49022         (common-generated): Do not add s-proto-bp.d.
49023         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49024         (int): Likewise.
49025         (typ): Likewise.
49026         Do not generate makefile rules for bounded-pointer thunks.
49027         * sysdeps/generic/bp-thunks.h: Remove file.
49028         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49029         * sysdeps/unix/s-proto-bp.S: Likewise.
49031         [BZ #15062]
49032         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49033         parts of result separately when argument is not close to line from
49034         -i to i and one part of argument is small.
49035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49037         * math/libm-test.inc (cacos_test): Add more tests.
49038         (casin_test): Likewise.
49039         (casinh_test): Likewise.
49040         * sysdeps/i386/fpu/libm-test-ulps: Update.
49041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49043 2013-01-31  David S. Miller  <davem@davemloft.net>
49045         * po/de.po: Update from translation team.
49047 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49049         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49051 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49053         * configure.in (_AC_PROG_CC_C89): New definition.
49054         * configure: Regenerate.
49056         * configure.in (AC_PROG_CPP): New definition.
49057         * configure: Regenerate.
49059 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49061         * debug/tst-backtrace.h: New file.
49062         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49063         (ret): Remove variable.
49064         (x): Likewise.
49065         (FAIL): Remove macro.
49066         (NO_INLINE): Likewise.
49067         (fn1): Use match function instead of strstr.
49068         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49069         (ret): Remove variable.
49070         (x): Likewise.
49071         (FAIL): Remove macro.
49072         (NO_INLINE): Likewise.
49073         (fn): Use match function instead of strstr.
49074         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49075         (ret): Remove variable.
49076         (x): Likewise.
49077         (FAIL): Remove macro.
49078         (NO_INLINE): Likewise.
49079         (handle_signal): Use match function instead of strstr.
49080         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49081         (ret): Remove variable.
49082         (x): Likewise.
49083         (FAIL): Remove macro.
49084         (NO_INLINE): Likewise.
49085         (handle_signal): Use match function instead of strstr.
49087 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49089         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49091 2013-01-23  David S. Miller  <davem@davemloft.net>
49093         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49094         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49095         argument of CAS if possible.
49096         * sysdeps/sparc/sparc64/bits/atomic.h
49097         (__arch_compare_and_exchange_val_32_acq): Likewise.
49098         (__arch_compare_and_exchange_val_64_acq): Likewise.
49100 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49102         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49103         * sysdeps/posix/ulimit.c: ... this.
49104         Include <limits.h>.
49105         * sysdeps/unix/bsd/ulimit.c: Remove file.
49107 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49109         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49110         (LDFLAGS-tst-array5): Likewise.
49112 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49114         [BZ #15036]
49115         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49116         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49117         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49118         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49120 2013-01-21  David S. Miller  <davem@davemloft.net>
49122         * sysdeps/sparc/backtrace.c: New file.
49123         * sysdeps/sparc/sparc32/backtrace.h: New file.
49124         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49125         * sysdeps/sparc/sparc64/backtrace.h: New file.
49126         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49127         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49128         -funwind-tables.
49130 2013-01-21  Andreas Schwab  <schwab@suse.de>
49132         [BZ #15020]
49133         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49134         closed its stdout.
49136 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49139         "mpa2.h".
49140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49142 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49143             Mark Mitchell  <mark@codesourcery.com>
49144             Tom de Vries  <tom@codesourcery.com>
49145             Paul Pluzhnikov  <ppluzhnikov@google.com>
49147         * debug/tst-backtrace2.c: New file.
49148         * debug/tst-backtrace3.c: Likewise.
49149         * debug/tst-backtrace4.c: Likewise.
49150         * debug/tst-backtrace5.c: Likewise.
49151         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49152         (CFLAGS-tst-backtrace3.c): Likewise.
49153         (CFLAGS-tst-backtrace4.c): Likewise.
49154         (CFLAGS-tst-backtrace5.c): Likewise.
49155         (LDFLAGS-tst-backtrace2): Likewise.
49156         (LDFLAGS-tst-backtrace3): Likewise.
49157         (LDFLAGS-tst-backtrace4): Likewise.
49158         (LDFLAGS-tst-backtrace5): Likewise.
49159         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49160         tst-backtrace4 and tst-backtrace5.
49162 2013-01-18  Anton Blanchard  <anton@samba.org>
49163             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49165         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49166         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49167         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49168         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49170         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49171         "+r" and remove output regs list as redundant.  Add explicit inline
49172         asm to specify register of return val to work around compiler codegen
49173         bug.  Remove (int) cast on return value.  Add return type parameter to
49174         use in macro so that this macro does not truncate return value for
49175         64-bit values.
49176         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49177         pass to INTERNAL_VSYSCALL_NCS.
49178         (INLINE_VSYSCALL): Add 'long int' as return type to
49179         INTERNAL_VSYSCALL_NCS macro invocation.
49180         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49181         INTERNAL_VSYSCALL_NCS macro invocation.
49182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49184 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49186         [BZ #14496]
49187         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49188         Fix application of SIMD FP exception mask.
49190         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49191         mp_no from a power of two.
49192         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49193         __mpexp_twomm1.  Use __pow_mp.
49195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49196         multiplication.
49198 2013-01-17  David S. Miller  <davem@davemloft.net>
49200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49202 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49204         [BZ #15023]
49205         * include/complex.h: Condition contents on [!_COMPLEX_H].
49206         (__kernel_casinhf): New prototype.
49207         (__kernel_casinh): Likewise.
49208         (__kernel_casinhl): Likewise.
49209         * math/Makefile (libm_calls): Add k_casinh.
49210         * math/k_casinh.c: New file.
49211         * math/k_casinhf.c: Likewise.
49212         * math/k_casinhl.c: Likewise.
49213         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49214         finite nonzero arguments.
49215         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49216         finite nonzero arguments.
49217         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49218         finite nonzero arguments.
49219         * math/s_casinh.c: Do not include <float.h>.
49220         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49221         * math/s_casinhf.c: Do not include <float.h>.
49222         (__casinhf): Move code for finite nonzero arguments to
49223         k_casinhf.c.
49224         * math/s_casinhl.c: Do not include <float.h>.
49225         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49226         redefine.
49227         (__casinhl): Move code for finite nonzero arguments to
49228         k_casinhl.c.
49229         * math/libm-test.inc (cacos_test): Add more tests.
49230         * sysdeps/i386/fpu/libm-test-ulps: Update.
49231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49233 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49235         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49236         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49237         [!HAVE_MREMAP]: Remove [defined linux] case.
49238         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49240 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49242         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49244 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49246         * elf/elf.h (R_386_SIZE32): New relocation.
49247         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49248         R_386_SIZE32.
49249         (elf_machine_rela): Likewise.
49250         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49251         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49253 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49255         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49256         (FP_FAST_FMA): Do not define.
49257         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49258         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49259         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49260         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49261         !_SOFT_FLOAT]: Likewise.
49262         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49263         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49264         value.
49265         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49266         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49267         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49268         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49269         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49270         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49271         file.
49273 2013-01-16  Andreas Schwab  <schwab@suse.de>
49275         [BZ #14327]
49276         * include/stdlib.h (__mktemp): Add declaration.
49277         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49278         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49280 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49282         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49283         definitions.
49284         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49285         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49286         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49287         definitions here.
49288         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49289         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49290         definitions.
49291         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49292         and ONE.
49293         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49294         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49295         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49296         definitions.
49297         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49298         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49299         definitions.
49300         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49302         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49304 2013-01-15  David S. Miller  <davem@davemloft.net>
49306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49307         trunc{,f} to libm-sysdep_routes.
49308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49310         file.
49311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49313         file.
49314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49315         file.
49316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49318         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49319         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49320         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49321         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49322         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49323         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49326         nearbyint{,f} to libm-sysdep_routes.
49327         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49329         New file.
49330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49331         file.
49332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49333         New file.
49334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49335         file.
49336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49338         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49339         file.
49340         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49341         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49342         file.
49343         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49344         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49345         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49347         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49348         libc_feholdexcept and libc_fesetenv.
49350 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49352         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49354 2013-01-14  David S. Miller  <davem@davemloft.net>
49356         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49357         (SPARC_ASM_VIS2_IFUNC): Likewise.
49358         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49360         use of 'siam' instruction.
49361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49362         Likewise.
49363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49364         Likewise.
49365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49366         Likewise.
49367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49372         file.
49373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49374         file.
49375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49376         file.
49377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49378         file.
49379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49384         new VIS2 routines.
49385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49388         Likewise.
49389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49391         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49394         routines to libm-sysdep_routines.
49395         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49398         fdim/fdimf to libm-sysdep_routines.
49399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49400         file.
49401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49403         file.
49404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49407         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49408         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49409         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49410         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49412 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49414         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49415         to optimize copies.
49417         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49422         local variable MPTWO.
49423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49424         Likewise.
49426 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49428         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49429         GLOB_NOESCAPE.
49431 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49433         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49435 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49437         * manual/pattern.texi (glob_t): Document gl_flags.
49438         (glob64_t): Likewise.
49440 2013-01-11  David S. Miller  <davem@davemloft.net>
49442         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49443         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49444         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49445         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49446         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49447         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49448         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49449         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49450         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49451         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49452         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49453         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49454         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49456         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49457         sparc V9 rather than using V8 code.
49458         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49459         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49461         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49462         Move to...
49463         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49464         Here.
49466 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49468         [BZ #14941]
49469         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49470         not in the main loop.
49471         * configure: Regenerated.
49473 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49475         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49476         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49477         to just #else.
49478         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49479         [!__GLIBC_HAVE_LONG_LONG] case.
49480         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49481         condition to just #else.
49482         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49483         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49484         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49485         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49486         unconditional.
49487         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49488         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49489         #elif condition to just #else.
49490         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49491         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49492         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49493         #elif condition to just #else.
49495 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49497         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49498         (EF_MIPS_ARCH_64): Fix value.
49499         (EF_MIPS_ARCH_32R2): New.
49500         (EF_MIPS_ARCH_64R2): New.
49502 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49504         * Makeconfig (+link-pie-before-libc): New.
49505         (+link-pie-after-libc): Likewise.
49506         (+link-pie-tests): Likewise.
49507         (+link-pie): Rewritten.
49508         (link-before-libc): Remove $(config-LDFLAGS).
49509         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49510         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49511         (config-LDFLAGS): Renamed to ...
49512         (rtld-LDFLAGS): This.
49513         (rtld-tests-LDFLAGS): New macro.
49514         (link-libc-rpath-link): Likewise.
49515         (link-libc-tests-rpath-link): Likewise.
49516         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49517         (link-libc): Prepand $(link-libc-rpath-link).
49518         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49519         (test-program-prefix): New macro.
49520         (test-via-rtld-prefix): Likewise.
49521         (test-program-cmd): Likewise.
49522         (host-test-program-cmd): Likewise.
49523         * Makefile ($(common-objpfx)testrun.sh): Replace
49524         $(run-program-prefix) with $(test-program-prefix).
49525         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49526         $(rtld-LDFLAGS).
49527         ($(common-objpfx)shlib.lds): Likewise.
49528         (build-module-helper): Likewise.
49529         ($(common-objpfx)format.lds): Likewise.
49530         * Rules (binaries-pie-tests): New.
49531         (binaries-pie-notests): Likewise.
49532         (binaries-pie): Rewritten.
49533         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49534         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49535         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49536         (make-test-out): Replace $(host-built-program-cmd) with
49537         $(host-test-program-cmd).
49538         * config.make.in (build-hardcoded-path-in-tests): New variable.
49539         * configure.in (--enable-hardcoded-path-in-tests): New configure
49540         option.
49541         (hardcoded_path_in_tests): New AC_SUBST.
49542         * configure: Regenerated.
49543         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49544         $(built-program-cmd) with $(test-program-cmd).
49545         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49546         (test_program_cmd): This.
49547         * elf/Makefile ($(objpfx)order.out): Run test with
49548         $(test-program-prefix).
49549         ($(objpfx)order2.out): Likewise.
49550         ($(objpfx)tst-initorder.out): Likewise.
49551         ($(objpfx)tst-initorder2.out): Likewise.
49552         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49553         $(test-program-cmd).
49554         ($(objpfx)tst-array1-static.out): Likewise.
49555         ($(objpfx)tst-array2.out): Likewise.
49556         ($(objpfx)tst-array3.out): Likewise.
49557         ($(objpfx)tst-array4.out): Likewise.
49558         ($(objpfx)tst-array5.out): Likewise.
49559         ($(objpfx)tst-array5-static.out): Likewise.
49560         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49561         $(test-program-cmd).
49562         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49563         $(run-program-prefix) with $(test-program-prefix).
49564         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49565         (test_program_prefix): This.
49566         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49567         $(run-program-prefix) with $(test-program-prefix).
49568         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49569         (test_program_prefix): This.
49570         * iconvdata/tst-tables.sh: Likewise.
49571         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49572         $(run-program-prefix) with $(test-program-prefix).
49573         ($(objpfx)tst-translit.out): Likewise.
49574         ($(objpfx)tst-gettext2.out): Likewise.
49575         ($(objpfx)tst-gettext4.out): Likewise.
49576         ($(objpfx)tst-gettext6.out): Likewise.
49577         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49578         (test_program_prefix): This.
49579         * intl/tst-gettext2.sh: Likewise.
49580         * intl/tst-gettext4.sh  Likewise.
49581         * intl/tst-gettext6.sh: Likewise.
49582         * intl/tst-translit.sh: Likewise.
49583         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49584         with $(test-program-cmd).
49585         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49586         $(run-program-prefix) with $(test-program-prefix).
49587         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49588         (test_program_prefix): This.
49589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49590         $(run-program-prefix) with $(test-program-prefix).
49591         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49592         (test_program_prefix): This.
49593         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49594         * posix/Makefile ($(objpfx)globtest.out): Replace
49595         $(run-via-rtld-prefix) and $(test-wrapper) with
49596         $(test-program-prefix) and $(test-via-rtld-prefix).
49597         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49598         $(test-program-prefix).
49599         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49600         $(host-test-program-cmd).
49601         (tst-spawn-ARGS): Likewise.
49602         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49603         $(test-program-prefix).
49604         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49605         (test_via_rtld_prefix): This.
49606         (test_wrapper): Renamed to ...
49607         (test_program_prefix): This.
49608         (run_program_prefix): Replaced by test_program_prefix.
49609         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49610         (test_program_prefix): This.
49611         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49612         with $(host-test-program-cmd).
49613         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49614         $(run-program-prefix) with $(test-program-prefix).
49615         ($(objpfx)tst-printf.out): Likewise.
49616         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49617         $(test-program-cmd).
49618         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49619         (test_program_prefix): This.
49620         * stdio-common/tst-unbputc.sh: Likewise.
49621         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49622         $(run-program-prefix) with $(test-program-prefix).
49623         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49624         (test_program_prefix): This.
49625         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49626         $(built-program-cmd) with $(test-program-cmd).
49628 2013-01-11  Andreas Jaeger  <aj@suse.de>
49630         [BZ #15003]
49631         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49632         value. Sync with Linux 3.7.
49634 2013-01-10  David S. Miller  <davem@davemloft.net>
49636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49637         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49638         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49640 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49642         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49643         never set.
49644         * configure: Regenerated.
49646 2013-01-10  David S. Miller  <davem@davemloft.net>
49648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49649         sparc V9 rather than using V8 code.
49650         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49651         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49653 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49655         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49656         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49657         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49658         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49659         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49660         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49661         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49662         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49663         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49664         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49665         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49666         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49667         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49668         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49669         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49670         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49671         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49672         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49673         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49674         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49675         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49676         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49677         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49678         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49679         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49680         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49681         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49683 2013-01-10  David S. Miller  <davem@davemloft.net>
49685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49687 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49689         * posix/Makefile (tests-static): New variable.
49690         (tests): Add $(tests-static).
49691         (tst-exec-static-ARGS): New variable.
49692         (tst-spawn-static-ARGS): Likewise.
49693         * posix/tst-exec-static.c: New file.
49694         * posix/tst-spawn-static.c: Likewise.
49695         * posix/tst-exec.c: Support run directly.
49696         * posix/tst-spawn.c: Likewise.
49698 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49700         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49701         long.
49702         * math/bits/mathcalls.h (llrint): Likewise.
49703         (llround): Likewise.
49704         * stdlib/stdlib.h (struct drand48_data): Likewise.
49705         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49706         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49707         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49708         Likewise.
49709         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49710         Likewise.
49711         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49712         (elf_greg_t): Likewise.
49713         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49714         (__jmp_buf): Likewise.
49715         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49716         definitions.
49717         (llrint): Likewise, for all definitions.
49718         (llrintl): Likewise.
49720         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49721         Remove [__GNUC__] condition.
49722         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49723         condition to just [__USE_ISOC99].
49724         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49726 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49728         [BZ #14200]
49729         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49730         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49731         defined.
49732         (_POSIX_V6_ILP32_OFF32): Likewise.
49733         (_XBS5_ILP32_OFF32): Likewise.
49734         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49735         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49737 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49739         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49742         doubles __mpexp_twomm1.  Adjust usage.
49743         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49744         Remove.
49746 2013-01-10  Andreas Schwab  <schwab@suse.de>
49748         [BZ #14964]
49749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49750         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49752 2013-01-09  David S. Miller  <davem@davemloft.net>
49754         [BZ #15003]
49755         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49756         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49757         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49758         (TCP_FASTOPEN): Define.
49759         (tcp_repair_opt): New structure.
49760         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49761         enum values.
49762         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49763         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49764         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49765         (tcp_cookie_transactions): New structure.
49767 2013-01-09  Anton Blanchard  <anton@samba.org>
49769         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49770         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49771         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49774 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49776         * include/features.h (__USE_ANSI): Remove.
49778 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49780         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49782         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49784 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49786         * sysdeps/s390/fpu/libm-test-ulps: Update.
49788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49790         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49791         (__acr): Likewise.
49792         (__cpy): Likewise.
49793         (norm): Likewise.
49794         (denorm): Likewise.
49795         (__mp_dbl): Likewise.
49796         (__dbl_mp): Likewise.
49797         (add_magnitudes): Likewise.
49798         (sub_magnitudes): Likewise.
49799         (__add): Likewise.
49800         (__sub): Likewise.
49801         (__mul): Likewise.
49802         (__inv): Likewise.
49803         (__dvd): Likewise.
49804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49805         (__acr): Likewise.
49806         (__cpy): Likewise.
49807         (norm): Likewise.
49808         (denorm): Likewise.
49809         (__mp_dbl): Likewise.
49810         (__dbl_mp): Likewise.
49811         (add_magnitudes): Likewise.
49812         (sub_magnitudes): Likewise.
49813         (__add): Likewise.
49814         (__sub): Likewise.
49815         (__mul): Likewise.
49816         (__inv): Likewise.
49817         (__dvd): Likewise.
49818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49819         (__acr): Likewise.
49820         (__cpy): Likewise.
49821         (norm): Likewise.
49822         (denorm): Likewise.
49823         (__mp_dbl): Likewise.
49824         (__dbl_mp): Likewise.
49825         (add_magnitudes): Likewise.
49826         (sub_magnitudes): Likewise.
49827         (__add): Likewise.
49828         (__sub): Likewise.
49829         (__mul): Likewise.
49830         (__inv): Likewise.
49831         (__dvd): Likewise.
49833 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49835         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49836         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49837         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49838         2 && __USE_EXTERN_INLINES]: Likewise.
49840 2013-01-08  Andreas Jaeger  <aj@suse.de>
49842         [BZ# 14985]
49843         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49844         Remove.
49845         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49846         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49848 2013-01-07  Anton Blanchard  <anton@samba.org>
49850         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49851         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49852         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49853         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49854         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49855         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49856         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49857         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49859         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49860         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49861         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49865         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49866         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49868         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49869         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49870         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49871         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49873         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49874         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49876         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49877         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49880         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49883         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49885         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49890         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49892         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49894 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49896         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49897         (__MALLOC_PMT): Likewise.
49898         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49899         [__GNUC__], only on [_LIBC].
49900         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49901         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49902         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49903         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49904         forward declaration.
49905         (realloc_hook_ini): Likewise.
49906         (memalign_hook_ini): Likewise.
49907         (__libc_memalign): Do not use __MALLOC_PMT in variable
49908         declaration.
49909         (__libc_valloc): Likewise.
49910         (__libc_pvalloc): Likewise.
49911         (__libc_calloc): Likewise.
49912         (__posix_memalign): Likewise.
49914         [BZ #14996]
49915         * math/s_casinh.c: Include <float.h>.
49916         (__casinh): Do not do computation with squaring and square root
49917         for large arguments.
49918         * math/s_casinhf.c: Include <float.h>.
49919         (__casinhf): Do not do computation with squaring and square root
49920         for large arguments.
49921         * math/s_casinhl.c: Include <float.h>.
49922         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49923         (__casinhl): Do not do computation with squaring and square root
49924         for large arguments.
49925         * math/libm-test.inc (casin_test): Add more tests.
49926         (casinh_test): Likewise.
49927         * sysdeps/i386/fpu/libm-test-ulps: Update.
49928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49930 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49932         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49933         (__x86_64_raw_data_cache_size): Likewise.
49934         (__x86_64_data_cache_size_half): Likewise.
49935         (__x86_64_raw_data_cache_size_half): Likewise.
49936         (__x86_64_shared_cache_size): Likewise.
49937         (__x86_64_raw_shared_cache_size): Likewise.
49938         (__x86_64_shared_cache_size_half): Likewise.
49939         (__x86_64_raw_shared_cache_size_half): Likewise.
49940         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49941         to ...
49942         (__x86_data_cache_size): This.
49943         (__x86_64_raw_data_cache_size): Renamed to ...
49944         (__x86_raw_data_cache_size): This.
49945         (__x86_64_data_cache_size_half): Renamed to ...
49946         (__x86_data_cache_size_half): This.
49947         (__x86_64_raw_data_cache_size_half): Renamed to ...
49948         (__x86_raw_data_cache_size_half): This.
49949         (__x86_64_shared_cache_size): Renamed to ...
49950         (__x86_shared_cache_size): This.
49951         (__x86_64_raw_shared_cache_size): Renamed to ...
49952         (__x86_raw_shared_cache_size): This.
49953         (__x86_64_shared_cache_size_half): Renamed to ...
49954         (__x86_shared_cache_size_half): This.
49955         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49956         (__x86_raw_shared_cache_size_half): This.
49957         * sysdeps/x86_64/memcpy.S: Updated.
49958         * sysdeps/x86_64/memset.S: Likewise.
49959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49963 2013-01-04  David S. Miller  <davem@davemloft.net>
49965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49967 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49969         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49970         1 to avoid redefinition warning.
49971         (__USE_GNU): Don't define.
49972         (init_signaling_nan): Protoize.
49974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49976 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49978         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49980         (__cpymn): Likewise.
49981         (norm): Remove commented code.
49982         (denorm): Likewise.
49983         (__mp_dbl): Likewise.
49984         (__inv): Likewise.
49985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49986         (__cpymn): Likewise.
49987         (norm): Remove commented code.
49988         (denorm): Likewise.
49989         (__mp_dbl): Likewise.
49990         (__inv): Likewise.
49992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49993         mp_no value for 1.0 and 2.0.
49994         (norm): Use RADIXI instead of radixi.d.
49995         (denorm): Likewise.
49996         (__mul): Use 0.0 instead of zero.d.
49997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49998         mp_no value for 1.0 and 2.0.
49999         (norm): Use RADIXI instead of radixi.d.
50000         (denorm): Likewise.
50001         (__mul): Use 0.0 instead of zero.d.
50003 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50005         [BZ #14994]
50006         * math/s_casinh.c (__casinh): Reduce finite argument to first
50007         quadrant then set signs of results at the end.
50008         * math/s_casinhf.c (__casinhf): Likewise.
50009         * math/s_casinhl.c (__casinhl): Likewise.
50010         * math/libm-test.inc (casin_test): Add more tests.
50011         (casinh_test): Likewise.
50012         * sysdeps/i386/fpu/libm-test-ulps: Update.
50013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50015 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50017         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50019         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50021         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50022         declarations.
50023         (denorm): Likewise.
50024         (__mp_dbl): Likewise.
50025         (__inv): Likewise.
50027         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50028         and adjust the header comment.
50030         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50031         variable name from declaration.
50033 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50036         Initialize COMMON_CPUID_INDEX_7 element.
50037         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50038         (CPUID_RTM): Likewise.
50039         (HAS_RTM): Likewise.
50040         (COMMON_CPUID_INDEX_7): New enum.
50042 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50044         [BZ #14981]
50045         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50046         size is zero, record memory as freed.
50048 2013-01-03  Andreas Jaeger  <aj@suse.de>
50050         * po/ia.po: Add new Interlingua translation.
50052 2012-01-03  Allan McRae  <allan@archlinux.org>
50054         * locale/programs/localedef.c: Fix description of '--posix' flag.
50056 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50058         * NEWS: Update dates in second copyright notice.
50059         * README: Update copyright dates in example.
50060         * manual/libc.texinfo: Update copyright dates.
50061         * scripts/test-installation.pl: Update copyright date in --version
50062         output.
50064         * hurd/ctty-input.c: Fix copyright notice formatting.
50065         * hurd/ctty-output.c: Likewise.
50066         * hurd/dtable.c: Likewise.
50067         * hurd/hurd-raise.c: Likewise.
50068         * hurd/hurdprio.c: Likewise.
50069         * hurd/msgportdemux.c: Likewise.
50070         * misc/sys/file.h: Likewise.
50071         * misc/sys/ioctl.h: Likewise.
50072         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50073         * sysdeps/mach/hurd/chdir.c: Likewise.
50074         * sysdeps/mach/hurd/fchdir.c: Likewise.
50075         * sysdeps/mach/hurd/rename.c: Likewise.
50076         * sysdeps/mach/hurd/rmdir.c: Likewise.
50077         * sysdeps/mach/hurd/seekdir.c: Likewise.
50078         * sysdeps/mach/hurd/setsid.c: Likewise.
50079         * sysdeps/posix/wait3.c: Likewise.
50081         * All files with FSF copyright notices: Update copyright dates
50082         using scripts/update-copyrights.
50083         * intl/plural.c: Regenerated.
50084         * locale/programs/charmap-kw.h: Likewise.
50085         * locale/programs/locfile-kw.h: Likewise.
50087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50089         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50090         four values.
50092         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50093         calculation loop and add branch prediction.
50095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50096         check access beyond bounds of m1np.
50098         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50099         MPTWO.
50100         (__inv): Remove local variable MPTWO to use the global
50101         constant.
50102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50104         variable MPTWO.
50105         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50106         MP3HALFS static const.
50108 2013-01-01  David S. Miller  <davem@davemloft.net>
50110         * po/ca.po: Update from translation team.
50112 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50114         * scripts/update-copyrights: New file.
50115         * Makeconfig: Reformat copyright notice.
50116         * ctype/ctype.h: Likewise.
50117         * debug/swprintf_chk.c: Likewise.
50118         * elf/dl-cache.c: Likewise.
50119         * elf/dl-debug.c: Likewise.
50120         * elf/dl-object.c: Likewise.
50121         * grp/initgroups.c: Likewise.
50122         * hurd/Makefile: Likewise.
50123         * hurd/hurd/signal.h: Likewise.
50124         * hurd/hurdfault.c: Likewise.
50125         * hurd/hurdioctl.c: Likewise.
50126         * hurd/hurdlookup.c: Likewise.
50127         * hurd/intr-msg.c: Likewise.
50128         * iconv/gconv_open.c: Likewise.
50129         * libio/swprintf.c: Likewise.
50130         * locale/lc-ctype.c: Likewise.
50131         * locale/nl_langinfo.c: Likewise.
50132         * mach/Machrules: Likewise.
50133         * mach/Makefile: Likewise.
50134         * malloc/obstack.h: Likewise.
50135         * manual/Makefile: Likewise.
50136         * manual/tsort.awk: Likewise.
50137         * misc/bits/stab.def: Likewise.
50138         * nis/nis_print_group_entry.c: Likewise.
50139         * nis/nis_table.c: Likewise.
50140         * nis/nss_compat/compat-pwd.c: Likewise.
50141         * nis/nss_compat/compat-spwd.c: Likewise.
50142         * po/Makefile: Likewise.
50143         * posix/fnmatch.c: Likewise.
50144         * posix/regex.h: Likewise.
50145         * resolv/Makefile: Likewise.
50146         * resolv/nss_dns/dns-network.c: Likewise.
50147         * resolv/res_hconf.c: Likewise.
50148         * scripts/gen-sorted.awk: Likewise.
50149         * soft-fp/soft-fp.h: Likewise.
50150         * stdio-common/printf.h: Likewise.
50151         * stdlib/monetary.h: Likewise.
50152         * stdlib/random.c: Likewise.
50153         * stdlib/random_r.c: Likewise.
50154         * sysdeps/generic/Makefile: Likewise.
50155         * sysdeps/gnu/Makefile: Likewise.
50156         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50164         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50165         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50166         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50167         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50168         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50169         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50170         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50172         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50184         * sysdeps/mach/hurd/errnos.awk: Likewise.
50185         * sysdeps/mach/hurd/fork.c: Likewise.
50186         * sysdeps/mach/hurd/getcwd.c: Likewise.
50187         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50188         * sysdeps/mach/hurd/mmap.c: Likewise.
50189         * sysdeps/mach/hurd/utimes.c: Likewise.
50190         * sysdeps/mach/hurd/xmknod.c: Likewise.
50191         * sysdeps/posix/profil.c: Likewise.
50192         * sysdeps/posix/readdir_r.c: Likewise.
50193         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50194         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50195         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50196         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50198         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50199         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50200         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50203         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50204         * sysdeps/pthread/lio_listio.c: Likewise.
50205         * sysdeps/sparc/dl-procinfo.h: Likewise.
50206         * sysdeps/unix/i386/sysdep.S: Likewise.
50207         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50208         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50209         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50210         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50212         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50213         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50214         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50215         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50216         * sysdeps/wordsize-32/divdi3.c: Likewise.
50217         * time/sys/time.h: Likewise.
50218         * wcsmbs/Makefile: Likewise.
50220 2013-01-01  David S. Miller  <davem@davemloft.net>
50222         * po/fr.po: Update from translation team.
50224         * catgets/gencat.c: Update copyright year.
50225         * csu/version.c: Likewise.
50226         * debug/catchsegv.sh: Likewise.
50227         * debug/pcprofiledump.c: Likewise.
50228         * debug/xtrace.sh: Likewise.
50229         * elf/ldconfig.c: Likewise.
50230         * elf/ldd.bash.in: Likewise.
50231         * elf/pldd.c: Likewise.
50232         * elf/sotruss.ksh: Likewise.
50233         * elf/sprof.c: Likewise.
50234         * iconv/iconv_prog.c: Likewise.
50235         * iconv/iconvconfig.c: Likewise.
50236         * locale/programs/locale.c: Likewise.
50237         * locale/programs/localedef.c: Likewise.
50238         * login/programs/pt_chown.c: Likewise.
50239         * malloc/memusage.sh: Likewise.
50240         * malloc/memusagestat.c: Likewise.
50241         * malloc/mtrace.pl: Likewise.
50242         * nscd/nscd.c: Likewise.
50243         * nss/getent.c: Likewise.
50244         * nss/makedb.c: Likewise.
50245         * posix/getconf.c: Likewise.
50247 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50249         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50250         numbers.
50252 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50254         * math/bits/mathcalls.h (modf): Use __nonnull.
50256 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50258         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50259         (split): Use macro CN instead of the bare value.
50260         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50261         could be used.
50262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50263         instead of the bare value.
50264         (power1): Likewise.
50266 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50269         __ATAN_TWOM.
50270         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50272         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50273         their values.
50274         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50275         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50276         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50277         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50279 2012-12-28  Andreas Jaeger  <aj@suse.de>
50281         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50282         values are from Linux 3.7.
50284         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50285         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50287 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50289         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50290         TRUE case.
50292         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50293         (norm): Likewise.
50294         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50295         variables with preprocessor constants.
50296         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50297         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50298         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50300 2012-12-27  Bruno Haible  <bruno@clisp.org>
50302         [BZ #14317]
50303         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50304         only if needed.
50306 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50309         and use variable directly.
50310         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50312         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50313         MPONE.
50314         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50315         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50316         variable MPONE.
50317         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50319         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50320         include directive.  Remove local variable MPONE.
50321         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50322         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50325 2012-12-25  David S. Miller  <davem@davemloft.net>
50327         * version.h (RELEASE): Set to "development".
50328         (VERSION): Set to "2.17.90".
50329         * NEWS: Add 2.18 section.
50331 2012-12-21  David S. Miller  <davem@davemloft.net>
50333         * po/hr.po: Update from translation team.
50335 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50337         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50339 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50341         * NEWS:  Mention new memcpy for MIPS.
50343 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50345         * manual/contrib.texi (Contributors): Spelling correction.
50347 2012-12-15  David S. Miller  <davem@davemloft.net>
50349         * po/ru.po: Update from translation team.
50351 2012-12-13  David S. Miller  <davem@davemloft.net>
50353         * NEWS: Mention IFUNC testsuite enhancements.
50355         * po/pl.po: Update from translation team.
50356         * po/bg.po: Likewise.
50358         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50359         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50361 2012-12-11  David S. Miller  <davem@davemloft.net>
50363         * po/sv.po: Update from translation team.
50365         * po/vi.po: Update from translation team.
50367         * po/cs.po: Update from translation team.
50369         * po/de.po: Update from translation team.
50370         * po/eo.po: Likewise.
50371         * po/nl.po: Likewise.
50373 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50375         [BZ #14246]
50376         * manual/argp.texi (Argp Helper Functions): Move node to follow
50377         Argp Parsing State.
50379         [BZ #14872]
50380         * manual/conf.texi (Limits on File System Capacity): Mention if
50381         terminating null is included in the max size.
50383 2012-12-10  Andreas Jaeger  <aj@suse.de>
50385         * po/cs.po: Update from translation team.
50387 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50389         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50390         void pointer and cast to uintptr_t.
50391         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50392         path.
50393         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50394         * sysdeps/s390/s390-64/memset.S: Likewise.
50396 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50398         [BZ #14833]
50399         * menual/message.texi (Message Translation): Fix typos.
50400         (Helper programs for gettext): Likewise.
50402 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50404         [BZ #14898]
50405         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50406         Change to -1.
50408 2012-12-07  David S. Miller  <davem@davemloft.net>
50410         * po/libc.pot: Update.
50412 2012-12-07  Richard Henderson  <rth@redhat.com>
50414         [BZ #10114]
50415         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50416         normal/normal case to before the switch.
50417         (_FP_DIV): Likewise.
50419 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50420             Mike Frysinger  <vapier@gentoo.org>
50422         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50423         check for __NR_fadvise64_64.
50425 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50427         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50428         0, not just to plain "0" as a statement.
50429         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50430         with cw.
50432 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50434         * NEWS: Use sourceware.org in Bugzilla URL.
50436 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50439         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50441         * stdio-common/tst-put-error.c (do_test): Add newline to the
50442         padded test to ensure flush.
50444 2012-12-05  Jeff Law  <law@redhat.com>
50446         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50448 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50450         * README: Don't refer to ports add-on as distributed separately.
50451         Mention AArch64 in list of systems supported in the ports add-on.
50453         * LICENSES: Add more non-FSF copyright and license notices.
50455         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50456         ((unused)).
50458         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50460         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50461         10000 as width of padded output.
50463 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50465         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50467         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50468         variable LX with __attribute__ ((unused)).
50469         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50470         Likewise.
50471         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50474         with __attribute__ ((unused)).
50476 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50478         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50480 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50482         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50483         (CFLAGS-nldbl-acos.c): New variable.
50484         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50485         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50486         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50487         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50488         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50489         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50490         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50491         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50492         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50493         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50494         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50495         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50496         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50497         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50498         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50499         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50500         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50501         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50502         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50503         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50504         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50505         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50506         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50507         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50508         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50509         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50510         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50511         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50512         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50513         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50514         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50515         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50516         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50517         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50518         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50519         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50520         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50521         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50522         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50523         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50524         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50525         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50526         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50527         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50528         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50529         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50530         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50531         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50532         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50533         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50534         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50535         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50536         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50537         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50538         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50539         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50540         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50541         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50542         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50543         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50544         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50545         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50546         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50547         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50548         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50549         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50550         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50551         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50552         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50553         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50554         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50555         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50556         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50557         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50558         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50559         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50560         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50561         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50562         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50563         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50564         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50565         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50566         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50567         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50568         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50569         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50570         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50571         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50572         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50573         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50574         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50575         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50576         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50577         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50578         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50579         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50580         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50583         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50585         [BZ #14914]
50586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50587         whole low double instead of just low 47 bits when splitting values
50588         into two parts.
50590 2012-12-03  Allan McRae  <allan@archlinux.org>
50592         * manual/stdio.texi (Predefined Printf Handlers): Remove
50593         @hsep and @vsep usage.
50595 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50597         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50598         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50600 2012-12-03  Jeff Law  <law@redhat.com>
50602         * time/sys/time.h (settimeofday): Do not mark TV argument
50603         as __nonnull.
50605 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50607         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50608         when currently writing and seek to current position when not.
50609         * libio/Makefile (tests): Remove bug-fclose1.
50610         * libio/bug-fclose1.c: Delete.
50612 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50614         * manual/arith.texi (feenableexcept): Fix typo.
50615         (fedisableexcept): Likewise.
50617 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50619         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50620         second, differently-typed declaration, rather than a cast.
50622 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50624         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50625         * include/rpc/svc.h: ... here.
50627 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50629         [BZ #13013]
50630         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50631         depending n and resplen2 to catch cases where answer
50632         equals answerp2.
50634 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50636         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50637         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50639 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50641         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50643 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50645         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50647 2012-11-28  Jeff Law  <law@redhat.com>
50649         [BZ #13761]
50650         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50651         dataset_temporary.  Track alloca usage into alloca_used.
50652         If dataset is large allocate and release it via malloc/free.
50654 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50656         [BZ #14197]
50657         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50659 2012-11-28  David S. Miller  <davem@davemloft.net>
50661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50663 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50665         [BZ #14803]
50666         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50667         of pi/2 rounded to nearest to 64 bits.
50668         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50669         nearest to 64 bits.
50670         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50671         bits.
50673 2012-11-28  Jeff Law <law@redhat.com>
50674             Martin Osvald <mosvald@redhat.com>
50676         [BZ #14889]
50677         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50678         * sunrpc/svc.c: Include time.h.
50679         (__svc_accept_failed): New function.
50680         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50681         any reason other than EINTR, call __svc_accept_failed.
50682         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50683         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50685 2012-11-28  Andreas Schwab  <schwab@suse.de>
50687         * scripts/abilist.awk: Also handle indirect functions in .opd
50688         section.
50690 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50692         [BZ #13881]
50693         * sysdeps/x86/fpu/powl_helper.c: New file.
50694         * sysdeps/x86/fpu/Makefile: Likewise.
50695         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50696         (p3): New object.
50697         (__ieee754_powl): Use __powl_helper for finite arguments except
50698         integer exponents below 8.
50699         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50700         (p3): New object.
50701         (__ieee754_powl): Use __powl_helper for finite arguments except
50702         integer exponents below 8.
50703         * math/libm-test.inc (pow_test): Add more tests and enable some
50704         previously disabled tests.
50705         * sysdeps/i386/fpu/libm-test-ulps: Update.
50706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50708 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50709             Carlos O'Donell  <carlos_odonell@mentor.com>
50711         * nss/makedb.c (is_prime): Assert that input is odd and greater
50712         than 4.  Note that fact in a comment too.
50713         (next_prime): Add 4 to input.
50715 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50717         [BZ #11741]
50718         * libio/Makefile (tests): Add test case tst-fwrite-error.
50719         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50720         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50721         * libio/tst-fwrite-error.c: New test case.
50723 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50725         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50726         before casting to void *.
50727         * include/libc-internal.h (__pointer_type): New macro.
50728         (__integer_if_pointer_type_sub): Likewise.
50729         (__integer_if_pointer_type): Likewise.
50730         (cast_to_integer): Likewise.
50731         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50732         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50733         before casting to atomic64_t.
50734         (atomic_exchange_acq): Likewise.
50735         (__arch_exchange_and_add_body): Likewise.
50736         (__arch_add_body): Likewise.
50737         (atomic_add_negative): Likewise.
50738         (atomic_add_zero): Likewise.
50740 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50742         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50743         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50744         (add_fdes): Likewise.
50745         (linear_search_fdes): Likewise.
50746         (binary_search_unencoded_fdes): Likewise.
50748 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50750         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50752 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50754         * configure.in: Autodetect C++ header directories.
50755         * configure: Regenerated.
50757 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50759         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50761 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50765 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50767         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50768         LDBL_MANT_DIG == 106]: Disable some tests.
50769         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50770         Likewise.
50771         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50772         Likewise.
50774         [BZ #14871]
50775         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50776         input for small inputs.  Return +/- pi/2 for large inputs.
50777         * math/libm-test.inc (atan_test): Add more tests.
50779         * sysdeps/generic/unwind-dw2-fde-glibc.c
50780         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50781         __attribute__ ((unused)).
50783         [BZ #14645]
50784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50785         x * y if x and y are nonzero and z is zero.
50787         [BZ #14811]
50788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50789         nonzero exponents with absolute value below 0x1p-117 to +/-
50790         0x1p-117.
50792         [BZ #14869]
50793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50794         up arguments below 2**-450, not just those below 2**-500.
50795         * math/libm-test.inc (hypot_test): Add another test.
50797         [BZ #14868]
50798         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50799         Return a+b for ratio over 2**120, not 2**60.
50800         * math/libm-test.inc (hypot_test): Add another test.
50802         * math/libm-test.inc (clog_test): Use
50803         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50804         (clog10_test): Likewise.
50806         [BZ #6778]
50807         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50809 2012-11-22  Andreas Schwab  <schwab@suse.de>
50811         * sysdeps/i386/fpu/libm-test-ulps: Update.
50813 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50815         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50816         printf output with newline.
50818 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50820         [BZ #14865]
50821         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50822         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50823         -z nodlopen, -z initfirst and -z execstack support.
50824         * configure: Regenerated.
50826         * elf/elf.h (DF_1_NODIRECT): New macro.
50827         (DF_1_IGNMULDEF): Likewise.
50828         (DF_1_NOKSYMS): Likewise.
50829         (DF_1_NOHDR): Likewise.
50830         (DF_1_EDITED): Likewise.
50831         (DF_1_NORELOC): Likewise.
50832         (DF_1_SYMINTPOSE): Likewise.
50833         (DF_1_GLOBAUDIT): Likewise.
50834         (DF_1_SINGLETON): Likewise.
50835         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50836         DT_1_SUPPORTED_MASK bits.
50837         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50839 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50841         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50843 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50845         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50846         macro.
50848         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50849         (sendmmsg): Move declarations...
50850         * socket/sys/socket.h: ... here.
50851         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50852         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50853         include it from...
50854         * socket/recvmmsg.c: ... this new file.
50855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50856         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50857         definition of __sendmmsg hidden.
50858         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50859         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50860         Move ENOSYS stub into and include it from...
50861         * socket/sendmmsg.c: ... this new file.
50862         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50863         (sysdep_routines): Move recvmmsg and sendmmsg...
50864         * socket/Makefile (routines): ... here.
50865         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50866         (GLIBC_PRIVATE): Add __sendmmsg.
50867         * include/sys/socket.h (__sendmmsg): Add declarations.
50868         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50869         sendmmsg.
50871 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50873         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50874         variable I1 with __attribute__ ((unused)).
50875         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50877 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50879         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50880         DUMMY variables with __attribute__ ((unused)).
50882         * bits/byteswap.h: Include <bits/types.h>.
50883         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50885 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50887         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50888         string_t.  Do not manually set errno.
50889         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50890         length with __strnlen.  Make sure to both set errno and return it on
50891         failure.
50893 2012-11-19  David S. Miller  <davem@davemloft.net>
50895         With help from Joseph Myers.
50896         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50897         very large arguments properly.
50898         * math/libm-test.inc (atan_test): New tests.
50899         (atan2_test): New tests.
50900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50903 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50905         [BZ #14856]
50906         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50907         Define to 3.
50909         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50910         [POSIX] (EADDRNOTAVAIL): Likewise.
50911         [POSIX] (EAFNOSUPPORT): Likewise.
50912         [POSIX] (EALREADY): Likewise.
50913         [POSIX] (ECONNABORTED): Likewise.
50914         [POSIX] (ECONNREFUSED): Likewise.
50915         [POSIX] (ECONNRESET): Likewise.
50916         [POSIX] (EDESTADDRREQ): Likewise.
50917         [POSIX] (EDQUOT): Likewise.
50918         [POSIX] (EHOSTUNREACH): Likewise.
50919         [POSIX] (EIDRM): Likewise.
50920         [POSIX] (EISCONN): Likewise.
50921         [POSIX] (ELOOP): Likewise.
50922         [POSIX] (EMULTIHOP): Likewise.
50923         [POSIX] (ENETDOWN): Likewise.
50924         [POSIX] (ENETUNREACH): Likewise.
50925         [POSIX] (ENOBUFS): Likewise.
50926         [POSIX] (ENODATA): Likewise.
50927         [POSIX] (ENOLINK): Likewise.
50928         [POSIX] (ENOMSG): Likewise.
50929         [POSIX] (ENOPROTOOPT): Likewise.
50930         [POSIX] (ENOSR): Likewise.
50931         [POSIX] (ENOSTR): Likewise.
50932         [POSIX] (ENOTCONN): Likewise.
50933         [POSIX] (ENOTSOCK): Likewise.
50934         [POSIX] (EOPNOTSUPP): Likewise.
50935         [POSIX] (EOVERFLOW): Likewise.
50936         [POSIX] (EPROTO): Likewise.
50937         [POSIX] (EPROTONOSUPPORT): Likewise.
50938         [POSIX] (EPROTOTYPE): Likewise.
50939         [POSIX] (ESTALE): Likewise.
50940         [POSIX] (ETIME): Likewise.
50941         [POSIX] (ETXTBSY): Likewise.
50942         [POSIX] (EWOULDBLOCK): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50944         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50945         [POSIX] (SEEK_CUR): Likewise.
50946         [POSIX] (SEEK_END): Likewise.
50947         [POSIX || UNIX98] (mode_t): Do not require.
50948         [POSIX] (off_t): Likewise.
50949         [POSIX] (pid_t): Likewise.
50950         [POSIX] (sys/stat.h): Do not allow header.
50951         [POSIX] (unistd.h): Likewise.
50952         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50953         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50954         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50955         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50956         require.
50957         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50958         sigevent): Specify elements.
50959         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50960         entry.
50961         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50962         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50964         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50965         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50966         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50967         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50968         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50969         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50970         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50971         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50973         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50974         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50975         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50976         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50977         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50978         Likewise.
50979         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50980         Likewise.
50981         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50982         Likewise.
50983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50984         Likewise.
50985         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50986         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50987         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50988         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50989         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50990         Specify lower bound on value.
50991         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50992         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50993         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50994         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50995         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50996         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50997         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50998         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50999         value.
51000         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51001         as optional.
51002         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51003         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51004         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51005         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51006         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51007         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51008         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51009         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51010         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51011         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51012         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51013         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51014         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51015         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51016         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51017         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51018         entry.
51019         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51020         optional.
51021         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51022         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51023         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51024         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51025         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51026         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51027         Likewise.
51028         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51033         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51034         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51035         as optional.
51036         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51039         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51040         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51041         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51042         specify as optional.
51043         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51044         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51045         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51046         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51047         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51048         [XPG3] (NL_LANGMAX): Likewise.
51049         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51050         [POSIX || XPG3] (NL_NMAX): Likewise.
51051         [POSIX || XPG3] (NL_SETMAX): Likewise.
51052         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51053         [XPG3] (NZERO): Likewise.
51054         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51055         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51056         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51057         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51058         (REG_ERANGE): Expect.
51059         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51060         optional-constant.
51061         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51062         Use (void) in prototype.
51063         [POSIX] (*_t): Allow.
51064         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51065         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51066         (WRDE_BADVAL): Expect.
51068         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51069         expect.
51070         [XPG3 || XPG4] (O_RSYNC): Likewise.
51071         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51072         Likewise.
51073         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51074         [XPG3 || XPG4] (sigqueue): Likewise.
51075         [XPG3 || XPG4] (sigtimedwait): Likewise.
51076         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51077         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51078         [XPG3 || XPG4] (vsnprintf): Likewise.
51079         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51080         Likewise.
51081         [XPG3 || XPG4] (blksize_t): Likewise.
51082         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51083         Likewise.
51084         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51085         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51086         [XPG3 || XPG4] (struct itimerspec): Likewise.
51087         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51088         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51089         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51090         [XPG3 || XPG4] (clockid_t): Likewise.
51091         [XPG3 || XPG4] (timer_t): Likewise.
51092         [XPG3 || XPG4] (clock_getres): Likewise.
51093         [XPG3 || XPG4] (clock_gettime): Likewise.
51094         [XPG3 || XPG4] (clock_settime): Likewise.
51095         [XPG3 || XPG4] (nanosleep): Likewise.
51096         [XPG3 || XPG4] (timer_create): Likewise.
51097         [XPG3 || XPG4] (timer_delete): Likewise.
51098         [XPG3 || XPG4] (timer_gettime): Likewise.
51099         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51100         [XPG3 || XPG4] (timer_settime): Likewise.
51101         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51102         [XPG3 || XPG4] (getlogin_r): Likewise.
51103         [XPG3 || XPG4] (pread): Likewise.
51104         [XPG3 || XPG4] (pthread_atfork): Likewise.
51105         [XPG3 || XPG4] (pwrite): Likewise.
51107         [BZ #14835]
51108         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51109         <bits/siginfo.h>.
51111 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51113         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51114         finalizing MALLSTREAM.
51116         * sysdeps/mach/hurd/syncfs.c: New file.
51118 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51120         [BZ #14719]
51121         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51122         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51124         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51125         (_nss_dns_gethostbyname4_r): Likewise.
51126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51127         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51129 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51131         [BZ #13763]
51132         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51134 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51136         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51137         * elf/cache.c (print_entry): Print ",AArch64" for
51138         FLAG_AARCH64_LIB64
51140         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51141         * elf/cache.c (print_entry): Print ",hard-float" for
51142         FLAG_ARM_LIBHF.
51144 2012-11-18  David S. Miller  <davem@davemloft.net>
51146         With help from Joseph Myers.
51147         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51148         cutoff to 2**-13.
51149         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51150         cutoff to 2**-25.
51151         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51152         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51153         small.
51154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51155         * math/libm-test.inc (y0_test): New tests.
51156         (y1_test): New tests.
51157         * sysdeps/i386/fpu/libm-test-ulps: Update.
51158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51161 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51163         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51164         64-bit targets.
51165         * configure: Regenerated.
51167 2012-11-17  David S. Miller  <davem@davemloft.net>
51169         [BZ #14811]
51170         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51171         nonzero exponents with absolute value below 0x1p-128 to +/-
51172         0x1p-128.
51174 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51176         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51178         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51180         * posix/getconf-speclist.c: New file.
51181         * posix/posix-envs.def: Likewise.
51182         * posix/confstr.c (START_ENV_GROUP): New macro.
51183         (END_ENV_GROUP): Likewise.
51184         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51185         (KNOWN_PRESENT_ENV_STRING): Likewise.
51186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51187         (UNKNOWN_ENVIRONMENT): Likewise.
51188         (confstr): Include posix-envs.def instead of handling
51189         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51190         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51191         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51192         (END_ENV_GROUP): Likewise.
51193         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51194         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51195         (UNKNOWN_ENVIRONMENT): Likewise.
51196         (__sysconf): Include posix-envs.def instead of handling associated
51197         cases directly here.
51198         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51199         preprocessing getconf-speclist.c rather than running getconf or
51200         generating empty file.
51202 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51204         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51206 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51208         [BZ #14672]
51209         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51211 2012-11-16  David S. Miller  <davem@davemloft.net>
51213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51214         smaller than LDBL_EPSILON/2.0L, just return xm1.
51216 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51218         * elf/tst-array1.c (init): Set constructor priority to 1000.
51219         (fini): Set destructor priority to 1000.
51220         * elf/tst-array2dep.c: Likewise.
51222 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51224         [BZ #11741]
51225         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51226         (_IO_new_file_xsputn): Also return EOF if none of the input
51227         data was written when overflow failed.
51228         * libio/iopadn.c (_IO_padn): Likewise.
51229         * libio/iowpadn.c (_IO_wpadn): Likewise.
51230         * stdio-common/tst-put-error.c: Add copyright notice.
51231         (do_test): Add case for printing padded string.
51232         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51233         _IO_padn returned error.
51234         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51235         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51236         return EOF.
51238 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51240         * libio/libioP.h: Add comment note that the references to C++
51241         bits are now obsolete.
51243 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51245         * math/libm-test.inc (check_complex): Use asprintf.
51247 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51249         * debug/pcprofiledump.c (print_version): Update copyright year.
51250         * malloc/memusagestat.c (print_version): Likewise.
51252 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51254         [BZ #14831]
51255         * elf/Makefile (tests): Add tst-audit8.
51256         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51257         ($(objpfx)tst-audit8.out): New target.
51258         (tst-audit8-ENV): New variable.
51259         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51260         audit if l_reloc_result is NULL.
51261         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51262         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51263         * elf/tst-audit8.c: New file.
51265 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51267         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51268         * misc/Makefile (CFLAGS-select.c): Define.
51269         * posix/Makefile (CFLAGS-pause.c): Define.
51271 2012-11-13  David S. Miller  <davem@davemloft.net>
51273         * crypt/Makefile: Move test targets after toplevel Rules
51274         inclusion.  Grab any necessary sysdep routines when linking.
51275         * crypt/md5.c (md5_process_block): Remove define, we will always
51276         name it __md5_process_block.
51277         (md5_finish_ctx): Update md5_process_block call.
51278         (md5_stream): Likewise.
51279         (md5_process_bytes): Likewise.
51280         (md5_process_block): Rename to __md5_process_block and move to ...
51281         * crypt/md5-block.c: ... here.
51282         * crypt/sha256.c (sha256_process_block): Move to ...
51283         * crypt/sha256-block.c: ... here.
51284         * crypt/sha512.c (sha512_process_block): Move to ...
51285         * crypt/sha512-block.c: ... here.
51286         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51287         path.
51288         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51289         * sysdeps/sparc/sparc64/multiarch/Makefile
51290         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51291         crypt subdir.
51292         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51294         multiarch changes.
51295         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51296         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51297         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51298         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51299         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51300         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51301         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51302         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51303         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51304         file.
51305         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51307         file.
51308         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51310 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51312         * timezone/tzselect.ksh: Update from tzcode git revision
51313         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51314         * timezone/zdump.c: Likewise.
51315         * timezone/zic.c: Likewise.
51316         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51317         in TZVERSION setting, not $(PKGVERSION).
51318         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51319         REPORT_BUGS_TO settings.
51321         [BZ #14838]
51322         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51323         macro.
51325 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51327         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51328         detection to immediately after _FP_ROUND().
51329         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51330         bits are 0.
51332 2012-11-11  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51335         inttypes.h
51336         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51337         __close rather than their public counterparts.
51339 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51341         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51342         file.
51343         [UNIX98] (sem_timedwait): Do not expect.
51344         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51345         [XPG4 || UNIX98] (sockatmark): Do not expect.
51346         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51347         (clock_getcpuclockid): Do not expect.
51348         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51349         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51350         Do not expect.
51351         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51352         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51353         [UNIX98] (vwscanf): Likewise.
51354         [UNIX98] (vswscanf): Likewise.
51356 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51358         * timezone/version.h: Remove file.
51359         * timezone/README: Do not refer to version.h.
51360         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51361         $(objpfx)version.h.
51362         ($(objpfx)zdump.o): Likewise.
51363         ($(objpfx)version.h): New target.
51365         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51366         2012i.
51367         * timezone/README: Don't mention modification to tzselect.ksh.
51368         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51369         work on unmodified tzselect.ksh.  Substitute version numbers in
51370         tzselect.ksh.
51372         * Makefile (format-me): Remove.
51373         (INSTALL): Adjust indentation.  Use commands directly instead of
51374         using $(format-me).
51376         * aclocal.m4 (ACX_PKGVERSION): New macro.
51377         (ACX_BUGURL): Likewise.
51378         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51379         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51380         (REPORT_BUGS_TO): Likewise.
51381         * configure: Regenerated.
51382         * config.h.in (PKGVERSION): New macro.
51383         (REPORT_BUGS_TO): Likewise.
51384         * config.make.in (PKGVERSION): New variable.
51385         (PKGVERSION_TEXI): Likewise.
51386         (REPORT_BUGS_TO): Likewise.
51387         (REPORT_BUGS_TEXI): Likewise.
51388         * Makefile (format-me): Use -I$(common-objpfx)manual.
51389         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51390         ($(common-objpfx)manual/%): New target.
51391         (manual/%): Remove target.
51392         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51393         (print_version): Use PKGVERSION.
51394         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51395         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51396         and REPORT_BUGS_TO.
51397         ($(objpfx)xtrace): Likewise.
51398         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51399         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51400         (print_version): Use PKGVERSION.
51401         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51402         (do_version): Use PKGVERSION.
51403         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51404         REPORT_BUGS_TO.
51405         (common-ldd-rewrite): Likewise.
51406         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51407         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51408         (print_version): Use PKGVERSION.
51409         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51410         * elf/pldd.c (argp_program_bug_address): Remove variable.
51411         (more_help): New function.
51412         (argp): Use more_help.
51413         (print_version): Use PKGVERSION.
51414         * elf/sln.c (main): Use PKGVERSION.
51415         (usage): Use REPORT_BUGS_TO.
51416         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51417         (top level): Use PKGVERSION.
51418         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51419         (print_version): Use PKGVERSION.
51420         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51421         (print_version): Use PKGVERSION.
51422         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51423         (print_version): Use PKGVERSION.
51424         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51425         (print_version): Use PKGVERSION.
51426         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51427         (print_version): Use PKGVERSION.
51428         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51429         (print_version): Use PKGVERSION.
51430         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51431         and BUGURL.
51432         ($(objpfx)memusage): Likewise.
51433         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51434         (do_version): Use PKGVERSION.
51435         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51436         (print_version): Use PKGVERSION.
51437         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51438         ($PKGVERSION): New variable.
51439         ($REPORT_BUGS_TO): Likewise.
51440         (usage): Use $REPORT_BUGS_TO.
51441         (top level): Use $PKGVERSION.
51442         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51443         ($(objpfx)pkgvers.texi): New rule.
51444         ($(objpfx)stamp-pkgvers): Likewise.
51445         * manual/install.texi: Include pkgvers.texi.
51446         (--with-pkgversion): Document new configure option.
51447         (--with-bugurl): Likewise.
51448         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51449         than necessarily for this particular distribution.  Use
51450         REPORT_BUGS_TO for where to report bugs.
51451         * INSTALL: Regenerated.
51452         * manual/libc.texinfo: Include pkgvers.texi.
51453         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51454         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51455         (print_version): Use PKGVERSION.
51456         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51457         (print_version): Use PKGVERSION.
51458         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51459         (print_version): Use PKGVERSION.
51460         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51461         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51462         macro.
51463         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51464         (print_version): Use PKGVERSION.
51465         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51466         (print_version): Use PKGVERSION.
51467         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51468         and PKGVERSION.
51470         * timezone/checktab.awk: Update from tzcode 2012i.
51471         * timezone/ialloc.c: Likewise.
51472         * timezone/private.h: Likewise.
51473         * timezone/scheck.c: Likewise.
51474         * timezone/tzfile.h: Likewise.
51475         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51476         (TZVERSION): Hardcode tzcode version number.
51477         * timezone/zdump.c: Update from tzcode 2012i.
51478         * timezone/zic.c: Likewise.
51479         * timezone/version.h: New file.
51480         * timezone/README: Describe version.h.  Update upstream location.
51482         [BZ #14824]
51483         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51484         (mktemp): Enable declaration.
51485         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51489         Likewise.
51490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51491         Likewise.
51492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51493         Likewise.
51494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51495         Likewise.
51496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51497         Likewise.
51498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51499         Likewise.
51501         [BZ #14821]
51502         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51503         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51504         for copies of such integer values.
51505         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51506         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51508 2012-11-09  Andreas Jaeger  <aj@suse.de>
51510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51511         definitions and declarations that are provided by
51512         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51514 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51516         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51517         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51518         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51519         definition.
51521 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51523         * elf/elf.h: Update comment before AArch64 relocations.
51525 2012-11-07  David S. Miller  <davem@davemloft.net>
51527         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51528         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51529         (__start_context): Declare.
51530         (__makecontext_ret): Delete.
51531         (__makecontext): Hook up __start_context instead of
51532         __makecontext_ret.
51533         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51534         (sysdep_routines): Add __start_context when in stdlib.
51536 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51538         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51539         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51540         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51541         hardcoded "nm".
51542         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51543         (READELF): New variable.  Use it instead of hardcoded "readelf".
51545 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51547         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51548         * sysdeps/x86/Makefile: Here.
51549         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51550         * sysdeps/x86/tst-xmmymm.sh: This.
51552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51554         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51555         expectations.
51556         [UNIX98] (pthread_barrier_t): Do not expect.
51557         [UNIX98] (pthread_barrierattr_t): Likewise.
51558         [UNIX98] (pthread_spinlock_t): Likewise.
51559         [UNIX98] (pthread_barrier_destroy): Likewise.
51560         [UNIX98] (pthread_barrier_init): Likewise.
51561         [UNIX98] (pthread_barrier_wait): Likewise.
51562         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51563         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51564         [UNIX98] (pthread_barrierattr_init): Likewise.
51565         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51566         [UNIX98] (pthread_getcpuclockid): Likewise.
51567         [UNIX98] (pthread_mutex_timedlock): Likewise.
51568         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51569         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51570         [UNIX98] (pthread_sigmask): Likewise.
51571         [UNIX98] (pthread_spin_destroy): Likewise.
51572         [UNIX98] (pthread_spin_init): Likewise.
51573         [UNIX98] (pthread_spin_lock): Likewise.
51574         [UNIX98] (pthread_spin_trylock): Likewise.
51575         [UNIX98] (pthread_spin_unlock): Likewise.
51576         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51577         Do not expect.
51578         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51579         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51580         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51581         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51582         [XPG3 || XPG4] (pthread_key_t): Likewise.
51583         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51584         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51585         [XPG3 || XPG4] (pthread_once_t): Likewise.
51586         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51587         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51588         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51589         [XPG3 || XPG4] (pthread_t): Likewise.
51591         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51592         not expect.
51593         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51595         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51596         Change function return type to int.
51598         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51599         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51600         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51601         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51602         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51603         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51604         [!POSIX] (posix_madvise): Likewise.
51605         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51606         && !UNIX98].
51607         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51608         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51609         (mode_t): Likewise.
51610         (posix_mem_offset): Likewise.
51611         (posix_typed_mem_get_info): Likewise.
51612         (posix_typed_mem_open): Likewise.
51614         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51615         Change condition to [XOPEN2K8].
51617         * conform/conformtest.pl: Preprocess allow-header data with -x c
51618         instead of from stdin.
51619         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51620         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51621         [C99-based standards] (cerfc): Likewise.
51622         [C99-based standards] (cexp2): Likewise.
51623         [C99-based standards] (cexpm1): Likewise.
51624         [C99-based standards] (clog10): Likewise.
51625         [C99-based standards] (clog1p): Likewise.
51626         [C99-based standards] (clog2): Likewise.
51627         [C99-based standards] (clgamma): Likewise.
51628         [C99-based standards] (ctgamma): Likewise.
51629         [C99-based standards] (cerff): Likewise.
51630         [C99-based standards] (cerfcf): Likewise.
51631         [C99-based standards] (cexp2f): Likewise.
51632         [C99-based standards] (cexpm1f): Likewise.
51633         [C99-based standards] (clog10f): Likewise.
51634         [C99-based standards] (clog1pf): Likewise.
51635         [C99-based standards] (clog2f): Likewise.
51636         [C99-based standards] (clgammaf): Likewise.
51637         [C99-based standards] (ctgammaf): Likewise.
51638         [C99-based standards] (cerfl): Likewise.
51639         [C99-based standards] (cerfcl): Likewise.
51640         [C99-based standards] (cexp2l): Likewise.
51641         [C99-based standards] (cexpm1l): Likewise.
51642         [C99-based standards] (clog10l): Likewise.
51643         [C99-based standards] (clog1pl): Likewise.
51644         [C99-based standards] (clog2l): Likewise.
51645         [C99-based standards] (clgammal): Likewise.
51646         [C99-based standards] (ctgammal): Likewise.
51647         * conform/data/inttypes.h-data [C99-based standards]: Include
51648         stdint.h-data.  Remove all expectations for stdint.h contents.
51649         [C99-based standards] (PRI*): Do not allow.
51650         [C99-based standards] (SCN*): Likewise.
51651         [C99-based standards] (*_t): Likewise.
51652         [C99-based-standards] (PRId8): Expect macro.
51653         [C99-based-standards] (PRIi8): Likewise.
51654         [C99-based-standards] (PRIo8): Likewise.
51655         [C99-based-standards] (PRIu8): Likewise.
51656         [C99-based-standards] (PRIx8): Likewise.
51657         [C99-based-standards] (PRIX8): Likewise.
51658         [C99-based-standards] (SCNd8): Likewise.
51659         [C99-based-standards] (SCNi8): Likewise.
51660         [C99-based-standards] (SCNo8): Likewise.
51661         [C99-based-standards] (SCNu8): Likewise.
51662         [C99-based-standards] (SCNx8): Likewise.
51663         [C99-based-standards] (PRIdLEAST8): Likewise.
51664         [C99-based-standards] (PRIiLEAST8): Likewise.
51665         [C99-based-standards] (PRIoLEAST8): Likewise.
51666         [C99-based-standards] (PRIuLEAST8): Likewise.
51667         [C99-based-standards] (PRIxLEAST8): Likewise.
51668         [C99-based-standards] (PRIXLEAST8): Likewise.
51669         [C99-based-standards] (SCNdLEAST8): Likewise.
51670         [C99-based-standards] (SCNiLEAST8): Likewise.
51671         [C99-based-standards] (SCNoLEAST8): Likewise.
51672         [C99-based-standards] (SCNuLEAST8): Likewise.
51673         [C99-based-standards] (SCNxLEAST8): Likewise.
51674         [C99-based-standards] (PRIdFAST8): Likewise.
51675         [C99-based-standards] (PRIiFAST8): Likewise.
51676         [C99-based-standards] (PRIoFAST8): Likewise.
51677         [C99-based-standards] (PRIuFAST8): Likewise.
51678         [C99-based-standards] (PRIxFAST8): Likewise.
51679         [C99-based-standards] (PRIXFAST8): Likewise.
51680         [C99-based-standards] (SCNdFAST8): Likewise.
51681         [C99-based-standards] (SCNiFAST8): Likewise.
51682         [C99-based-standards] (SCNoFAST8): Likewise.
51683         [C99-based-standards] (SCNuFAST8): Likewise.
51684         [C99-based-standards] (SCNxFAST8): Likewise.
51685         [C99-based-standards] (PRId16): Likewise.
51686         [C99-based-standards] (PRIi16): Likewise.
51687         [C99-based-standards] (PRIo16): Likewise.
51688         [C99-based-standards] (PRIu16): Likewise.
51689         [C99-based-standards] (PRIx16): Likewise.
51690         [C99-based-standards] (PRIX16): Likewise.
51691         [C99-based-standards] (SCNd16): Likewise.
51692         [C99-based-standards] (SCNi16): Likewise.
51693         [C99-based-standards] (SCNo16): Likewise.
51694         [C99-based-standards] (SCNu16): Likewise.
51695         [C99-based-standards] (SCNx16): Likewise.
51696         [C99-based-standards] (PRIdLEAST16): Likewise.
51697         [C99-based-standards] (PRIiLEAST16): Likewise.
51698         [C99-based-standards] (PRIoLEAST16): Likewise.
51699         [C99-based-standards] (PRIuLEAST16): Likewise.
51700         [C99-based-standards] (PRIxLEAST16): Likewise.
51701         [C99-based-standards] (PRIXLEAST16): Likewise.
51702         [C99-based-standards] (SCNdLEAST16): Likewise.
51703         [C99-based-standards] (SCNiLEAST16): Likewise.
51704         [C99-based-standards] (SCNoLEAST16): Likewise.
51705         [C99-based-standards] (SCNuLEAST16): Likewise.
51706         [C99-based-standards] (SCNxLEAST16): Likewise.
51707         [C99-based-standards] (PRIdFAST16): Likewise.
51708         [C99-based-standards] (PRIiFAST16): Likewise.
51709         [C99-based-standards] (PRIoFAST16): Likewise.
51710         [C99-based-standards] (PRIuFAST16): Likewise.
51711         [C99-based-standards] (PRIxFAST16): Likewise.
51712         [C99-based-standards] (PRIXFAST16): Likewise.
51713         [C99-based-standards] (SCNdFAST16): Likewise.
51714         [C99-based-standards] (SCNiFAST16): Likewise.
51715         [C99-based-standards] (SCNoFAST16): Likewise.
51716         [C99-based-standards] (SCNuFAST16): Likewise.
51717         [C99-based-standards] (SCNxFAST16): Likewise.
51718         [C99-based-standards] (PRId32): Likewise.
51719         [C99-based-standards] (PRIi32): Likewise.
51720         [C99-based-standards] (PRIo32): Likewise.
51721         [C99-based-standards] (PRIu32): Likewise.
51722         [C99-based-standards] (PRIx32): Likewise.
51723         [C99-based-standards] (PRIX32): Likewise.
51724         [C99-based-standards] (SCNd32): Likewise.
51725         [C99-based-standards] (SCNi32): Likewise.
51726         [C99-based-standards] (SCNo32): Likewise.
51727         [C99-based-standards] (SCNu32): Likewise.
51728         [C99-based-standards] (SCNx32): Likewise.
51729         [C99-based-standards] (PRIdLEAST32): Likewise.
51730         [C99-based-standards] (PRIiLEAST32): Likewise.
51731         [C99-based-standards] (PRIoLEAST32): Likewise.
51732         [C99-based-standards] (PRIuLEAST32): Likewise.
51733         [C99-based-standards] (PRIxLEAST32): Likewise.
51734         [C99-based-standards] (PRIXLEAST32): Likewise.
51735         [C99-based-standards] (SCNdLEAST32): Likewise.
51736         [C99-based-standards] (SCNiLEAST32): Likewise.
51737         [C99-based-standards] (SCNoLEAST32): Likewise.
51738         [C99-based-standards] (SCNuLEAST32): Likewise.
51739         [C99-based-standards] (SCNxLEAST32): Likewise.
51740         [C99-based-standards] (PRIdFAST32): Likewise.
51741         [C99-based-standards] (PRIiFAST32): Likewise.
51742         [C99-based-standards] (PRIoFAST32): Likewise.
51743         [C99-based-standards] (PRIuFAST32): Likewise.
51744         [C99-based-standards] (PRIxFAST32): Likewise.
51745         [C99-based-standards] (PRIXFAST32): Likewise.
51746         [C99-based-standards] (SCNdFAST32): Likewise.
51747         [C99-based-standards] (SCNiFAST32): Likewise.
51748         [C99-based-standards] (SCNoFAST32): Likewise.
51749         [C99-based-standards] (SCNuFAST32): Likewise.
51750         [C99-based-standards] (SCNxFAST32): Likewise.
51751         [C99-based-standards] (PRId64): Likewise.
51752         [C99-based-standards] (PRIi64): Likewise.
51753         [C99-based-standards] (PRIo64): Likewise.
51754         [C99-based-standards] (PRIu64): Likewise.
51755         [C99-based-standards] (PRIx64): Likewise.
51756         [C99-based-standards] (PRIX64): Likewise.
51757         [C99-based-standards] (SCNd64): Likewise.
51758         [C99-based-standards] (SCNi64): Likewise.
51759         [C99-based-standards] (SCNo64): Likewise.
51760         [C99-based-standards] (SCNu64): Likewise.
51761         [C99-based-standards] (SCNx64): Likewise.
51762         [C99-based-standards] (PRIdLEAST64): Likewise.
51763         [C99-based-standards] (PRIiLEAST64): Likewise.
51764         [C99-based-standards] (PRIoLEAST64): Likewise.
51765         [C99-based-standards] (PRIuLEAST64): Likewise.
51766         [C99-based-standards] (PRIxLEAST64): Likewise.
51767         [C99-based-standards] (PRIXLEAST64): Likewise.
51768         [C99-based-standards] (SCNdLEAST64): Likewise.
51769         [C99-based-standards] (SCNiLEAST64): Likewise.
51770         [C99-based-standards] (SCNoLEAST64): Likewise.
51771         [C99-based-standards] (SCNuLEAST64): Likewise.
51772         [C99-based-standards] (SCNxLEAST64): Likewise.
51773         [C99-based-standards] (PRIdFAST64): Likewise.
51774         [C99-based-standards] (PRIiFAST64): Likewise.
51775         [C99-based-standards] (PRIoFAST64): Likewise.
51776         [C99-based-standards] (PRIuFAST64): Likewise.
51777         [C99-based-standards] (PRIxFAST64): Likewise.
51778         [C99-based-standards] (PRIXFAST64): Likewise.
51779         [C99-based-standards] (SCNdFAST64): Likewise.
51780         [C99-based-standards] (SCNiFAST64): Likewise.
51781         [C99-based-standards] (SCNoFAST64): Likewise.
51782         [C99-based-standards] (SCNuFAST64): Likewise.
51783         [C99-based-standards] (SCNxFAST64): Likewise.
51784         [C99-based-standards] (PRIdMAX): Likewise.
51785         [C99-based-standards] (PRIiMAX): Likewise.
51786         [C99-based-standards] (PRIoMAX): Likewise.
51787         [C99-based-standards] (PRIuMAX): Likewise.
51788         [C99-based-standards] (PRIxMAX): Likewise.
51789         [C99-based-standards] (PRIXMAX): Likewise.
51790         [C99-based-standards] (SCNdMAX): Likewise.
51791         [C99-based-standards] (SCNiMAX): Likewise.
51792         [C99-based-standards] (SCNoMAX): Likewise.
51793         [C99-based-standards] (SCNuMAX): Likewise.
51794         [C99-based-standards] (SCNxMAX): Likewise.
51795         [C99-based-standards] (PRIdPTR): Likewise.
51796         [C99-based-standards] (PRIiPTR): Likewise.
51797         [C99-based-standards] (PRIoPTR): Likewise.
51798         [C99-based-standards] (PRIuPTR): Likewise.
51799         [C99-based-standards] (PRIxPTR): Likewise.
51800         [C99-based-standards] (PRIXPTR): Likewise.
51801         [C99-based-standards] (SCNdPTR): Likewise.
51802         [C99-based-standards] (SCNiPTR): Likewise.
51803         [C99-based-standards] (SCNoPTR): Likewise.
51804         [C99-based-standards] (SCNuPTR): Likewise.
51805         [C99-based-standards] (SCNxPTR): Likewise.
51806         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51807         allow.
51808         * conform/data/stdint.h-data: Update comments to clarify
51809         requirements.
51810         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51811         type.
51812         [C99-based standards] (INT8_MAX): Likewise.
51813         [C99-based standards] (INT16_MIN): Likewise.
51814         [C99-based standards] (INT16_MAX): Likewise.
51815         [C99-based standards] (INT32_MIN): Likewise.
51816         [C99-based standards] (INT32_MAX): Likewise.
51817         [C99-based standards] (INT64_MIN): Likewise.
51818         [C99-based standards] (INT64_MAX): Likewise.
51819         [C99-based standards] (UINT8_MAX): Likewise.
51820         [C99-based standards] (UINT16_MAX): Likewise.
51821         [C99-based standards] (UINT32_MAX): Likewise.
51822         [C99-based standards] (UINT64_MAX): Likewise.
51823         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51824         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51825         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51826         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51827         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51828         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51829         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51830         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51831         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51832         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51833         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51834         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51835         [C99-based standards] (INT_FAST8_MIN): Likewise.
51836         [C99-based standards] (INT_FAST8_MAX): Likewise.
51837         [C99-based standards] (INT_FAST16_MIN): Likewise.
51838         [C99-based standards] (INT_FAST16_MAX): Likewise.
51839         [C99-based standards] (INT_FAST32_MIN): Likewise.
51840         [C99-based standards] (INT_FAST32_MAX): Likewise.
51841         [C99-based standards] (INT_FAST64_MIN): Likewise.
51842         [C99-based standards] (INT_FAST64_MAX): Likewise.
51843         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51844         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51845         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51846         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51847         [C99-based standards] (INTPTR_MIN): Likewise.
51848         [C99-based standards] (INTPTR_MAX): Likewise.
51849         [C99-based standards] (UINTPTR_MAX): Likewise.
51850         [C99-based standards] (INTMAX_MIN): Likewise.
51851         [C99-based standards] (INTMAX_MAX): Likewise.
51852         [C99-based standards] (UINTMAX_MAX): Likewise.
51853         [C99-based standards] (PTRDIFF_MIN): Likewise.
51854         [C99-based standards] (PTRDIFF_MAX): Likewise.
51855         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51856         [C99-based standards] (SIZE_MAX): Likewise.
51857         [C99-based standards] (WCHAR_MAX): Likewise.
51858         [C99-based standards] (WINT_MAX): Likewise.
51859         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51860         constraint on value.
51861         [C99-based standards] (WCHAR_MIN): Likewise.
51862         [C99-based standards] (WINT_MIN): Likewise.
51863         [C99-based standards] (*_t): Allow.
51864         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51865         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51866         Include math.h-data and complex.h-data.  Remove all expectations
51867         of math.h and complex.h contents.
51868         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51869         at end of line.
51870         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51871         (struct tm): Expect tag.
51872         [C99-based-standards] (wcstof): Expect function.
51873         [C99-based-standards] (wcstold): Likewise.
51874         [C99-based-standards] (wcstoll): Likewise.
51875         [C99-based-standards] (wcstoull): Likewise.
51876         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51877         macro-int-constant.  Specify type.
51878         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51879         constraint on value.
51880         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51881         Specify type.
51882         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51883         Specify value.
51884         [ISO C standards]: Do not allow headers.
51885         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51886         wcs[abcdefghijklmnopqrstuvwxyz]*.
51887         [ISO C standards] (*_t): Do not allow.
51888         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51889         Expect function.
51890         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51891         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51892         Specify type.
51893         [ISO C standards]: Do not allow headers.
51894         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51895         is[abcdefghijklmnopqrstuvwxyz]*.
51896         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51897         to[abcdefghijklmnopqrstuvwxyz]*.
51898         [ISO C standards] (*_t): Do not allow.
51899         * conform/data/stdalign.h-data: New file.
51900         * conform/data/stdbool.h-data: Likewise.
51901         * conform/data/stdnoreturn.h-data: Likewise.
51903 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51905         [BZ #14815]
51906         * manual/filesys.texi (Directory Entries): Typo fix.
51907         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51909 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51911         * elf/elf.h (EM_AARCH64): New macro.
51912         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51913         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51914         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51915         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51916         (R_AARCH64_TLSDESC): Likewise.
51917         (NT_ARM_TLS): Likewise.
51918         (NT_ARM_HW_BREAK): Likewise.
51919         (NT_ARM_HW_WATCH): Likewise.
51921 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51923         [BZ #14811]
51924         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51925         (__ieee754_powl): Saturate nonzero exponents with absolute value
51926         below 0x1p-79 to +/- 0x1p-79.
51927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51928         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51929         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51930         nonzero exponents with absolute value below 0x1p-32 to +/-
51931         0x1p-32.
51932         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51933         (__ieee754_powl): Saturate nonzero exponents with absolute value
51934         below 0x1p-79 to +/- 0x1p-79.
51935         * math/libm-test.inc (pow_test): Add more tests.
51937 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51939         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51940         _dl_s390_cap_flags with kernel. Increase string length.
51941         (_dl_s390_platforms): Add z196 and zEC12.
51943 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51945         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51946         Change XOPEN21K to XOPEN2K.
51948 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51950         * string/memmove.c: Use memcpy when possible.
51952 2012-11-06  Andreas Jaeger  <aj@suse.de>
51954         * po/eo.po: Update from translation team.
51956 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51958         [BZ #14793]
51959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51960         exponent and small x and y exponents, scale x or y up.  Increase
51961         by 2 the exponent used in scaling up.
51962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51963         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51964         * math/libm-test.inc (fma_test): Add more tests.
51965         (fma_test_towardzero): Likewise.
51966         (fma_test_downward): Likewise.
51967         (fma_test_upward): Likewise.
51969 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51971         [BZ #14805]
51972         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51973         fenv_t *.
51975         [BZ #14801]
51976         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51977         namespace for names of struct fields.
51978         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51979         fenv_t fields.
51980         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51981         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51983 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51985         [BZ #3665]
51986         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51988 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51990         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51991         PTR_DEMANGLE.
51993         [BZ #5246]
51994         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51995         PTR_DEMANGLE.
51997 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51999         [BZ #14797]
52000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52001         definitely overflow as x * y not x * y + z.
52002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52004         * math/libm-test.inc (fma_test): Add more tests.
52005         (fma_test_towardzero): Likewise.
52006         (fma_test_downward): Likewise.
52007         (fma_test_upward): Likewise.
52009 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52011         [BZ #157]
52013         * include/stub-tag.h: Remove file.
52014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52015         '#include' of it.
52016         * manual/maint.texi (Porting): Don't reference it.
52017         * Makerules ($(objpfx)stubs): Likewise.
52018         * dirent/closedir.c: Don't include <stub-tag.h>.
52019         * dirent/dirfd.c: Likewise.
52020         * dirent/fdopendir.c: Likewise.
52021         * dirent/getdents.c: Likewise.
52022         * dirent/getdents64.c: Likewise.
52023         * dirent/opendir.c: Likewise.
52024         * dirent/readdir.c: Likewise.
52025         * dirent/readdir64.c: Likewise.
52026         * dirent/readdir64_r.c: Likewise.
52027         * dirent/readdir_r.c: Likewise.
52028         * dirent/rewinddir.c: Likewise.
52029         * dirent/seekdir.c: Likewise.
52030         * dirent/telldir.c: Likewise.
52031         * gmon/profil.c: Likewise.
52032         * grp/setgroups.c: Likewise.
52033         * inet/if_index.c: Likewise.
52034         * io/access.c: Likewise.
52035         * io/chdir.c: Likewise.
52036         * io/chmod.c: Likewise.
52037         * io/chown.c: Likewise.
52038         * io/close.c: Likewise.
52039         * io/dup.c: Likewise.
52040         * io/dup2.c: Likewise.
52041         * io/dup3.c: Likewise.
52042         * io/euidaccess.c: Likewise.
52043         * io/faccessat.c: Likewise.
52044         * io/fchdir.c: Likewise.
52045         * io/fchmod.c: Likewise.
52046         * io/fchmodat.c: Likewise.
52047         * io/fchown.c: Likewise.
52048         * io/fchownat.c: Likewise.
52049         * io/fcntl.c: Likewise.
52050         * io/flock.c: Likewise.
52051         * io/fstatfs.c: Likewise.
52052         * io/fstatfs64.c: Likewise.
52053         * io/fstatvfs.c: Likewise.
52054         * io/fstatvfs64.c: Likewise.
52055         * io/futimens.c: Likewise.
52056         * io/fxstat.c: Likewise.
52057         * io/fxstat64.c: Likewise.
52058         * io/fxstatat.c: Likewise.
52059         * io/fxstatat64.c: Likewise.
52060         * io/getcwd.c: Likewise.
52061         * io/isatty.c: Likewise.
52062         * io/lchmod.c: Likewise.
52063         * io/lchown.c: Likewise.
52064         * io/link.c: Likewise.
52065         * io/linkat.c: Likewise.
52066         * io/lseek.c: Likewise.
52067         * io/lseek64.c: Likewise.
52068         * io/lxstat64.c: Likewise.
52069         * io/mkdir.c: Likewise.
52070         * io/mkdirat.c: Likewise.
52071         * io/mkfifo.c: Likewise.
52072         * io/mkfifoat.c: Likewise.
52073         * io/open.c: Likewise.
52074         * io/open64.c: Likewise.
52075         * io/openat.c: Likewise.
52076         * io/openat64.c: Likewise.
52077         * io/pipe.c: Likewise.
52078         * io/pipe2.c: Likewise.
52079         * io/poll.c: Likewise.
52080         * io/posix_fadvise.c: Likewise.
52081         * io/posix_fadvise64.c: Likewise.
52082         * io/posix_fallocate.c: Likewise.
52083         * io/posix_fallocate64.c: Likewise.
52084         * io/read.c: Likewise.
52085         * io/readlink.c: Likewise.
52086         * io/readlinkat.c: Likewise.
52087         * io/rmdir.c: Likewise.
52088         * io/sendfile.c: Likewise.
52089         * io/sendfile64.c: Likewise.
52090         * io/statfs.c: Likewise.
52091         * io/statfs64.c: Likewise.
52092         * io/statvfs.c: Likewise.
52093         * io/statvfs64.c: Likewise.
52094         * io/symlink.c: Likewise.
52095         * io/symlinkat.c: Likewise.
52096         * io/ttyname.c: Likewise.
52097         * io/ttyname_r.c: Likewise.
52098         * io/umask.c: Likewise.
52099         * io/unlink.c: Likewise.
52100         * io/unlinkat.c: Likewise.
52101         * io/utime.c: Likewise.
52102         * io/utimensat.c: Likewise.
52103         * io/write.c: Likewise.
52104         * io/xmknod.c: Likewise.
52105         * io/xmknodat.c: Likewise.
52106         * io/xstat.c: Likewise.
52107         * io/xstat64.c: Likewise.
52108         * login/getpt.c: Likewise.
52109         * login/grantpt.c: Likewise.
52110         * login/unlockpt.c: Likewise.
52111         * math/e_acoshl.c: Likewise.
52112         * math/e_acosl.c: Likewise.
52113         * math/e_asinl.c: Likewise.
52114         * math/e_atan2l.c: Likewise.
52115         * math/e_atanhl.c: Likewise.
52116         * math/e_coshl.c: Likewise.
52117         * math/e_expl.c: Likewise.
52118         * math/e_fmodl.c: Likewise.
52119         * math/e_gammal_r.c: Likewise.
52120         * math/e_hypotl.c: Likewise.
52121         * math/e_j0l.c: Likewise.
52122         * math/e_j1l.c: Likewise.
52123         * math/e_jnl.c: Likewise.
52124         * math/e_lgammal_r.c: Likewise.
52125         * math/e_log10l.c: Likewise.
52126         * math/e_log2l.c: Likewise.
52127         * math/e_logl.c: Likewise.
52128         * math/e_powl.c: Likewise.
52129         * math/e_rem_pio2l.c: Likewise.
52130         * math/e_sinhl.c: Likewise.
52131         * math/e_sqrtl.c: Likewise.
52132         * math/fclrexcpt.c: Likewise.
52133         * math/fedisblxcpt.c: Likewise.
52134         * math/feenablxcpt.c: Likewise.
52135         * math/fegetenv.c: Likewise.
52136         * math/fegetexcept.c: Likewise.
52137         * math/fegetround.c: Likewise.
52138         * math/feholdexcpt.c: Likewise.
52139         * math/fesetenv.c: Likewise.
52140         * math/fesetround.c: Likewise.
52141         * math/feupdateenv.c: Likewise.
52142         * math/fgetexcptflg.c: Likewise.
52143         * math/fraiseexcpt.c: Likewise.
52144         * math/fsetexcptflg.c: Likewise.
52145         * math/ftestexcept.c: Likewise.
52146         * math/k_cosl.c: Likewise.
52147         * math/k_rem_pio2l.c: Likewise.
52148         * math/k_sinl.c: Likewise.
52149         * math/k_tanl.c: Likewise.
52150         * math/s_asinhl.c: Likewise.
52151         * math/s_atanl.c: Likewise.
52152         * math/s_cbrtl.c: Likewise.
52153         * math/s_erfl.c: Likewise.
52154         * math/s_expm1l.c: Likewise.
52155         * math/s_log1pl.c: Likewise.
52156         * math/s_tanhl.c: Likewise.
52157         * misc/acct.c: Likewise.
52158         * misc/brk.c: Likewise.
52159         * misc/chflags.c: Likewise.
52160         * misc/chroot.c: Likewise.
52161         * misc/fchflags.c: Likewise.
52162         * misc/fgetxattr.c: Likewise.
52163         * misc/flistxattr.c: Likewise.
52164         * misc/fremovexattr.c: Likewise.
52165         * misc/fsetxattr.c: Likewise.
52166         * misc/fsync.c: Likewise.
52167         * misc/ftruncate.c: Likewise.
52168         * misc/futimes.c: Likewise.
52169         * misc/futimesat.c: Likewise.
52170         * misc/getdomain.c: Likewise.
52171         * misc/getdtsz.c: Likewise.
52172         * misc/gethostid.c: Likewise.
52173         * misc/gethostname.c: Likewise.
52174         * misc/getloadavg.c: Likewise.
52175         * misc/getpagesize.c: Likewise.
52176         * misc/getsysstats.c: Likewise.
52177         * misc/getxattr.c: Likewise.
52178         * misc/gtty.c: Likewise.
52179         * misc/ioctl.c: Likewise.
52180         * misc/lgetxattr.c: Likewise.
52181         * misc/listxattr.c: Likewise.
52182         * misc/llistxattr.c: Likewise.
52183         * misc/lremovexattr.c: Likewise.
52184         * misc/lsetxattr.c: Likewise.
52185         * misc/lutimes.c: Likewise.
52186         * misc/madvise.c: Likewise.
52187         * misc/mincore.c: Likewise.
52188         * misc/mlock.c: Likewise.
52189         * misc/mlockall.c: Likewise.
52190         * misc/mmap.c: Likewise.
52191         * misc/mprotect.c: Likewise.
52192         * misc/msync.c: Likewise.
52193         * misc/munlock.c: Likewise.
52194         * misc/munlockall.c: Likewise.
52195         * misc/munmap.c: Likewise.
52196         * misc/preadv.c: Likewise.
52197         * misc/preadv64.c: Likewise.
52198         * misc/ptrace.c: Likewise.
52199         * misc/pwritev.c: Likewise.
52200         * misc/pwritev64.c: Likewise.
52201         * misc/readv.c: Likewise.
52202         * misc/reboot.c: Likewise.
52203         * misc/remap_file_pages.c: Likewise.
52204         * misc/removexattr.c: Likewise.
52205         * misc/revoke.c: Likewise.
52206         * misc/select.c: Likewise.
52207         * misc/setdomain.c: Likewise.
52208         * misc/setegid.c: Likewise.
52209         * misc/seteuid.c: Likewise.
52210         * misc/sethostid.c: Likewise.
52211         * misc/sethostname.c: Likewise.
52212         * misc/setregid.c: Likewise.
52213         * misc/setreuid.c: Likewise.
52214         * misc/setxattr.c: Likewise.
52215         * misc/sstk.c: Likewise.
52216         * misc/stty.c: Likewise.
52217         * misc/swapoff.c: Likewise.
52218         * misc/swapon.c: Likewise.
52219         * misc/sync.c: Likewise.
52220         * misc/syncfs.c: Likewise.
52221         * misc/syscall.c: Likewise.
52222         * misc/truncate.c: Likewise.
52223         * misc/ualarm.c: Likewise.
52224         * misc/usleep.c: Likewise.
52225         * misc/ustat.c: Likewise.
52226         * misc/utimes.c: Likewise.
52227         * misc/vhangup.c: Likewise.
52228         * misc/writev.c: Likewise.
52229         * posix/_exit.c: Likewise.
52230         * posix/alarm.c: Likewise.
52231         * posix/execve.c: Likewise.
52232         * posix/fexecve.c: Likewise.
52233         * posix/fork.c: Likewise.
52234         * posix/fpathconf.c: Likewise.
52235         * posix/getaddrinfo.c: Likewise.
52236         * posix/getegid.c: Likewise.
52237         * posix/geteuid.c: Likewise.
52238         * posix/getgid.c: Likewise.
52239         * posix/getgroups.c: Likewise.
52240         * posix/getlogin.c: Likewise.
52241         * posix/getlogin_r.c: Likewise.
52242         * posix/getpgid.c: Likewise.
52243         * posix/getpid.c: Likewise.
52244         * posix/getppid.c: Likewise.
52245         * posix/getresgid.c: Likewise.
52246         * posix/getresuid.c: Likewise.
52247         * posix/getsid.c: Likewise.
52248         * posix/getuid.c: Likewise.
52249         * posix/glob64.c: Likewise.
52250         * posix/nanosleep.c: Likewise.
52251         * posix/pathconf.c: Likewise.
52252         * posix/pause.c: Likewise.
52253         * posix/posix_madvise.c: Likewise.
52254         * posix/pread.c: Likewise.
52255         * posix/pread64.c: Likewise.
52256         * posix/pwrite.c: Likewise.
52257         * posix/pwrite64.c: Likewise.
52258         * posix/sched_getaffinity.c: Likewise.
52259         * posix/sched_getp.c: Likewise.
52260         * posix/sched_gets.c: Likewise.
52261         * posix/sched_primax.c: Likewise.
52262         * posix/sched_primin.c: Likewise.
52263         * posix/sched_rr_gi.c: Likewise.
52264         * posix/sched_setaffinity.c: Likewise.
52265         * posix/sched_setp.c: Likewise.
52266         * posix/sched_sets.c: Likewise.
52267         * posix/sched_yield.c: Likewise.
52268         * posix/setgid.c: Likewise.
52269         * posix/setlogin.c: Likewise.
52270         * posix/setpgid.c: Likewise.
52271         * posix/setresgid.c: Likewise.
52272         * posix/setresuid.c: Likewise.
52273         * posix/setsid.c: Likewise.
52274         * posix/setuid.c: Likewise.
52275         * posix/sleep.c: Likewise.
52276         * posix/spawni.c: Likewise.
52277         * posix/sysconf.c: Likewise.
52278         * posix/times.c: Likewise.
52279         * posix/wait.c: Likewise.
52280         * posix/wait3.c: Likewise.
52281         * posix/wait4.c: Likewise.
52282         * posix/waitpid.c: Likewise.
52283         * resolv/gai_sigqueue.c: Likewise.
52284         * resource/getpriority.c: Likewise.
52285         * resource/getrlimit.c: Likewise.
52286         * resource/getrusage.c: Likewise.
52287         * resource/nice.c: Likewise.
52288         * resource/setpriority.c: Likewise.
52289         * resource/setrlimit.c: Likewise.
52290         * resource/ulimit.c: Likewise.
52291         * rt/aio_cancel.c: Likewise.
52292         * rt/aio_fsync.c: Likewise.
52293         * rt/aio_read.c: Likewise.
52294         * rt/aio_sigqueue.c: Likewise.
52295         * rt/aio_suspend.c: Likewise.
52296         * rt/aio_write.c: Likewise.
52297         * rt/clock_getres.c: Likewise.
52298         * rt/clock_gettime.c: Likewise.
52299         * rt/clock_nanosleep.c: Likewise.
52300         * rt/clock_settime.c: Likewise.
52301         * rt/lio_listio.c: Likewise.
52302         * rt/mq_close.c: Likewise.
52303         * rt/mq_getattr.c: Likewise.
52304         * rt/mq_notify.c: Likewise.
52305         * rt/mq_open.c: Likewise.
52306         * rt/mq_receive.c: Likewise.
52307         * rt/mq_send.c: Likewise.
52308         * rt/mq_setattr.c: Likewise.
52309         * rt/mq_timedreceive.c: Likewise.
52310         * rt/mq_timedsend.c: Likewise.
52311         * rt/mq_unlink.c: Likewise.
52312         * rt/shm_open.c: Likewise.
52313         * rt/shm_unlink.c: Likewise.
52314         * rt/timer_create.c: Likewise.
52315         * rt/timer_delete.c: Likewise.
52316         * rt/timer_getoverr.c: Likewise.
52317         * rt/timer_gettime.c: Likewise.
52318         * rt/timer_settime.c: Likewise.
52319         * setjmp/__longjmp.c: Likewise.
52320         * setjmp/setjmp.c: Likewise.
52321         * signal/kill.c: Likewise.
52322         * signal/killpg.c: Likewise.
52323         * signal/raise.c: Likewise.
52324         * signal/sigaction.c: Likewise.
52325         * signal/sigaltstack.c: Likewise.
52326         * signal/sigblock.c: Likewise.
52327         * signal/sigignore.c: Likewise.
52328         * signal/sigintr.c: Likewise.
52329         * signal/signal.c: Likewise.
52330         * signal/sigpause.c: Likewise.
52331         * signal/sigpending.c: Likewise.
52332         * signal/sigqueue.c: Likewise.
52333         * signal/sigreturn.c: Likewise.
52334         * signal/sigset.c: Likewise.
52335         * signal/sigsetmask.c: Likewise.
52336         * signal/sigstack.c: Likewise.
52337         * signal/sigsuspend.c: Likewise.
52338         * signal/sigtimedwait.c: Likewise.
52339         * signal/sigvec.c: Likewise.
52340         * signal/sigwait.c: Likewise.
52341         * signal/sigwaitinfo.c: Likewise.
52342         * signal/sysv_signal.c: Likewise.
52343         * socket/accept.c: Likewise.
52344         * socket/accept4.c: Likewise.
52345         * socket/bind.c: Likewise.
52346         * socket/connect.c: Likewise.
52347         * socket/getpeername.c: Likewise.
52348         * socket/getsockname.c: Likewise.
52349         * socket/getsockopt.c: Likewise.
52350         * socket/isfdtype.c: Likewise.
52351         * socket/listen.c: Likewise.
52352         * socket/recv.c: Likewise.
52353         * socket/recvfrom.c: Likewise.
52354         * socket/recvmsg.c: Likewise.
52355         * socket/send.c: Likewise.
52356         * socket/sendmsg.c: Likewise.
52357         * socket/sendto.c: Likewise.
52358         * socket/setsockopt.c: Likewise.
52359         * socket/shutdown.c: Likewise.
52360         * socket/sockatmark.c: Likewise.
52361         * socket/socket.c: Likewise.
52362         * socket/socketpair.c: Likewise.
52363         * stdio-common/ctermid.c: Likewise.
52364         * stdio-common/cuserid.c: Likewise.
52365         * stdio-common/remove.c: Likewise.
52366         * stdio-common/rename.c: Likewise.
52367         * stdio-common/renameat.c: Likewise.
52368         * stdio-common/tempname.c: Likewise.
52369         * stdlib/getcontext.c: Likewise.
52370         * stdlib/makecontext.c: Likewise.
52371         * stdlib/setcontext.c: Likewise.
52372         * stdlib/swapcontext.c: Likewise.
52373         * stdlib/system.c: Likewise.
52374         * streams/fattach.c: Likewise.
52375         * streams/fdetach.c: Likewise.
52376         * streams/getmsg.c: Likewise.
52377         * streams/getpmsg.c: Likewise.
52378         * streams/putmsg.c: Likewise.
52379         * streams/putpmsg.c: Likewise.
52380         * sysdeps/unix/bsd/getpt.c: Likewise.
52381         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52382         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52383         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52385         Likewise.
52386         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52387         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52388         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52389         * sysvipc/msgctl.c: Likewise.
52390         * sysvipc/msgget.c: Likewise.
52391         * sysvipc/msgrcv.c: Likewise.
52392         * sysvipc/msgsnd.c: Likewise.
52393         * sysvipc/semctl.c: Likewise.
52394         * sysvipc/semget.c: Likewise.
52395         * sysvipc/semop.c: Likewise.
52396         * sysvipc/semtimedop.c: Likewise.
52397         * sysvipc/shmat.c: Likewise.
52398         * sysvipc/shmctl.c: Likewise.
52399         * sysvipc/shmdt.c: Likewise.
52400         * sysvipc/shmget.c: Likewise.
52401         * termios/tcdrain.c: Likewise.
52402         * termios/tcflow.c: Likewise.
52403         * termios/tcflush.c: Likewise.
52404         * termios/tcgetattr.c: Likewise.
52405         * termios/tcgetpgrp.c: Likewise.
52406         * termios/tcsendbrk.c: Likewise.
52407         * termios/tcsetattr.c: Likewise.
52408         * termios/tcsetpgrp.c: Likewise.
52409         * time/adjtime.c: Likewise.
52410         * time/clock.c: Likewise.
52411         * time/getitimer.c: Likewise.
52412         * time/gettimeofday.c: Likewise.
52413         * time/setitimer.c: Likewise.
52414         * time/settimeofday.c: Likewise.
52415         * time/stime.c: Likewise.
52416         * time/time.c: Likewise.
52418 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52420         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52421         /usr/old/bin.
52423         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52424         instead of spaces.
52425         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52427 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52429         [BZ #14796]
52430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52431         FE_TONEAREST before applying Dekker multiplication and Knuth
52432         addition.  Clear inexact exceptions and check for exact zero
52433         results afterwards.
52434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52437         * math/libm-test.inc (fma_test): Add more tests.
52438         (fma_test_towardzero): Likewise.
52439         (fma_test_downward): Likewise.
52440         (fma_test_upward): Likewise.
52441         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52442         function.
52443         (libc_fesetround): New macro.
52444         (libc_fesetroundf): Likewise.
52445         (libc_fesetroundl): Likewise.
52446         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52447         function.
52448         (libc_fesetround_387): Likewise.
52449         (libc_fesetroundf): New macro.
52450         (libc_fesetround): Likewise.
52451         (libc_fesetroundl): Likewise.
52452         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52453         function.
52454         (libc_fesetroundf): New macro.
52455         (libc_fesetround): Likewise.
52456         (libc_fesetroundl): Likewise.
52457         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52458         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52459         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52460         libm_hidden_ver.
52461         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52462         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52463         libm_hidden_def.
52464         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52465         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52466         libm_hidden_ver.
52467         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52468         libm_hidden_def.
52470         [BZ #3439]
52471         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52472         integer constant usable in #if and use that to give value to enum
52473         constant.
52474         (FE_DIVBYZERO): Likewise.
52475         (FE_UNDERFLOW): Likewise.
52476         (FE_OVERFLOW): Likewise.
52477         (FE_INVALID): Likewise.
52478         (FE_INVALID_SNAN): Likewise.
52479         (FE_INVALID_ISI): Likewise.
52480         (FE_INVALID_IDI): Likewise.
52481         (FE_INVALID_ZDZ): Likewise.
52482         (FE_INVALID_IMZ): Likewise.
52483         (FE_INVALID_COMPARE): Likewise.
52484         (FE_INVALID_SOFTWARE): Likewise.
52485         (FE_INVALID_SQRT): Likewise.
52486         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52487         (FE_TONEAREST): Likewise.
52488         (FE_TOWARDZERO): Likewise.
52489         (FE_UPWARD): Likewise.
52490         (FE_DOWNWARD): Likewise.
52491         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52492         (FE_DIVBYZERO): Likewise.
52493         (FE_OVERFLOW): Likewise.
52494         (FE_UNDERFLOW): Likewise.
52495         (FE_INEXACT): Likewise.
52496         (FE_TONEAREST): Likewise.
52497         (FE_DOWNWARD): Likewise.
52498         (FE_UPWARD): Likewise.
52499         (FE_TOWARDZERO): Likewise.
52500         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52501         (FE_UNDERFLOW): Likewise.
52502         (FE_OVERFLOW): Likewise.
52503         (FE_DIVBYZERO): Likewise.
52504         (FE_INVALID): Likewise.
52505         (FE_TONEAREST): Likewise.
52506         (FE_TOWARDZERO): Likewise.
52507         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52508         (FE_OVERFLOW): Likewise.
52509         (FE_UNDERFLOW): Likewise.
52510         (FE_DIVBYZERO): Likewise.
52511         (FE_INEXACT): Likewise.
52512         (FE_TONEAREST): Likewise.
52513         (FE_TOWARDZERO): Likewise.
52514         (FE_UPWARD): Likewise.
52515         (FE_DOWNWARD): Likewise.
52516         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52517         (FE_DIVBYZERO): Likewise.
52518         (FE_OVERFLOW): Likewise.
52519         (FE_UNDERFLOW): Likewise.
52520         (FE_INEXACT): Likewise.
52521         (FE_TONEAREST): Likewise.
52522         (FE_DOWNWARD): Likewise.
52523         (FE_UPWARD): Likewise.
52524         (FE_TOWARDZERO): Likewise.
52526 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52528         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52530 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52532         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52533         commands.  Quote $PWD.
52534         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52535         -x" by "export".
52536         (remove_newlines): Remove.
52538 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52540         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52541         * stdlib/stdlib.h (atof): Moved to ...
52542         * include/bits/stdlib-float.h: Here.  New file.
52543         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52544         * stdlib/bits/stdlib-float.h: New file.
52545         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52546         -mno-sse -mno-mmx.
52547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52548         <xmmintrin.h>.
52550 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52552         * conform/conformtest.pl (@headers): Add fenv.h.
52553         * conform/data/fenv.h-data: New file.
52554         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52555         include of <math/fenv.h>.
52557         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52558         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52559         && !UNIX98].  Enables tests for XOPEN2K8.
52560         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52561         POSIX2008]: Likewise.
52563         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52564         (struct rusage): Do not expect type or its members.
52566         [BZ #3439]
52567         * math/math.h (FP_NAN): Define macro to integer constant usable in
52568         #if and use that to give value to enum constant.
52569         (FP_INFINITE): Likewise.
52570         (FP_ZERO): Likewise.
52571         (FP_SUBNORMAL): Likewise.
52572         (FP_NORMAL): Likewise.
52574 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52576         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52577         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52578         arguments.
52580 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52582         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52583         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52584         autoconf-time if not.
52585         * configure.in: Remove AC_PREREQ.
52587 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52589         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52590         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52591         of the internal implementation.
52593 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52595         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52596         except include of <misc/sys/syslog.h>.
52598 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52601         function returns with a NULL context exit with zero.
52603 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52605         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52607 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52609         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52610         (run_program_cmd): This.
52611         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52612         (tst_langinfo): New variable.  Use it.
52614 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52616         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52617         floating point opcodes.
52619 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52621         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52622         variable.
52624         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52626         * sysdeps/mach/hurd/powerpc: Remove directory.
52627         * sysdeps/mach/powerpc: Likewise.
52629 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52631         * scripts/check-local-headers.sh: Ignore c++ headers.
52633 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52635         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52636         __libc_cleanup_region_start argument.
52638 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52640         [BZ #14784]
52641         [BZ #14785]
52642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52643         x * y using scaling, not as x * y + z.
52644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52646         * math/libm-test.inc (fma_test): Add more tests.
52647         (fma_test_towardzero): Likewise.
52648         (fma_test_downward): Likewise.
52649         (fma_test_upward): Likewise.
52651 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52653         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52655 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52657         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52658         New variable.
52660 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52662         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52664 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52667         Fix sort order.
52668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52669         Likewise.
52671 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52674         Fix the order of the list for glibc 2.17.
52675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52676         Likewise.
52678 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52682 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52684         [BZ #14610]
52685         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52686         for low part of x being zero before using __atanl (y).
52687         * math/libm-test.inc (atan2_test): Add another test.
52689         * manual/install.texi (Configuring and compiling): Document
52690         general use of test-wrapper and test-wrapper-env.
52691         * INSTALL: Regenerated.
52693         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52694         (__fma): Do not extract and scale down low bits on after-rounding
52695         systems when result rounded to normal precision would have normal
52696         exponent.
52697         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52698         (__fmal): Do not extract and scale down low bits on after-rounding
52699         systems when result rounded to normal precision would have normal
52700         exponent.
52701         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52702         (__fmal): Do not extract and scale down low bits on after-rounding
52703         systems when result rounded to normal precision would have normal
52704         exponent.
52705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52706         macro.
52707         (fma_test): Add more tests.
52708         (fma_test_towardzero): Likewise.
52709         (fma_test_downward): Likewise.
52710         (fma_test_upward): Likewise.
52712 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52714         * sysdeps/i386/tininess.h: Renamed to ...
52715         * sysdeps/x86/tininess.h: This.
52716         * sysdeps/x86_64/tininess.h: Removed.
52718 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52720         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52721         input.  Use $(build-program-cmd).
52722         ($(objpfx)tst-array1-static.out): Likewise.
52723         ($(objpfx)tst-array2.out): Likewise.
52724         ($(objpfx)tst-array3.out): Likewise.
52725         ($(objpfx)tst-array4.out): Likewise.
52726         ($(objpfx)tst-array5.out): Likewise.
52727         ($(objpfx)tst-array5-static.out): Likewise.
52729 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52731         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52732         if defined.
52734         * nss/nsswitch.h (nss_interface_function): Provide new
52735         macro for use with NSS functions.
52736         * grp/initgroups.c: Use new macro.
52737         * nss/getXXbyYY.c: Likewise.
52738         * nss/getXXbyYY_r.c: Likewise.
52739         * nss/getXXent.c: Likewise.
52740         * nss/getXXent_r.c: Likewise.
52741         * sysdeps/posix/getaddrinfo.c: Likewise.
52743 2012-10-30  Andreas Jaeger  <aj@suse.de>
52745         * po/ru.po: Update Russion translation from translation project.
52747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52749         [BZ #14152]
52750         [BZ #14783]
52751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52752         result and shift together with sticky bit instead of replicating
52753         round-to-nearest rounding.
52754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52756         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52757         missing underflow exceptions.
52758         (fma_test_towardzero): Add more tests.
52759         (fma_test_downward): Likewise.
52760         (fma_test_upward): Likewise.
52762         [BZ #14047]
52763         * sysdeps/generic/tininess.h: New file.
52764         * sysdeps/i386/tininess.h: Likewise.
52765         * sysdeps/sh/tininess.h: Likewise.
52766         * sysdeps/x86_64/tininess.h: Likewise.
52767         * stdlib/tst-strtod-underflow.c: Likewise.
52768         * stdlib/tst-tininess.c: Likewise.
52769         * stdlib/strtod_l.c: Include <tininess.h>.
52770         (round_and_return): Do not set errno for exact underflow cases.
52771         Force an underflow exception when setting errno for underflow.
52772         Determine underflow based on rounding to normal precision if
52773         TININESS_AFTER_ROUNDING.
52774         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52775         ERANGE for exact underflow cases.
52776         * stdlib/Makefile (tests): Add tst-tininess and
52777         tst-strtod-underflow.
52778         ($(objpfx)tst-tininess): Use $(link-libm).
52779         ($(objpfx)tst-strtod-underflow): Likewise.
52781 2012-10-30  Andreas Jaeger  <aj@suse.de>
52783         [BZ#14767]
52784         * elf/Makefile (tests): Remove conditional for have-initfini-array
52785         since this is now always required and the variable does not exist
52786         anymore.
52787         (tests-static): Likewise.
52788         (modules-names): Likewise.
52790         * po/eo.po: Add Esperanto translation from translation project.
52792         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52793         merged with constructor/destructor.
52794         (init_array): Likewise.
52795         * elf/tst-array2dep.c (fini_array): Likewise.
52796         (init_array): Likewise.
52798 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52800         * manual/message.texi: Delete @cartouche tags.
52802 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52804         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52805         EOPNOTSUPP.
52806         * sysdeps/mach/hurd/fsync.c: Likewise.
52808         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52809         [_POSIX_REALTIME_SIGNALS]: Change condition to
52810         [_POSIX_REALTIME_SIGNALS > 0].
52812 2012-10-27  Andreas Jaeger  <aj@suse.de>
52814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52815         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52817         [__WORDSIZE != 64]: Likewise.
52819 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52821         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52822         *  iconvdata/tst-tables.sh: Likewise.
52824 2012-10-25  David S. Miller  <davem@davemloft.net>
52826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52827         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52828         of strtoull.
52830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52831         ifunc-impl-list.c
52832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52833         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52834         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52835         file.
52837 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52840         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52841         __getdirentries.
52843 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52844             Jim Blandy  <jimb@codesourcery.com>
52846         * scripts/cross-test-ssh.sh: New file.
52847         * manual/install.texi (Configuring and compiling): Document use of
52848         cross-test-ssh.sh.
52849         * INSTALL: Regenerated.
52851 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52853         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52854         EOPNOTSUPP.
52856 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52858         * Makeconfig (run-program-prefix): Fix comment.
52860 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52861             Jim Blandy  <jimb@codesourcery.com>
52863         * Makeconfig (test-wrapper): New variable,
52864         (test-wrapper-env): Likewise.
52865         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52866         (run-built-tests): Define to yes.
52867         (run-program-prefix): Use $(test-wrapper).
52868         (built-program-cmd): Likewise.
52869         * Rules (make-test-out): Use $(test-wrapper-env) and
52870         $(host-built-program-cmd).
52871         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52872         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52873         tst-pathopt.sh.
52874         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52875         $(test-wrapper-env) to tst-rtld-load-self.sh.
52876         ($(objpfx)order2.out): Use $(test-wrapper).
52877         ($(objpfx)tst-initorder.out): Likewise.
52878         ($(objpfx)tst-initorder2.out): Likewise.
52879         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52880         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52881         (test_wrapper_env): New variable.  Use it to run ld.so.
52882         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52883         Use it to run ld.so.
52884         (test_wrapper_env): Likewise.
52885         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52886         $(test-wrapper) to run-iconv-test.sh.
52887         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52888         (ICONV): Use $test_wrapper.
52889         * posix/Makefile ($(objpfx)globtest.out): Pass
52890         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52891         globtest.sh, not $(run-program-prefix).
52892         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52893         (test_wrapper): Likewise.
52894         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52895         set together with run_via_rtld_prefix.
52896         (run_program_prefix): Define in terms of test_wrapper and
52897         run_via_rtld_prefix.
52899 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52901         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52902         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52903         Targets removed.
52905         [BZ #14743]
52906         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52907         Declare __clock_getres, __clock_gettime, __clock_settime,
52908         __clock_nanosleep, and __clock_getcpuclockid.
52909         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52910         Remove librt_hidden_def (clock_gettime).
52911         * sysdeps/unix/clock_gettime.c: Likewise.
52912         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52914         * rt/clock_getres.c: Define __clock_getres as an alias.
52915         * sysdeps/posix/clock_getres.c: Likewise.
52916         * rt/clock_settime.c: Define __clock_settime as an alias.
52917         * sysdeps/unix/clock_settime.c: Likewise.
52918         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52919         * sysdeps/unix/clock_nanosleep.c: Likewise.
52920         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52921         * rt/clock-compat.c: New file.
52922         * rt/Makefile (librt-routines): Add clock-compat and move
52923         $(clock-routines) to ...
52924         (routines): ... here, new variable.
52925         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52926         Don't add get_clockfreq here.
52927         * rt/Versions (libc: GLIBC_2.17): New version set.
52928         Add clock_* symbols here.
52929         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52931         (GLIBC_2.17): Add clock_* symbols.
52932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52936         Likewise.
52937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52938         Likewise.
52939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52943         * NEWS: Mention the move.
52945         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52946         Use __open, __read, __close rather than their public counterparts.
52947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52948         (__get_clockfreq_via_cpuinfo): Likewise.
52949         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52950         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52952         * config.h.in (HAVE_IFUNC): New #undef.
52953         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52954         was successful.
52955         * configure: Regenerated.
52957 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52959         * configure.in: Move READELF check to start of file.
52960         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52961         libc_cv_asm_gnu_indirect_function in the process.
52962         * configure: Regenerated.
52964 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52966         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52967         send the output to /dev/null.
52968         (libc_cv_cc_with_libunwind): Likewise.
52969         (libc_cv_as_noexecstack): Likewise.
52970         * configure: Regenerate.
52972 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52974         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52976         * posix/globtest.sh (TMPDIR): Do not set.
52977         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52978         (testout): Likewise.
52980 2012-10-24  Andreas Jaeger  <aj@suse.de>
52982         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52983         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52984         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52985         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52986         posix_fadvise64, posix_fallocate64.
52988         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52989         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52990         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52991         Likewise.
52992         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52993         Likewise.
52994         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52997         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52998         <bits/fcntl-linux.h>.
52999         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53002         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53003         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53004         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53005         [__WORDSIZE != 64]: Likewise.
53007 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53009         * Makeconfig (run-built-tests): New variable.
53010         * Rules [$(cross-compiling) = yes]: Change condition to
53011         [$(run-built-tests) = no].
53012         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53013         to [$(run-built-tests) = yes].
53014         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53015         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53016         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53017         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53018         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53019         * io/Makefile [$(cross-compiling) = no]: Likewise.
53020         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53021         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53022         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53023         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53024         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53025         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53026         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53027         * string/Makefile [$(cross-compiling) = no]: Likewise.
53029         * posix/Makefile ($(objpfx)globtest.out): Pass
53030         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53031         $(rtld-installed-name).
53032         * posix/globtest.sh (elf_objpfx): Remove variable.
53033         (rtld_installed_name): Likewise.
53034         (library_path): Likewise.
53035         (run_program_prefix): New variable.  Use for running globtest
53036         binary.
53038 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53039             Joseph Myers  <joseph@codesourcery.com>
53041         * Makeconfig (host-built-program-cmd): New variable.
53042         * elf/Makefile (tst-stackguard1-ARGS): Use
53043         $(host-built-program-cmd).
53044         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53045         (tst-spawn-ARGS): Likewise.
53046         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53048 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53049             Jim Blandy  <jimb@codesourcery.com>
53051         * Makeconfig (run-via-rtld-prefix): New variable.
53052         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53053         (built-program-cmd): Likewise.
53055 2012-10-22  Andreas Jaeger  <aj@suse.de>
53057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53058         __O_RSYNC if it exists, otherwise to O_SYNC.
53060 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53061             Joseph Myers  <joseph@codesourcery.com>
53063         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53064         /dev/null.
53065         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53066         from /dev/null
53067         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53068         /dev/null.
53070 2012-10-22  Andreas Jaeger  <aj@suse.de>
53072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53073         Define always.
53074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53077         bits/fcntl-linux.h.
53079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53080         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53083         to __O_LARGEFILE.
53084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53085         to __O_LARGEFILE.
53087 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53088             Joseph Myers  <joseph@codesourcery.com>
53090         * config.make.in (NM): New variable.
53092 2012-10-21  Andreas Jaeger  <aj@suse.de>
53094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53095         definitions and declarations that are provided by
53096         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53098 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53100         [BZ #14683]
53101         * elf/Makefile (tests-static): Add tst-leaks1-static.
53102         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53103         ($(objpfx)tst-leaks1-static): New rule.
53104         ($(objpfx)tst-leaks1-static-mem): Likewise.
53105         (tst-leaks1-static-ENV): New macro.
53106         * elf/dl-open.c (dl_open_worker): Check the main application
53107         only if SHARED is defined.
53108         * elf/tst-leaks1-static.c: New file.
53110 2012-10-20  Andreas Jaeger  <aj@suse.de>
53112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53113         generic values for Linux.
53114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53115         and declarations that are provided by <bits/fcntl-linux.h> and
53116         include <bits/fcntl-linux.h>.
53117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53120 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53122         * io/fcntl.h: Move include of <bits/types.h> to the top and
53123         include it unconditionally.
53125 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53127         * wcsmbs/Makefile (tests-ifunc): New variable.
53128         (tests): Add $(tests-ifunc).
53129         * wcsmbs/test-wcschr-ifunc.c: New file.
53130         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53131         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53132         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53133         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53134         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53136         * string/Makefile (tests-ifunc): New variable.
53137         (tests): Add $(tests-ifunc).
53138         * string/test-memccpy.c (TEST_NAME): New macro.
53139         * string/test-memchr.c (TEST_NAME): Likewise.
53140         * string/test-memcmp.c (TEST_NAME): Likewise.
53141         * string/test-memcpy.c (TEST_NAME): Likewise.
53142         * string/test-memmem.c (TEST_NAME): Likewise.
53143         * string/test-memmove.c (TEST_NAME): Likewise.
53144         * string/test-memset.c (TEST_NAME): Likewise.
53145         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53146         * string/test-stpcpy.c (TEST_NAME): Likewise.
53147         * string/test-stpncpy.c (TEST_NAME): Likewise.
53148         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53149         * string/test-strcasestr.c (TEST_NAME): Likewise.
53150         * string/test-strcat.c (TEST_NAME): Likewise.
53151         * string/test-strchr.c (TEST_NAME): Likewise.
53152         * string/test-strcmp.c(TEST_NAME): Likewise.
53153         * string/test-strcpy.c (TEST_NAME): Likewise.
53154         * string/test-strcspn.c (TEST_NAME): Likewise.
53155         * string/test-strlen.c (TEST_NAME): Likewise.
53156         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53157         * string/test-strncmp.c (TEST_NAME): Likewise.
53158         * string/test-strncpy.c (TEST_NAME): Likewise.
53159         * string/test-strnlen.c (TEST_NAME): Likewise.
53160         * string/test-strpbrk.c (TEST_NAME): Likewise.
53161         * string/test-strrchr.c (TEST_NAME): Likewise.
53162         * string/test-strspn.c (TEST_NAME): Likewise.
53163         * string/test-strstr.c (TEST_NAME): Likewise.
53164         * string/test-bcopy-ifunc.c: New file.
53165         * string/test-bzero-ifunc.c: Likewise.
53166         * string/test-memccpy-ifunc.c: Likewise.
53167         * string/test-memchr-ifunc.c: Likewise.
53168         * string/test-memcmp-ifunc.c: Likewise.
53169         * string/test-memcpy-ifunc.c: Likewise.
53170         * string/test-memmem-ifunc.c: Likewise.
53171         * string/test-memmove-ifunc.c: Likewise.
53172         * string/test-mempcpy-ifunc.c: Likewise.
53173         * string/test-memset-ifunc.c: Likewise.
53174         * string/test-rawmemchr-ifunc.c: Likewise.
53175         * string/test-stpcpy-ifunc.c: Likewise.
53176         * string/test-stpncpy-ifunc.c: Likewise.
53177         * string/test-strcasecmp-ifunc.c: Likewise.
53178         * string/test-strcasestr-ifunc.c: Likewise.
53179         * string/test-strcat-ifunc.c: Likewise.
53180         * string/test-strchr-ifunc.c: Likewise.
53181         * string/test-strchrnul-ifunc.c: Likewise.
53182         * string/test-strcmp-ifunc.c: Likewise.
53183         * string/test-strcpy-ifunc.c: Likewise.
53184         * string/test-strcspn-ifunc.c: Likewise.
53185         * string/test-strlen-ifunc.c: Likewise.
53186         * string/test-strncasecmp-ifunc.c: Likewise.
53187         * string/test-strncat-ifunc.c: Likewise.
53188         * string/test-strncmp-ifunc.c: Likewise.
53189         * string/test-strncpy-ifunc.c: Likewise.
53190         * string/test-strnlen-ifunc.c: Likewise.
53191         * string/test-strpbrk-ifunc.c: Likewise.
53192         * string/test-strrchr-ifunc.c: Likewise.
53193         * string/test-strspn-ifunc.c: Likewise.
53194         * string/test-strstr-ifunc.c: Likewise.
53196         * debug/Makefile (tests-ifunc): New variable.
53197         (tests): Add $(tests-ifunc).
53198         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53199         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53200         * debug/test-stpcpy_chk-ifunc.c: New file.
53201         * debug/test-strcpy_chk-ifunc.c: Likewise.
53203 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53205         [BZ #13601]
53206         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53207         header is not read in.
53209 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53211         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53212         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53213         directly.  Pass built executable to script as
53214         $(built-program-cmd).
53215         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53216         $testprogram without using LD_LIBRARY_PATH and $ldso.
53218         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53219         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53220         $(rtld-installed-name).
53221         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53222         (rtld_installed_name): Likewise.
53223         (library_path): Likewise.
53224         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53225         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53226         $(run-program-prefix) to tst-tables.sh.
53227         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53228         it to run tst-table-from and tst-table-to.
53229         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53230         Pass it to tst-table.sh.
53231         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53232         $(run-program-prefix) to tst-gettext.sh.
53233         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53234         tst-translit.sh.
53235         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53236         tst-gettext2.sh.
53237         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53238         to run tst-gettext.
53239         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53240         to run tst-gettext2.
53241         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53242         to run tst-translit.
53243         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53244         $(run-program-prefix) to tst-mtrace.sh.
53245         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53246         to run tst-mtrace.
53247         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53248         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53249         $(rtld-installed-name).
53250         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53251         (rtld_installed_name): Likewise.
53252         (run_program_prefix): New variable.  Use it to run wordexp-test.
53254         * Makeconfig (ARCH): Remove all definitions.
53255         (machine): Likewise.
53256         [ARCH]: Remove conditional code.
53257         [!objdir]: Give error.
53258         [!objdir] (objpfx): Remove.
53259         [!objdir] (common-objpfx): Likewise.
53260         [!objdir] (common-objdir): Likewise.
53261         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53262         AC_CONFIG_FILES call.
53263         * configure: Regenerated.
53265         [BZ #13888]
53266         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53267         or TMPDIR.
53268         (testout): Likewise.
53270         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53271         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53272         $(rtld-installed-name).
53273         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53274         (rtld_installed_name): Likwise.
53275         (runit): Remove function.
53276         (run_getconf): New variable,  Use it for running getconf binary.
53278 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53280         [BZ #14716]
53281         * string/test-memmem.c (check_result): New function.
53282         (do_one_test): Use it.
53283         (check1): New function.
53284         (test_main): Use it.
53286 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53288         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53290 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53292         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53293         (_G_LSEEK64): Likewise.
53294         (_G_MMAP64): Likewise.
53295         (_G_FSTAT64): Likewise.
53296         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53297         (_G_LSEEK64): Likewise.
53298         (_G_MMAP64): Likewise.
53299         (_G_FSTAT64): Likewise.
53300         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53301         unconditional.  Call __mmap64 directly.
53302         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53303         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53304         __lseek64 directly.
53305         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53306         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53307         __mmap64 directly.
53308         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53309         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53310         __lseek64 directly.
53311         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53312         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53313         __lseek64 directly.
53314         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53315         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53316         __lseek64 directly.
53317         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53318         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53319         __fxstat64 directly.
53320         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53321         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53322         unconditional.
53323         (freopen64) [!_G_OPEN64]: Remove conditional code.
53324         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53325         unconditional.
53326         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53327         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53328         unconditional.
53329         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53330         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53331         unconditional.
53332         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53333         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53334         unconditional.
53335         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53336         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53337         unconditional.
53338         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53339         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53340         unconditional.
53341         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53342         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53343         unconditional.
53344         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53346 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53348         [BZ #12140]
53349         * manual/memory.texi (Malloc Tunable Parameters): Add note
53350         about free list pointers overwriting some perturb bytes.
53351         Wording suggested by Roland McGrath.
53353 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53355         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53356         (lgamma_test): Likewise.
53357         (tgamma_test): Likewise.
53359 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53361         [BZ #14700]
53362         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53363         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53365 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53367         * NEWS: Mention BZ #14716.
53368         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53369         when removing AVAILABLE1_USES_J macro.
53371 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53373         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53374         (__bswap_64): __uint64_t for unsigned 64-bit int.
53376 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53378         * include/string.h (memmem): Declare libc hidden alias.
53379         * string/memmem.c (memmem): Define libc hidden alias.
53380         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53381         __read, __close instead of open, read, close.
53383 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53386         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53387         global and hidden.
53388         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53389         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53390         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53391         Likewise.
53392         (__rawmemchr_sse2): Likewise.
53393         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53394         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53395         (__strchr_sse2): Likewise.
53396         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53397         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53398         (__strcasecmp_sse2): Likewise.
53399         (__strncasecmp_sse2): Likewise.
53400         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53401         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53402         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53403         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53404         (__strrchr_sse2): Likewise.
53405         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53406         ifunc-impl-list.c.
53407         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53408         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53409         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53410         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53411         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53413         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53414         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53415         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53416         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53417         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53418         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53419         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53420         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53421         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53423         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53424         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53425         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53426         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53427         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53428         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53429         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53430         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53431         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53433         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53434         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53435         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53436         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53438         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53439         global and hidden.
53440         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53441         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53442         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53443         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53444         Likewise.
53445         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53446         Likewise.
53447         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53448         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53449         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53450         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53451         ifunc-impl-list.c.
53452         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53454         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53461         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53462         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53463         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53464         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53465         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53466         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53467         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53468         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53469         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53470         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53471         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53472         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53475         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53476         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53477         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53478         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53479         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53480         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53481         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53482         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53483         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53484         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53485         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53486         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53487         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53488         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53489         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53490         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53491         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53492         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53494         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53495         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53496         * include/ifunc-impl-list.h: New file.
53497         * misc/ifunc-impl-list.c: Likewise.
53498         * misc/Makefile (routines): Add ifunc-impl-list.
53499         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53500         * string/test-string.h: Include <ifunc-impl-list.h>.
53501         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53502         TEST_NAME]: New variables.
53503         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53504         are defined.
53505         (test_init): Call __libc_ifunc_impl_list to initialize
53506         func_list if TEST_IFUNC and TEST_NAME are defined.
53508         * string/Makefile (strop-tests): Add bcopy and bzero.
53509         * string/test-bcopy.c: New file.
53510         * string/test-bzero.c: Likewise.
53511         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53512         defined.
53513         * string/test-memset.c: Support bzero test if TEST_BZERO is
53514         defined.
53515         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53516         __libc_memmove.
53517         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53518         __libc_memset.
53519         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53520         of memset.
53522 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53524         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53525         * configure: Regenerated.
53527         * Makeconfig (+link-static-before-libc): Don't include
53528         $(link-static-libc).
53530         * libio/libio.h (_IO_pos_t): Remove.
53532 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53534         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53535         McGrath.
53537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53539         * crypt/crypt-entry.c: Include fips-private.h.
53540         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53541         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53542         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53543         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53545 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53547         * crypt/crypt-private.h: Include stdbool.h.
53548         (_ufc_setup_salt_r): Return bool.
53549         * crypt/crypt-entry.c: Include errno.h.
53550         (__crypt_r): Return NULL with EINVAL for bad salt.
53551         * crypt/crypt_util.c (bad_for_salt): New.
53552         (_ufc_setup_salt_r): Check that salt is long enough and within
53553         the specified alphabet.
53554         * crypt/badsalttest.c: New file.
53555         * crypt/Makefile (tests): Add it.
53556         ($(objpfx)badsalttest): New.
53558 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53560         * NEWS: Add entry for BZ #14602.
53562 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53564         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53565         type-generic.
53566         * math/libm-test.inc: Update comment listing what functions and
53567         macros are tested.
53568         (isgreater_test): New function.
53569         (isgreaterequal_test): Likewise.
53570         (isless_test): Likewise.
53571         (islessequal_test): Likewise.
53572         (islessgreater_test): Likewise.
53573         (isunordered_test): Likewise.
53574         (main): Call the new functions.
53576 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53578         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53579         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53580         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53581         * sysdeps/i386/configure: Regenerated.
53582         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53583         * sysdeps/mach/configure: Regenerated.
53584         * sysdeps/mach/hurd/configure: Regenerated.
53585         * sysdeps/powerpc/configure: Regenerated.
53586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53587         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53588         * sysdeps/s390/s390-32/configure: Regenerated.
53589         * sysdeps/s390/s390-64/configure: Regenerated.
53590         * sysdeps/sh/configure: Regenerated.
53591         * sysdeps/sparc/configure: Regenerated.
53592         * sysdeps/unix/sysv/linux/configure: Regenerated.
53593         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53594         * sysdeps/x86_64/configure: Regenerated.
53596         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53597         defined.  Don't check if MAP is NULL.
53599 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53601         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53602         (_G_stat64): Likewise.
53603         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53604         (_G_stat64): Likewise.
53605         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53606         instead of struct _G_stat64.
53607         * libio/fileops.c (mmap_remap_check): Likewise.
53608         (decide_maybe_mmap): Likewise.
53609         (_IO_new_file_seekoff): Likewise.
53610         (_IO_file_stat): Likewise.
53611         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53612         _G_off64_t.
53613         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53614         instead of struct _G_stat64.
53615         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53617 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53619         [BZ #14602]
53620         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53621         Replace with ...
53622         (CHECK_EOL): New macro.
53623         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53624         CHECK_EOL.
53625         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53626         Replace with CHECK_EOL.
53627         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53628         Replace with CHECK_EOL.
53630 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53632         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53633         type-generic.
53634         * math/libm-test.inc: Update comment listing what functions and
53635         macros are tested.
53636         (finite_test): New function.
53637         (isinf_test): Likewise.
53638         (isnan_test): Likewise.
53639         (fpclassify_test): Test subnormal input.
53640         (isfinite_test): Likewise.
53641         (isnormal_test): Likewise.
53642         (main): Call the new functions.
53644 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53646         [BZ #14660]
53647         * Makerules (%.dynsym): Force C locale when running
53648         $(OBJDUMP) --dynamic-syms.
53650 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53652         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53653         <stdint.h>.
53655 2012-10-06  David S. Miller  <davem@davemloft.net>
53657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53658         upper 32-bits of the length value in %o2 since we use branch-on-register
53659         tests which consider the entire 64-bit register.
53661 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53663         * string/test-strstr.c (check2): Add a test for page boundary.
53665 2012-10-05  David S. Miller  <davem@davemloft.net>
53667         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53668         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53669         file.
53670         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53671         sysdep_routines.
53672         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53673         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53674         and bzero when HWCAP_SPARC_CRYPTO is present.
53676 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53678         [BZ #14602]
53679         * string/test-strstr.c (check2): New function.
53680         (test_main): Call check2.
53682         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53683         and bug-strchr1.
53684         * string/bug-strcasestr1.c (do_test): Moved to ...
53685         * string/test-strcasestr.c (check1): Here.  New function.
53686         (do_one_test): Break out result checking code into ...
53687         (check_result): This.  New function.
53688         (do_one_test): Call check_result.
53689         (test_main): Call check1.
53690         * string/bug-strchr1.c (do_test): Moved to ...
53691         * string/test-strchr.c (check1): Here.  New function.
53692         (do_one_test): Break out result checking code into ...
53693         (check_result): This.  New function.
53694         (do_one_test): Call check_result.
53695         (test_main): Call check1.
53696         * string/bug-strstr1.c (main): Moved to ...
53697         * string/test-strstr.c (check1): Here.  New function.
53698         (do_one_test): Break out result checking code into ...
53699         (check_result): This.  New function.
53700         (do_one_test): Call check_result.
53701         (test_main): Call check1.
53702         * string/bug-strcasestr1.c: Removed.
53703         * string/bug-strchr1.c: Likewise.
53704         * string/bug-strstr1.c: Likewise.
53706         * elf/Makefile (dl-routines): Add hwcaps.
53707         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53708         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53709         (_dl_important_hwcaps): Moved to ...
53710         * elf/dl-hwcaps.c: Here.  New file.
53711         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53713         [BZ #14557]
53714         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53715         if IS_IN_rtld isn't defined.
53717         * elf/dl-support.c (_dl_sysinfo_map): New.
53718         Include "get-dynamic-info.h" and "setup-vdso.h".
53719         (_dl_non_dynamic_init): Call setup_vdso.
53720         * elf/dynamic-link.h: Don't include <assert.h>.
53721         (elf_get_dynamic_info): Moved to ...
53722         * elf/get-dynamic-info.h: Here.  New file.
53723         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53724         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53725         * elf/setup-vdso.h: Here.  New file.
53726         * elf/rtld.c: Include "setup-vdso.h".
53727         (dl_main): Call setup_vdso.
53729 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53731         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53732         creal in comment listing functions tested.  List finite, isinf,
53733         isnan, isless, islessequal, isgreater, isgreaterequal,
53734         islessgreater, isunordered, lgamma_r and pow10 as functions and
53735         macros not tested.  Mention which functions not tested are aliases
53736         for other functions.  Fix typo.  Note that signs of NaNs are not
53737         tested.
53739         * scripts/config.guess: Update from config.git.
53740         * scripts/config.sub: Likewise.
53742 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53744         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53745         * misc/madvise.c (madvise): Renamed to __madvise.
53746         Make madvise a weak alias.
53747         * include/sys/mman.h: Declare __madvise.
53748         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53749         * sysdeps/unix/syscalls.list
53750         (madvise): Make __madvise the strong name, and madvise a weak alias.
53751         * sysdeps/unix/sysv/linux/syscalls.list
53752         (madvise, mmap): Remove redundant entries.
53753         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53754         * malloc/malloc.c (mtrim): Likewise.
53755         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53757 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53759         * sysdeps/mach/hurd/dl-cache.c: File removed.
53760         * config.h.in (USE_LDCONFIG): New #undef.
53761         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53762         * configure: Regenerated.
53763         * elf/Makefile (dl-routines): Add dl-cache only under
53764         [$(use-ldconfig) = yes].
53765         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53766         cache on [USE_LDCONFIG].
53767         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53768         [USE_LDCONFIG].
53769         * elf/rtld.c (dl_main): Likewise.
53771 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53773         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53774         _SC_LEVEL4_CACHE_LINESIZE.
53776 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53778         * sysdeps/unix/bsd/confstr.h: File removed.
53780 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53782         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53783         sys/sdt-config.h.
53785 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53787         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53788         Make 'mapoff' field ElfW(Off) rather than off_t.
53790 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53792         * nscd/Makefile: Remove nscd-cflags and all its users.
53793         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53794         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53796         [BZ #10631]
53797         * malloc.c (malloc_printerr): Clarify error message.
53799 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53801         [BZ #14648]
53802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53803         Set bit_FMA_Usable if FMA is supported.
53804         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53805         macro.
53806         (bit_FMA4_Usable): Updated.
53807         (index_FMA_Usable): New macro.
53808         (CPUID_FMA): Likewise.
53809         (HAS_FMA): Defined with bit_FMA_Usable.
53811 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53813         * bits/types.h (__swblk_t): Type removed.
53814         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53815         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53817         (__SWBLK_T_TYPE): Likewise.
53818         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53819         (__SWBLK_T_TYPE): Likewise.
53820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53821         (__SWBLK_T_TYPE): Likewise.
53822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53823         (__SWBLK_T_TYPE): Likewise.
53825 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53826             Honza Horak <hhorak@redhat.com>
53828         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53829         (xdr_mapname): Use YPMAXMAP as maxsize.
53830         (xdr_peername): Use YPMAXPEER as maxsize.
53831         (xdr_keydat): Use YPAXRECORD as maxsize.
53832         (xdr_valdat): Use YPMAXRECORD as maxsize.
53834 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53836         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53838         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53839         * csu/init-first.c: ... here.
53840         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53841         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53842         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53844         * sysdeps/i386/init-first.c: File removed.
53845         * sysdeps/sh/init-first.c: File removed.
53847 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53849         [BZ #14645]
53850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53851         if x * y might underflow to zero and z is zero.
53852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53854         * math/libm-test.inc (min_subnorm_value): New variable.
53855         (fma_test): Add more tests.
53856         (fma_test_towardzero): Likewise.
53857         (fma_test_downward): Likewise.
53858         (fma_test_upward): Likewise.
53859         (initialize): Set min_subnorm_value.
53861 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53863         [BZ #14638]
53864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53865         0 + 0.
53866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53867         mode for addition resulting in exact zero.
53868         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53870         exact 0 + 0.
53871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53873         * math/libm-test.inc (fma_test): Add more tests.
53874         (fma_test_towardzero): New function.
53875         (fma_test_downward): Likewise.
53876         (fma_test_upward): Likewise.
53877         (main): Call the new functions.
53879 2012-09-28  David S. Miller  <davem@davemloft.net>
53881         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53883 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53885         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53886         instead of SIGALRM.
53888         * sysdeps/gnu/_G_config.h: Moved to ...
53889         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53890         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53891         * sysdeps/generic/_G_config.h: ... here.
53893         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53895         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53897         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53898         Conditionalize target on [libnss_test1.so-version].
53900         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53902         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53903         (elfobjdir): Move out of conditionals.
53905         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53906         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53907         (__nss_lookup_function): Conditionalize label remove_from_tree on
53908         [!DO_STATIC_NSS || SHARED], matching its only use.
53910 2012-09-28  David S. Miller  <davem@davemloft.net>
53912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53913         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53914         file.
53915         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53916         sysdep_routines.
53917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53919         when HWCAP_SPARC_CRYPTO is present.
53921 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53923         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53925 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53927         [BZ #6530]
53928         * stdio-common/vfprintf.c (process_string_arg): Revert
53929         2000-07-22 change.
53931 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53933         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53934         for testcase.
53935         * stdio-common/tst-sprintf.c: Include <locale.h>
53936         (main): Test sprintf's handling of incomplete multibyte
53937         characters.
53939 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53941         * elf/dl-runtime.c (VERSYMIDX): Removed.
53942         * elf/dl-version.c (VERSYMIDX): Likewise.
53943         * elf/do-rel.h (VERSYMIDX): Likewise.
53944         (VALIDX): Likewise.
53945         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53946         * elf/rtld.c (VALIDX): Likewise.
53947         (ADDRIDX): Likewise.
53948         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53949         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53950         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53951         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53952         (VALIDX): Likewise.
53953         (ADDRIDX): Likewise.
53955 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53957         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53959 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53961         [BZ #11438]
53962         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53963         to global scope.
53964         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53965         addresses are in the same scope as 192.0.2/24.
53966         * posix/gai.conf: Document new scope table defaults.
53968 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         [BZ #5298]
53971         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53972         for ftell.  Compute offsets from write pointers instead.
53973         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53975 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53977         [BZ #14543]
53978         * libio/Makefile (tests): New test case tst-fseek.
53979         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53980         combination works in wide mode.
53981         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53982         state when the external buffer state changes.
53984 2012-09-27  David S. Miller  <davem@davemloft.net>
53986         [BZ #14376]
53987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53988         pass reloc->r_addend in as the 'high' argument to
53989         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53993 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53995         * rt/tst-aio2.c: Include <pthread.h>.
53996         * rt/tst-aio3.c: Likewise.
53998 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54000         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54002 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54004         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54005         contents on [SHARED].
54007 2012-09-26  Marek Polacek  <polacek@redhat.com>
54009         [BZ #14530]
54010         [BZ #13741]
54011         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54012         for C++ and GCC <4.3 as well as for non GCC compilers.
54014 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54018 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54020         * Makefile.in (all, install): Declare with .PHONY.
54021         Reported by Michael Hope <michael.hope@linaro.org>.
54023 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54025         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54026         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54027         system header.
54028         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54029         Likewise.
54030         (sydep_routines): Add the new and the internal functions.
54031         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54032         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54034         (GLIBC_2.17): Add the new function.
54035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54036         (GLIBC_2.17): Likewise.
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54038         (GLIBC_2.17): Likewise.
54039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54040         (GLIBC_2.17): Likewise.
54041         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54043 2012-09-25  Alan Modra  <amodra@gmail.com>
54045         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54046         Add release barrier before setting once_control to say
54047         initialisation is done.  Add hints on lwarx.  Use macro in
54048         place of isync.
54049         (clear_once_control): Add release barrier.
54051 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54053         [BZ #13629]
54054         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54055         specially.
54056         * math/s_clog10.c (__clog10): Likewise.
54057         * math/s_clog10f.c (__clog10f): Likewise.
54058         * math/s_clog10l.c (__clog10l): Likewise.
54059         * math/s_clogf.c (__clogf): Likewise.
54060         * math/s_clogl.c (__clogl): Likewise.
54061         * math/Makefile (libm-calls): Add x2y2m1.
54062         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54063         (__x2y2m1): Likewise.
54064         (__x2y2m1l): Likewise.
54065         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54066         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54067         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54068         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54069         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54070         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54071         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54072         * sysdeps/i386/fpu/libm-test-ulps: Update.
54073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54075         [BZ #14621]
54076         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54077         int as type of variable DEPTH.
54078         (glob): Use size_t instead of int as type of variables NEWCOUNT
54079         and OLD_PATHC.
54081 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54083         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54084         Add s_sincosf-sse2.
54085         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54086         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54087         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54088         macros for using routine as __sincosf_ia32.
54089         Use macro for function declaration and weak_alias.
54090         * sysdeps/i386/fpu/libm-test-ulps: Update.
54092         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54095         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54096         subnormal argument.
54097         * math/s_cexpf.c (__cexpf): Likewise.
54098         * math/s_csinf.c (__csinf): Likewise.
54099         * math/s_csinhf.c (__csinhf): Likewise.
54100         * math/s_ctanf.c (__ctanf): Likewise.
54101         * math/s_ctanhf.c (__ctanhf): Likewise.
54102         * math/s_ccosh.c (__ccoshf): Likewise.
54103         * math/s_cexp.c (__cexpl): Likewise.
54104         * math/s_csin.c (__csin): Likewise.
54105         * math/s_csinh.c (__csinh): Likewise.
54106         * math/s_ctan.c (__ctan): Likewise.
54107         * math/s_ctanh.c (ctanh): Likewise.
54108         * math/s_ccoshl.c (__ccoshl): Likewise.
54109         * math/s_cexpl.c (__cexpl): Likewise.
54110         * math/s_csinl.c (__csinl): Likewise.
54111         * math/s_csinhl.c (__csinhl): Likewise.
54112         * math/s_ctanl.c (__ctanl): Likewise.
54113         * math/s_ctanhl.c (__ctanhl): Likewise.
54115 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54117         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54118         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54119         (_IO_off_t): Define to __off_t, not _G_off_t.
54120         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54121         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54122         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54123         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54124         type of __dummy and __dummy2 fields.
54125         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54126         (_G_ssize_t): Likewise.
54127         (_G_off_t): Likewise.
54128         (_G_pid_t): Likewise.
54129         (_G_uid_t): Likewise.
54130         (_G_wchar_t): Likewise.
54131         (_G_wint_t): Likewise.
54132         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54133         (_G_ssize_t): Likewise.
54134         (_G_off_t): Likewise.
54135         (_G_pid_t): Likewise.
54136         (_G_uid_t): Likewise.
54137         (_G_wchar_t): Likewise.
54138         (_G_wint_t): Likewise.
54139         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54140         (_G_ssize_t): Likewise.
54141         (_G_off_t): Likewise.
54142         (_G_pid_t): Likewise.
54143         (_G_uid_t): Likewise.
54144         (_G_wchar_t): Likewise.
54145         (_G_wint_t): Likewise.
54147 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54149         * malloc/arena.c: Include malloc-sysdep.h.
54150         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54151         is sufficient to shrink the heap or an unmap is needed.
54152         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54153         new function check_may_shrink_heap.
54154         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54155         new function check_may_shrink_heap.
54157 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54159         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54160         comments.
54162 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54164         * catgets/test-gencat.sh: Add "set -e".
54165         * elf/tst-pathopt.sh: Likewise.
54166         * grp/tst_fgetgrent.sh: Likewise.
54167         * iconvdata/run-iconv-test.sh: Likewise.
54168         * intl/tst-gettext.sh: Likewise.
54169         * intl/tst-gettext2.sh: Likewise.
54170         * intl/tst-gettext4.sh: Likewise.
54171         * intl/tst-gettext6.sh: Likewise.
54172         * intl/tst-translit.sh: Likewise.
54173         * io/ftwtest-sh: Likewise.
54174         * libio/test-freopen.sh: Likewise.
54175         * malloc/tst-mtrace.sh: Likewise.
54176         * posix/globtest.sh: Likewise.
54177         * posix/tst-getconf.sh: Likewise.
54178         * posix/wordexp-tst.sh: Likewise.
54179         * stdio-common/tst-printf.sh: Likewise.
54180         * stdio-common/tst-unbputc.sh: Likewise.
54181         * stdlib/tst-fmtmsg.sh: Likewise.
54182         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54183         * catgets/Makefile: Do not specify -e option when running
54184         testsuite shell scripts.
54185         * elf/Makefile: Likewise.
54186         * grp/Makefile: Likewise.
54187         * iconvdata/Makefile: Likewise.
54188         * intl/Makefile: Likewise.
54189         * io/Makefile: Likewise.
54190         * libio/Makefile: Likewise.
54191         * malloc/Makefile: Likewise.
54192         * posix/Makefile: Likewise.
54193         * stdio-common/Makefile: Likewise.
54194         * stdlib/Makefile: Likewise.
54195         * sysdeps/x86_64/Makefile: Likewise.
54197         * io/ftwtest-sh: Add copyright header.
54198         * posix/globtest.sh: Likewise.
54199         * posix/tst-getconf.sh: Likewise.
54200         * posix/wordexp-tst.sh: Likewise.
54201         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54203 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54205         [BZ #13679]
54206         * Makeconfig (+link): Defined as $(+link-static) if
54207         $(build-shared) isn't yes.
54208         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54209         isn't yes.
54210         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54212         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54214         [BZ #14562]
54215         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54216         new chunk size with MALLOC_ALIGN_MASK.
54218 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54220         [BZ #5044]
54221         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54222         <rounding-mode.h>.
54223         (__printf_fphex): Determine rounding using get_rounding_mode and
54224         round_away.
54225         * stdio-common/tst-printf-round.c (struct hex_test): New
54226         structure.
54227         (hex_tests): New variable.
54228         (test_hex_in_one_mode): New function.
54229         (do_test): Also run tests for hex float output.
54231 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54233         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54234         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54235         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54236         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54237         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54238         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54239         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54242 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54244         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54245         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54246         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54247         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54249 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54251         [BZ #14579]
54252         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54253         mode only.
54254         * elf/tst-rtld-load-self.sh: New test.
54255         * elf/Makefile: Run it.
54257 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54259         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54260         (tst-writev-ENV): Remove.
54261         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54263 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54265         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54267 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54269         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54270         unconditional.
54271         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54272         Likewise.
54273         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54274         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54275         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54276         Likewise.
54278 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54280         [BZ #14587]
54281         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54282         * config.make.in (have-cpp-asm-debuginfo): Removed.
54283         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54284         * configure: Regenerated.
54286 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54288         [BZ #5044]
54289         * stdio-common/printf_fp.c: Include <stdbool.h> and
54290         <rounding-mode.h>.
54291         (___printf_fp): Determine rounding using get_rounding_mode and
54292         round_away.
54293         * stdio-common/tst-printf-round.c: New file.
54294         * stdio-common/Makefile (tests): Add tst-printf-round.
54295         (link-libm): New variable.
54296         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54298 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54300         [BZ #14576]
54301         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54302         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54303         Likewise.
54304         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54305         Likewise.
54307 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54309         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54310         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54311         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54312         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54314 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54316         [BZ #14518]
54317         * include/rounding-mode.h: New file.
54318         * sysdeps/generic/get-rounding-mode.h: Likewise.
54319         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54320         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54321         (MAX_VALUE): New macro.
54322         (MIN_VALUE): Likewise.
54323         (overflow_value): New function.
54324         (underflow_value): Likewise.
54325         (round_and_return): Use overflow_value and underflow_value to
54326         determine return values in overflow and underflow cases.  Use
54327         round_away to determine rounding depending on rounding mode.
54328         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54329         determine return values in overflow and underflow cases.
54330         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54331         (struct test_results): New structure.
54332         (struct test): Use struct test_results to store expected results
54333         for all rounding modes.
54334         (TEST): Include expected results for all rounding modes.
54335         (test_in_one_mode): New function.
54336         (do_test): Use test_in_one_mode to compute and check results.
54337         Check results for all rounding modes.
54338         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54339         $(link-libm).
54341 2012-12-09  Allan McRae  <allan@archlinux.org>
54343         * sysdeps/i386/fpu/libm-test-ulps: Update
54345 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54347         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54348         (_G_int32_t): Likewise.
54349         (_G_uint16_t): Likewise.
54350         (_G_uint32_t): Likewise.
54351         (_G_HAVE_BOOL): Likewise.
54352         (_G_HAVE_ATEXIT): Likewise.
54353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54354         (_G_HAVE_IO_FILE_OPEN): Likewise.
54355         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54356         (_G_int32_t): Likewise.
54357         (_G_uint16_t): Likewise.
54358         (_G_uint32_t): Likewise.
54359         (_G_HAVE_BOOL): Likewise.
54360         (_G_HAVE_ATEXIT): Likewise.
54361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54362         (_G_HAVE_IO_FILE_OPEN): Likewise.
54363         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54364         (_G_int32_t): Likewise.
54365         (_G_uint16_t): Likewise.
54366         (_G_uint32_t): Likewise.
54367         (_G_HAVE_BOOL): Likewise.
54368         (_G_HAVE_ATEXIT): Likewise.
54369         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54370         (_G_HAVE_IO_FILE_OPEN): Likewise.
54372 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54374         * csu/libc-tls.c: Update copyright years.
54376 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54378         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54379         [!_G_USING_THUNKS]: Remove conditional code.
54380         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54381         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54383         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54384         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54385         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54386         (_G_VTABLE_LABEL_PREFIX): Likewise.
54387         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54388         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54389         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54390         (_G_VTABLE_LABEL_PREFIX): Likewise.
54391         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54392         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54394         (_G_VTABLE_LABEL_PREFIX): Likewise.
54395         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54397 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54399         * libio/Makefile: Include ../Makeconfig before tests.
54400         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54401         only if $(build-shared) is yes.
54403         * iconv/gconv_db.c: Update copyright years.
54405 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54407         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54408         unwind info if defined PIC. Fix special cases description.
54409         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54411         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54412         DP_HI_MASK entry.
54413         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54415 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54417         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54419         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54420         is NULL.
54422         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54423         (LDLIBS-tst-chk4): This.
54424         (LDFLAGS-tst-chk5): Renamed to ...
54425         (LDLIBS-tst-chk5): This.
54426         (LDFLAGS-tst-chk6): Renamed to ...
54427         (LDLIBS-tst-chk6): This.
54428         (LDFLAGS-tst-lfschk4): Renamed to ...
54429         (LDLIBS-tst-lfschk4): This.
54430         (LDFLAGS-tst-lfschk5): Renamed to ...
54431         (LDLIBS-tst-lfschk5): This.
54432         (LDFLAGS-tst-lfschk6): Renamed to ...
54433         (LDLIBS-tst-lfschk6): This.
54435         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54436         on $(common-objpfx)soversions.mk.
54438 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54440         [BZ #10014]
54441         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54442         example host name.
54444 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54446         * malloc/arena.c (arena_get_retry): New function that gets
54447         another arena for the caller to try its request on.
54448         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54449         current arena cannot fulfill the request.
54450         (__libc_memalign): Likewise.
54451         (__libc_memalign): Likewise.
54452         (__libc_pvalloc): Likewise.
54453         (__libc_calloc): Likewise.
54455 2012-09-05  John Tobey  <john.tobey@gmail.com>
54457         [BZ #13542]
54458         * manual/arith.texi (Operations on Complex): Fix description
54459         of carg branch cut.
54461 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54463         [BZ #10014]
54464         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54465         host name.
54467         [BZ #10038]
54468         * manual/memory.texi (Memory): Make order of menu items match
54469         order of sections.
54471 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54473         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54474         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54475         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54479         * csu/libc-tls.c (static_dtv): Renamed to ...
54480         (_dl_static_dtv): This.  Make it global.
54481         (_dl_initial_dtv): Removed.
54482         (__libc_setup_tls): Updated.
54483         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54484         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54485         DL_INITIAL_DTV.
54487 2012-09-06  Petr Machata  <pmachata@redhat.com>
54489         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54490         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54491         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54492         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54496         [BZ #14545]
54497         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54498         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54499         freeing dtv[-1].
54501 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54503         [BZ #14544]
54504         * Makeconfig (link-static-before-libc): Replace $(+prector)
54505         with $(+prectorT).
54506         (link-static-after-libc): Replace $(+postctor) with
54507         $(+postctorT).
54508         (link-bounded): Replace $(+prector)/$(+postctor) with
54509         $(+prectorT)/$(+postctorT).
54510         (+prectorT): New macro.
54511         (+postctorT): Likewise.
54513 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54515         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54516         (round_str): Handle values above the maximum for IBM long double
54517         as inexact.
54518         * stdlib/tst-strtod-round.c (tests): Regenerated.
54520 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54522         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54523         assembler flag.
54524         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54525         zarch_nohighgprs around the zarch optimized routines.
54526         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54527         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54528         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54529         for zarch.
54531 2012-09-05  David S. Miller  <davem@davemloft.net>
54533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54535         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54536         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54537         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54538         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54539         entries.
54541 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54543         * malloc/arena.c: Fold copyright years.
54544         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54550 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54552         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54554 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54556         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54557         change internal state upon failure.
54559 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54561         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54562         * malloc/memusage.c (mmap): Likewise.
54563         (mmap64, mremap): Likewise.  Adjust name in comment.
54565 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54567         * libio/fileops.c: Fix typos in comments.
54568         * libio/oldfileops.c: Likewise.
54569         * libio/wfileops.c: Likewise.
54571 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54573         [BZ #1349]
54574         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54575         (tst-malloc-usable-ENV): Set environment for test case.
54576         * malloc/hooks.c (malloc_check_get_size): New function to get
54577         requested size.
54578         * malloc/malloc.c (musable): Use malloc_check_get_size.
54579         * malloc/tst-malloc-usable.c: New test case.
54581 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54583         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54585 2012-09-05  Allan McRae  <allan@archlinux.org>
54587         [BZ #13966]
54588         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54589         determine header location.
54590         * configure: Regenerated.
54592 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54594         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54595         float format.
54596         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54597         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54598         format.
54599         (test): Regenerate.
54601 2012-09-04  David S. Miller  <davem@davemloft.net>
54603         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54604         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54607 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54609         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54610         failures.
54612         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54614 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54616         [BZ #9914]
54617         * libio/iogetdelim.c: Include <limits.h>.
54618         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54619         + len + 1 would overflow.
54621 2012-09-03  Andreas Jaeger  <aj@suse.de>
54623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54624         * sysdeps/i386/fpu/libm-test-ulps: Update.
54626 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54628         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54629         Add s_sinf-sse2, s_conf-sse2.
54631         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54632         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54633         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54634         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54636         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54637         for using routine as __sinf_ia32.
54638         Use macro for function declaration and weak_alias.
54639         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54640         for using routine as __cosf_ia32.
54641         Use macro for function declaration and weak_alias.
54643         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54644         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54646         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54647         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54650         * math/libm-test.inc (cos_test): Add more test cases.
54651         (sin_test): Likewise.
54652         (sincos_test): Likewise.
54654 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54657         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54658         hidden.
54659         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54661 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54663         [BZ #14538]
54664         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54665         first element of the GOT.
54666         (elf_machine_load_address): Return the difference between
54667         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54669 2012-09-01  Allan McRae  <allan@archlinux.org>
54671         [BZ #13412]
54672         * configure.in (AWK): Require gawk version 3.0 or later.
54673         * configure: Regenerated.
54675 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54677         * sysdeps/unix/sysv/linux/kernel-features.h
54678         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54679         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54680         [__NR_clock_getres]: Make code unconditional.
54681         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54682         (clock_getcpuclockid): Remove code left unreachable by removal of
54683         conditionals.
54684         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54685         code unconditional.
54686         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54687         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54688         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54689         Make code unconditional.
54690         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54691         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54692         * sysdeps/unix/sysv/linux/clock_settime.c
54693         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54694         conditional code.
54695         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54696         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54698 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54700         [BZ #14476]
54701         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54702         scripts/test-installation.pl.
54704         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54705         and $ld_so_version if it is set.
54707 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54709         [BZ #14516]
54710         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54711         failure if reading from procfs failed.
54712         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54714 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54716         * sysdeps/unix/sysv/linux/kernel-features.h
54717         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54718         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54719         Remove conditional code.
54720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54721         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54722         Remove conditional code.
54723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54724         * sysdeps/unix/sysv/linux/i386/fxstat.c
54725         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54727         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54728         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54730         * sysdeps/unix/sysv/linux/i386/lxstat.c
54731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54733         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54734         Remove conditional code.
54735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54736         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54737         Remove conditional code.
54738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54739         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54740         <kernel-features.h>.
54741         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54742         Remove.
54743         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54744         Remove conditional code.
54745         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54746         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54747         Remove conditional.
54749 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54751         [BZ #5400]
54752         * NEWS: Add fixed bug number.
54754 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54756         [BZ #14519]
54757         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54758         underflowing exponent in case of negative sign.
54759         * stdlib/tst-strtod-round-data: Add more tests.
54760         * stdlib/tst-strtod-round.c (tests): Regenerated.
54762         [BZ #3479]
54763         * stdlib/strtod_l.c (NDIG): Remove.
54764         (HEXNDIG): Likewise.
54765         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54766         smallest representable value.
54767         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54768         lie within an exact representation of 1/2 ulp of the result.
54769         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54770         unconditionally.
54771         (TENS_P9_IDX): Define unconditionally.
54772         (TENS_P9_SIZE): Likewise.
54773         (TENS_P10_IDX): Likewise.
54774         (TENS_P10_SIZE): Likewise.
54775         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54776         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54777         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54778         entries for 10^2^13 and 10^2^14.
54779         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54780         (TENS_P13_IDX): Define.
54781         (TENS_P13_SIZE): Likewise.
54782         (TENS_P14_IDX): Likewise.
54783         (TENS_P14_SIZE): Likewise.
54784         (_fpioconst_pow10): Change array size to
54785         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54786         unconditional.
54787         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54788         1024]: Add entries for 10^2^13 and 10^2^14.
54789         [LAST_POW10 > _LAST_POW10]: Remove #error.
54790         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54791         (_fpioconst_pow10): Change array size to
54792         FPIOCONST_POW10_ARRAY_SIZE.
54793         * stdlib/gen-fpioconst.c: New file.
54794         * stdlib/gen-tst-strtod-round.c: Likewise.
54795         * stdlib/tst-strtod-round-data: Likewise.
54796         * stdlib/tst-strtod-round.c: Likewise.
54797         * stdlib/Makefile (tests): Add tst-strtod-round.
54799         [BZ #14459]
54800         * stdlib/strtod_l.c: Include <stdint.h>.
54801         (NDEBUG): Do not define.
54802         (round_and_return): Change EXPONENT parameter to type intmax_t.
54803         Rearrange calculations to avoid internal overflow possibilities.
54804         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54805         Rearrange calculations to avoid internal overflow possibilities.
54806         Assert that number fits inside MPNSIZE limbs.
54807         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54808         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54809         calculations and add assertions to avoid internal overflow
54810         possibilities.  Add casts to avoid signed/unsigned operations.
54811         * stdlib/tst-strtod-overflow.c: New file.
54812         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54814 2012-08-25  Marek Polacek  <polacek@redhat.com>
54816         * time/time.h: Fix some typos in comments.
54818 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54820         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54821         * posix/tst-rfc3484-2.c: Likewise.
54822         * posix/tst-rfc3484-3.c: Likewise.
54824 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54826         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54827         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54829 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54831         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54832         #include of fxstatat64.c.
54834 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54836         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54837         * shadow/getspent_r.c: Likewise.
54838         * shadow/getspnam.c: Likewise.
54839         * shadow/getspnam_r.c: Likewise.
54840         * gshadow/getsgent.c: Likewise.
54841         * gshadow/getsgent_r.c: Likewise.
54842         * gshadow/getsgnam.c: Likewise.
54843         * gshadow/getsgnam_r.c: Likewise.
54844         * inet/getnetbyad.c: Likewise.
54845         * inet/getnetbyad_r.c: Likewise.
54846         * inet/getnetbynm.c: Likewise.
54847         * inet/getnetbynm_r.c: Likewise.
54848         * inet/getnetent.c: Likewise.
54849         * inet/getnetent_r.c: Likewise.
54850         * inet/getproto.c: Likewise.
54851         * inet/getproto_r.c: Likewise.
54852         * inet/getprtent.c: Likewise.
54853         * inet/getprtent_r.c: Likewise.
54854         * inet/getprtname.c: Likewise.
54855         * inet/getprtname_r.c: Likewise.
54856         * inet/getrpcbyname.c: Likewise.
54857         * inet/getrpcbyname_r.c: Likewise.
54858         * inet/getrpcbynumber.c: Likewise.
54859         * inet/getrpcbynumber_r.c: Likewise.
54860         * inet/getrpcent.c: Likewise.
54861         * inet/getrpcent_r.c: Likewise.
54862         * inet/getaliasent.c: Likewise.
54863         * inet/getaliasent_r.c: Likewise.
54864         * inet/getaliasname.c: Likewise.
54865         * inet/getaliasname_r.c: Likewise.
54866         * nscd/getgrgid_r.c: Likewise.
54867         * nscd/getgrnam_r.c: Likewise.
54868         * nscd/gethstbyad_r.c: Likewise.
54869         * nscd/gethstbynm3_r.c: Likewise.
54870         * nscd/getpwnam_r.c: Likewise.
54871         * nscd/getpwuid_r.c: Likewise.
54872         * nscd/getsrvbynm_r.c: Likewise.
54873         * nscd/getsrvbypt_r.c: Likewise.
54874         * nscd/gai.c: Likewise.
54876         * configure.in (build_nscd): New substituted variable, set
54877         by --disable-build-nscd and defaults to $use_nscd.
54878         * configure: Regenerated.
54879         * config.make.in (build-nscd): New substituted variable.
54880         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54881         Change conditional to require [$(build-nscd) = yes] as well.
54882         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54884         [BZ# 13696]
54885         * configure.in (use_nscd): New substituted variable, set by
54886         --disable-nscd.  If enabled, define USE_NSCD.
54887         * configure: Regenerated.
54888         * config.h.in: Add USE_NSCD.
54889         * config.make.in (use-nscd): New substituted variable.
54890         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54891         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54892         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54893         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54894         (CFLAGS-getgrnam_r.c): Likewise.
54895         (CFLAGS-initgroups.c): Likewise.
54896         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54897         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54898         Variables removed.
54899         * inet/getnetgrent_r.c
54900         (nscd_setnetgrent): New function, broken out of ...
54901         (setnetgrent): ... here.  Call it.
54902         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54903         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54904         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54905         * nscd/Makefile (routines, aux): Move definitions after include of
54906         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54907         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54908         Conditionalize on [USE_NSCD].
54909         (is_nscd, nscd_init_cb): Likewise.
54910         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54911         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54912         * nss/nss_db/db-init.c: Likewise.
54913         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54914         [USE_NSCD].
54915         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54916         (make_request): Use it.
54917         (cache_valid_p): New function.
54918         (__check_pf): Use it.
54919         * NEWS: Add item for --disable-nscd.
54921 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54923         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54924         to support sed >= 4.2.1-20-ga9bf076.
54925         * configure: Regenerated.
54927 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54929         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54930         Conditionalize whole body on [IREL].
54932 2012-08-22  Jeff Law <law@redhat.com>
54934         [BZ #14505]
54935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54936         if the family is PF_UNSPEC.
54938 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54940         * Makerules (lib-version): Rename from V.
54941         (install-lib-nosubdir): Change V to lib-version.
54943 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54945         [BZ #14252]
54946         * powerpc32/power6/wcschr.c: New file.
54947         * powerpc32/power6/wcscpy.c: New file.
54948         * powerpc32/power6/wcsrchr.c: New file.
54949         * powerpc64/power6/wcschr.c: New file.
54950         * powerpc64/power6/wcscpy.c: New file.
54951         * powerpc64/power6/wcsrchr.c: New file.
54953 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54955         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54956         (two_way_short_needle): Use it.
54957         * string/strstr.c (AVAILABLE1_USES_J): Define.
54958         * string/strcasestr.c: Likewise.
54960         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54961         array references.
54962         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54964         [BZ #11607]
54965         * NEWS: Add an entry.
54966         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54967         define their defaults.
54968         (two_way_short_needle): Detect end-of-string on-the-fly.
54969         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54970         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54971         * string/bug-strcasestr1.c: New test.
54972         * string/Makefile: Run it.
54974 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54976         [BZ #11607]
54977         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54978         the first character.
54980 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54982         * csu/elf-init.c (__libc_csu_irel): Function removed.
54983         * csu/libc-start.c (apply_irel): New function.
54984         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54986 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54988         * sysdeps/unix/sysv/linux/kernel-features.h
54989         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54990         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54991         <kernel-features.h>.
54992         [__NR_fadvise64_64]: Make code unconditional.
54993         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54994         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54995         !__NR_fadvise64_64)]: Likewise.
54996         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54997         !__NR_fadvise64_64))]: Likewise.
54998         [__NR_fadvise64]: Make code unconditional.
54999         [!__NR_fadvise64]: Remove conditional code.
55000         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55001         <kernel-features.h>.
55002         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55003         unconditional.
55004         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55005         conditional code.
55006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55007         not include <kernel-features.h>.
55008         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55009         unconditional.
55010         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55011         conditional code.
55012         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55013         include <kernel-features.h>.
55014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55015         unconditional.
55016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55017         conditional code.
55019 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55021         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55022         slight instruction rearrangements per scrollpipe analysis.
55023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55025 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55027         * manual/syslog.texi (syslog; vsyslog, closelog):
55028         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55029         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55031         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55032         DSOCAPS to match condition on defining it.
55034 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55036         * sysdeps/unix/sysv/linux/kernel-features.h
55037         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55039         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55040         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55042         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55043         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55048         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55049         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55051         * sysdeps/unix/sysv/linux/kernel-features.h
55052         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55053         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55054         unconditional.
55055         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55056         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55057         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55058         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55059         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55060         Make code unconditional.
55061         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55062         (__mmap64) [!__NR_mmap2]: Likewise.
55063         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55064         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55065         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55067         [__NR_mmap2]: Make code unconditional.
55068         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55069         (__mmap64) [!__NR_mmap2]: Likewise.
55071 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55073         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55075 2012-08-18  Andreas Jaeger  <aj@suse.de>
55077         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55079 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55081         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55082         * include/unistd.h (__have_sock_cloexec): Likewise.
55083         (__have_pipe2): Likewise.
55084         (__have_dup3): Likewise.
55086 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55088         [BZ #9685]
55089         * include/unistd.h (__have_pipe2): Change define into an extern int.
55090         (__have_dup3): Likewise.
55091         * socket/have_sock_cloexec.c: Include fcntl.h.
55092         (__have_pipe2): New variable.
55093         (__have_dup3): Likewise.
55095 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55097         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55099 2012-08-17  Marek Polacek  <polacek@redhat.com>
55101         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55102         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55104 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55106         * configure.in: Add AC_SUBST for sysheaders.
55107         * configure: Regenerated.
55108         * config.make.in (sysheaders): New substituted variable.
55110         * sysdeps/unix/mkfifo.c: Moved ...
55111         * sysdeps/posix/mkfifo.c: ... here.
55112         * sysdeps/unix/mkfifoat.c: Moved ...
55113         * sysdeps/posix/mkfifoat.c: ... here.
55115         * sysdeps/unix/utime.c: Moved ...
55116         * sysdeps/posix/utime.c: ... here.
55118         * sysdeps/unix/time.c: Moved ...
55119         * sysdeps/posix/time.c: ... here.
55120         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55121         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55123         * sysdeps/unix/nice.c: Moved ...
55124         * sysdeps/posix/nice.c: ... here.
55126         * sysdeps/unix/alarm.c: Moved ...
55127         * sysdeps/posix/alarm.c: ... here.
55129         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55131 2012-08-17  Jeff Law <law@redhat.com>
55133         * intl/Makefile (codeset_mo): New variable.
55134         ($(codeset_mo)): New target.
55135         (tst-codeset.out): Depend on that.  Remove explicit rule.
55136         (tst-gettext3.out, tst-gettext5.out): Likewise.
55137         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55138         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55139         * intl/tst-codeset.sh: Remove.
55140         * intl/tst-gettext3.sh: Likewise.
55141         * intl/tst-gettext5.sh: Likewise.
55143 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55145         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55146         * sysdeps/unix/syscalls.list: ... here.
55148         * sysdeps/posix/getaddrinfo.c
55149         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55150         (gaiconf_init, gaiconf_reload): Use them.
55151         [!_STATBUF_ST_NSEC]
55152         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55153         Define using time_t rather than struct timespec.
55155         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55156         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55157         Macros removed.
55158         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55159         [!NO_THREADS].
55160         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55161         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55162         Likewise.
55164         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55165         __libc_cleanup_push argument.
55167         * bits/param.h: New file.
55168         * misc/sys/param.h: New file.
55169         * include/sys/param.h: New file.
55170         * misc/Makefile (headers): Add bits/param.h.
55171         * sysdeps/generic/sys/param.h: File removed.
55172         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55173         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55174         * sysdeps/mach/hurd/bits/param.h: New file.
55175         * sysdeps/mach/hurd/sys/param.h: File removed.
55177         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55178         last change.
55180         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55181         [_IO_MTSAFE_IO].
55182         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55183         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55184         New macros.
55186         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55187         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55188         rather than -D_IO_MTSAFE_IO conditionally.
55189         * stdio-common/Makefile (CPPFLAGS): Likewise.
55190         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55191         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55192         Use $(libio-mtsafe).
55193         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55194         of -D_IO_MTSAFE_IO.
55195         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55196         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55197         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55198         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55199         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55200         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55201         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55202         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55203         (CFLAGS-fread_u_chk.c): Likewise.
55204         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55205         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55206         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55207         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55208         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55209         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55210         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55211         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55212         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55214         * libio/Makefile: Test [$(libc-reentrant) = yes]
55215         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55217         * Makeconfig
55218         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55219         * sysdeps/pthread/configure: File removed.
55220         * sysdeps/pthread/Makeconfig: New file.
55221         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55222         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55224 2012-08-16  Gary Benson  <gbenson@redhat.com>
55226         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55227         unmapping the first object in a namespace.
55229 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55231         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55232         (__internal_setnetgrent): ... this.  Add internal_function to
55233         definition.  Add libc_hidden_def.
55234         (setnetgrent): Update caller.
55235         (internal_endnetgrent): Renamed to ...
55236         (__internal_endnetgrent): ... this.  Add internal_function to
55237         definition.  Add libc_hidden_def.
55238         (endnetgrent): Update caller.
55239         (internal_getnetgrent_r): Renamed to ...
55240         (__internal_getnetgrent_r): ... this.  Add internal_function to
55241         definition.  Add libc_hidden_def.
55242         (__getnetgrent_r): Update caller.
55243         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55245 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55247         * stdlib/longlong.h: Update from GCC.
55249 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55251         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55252         on _QL, which is set by umul_ppmm but never used.
55253         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55254         variables, which are set by GMP macros but never used.
55255         * stdio-common/_itowa.c (_itowa): Likewise.
55256         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55257         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55259 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55261         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55262         struct La_sh_regs is not constant.
55263         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55264         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55265         and struct La_sparc64_regs are not constant.
55267 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55269         * sysdeps/unix/sysv/linux/kernel-features.h
55270         (__ASSUME_POSIX_TIMERS): Remove.
55271         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55272         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55273         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55274         Make code unconditional.
55275         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55276         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55277         Make code unconditional.
55278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55279         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55280         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55282         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55283         Make code unconditional.
55284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55285         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55286         (__libc_missing_posix_timers): Remove.
55288 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55290         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55291         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55293         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55295         * elf/dl-sym.c: Include <stdlib.h>.
55297         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55298         constants, which avoids warnings in 32-bit builds.
55300         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55301         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55303         * misc/lseek.c: File moved to ...
55304         * io/lseek.c: ... here.
55306         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55308         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55309         shifting LEN more than 31 bits at once.
55311 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55313         [BZ #14195]
55314         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55315         segmentation fault for a case of two empty input strings.
55316         * string/test-strncasecmp.c (check1): Renamed to...
55317         (bz12205): ...this.
55318         (bz14195): Add new testcase for two empty input strings and N > 0.
55319         (test_main): Call new testcase, adapt for renamed function.
55321 2012-08-15  Andreas Jaeger  <aj@suse.de>
55323         [BZ #14090]
55324         * crypt/md5test2.c: New test, based on test supplied by Serge
55325         Belyshev <belyshev@depni.sinp.msu.ru>.
55326         * crypt/Makefile (xtests): Add md5test-giant..
55327         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55329 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55331         [BZ #14090]
55332         * crypt/md5.c (md5_process_block): Don't assume the buffer
55333         length is less than 2**32.
55334         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55335         length is less than 2**64.
55337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55339         * string/str-two-way.h: Include <sys/param.h>.
55340         (MAX): Macro removed.
55342         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55343         Move #define and #undef of memmove to just before and after
55344         including <string.h>.
55346         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55347         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55348         and after including <string.h>.  Move declarations of
55349         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55350         to before #include "string/memmove.c".
55352         * include/dirent.h: Declare __getdirentries.
55354         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55355         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55357 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55359         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55360         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55361         * sysdeps/i386/configure: Regenerated.
55362         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55363         STABS_CURRENT_FILE, and STABS_FUN.
55364         (END): Remove call to STABS_FUN_END.
55365         (STABS_CURRENT_FILE1): Delete.
55366         (STABS_CURRENT_FILE): Likewise.
55367         (STABS_FUN): Likewise.
55368         (STABS_FUN_END): Likewise.
55369         (STABS_FUN2): Likewise.
55370         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55371         * sysdeps/x86_64/configure: Regenerated.
55373 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55375         * elf/dl-open.c: Include <atomic.h>.
55376         * elf/dl-lookup.c: Likewise.
55378 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55380         * sysdeps/unix/sysv/linux/kernel-features.h
55381         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55382         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55383         unconditionally.
55384         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55385         unconditionally.
55386         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55387         condition on __ASSUME_CLONE_THREAD_FLAGS.
55389 2012-08-14  Andreas Jaeger  <aj@suse.de>
55391         * sysdeps/i386/fpu/libm-test-ulps: Update.
55393 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55395         * include/atomic.h (atomic_exchange_and_add): Split into ...
55396         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55397         New atomic macros.
55399 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55403 2012-08-13  Jeff Law <law@redhat.com>
55405         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55406         null byte in the output string.
55408 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55410         * sysdeps/unix/sysv/linux/kernel-features.h
55411         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55412         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55413         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55414         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55415         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55416         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55417         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55419 2012-08-09  Jeff Law <law@redhat.com>
55421         [BZ #13939]
55422         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55423         When avoid_arena is set, don't retry in the that arena.  Pick the
55424         next one, whatever it might be.
55425         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55426         (arena_lock): Pass in new parameter to arena_get2.
55427         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55428         arena_get2.
55429         (__libc_malloc): Unify retrying after main arena failure with
55430         __libc_memalign version.
55431         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55433 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55435         [BZ #14166]
55436         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55437         to __redirect_strstr.
55438         (__strstr_sse42): Use typeof __redirect_strstr.
55439         (__strstr_ia32): Likewise.
55440         (__libc_strstr): New prototype.
55441         (strstr): Renamed to ...
55442         (__libc_strstr): This.
55443         (strstr): New strong alias of __libc_strstr.
55444         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55445         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55446         __redirect_time.
55447         Include <time.h>.
55448         (__libc_time): New prototype.
55449         (time_ifunc): Replace time with __libc_time.
55450         (time): New strong alias and hidden definition of __libc_time.
55451         (__GI_time): Remove strong alias.
55452         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55453         Include <stddef.h>.
55454         (memmove): Redefined to __redirect_memmove.
55455         (__memmove_sse2): Use typeof __redirect_memmove.
55456         (__memmove_ssse3): Likewise.
55457         (__memmove_ssse3_back): Likewise.
55458         (__libc_memmove): New prototype.
55459         (memmove): Renamed to ...
55460         (__libc_memmove): This.
55461         (memmove): New strong alias of __libc_memmove.
55463 2012-08-08  Mark Salter  <msalter@redhat.com>
55465         * elf/elf.h
55466         (R_MN10300_TLS_GD): Define.
55467         (R_MN10300_TLS_LD): Likewise.
55468         (R_MN10300_TLS_LDO): Likewise.
55469         (R_MN10300_TLS_GOTIE): Likewise.
55470         (R_MN10300_TLS_IE): Likewise.
55471         (R_MN10300_TLS_LE): Likewise.
55472         (R_MN10300_TLS_DTPMOD): Likewise.
55473         (R_MN10300_TLS_DTPOFF): Likewise.
55474         (R_MN10300_TLS_TPOFF): Likewise.
55475         (R_MN10300_SYM_DIFF): Likewise.
55476         (R_MN10300_ALIGN): Likewise.
55477         (R_MN10300_NUM): Update.
55479 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55482         Remove.
55484 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55486         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55488         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55489         sysdeps/unix -> sysdeps/posix move.
55490         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55492 2012-08-07      Allan McRae     <allan@archlinux.org>
55494         [BZ #14303]
55495         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55496         (SUNOS_CPP): Likewise.
55497         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55498         not found.
55499         (open_input): Call CPP using execvp.
55501 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55503         * sysdeps/unix/sysv/linux/kernel-features.h
55504         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55505         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55506         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55507         (__ASSUME_WAITID_SYSCALL): Likewise.
55508         * sysdeps/unix/sysv/linux/dl-execstack.c
55509         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55510         code unconditional.
55511         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55512         conditional code.
55513         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55514         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55515         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55516         code.
55517         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55518         unconditional.
55519         [__ASSUME_WAITID_SYSCALL]: Likewise.
55520         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55522 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55524         * sysdeps/unix/closedir.c: Renamed to ...
55525         * sysdeps/posix/closedir.c: ... here.
55526         * sysdeps/unix/dirfd.c: Renamed to ...
55527         * sysdeps/posix/dirfd.c: ... here.
55528         * sysdeps/unix/dirstream.h: Renamed to ...
55529         * sysdeps/posix/dirstream.h: ... here.
55530         * sysdeps/unix/fdopendir.c: Renamed to ...
55531         * sysdeps/posix/fdopendir.c: ... here.
55532         * sysdeps/unix/opendir.c: Renamed to ...
55533         * sysdeps/posix/opendir.c: ... here.
55534         * sysdeps/unix/readdir.c: Renamed to ...
55535         * sysdeps/posix/readdir.c: ... here.
55536         * sysdeps/unix/readdir_r.c: Renamed to ...
55537         * sysdeps/posix/readdir_r.c: ... here.
55538         * sysdeps/unix/rewinddir.c: Renamed to ...
55539         * sysdeps/posix/rewinddir.c: ... here.
55540         * sysdeps/unix/seekdir.c: Renamed to ...
55541         * sysdeps/posix/seekdir.c: ... here.
55542         * sysdeps/unix/telldir.c: Renamed to ...
55543         * sysdeps/posix/telldir.c: ... here.
55544         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55545         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55546         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55547         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55549         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55550         * bits/fcntl.h: ... here.
55552         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55553         not 0.
55554         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55555         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55556         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55557         (struct flock): Move l_start, l_len to the beginning.
55558         Use __pid_t for l_pid.
55559         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55560         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55561         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55562         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55563         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55564         [__USE_LARGEFILE64] (struct flock64): New type.
55565         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55567         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55568         * bits/dirent.h: ... here.
55570         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55571         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55573 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55576         Change from 2.6.0 to 2.6.16.
55577         * sysdeps/unix/sysv/linux/configure: Regenerated.
55578         * sysdeps/unix/sysv/linux/kernel-features.h
55579         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55580         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55581         version.
55582         (__ASSUME_UTIMES): Likewise.
55583         (__ASSUME_CLONE_STOPPED): Remove.
55584         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55585         architectures, not kernel version.
55586         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55587         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55588         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55589         (__ASSUME_WAITID_SYSCALL): Likewise.
55590         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55591         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55592         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55593         refer to older versions.
55595 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55597         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55598         Define alphasort64 as an alias.
55599         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55600         Define versionsort64 as an alias.
55601         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55602         Define scandir64 as an alias.
55603         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55604         Define scandirat64 as an alias.
55605         * dirent/alphasort64.c (alphasort64):
55606         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55607         * dirent/versionsort64.c: Likewise.
55608         * dirent/scandir64.c: Likewise.
55609         * dirent/scandirat64.c: Likewise.
55610         * sysdeps/wordsize-64/alphasort.c: File removed.
55611         * sysdeps/wordsize-64/alphasort64.c: File removed.
55612         * sysdeps/wordsize-64/scandir.c: File removed.
55613         * sysdeps/wordsize-64/scandir64.c: File removed.
55614         * sysdeps/wordsize-64/scandirat.c: File removed.
55615         * sysdeps/wordsize-64/scandirat64.c: File removed.
55616         * sysdeps/wordsize-64/versionsort.c: File removed.
55617         * sysdeps/wordsize-64/versionsort64.c: File removed.
55618         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55620         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55622         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55624         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55625         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55627         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55629         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55631         [defined __arch64__ || defined __sparcv9]
55632         (__INO_T_MATCHES_INO64_T): New macro.
55633         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55634         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55635         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55636         * sysdeps/unix/sysv/linux/bits/dirent.h
55637         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55638         (_DIRENT_MATCHES_DIRENT64): New macro.
55640         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55641         Define lockf64 as an alias.
55642         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55643         Define fseeko64 as an alias.
55644         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55645         Define ftello64 as an alias.
55646         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55647         Define _IO_fgetpos64 and fgetpos64 as aliases.
55648         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55649         Define _IO_fsetpos64 and fsetpos64 as aliases.
55650         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55651         Conditionalize body on this.
55652         * libio/fseeko64.c: Likewise.
55653         * libio/ftello64.c: Likewise.
55654         * libio/iofgetpos64.c: Likewise.
55655         * libio/iofsetpos64.c: Likewise.
55656         * sysdeps/wordsize-64/lockf.c: File removed.
55657         * sysdeps/wordsize-64/lockf64.c: File removed.
55658         * sysdeps/wordsize-64/fseeko.c: File removed.
55659         * sysdeps/wordsize-64/fseeko64.c: File removed.
55660         * sysdeps/wordsize-64/ftello.c: File removed.
55661         * sysdeps/wordsize-64/ftello64.c: File removed.
55662         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55663         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55664         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55665         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55668         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55670         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55674         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55677         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55679         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55681         [defined __arch64__ || defined __sparcv9]
55682         (__OFF_T_MATCHES_OFF64_T): New macro.
55683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55684         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55686         (__OFF_T_MATCHES_OFF64_T): New macro.
55688 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55690         * stdlib/secure-getenv.c (__secure_getenv): Replace
55691         GLIBC_2_16 with GLIBC_2_17.
55693 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55698 2012-08-03  David S. Miller  <davem@davemloft.net>
55700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55702 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55705         Remove.
55706         (__ASSUME_CORRECT_SI_PID): Likewise.
55707         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55708         (__ASSUME_TMPFS_NAME): Likewise.
55709         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55710         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55711         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55712         (HAVE_AUX_SECURE): Make definition unconditional.
55713         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55714         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55716 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55718         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55719         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55720         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55721         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55722         __eloop_threshold instead of SYMLOOP_MAX.
55724         * sysdeps/generic/eloop-threshold.h: New file.
55725         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55726         of MAXSYMLINKS.
55727         * elf/chroot_canon.c (chroot_canon): Likewise.
55729 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55731         [BZ #13717]
55732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55733         Change to 2.6.0 everywhere.
55734         * sysdeps/unix/sysv/linux/configure: Regenerated.
55735         * sysdeps/unix/sysv/linux/kernel-features.h
55736         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55737         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55738         kernel versions.
55739         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55740         (__ASSUME_FUTEX_REQUEUE): Remove.
55741         (__ASSUME_STATFS64): Define unconditionally.
55742         (__ASSUME_AT_SECURE): Likewise.
55743         (__ASSUME_CORRECT_SI_PID): Likewise.
55744         (__ASSUME_TGKILL): Define without depending on kernel version for
55745         i386.
55746         (__ASSUME_UTIMES): Likewise.
55747         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55748         kernel version.
55749         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55750         (__ASSUME_TMPFS_NAME): Likewise.
55751         * README: Update reference to Linux kernel versions.
55753 2012-08-02  Marek Polacek  <polacek@redhat.com>
55755         [BZ# 14150]
55756         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55757         libc_cv_asm_type_prefix with %.
55758         * configure: Regenerated.
55759         * include/libc-symbols.h: Remove comment about
55760         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55761         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55762         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55763         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55764         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55765         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55766         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55767         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55768         * elf/tst-unique2mod1.c: Likewise.
55769         * elf/tst-unique1mod2.c: Likewise.
55770         * elf/tst-unique1mod1.c: Likewise.
55771         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55772         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55773         Replace ASM_TYPE_DIRECTIVE with .type.
55774         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55775         * sysdeps/i386/sysdep.h: Likewise.
55776         * sysdeps/x86_64/sysdep.h: Likewise.
55777         * sysdeps/sh/sysdep.h: Likewise.
55778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55779         Do not define ASM_TYPE_DIRECTIVE.
55780         * sysdeps/powerpc/sysdep.h: Likewise.
55781         * sysdeps/powerpc/powerpc32/sysdep.h:
55782         Replace ASM_TYPE_DIRECTIVE with .type.
55783         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55784         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55785         * sysdeps/i386/fpu/e_powf.S: Likewise.
55786         * sysdeps/i386/fpu/e_expl.S: Likewise.
55787         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55788         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55789         * sysdeps/i386/fpu/e_pow.S: Likewise.
55790         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55791         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55792         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55793         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55794         * sysdeps/i386/fpu/e_log2.S: Likewise.
55795         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55796         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55797         * sysdeps/i386/fpu/e_powl.S: Likewise.
55798         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55799         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55800         * sysdeps/i386/fpu/e_logl.S: Likewise.
55801         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55802         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55803         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55804         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55805         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55806         * sysdeps/i386/fpu/e_log.S: Likewise.
55807         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55808         * sysdeps/i386/fpu/e_logf.S: Likewise.
55809         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55811         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55812         * sysdeps/i386/fpu/e_log10.S: Likewise.
55813         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55814         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55815         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55816         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55817         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55818         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55819         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55820         * sysdeps/i386/i686/strtok.S: Likewise.
55821         * sysdeps/i386/i386-mcount.S: Likewise.
55822         * sysdeps/i386/strtok.S: Likewise.
55823         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55824         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55826         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55827         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55828         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55829         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55830         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55831         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55832         * sysdeps/x86_64/_mcount.S: Likewise.
55833         * sysdeps/x86_64/strtok.S: Likewise.
55834         * sysdeps/sh/_mcount.S: Likewise.
55836 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55838         * libio/iofopen.c: Include <fcntl.h>.
55839         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55840         (_IO_fopen64, fopen64): Define as aliases.
55841         * libio/iofopen64.c: Include <fcntl.h>.
55842         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55843         Conditionalize body on this.
55844         * sysdeps/wordsize-64/iofopen.c: File removed.
55845         * sysdeps/wordsize-64/iofopen64.c: File removed.
55847 2012-08-01  Marek Polacek  <polacek@redhat.com>
55849         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55850         Use dlfcn directly instead of a variable.
55851         (binfmt-subdir): Do not define.
55852         (dlfcn): Likewise.
55854 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55857         Remove all definitions.
55858         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55859         <kernel-features.h>.
55860         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55861         (miss_F_GETOWN_EX): Remove all definitions.
55862         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55863         macro definition.
55864         [!__ASSUME_FCNTL64]: Remove conditional code.
55865         [__ASSUME_FCNTL64]: Make code unconditional.
55866         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55867         <kernel-features.h>.
55868         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55869         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55870         (lockf64) [__NR_fcntl64]: Make code unconditional.
55871         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55873         * sysdeps/unix/sysv/linux/kernel-features.h
55874         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55875         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55876         Make code unconditional.
55877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55880         [__NR_vfork]: Make code unconditional.
55881         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55882         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55884         [__NR_vfork]: Make code unconditional.
55885         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55886         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55888 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55890         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55891         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55893         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55894         Define mkstemp64 as an alias.
55895         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55896         Define mkstemps64 as an alias.
55897         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55898         Define mkostemp64 as an alias.
55899         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55900         Define mkostemps64 as an alias.
55901         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55902         Conditionalize body on this.
55903         * misc/mkostemp64.c: Likewise.
55904         * misc/mkostemps64.c: Likewise.
55905         * misc/mkstemps64.c: Likewise.
55906         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55907         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55908         * sysdeps/wordsize-64/mkostemp.c: File removed.
55909         * sysdeps/wordsize-64/mkstemp.c: File removed.
55910         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55915         [BZ #14138]
55916         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55917         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55918         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55919         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55921         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55922         compat_symbol macros from <shlib-compat.h> rather than the underlying
55923         default_symbol_version and symbol_version macros, so that DEFAULT
55924         lines in shlib-versions are respected.
55925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55927 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55929         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55930         Declare with warn_unused_result.
55931         (setgid, setregid, setegid, setresgid): Likewise.
55932         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55933         Likewise.
55934         * WUR-REPORT: Remove set*id functions.
55936 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55938         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55940 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55942         [BZ #10191]
55943         * include/sys/socket.h (__libc_accept, __libc_accept4):
55944         Add attribute_hidden.
55945         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55947         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55948         use of PTR_MANGLE.
55949         * inet/getnetgrent_r.c (setup): Likewise.
55951         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55953 2012-07-31  David S. Miller  <davem@davemloft.net>
55955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55957 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55959         [BZ #13629]
55960         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55961         value between 1.0 and 2.0 and smaller part has absolute value less
55962         than 1.0.
55963         * math/s_clog10.c (__clog10): Likewise.
55964         * math/s_clog10f.c (__clog10f): Likewise.
55965         * math/s_clog10l.c (__clog10l): Likewise.
55966         * math/s_clogf.c (__clogf): Likewise.
55967         * math/s_clogl.c (__clogl): Likewise.
55968         * math/libm-test.inc (clog_test): Add more tests.
55969         (clog10_test): Likewise.
55970         * sysdeps/i386/fpu/libm-test-ulps: Update.
55971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55973 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55975         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55976         Exit with zero in case no suitable GID is found, and write a
55977         message to standard error.
55979 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55981         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55982         rather than to 1.
55983         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55984         (MAXPATHLEN): Removed.
55985         (NOGROUP, NODEV): New macros.
55986         (setbit, clrbit, isset, isclr): New macros.
55987         (howmany, roundup, powerof2): New macros.
55988         (DEV_BSIZE): New macro.
55990         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55991         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55993         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55994         definition on [!__NO_LONG_DOUBLE_MATH].
55996         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55997         PTR_MANGLE and PTR_DEMANGLE.
55999         * socket/accept4.c (accept4): Rename to __libc_accept4.
56000         Define accept4 as a weak alias.
56002         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56003         on [_DIRENT_HAVE_D_TYPE].
56004         * io/ftw.c (ftw_dir): Likewise.
56006         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56008         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56010         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56011         Use the BSD numbers rather than the arbitrary ones we had.
56012         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56013         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56014         (SIGXCPU, SIGXFSZ): New macros.
56015         (_NSIG): Now 32.
56017         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56018         initializer on [_LIBC_REENTRANT].
56020         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56021         definitions inside [_POSIX_MAPPED_FILES].
56023         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56025         * dirent/opendir.c: Include <fcntl.h>.
56027         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56028         (__libc_getspecific): Likewise.
56029         (__libc_key_create): Likewise.
56031         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56032         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56033         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56034         (tmpfile64): Define as alias.
56035         * sysdeps/wordsize-64/tmpfile.c: File removed.
56036         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56037         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56040         * stdio-common/vfscanf.c: Include <stdbool.h>.
56041         * nss/makedb.c: Likewise.
56042         * stdio-common/_i18n_number.h: Likewise.
56043         * argp/argp-help.c: Likewise.
56044         * posix/wordexp.c: Likewise.
56045         * sysdeps/posix/spawni.c: Likewise.
56046         * nss/nss_files/files-initgroups.c: Likewise.
56047         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56048         * nss/nss_files/files-initgroups.c: Likewise.
56049         * nss/nss_db/db-netgrp.c: Likewise.
56050         * nss/nss_db/db-initgroups.c: Likewise.
56051         * io/fchmodat.c: Include <sys/stat.h>.
56053         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56054         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56056         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56057         [HAVE_MMAP].
56059         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56060         Add multiple inclusion protection.
56062 2012-07-27  David S. Miller  <davem@davemloft.net>
56064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56066 2012-07-27  Gary Benson  <gbenson@redhat.com>
56068         [BZ #14298]
56069         * elf/rtld.c: Include <stap-probe.h>.
56070         (dl_main): Added static probes "init_start" and "init_complete".
56071         * elf/dl-load.c: Include <stap-probe.h>.
56072         (lose): Take new parameter "nsid".
56073         Added static probe "map_failed".
56074         (_dl_map_object_from_fd): Pass namespace id to lose.
56075         Added static probe "map_start".
56076         (open_verify): Pass namespace id to lose.
56077         * elf/dl-open.c: Include <stap-probe.h>.
56078         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56079         and "reloc_complete".
56080         * elf/dl-close.c: Include <stap-probe.h>.
56081         (_dl_close_worker): Added static probes "unmap_start" and
56082         "unmap_complete".
56083         * elf/rtld-debugger-interface.txt: New file documenting the above.
56085 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56087         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56088         rather than a string variable.
56089         * sunrpc/rpc_main.c (h_output): Likewise.
56090         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56092 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56094         * inet/check_native.c: New file.
56096 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56098         [BZ #13629]
56099         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56100         if larger part has absolute value 1.0.
56101         * math/s_clog10.c (__clog10): Likewise.
56102         * math/s_clog10f.c (__clog10f): Likewise.
56103         * math/s_clog10l.c (__clog10l): Likewise.
56104         * math/s_clogf.c (__clogf): Likewise.
56105         * math/s_clogl.c (__clogl): Likewise.
56106         * math/libm-test.inc (clog_test): Add more tests.
56107         (clog10_test): Likewise.
56108         * sysdeps/i386/fpu/libm-test-ulps: Update.
56109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56111         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56112         (pltexit): Likewise.
56113         (La_regs): Likewise.
56114         (La_retval): Likewise.
56115         (int_retval): Likewise.
56116         Update #error for removed macros to refer only to definitions in
56117         tst-audit.h.
56118         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56119         macro.
56120         (pltexit): Likewise.
56121         (La_regs): Likewise.
56122         (La_retval): Likewise.
56123         (int_retval): Likewise.
56124         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56125         macro.
56126         (pltexit): Likewise.
56127         (La_regs): Likewise.
56128         (La_retval): Likewise.
56129         (int_retval): Likewise.
56130         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56131         macro.
56132         (pltexit): Likewise.
56133         (La_regs): Likewise.
56134         (La_retval): Likewise.
56135         (int_retval): Likewise.
56136         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56137         macro.
56138         (pltexit): Likewise.
56139         (La_regs): Likewise.
56140         (La_retval): Likewise.
56141         (int_retval): Likewise.
56142         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56143         macro.
56144         (pltexit): Likewise.
56145         (La_regs): Likewise.
56146         (La_retval): Likewise.
56147         (int_retval): Likewise.
56148         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56149         macro.
56150         (pltexit): Likewise.
56151         (La_regs): Likewise.
56152         (La_retval): Likewise.
56153         (int_retval): Likewise.
56154         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56155         macro definitions in tst-audit.h.
56156         * sysdeps/i386/tst-audit.h: New file.
56157         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56158         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56159         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56160         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56161         * sysdeps/sh/tst-audit.h: Likewise.
56162         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56163         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56164         * sysdeps/x86_64/tst-audit.h: Likewise.
56166 2012-07-26  Andreas Jaeger  <aj@suse.de>
56168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56169         ptrace.
56171         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56172         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56173         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56174         PTRACE_O_MASK.
56175         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56176         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56177         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56179         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56180         value.
56182         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56183         _sigsys.
56184         (si_call_addr, si_syscall, si_arch): Define new macro.
56185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56186         _sigsys.
56187         (si_call_addr, si_syscall, si_arch): Define new marcro.
56188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56189         _sigsys.
56190         (si_call_addr, si_syscall, si_arch): Define new macro.
56191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56192         _sigsys.
56193         (si_call_addr, si_syscall, si_arch): Define new macro.
56195 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56197         [BZ #13717]
56198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56199         Change to 2.4.21 where previously 2.4.1.
56200         * sysdeps/unix/sysv/linux/configure: Regenerated.
56201         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56202         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56203         Linux kernel version.
56204         (__ASSUME_STD_AUXV): Remove.
56205         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56206         kernel version.
56207         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56208         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56209         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56210         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56211         (__ASSUME_NETLINK_SUPPORT): Likewise.
56212         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56213         (__no_netlink_support): Remove conditional definition.
56214         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56215         Remove.
56216         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56217         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56218         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56219         (if_nameindex_ioctl): Remove.
56220         (if_nameindex_netlink): Do not handle __no_netlink_support.
56221         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56222         code.
56223         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56224         Remove conditional code.
56225         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56226         code.
56227         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56228         unconditional.
56229         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56230         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56231         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56232         Remove.
56233         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56234         [!__ASSUME_STD_AUXV]: Remove conditional code.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56236         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56237         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56239         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56240         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56241         code.
56242         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56244         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56245         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56246         conditional code.
56247         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56249         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56250         code.
56251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56252         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56253         conditional code.
56254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56255         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56256         code unconditional.
56257         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56258         conditional code.
56259         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56260         unconditional.
56261         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56262         conditional code.
56263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56264         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56265         unconditional.
56266         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56267         conditional code.
56268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56269         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56270         code unconditional.
56271         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56272         conditional code.
56273         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56274         unconditional.
56275         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56276         conditional code.
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56278         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56279         code unconditional.
56280         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56281         conditional code.
56282         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56283         unconditional.
56284         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56285         conditional code.
56287 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56289         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56290         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56291         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56292         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56293         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56294         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56295         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56296         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56297         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56298         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56299         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56300         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56301         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56302         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56304         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56305         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56307         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56310         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56313 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56315         * Versions.def: Add GLIBC_2.17.
56316         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56317         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56318         Introduce __libc_secure_getenv.
56319         * stdlib/Versions (2.17): Add secure_getenv
56320         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56321         * stdlib/secure-getenv.c: Rename __secure_getenv to
56322         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56323         symbol __secure_getenv for GLIBC_2.0.
56324         * stdlib/tst-secure-getenv.c: New.
56325         * stdlib/Makefile (tests): Add testcase.
56326         * manual/startup.texi (Environment Access): Document
56327         secure_getenv.
56328         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56329         __libc_secure_getenv.
56330         * inet/ruserpass.c (ruserpass): Likewise.
56331         * malloc/mtrace.c (mtrace): Likewise.
56332         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56333         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56334         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56335         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56336         HAVE_SECURE_GETENV.
56337         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56338         __secure_getenv to __libc_secure_getenv.
56339         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56341         Likewise.
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56343         Likewise.
56344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56352 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56354         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56355         (struct La_i86_retval): Likewise.
56356         (struct La_x86_64_regs): Likewise.
56357         (struct La_x86_64_retval): Likewise.
56358         (struct La_x32_regs): Likewise.
56359         (struct La_x32_retval): Likewise.
56360         (struct La_ppc32_regs): Likewise.
56361         (struct La_ppc32_retval): Likewise.
56362         (struct La_ppc64_regs): Likewise.
56363         (struct La_ppc64_retval): Likewise.
56364         (struct La_sh_regs): Likewise.
56365         (struct La_sh_retval): Likewise.
56366         (struct La_s390_32_regs): Likewise.
56367         (struct La_s390_32_retval): Likewise.
56368         (struct La_s390_64_regs): Likewise.
56369         (struct La_s390_64_retval): Likewise.
56370         (struct La_sparc32_regs): Likewise.
56371         (struct La_sparc32_retval): Likewise.
56372         (struct La_sparc64_regs): Likewise.
56373         (struct La_sparc64_retval): Likewise.
56374         (struct audit_ifaces): Remove architecture-specific pltenter and
56375         pltexit members.
56376         * sysdeps/i386/ldsodefs.h: New file.
56377         * sysdeps/powerpc/ldsodefs.h: Likewise.
56378         * sysdeps/s390/ldsodefs.h: Likewise.
56379         * sysdeps/sh/ldsodefs.h: Likewise.
56380         * sysdeps/sparc/ldsodefs.h: Likewise.
56381         * sysdeps/x86_64/ldsodefs.h: Likewise.
56383 2012-07-25  Marek Polacek  <polacek@redhat.com>
56385         [BZ #6808]
56386         * math/libm-test.inc (yn_test): Add another test.
56387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56388         to ERANGE when the result is +-Inf.
56389         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56390         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56391         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56394 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56396         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56397         equal to 0.
56398         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56399         clock_t.
56400         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56402 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56404         * configure.in <sysdeps resolving>: Correct printing
56405         Implies_before.
56406         * configure: Regenerate.
56408 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56410         * math/w_ilogb.c: Include <limits.h>.
56411         * math/w_ilogbl.c: Likewise.
56413 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56415         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56416         va_copy.  Document allowing for unavailable va_copy only as
56417         pre-C99 compatibility.
56418         * manual/string.texi (Copying and Concatenation): Use va_copy
56419         instead of __va_copy in concat example.
56421 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56423         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56424         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56425         it if not null.
56427         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56428         with O_NOLINK passed to __file_name_lookup.
56430         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56431         with O_NOLINK passed to __file_name_lookup.
56433         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56434         negative N or less than NGIDS.
56436         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56437         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56438         enough.  Use memcpy instead of strncpy.
56440 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56442         * elf/Makefile (check-data): Remove.
56443         (localplt.data): New vpath directive.
56444         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56445         instead of $(check-data).
56446         * scripts/data/localplt-generic.data: Move to ...
56447         * sysdeps/generic/localplt.data: ... here.
56448         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56449         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56450         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56452         ... here.
56453         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56455         ... here.
56456         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56458         ... here.
56459         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56461         ... here.
56462         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56464         ... here.
56465         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56467         ... here.
56469 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56471         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56472         PPC32 and PPC64 files.
56473         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56474         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56476 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56478         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56479         __makecontext_ret to ...
56480         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56481         ... here and call exit if uc_link is NULL.  New file.
56482         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56483         __makecontext_ret.S.
56484         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56485         __makecontext_ret to ...
56486         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56487         ... here and call exit if uc_link is NULL.  New file.
56488         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56489         __makecontext_ret.S.
56491 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56493         * elf/elf.h (R_390_IRELATIVE): New definition.
56494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56495         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56496         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56497         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56498         (elf_machine_lazy_rel): Likewise.
56499         * sysdeps/s390/dl-irel.h: New file.
56500         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56501         * sysdeps/s390/s390-64/memset.S: New asm code.
56502         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56503         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56504         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56505         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56506         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56507         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56509         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56510         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56511         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56512         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56513         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56514         * sysdeps/s390/s390-32/memset.S: New asm code.
56515         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56517 2012-07-17  Marek Polacek  <polacek@redhat.com>
56519         [BZ #14349]
56520         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56521         * sysdeps/s390/s390-64/configure.in: Likewise.
56522         * sysdeps/sparc/configure.in: Likewise.
56523         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56524         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56525         * sysdeps/i386/configure.in: Likewise.
56526         * sysdeps/x86_64/configure.in: Likewise.
56527         * sysdeps/sh/configure.in: Likewise.
56528         * sysdeps/s390/s390-32/configure: Regenerated.
56529         * sysdeps/s390/s390-64/configure: Likewise.
56530         * sysdeps/x86_64/configure: Likewise.
56531         * sysdeps/sh/configure: Likewise.
56532         * sysdeps/powerpc/powerpc64/configure: Likewise.
56533         * sysdeps/powerpc/powerpc32/configure: Likewise.
56534         * sysdeps/sparc/configure: Likwise.
56535         * sysdeps/i386/configure: Likewise.
56537         * elf/dl-open.c: Comment fixes.
56539 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56541         * Makefile [CXX] (check-data): Remove.
56542         [CXX] (c++-types.data): New vpath directive.
56543         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56544         vpath.  Do not allow for C++ type data being missing.
56545         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56546         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56547         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56548         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56549         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56550         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56551         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56553         ... here.
56554         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56556         ... here.
56557         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56559         ... here.
56560         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56562         ... here.
56563         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56565         ... here.
56566         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56568         ... here.
56569         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56571         ... here.
56572         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56575         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56576         definitions to architecture-specific files.
56577         (TLS_IE): Likewise.
56578         (TLS_LD): Likewise.
56579         (TLS_GD): Likewise.
56580         * sysdeps/i386/tls-macros.h: New file.
56581         * sysdeps/powerpc/tls-macros.h: Likewise.
56582         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56583         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56584         * sysdeps/sh/tls-macros.h: Likewise.
56585         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56586         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56587         * sysdeps/x86_64/tls-macros.h: Likewise.
56589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56592         zero value for regular exit case.
56594         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56595         (__start_context): Preserve zero value for regular exit case.
56597 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56598             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56600         * manual/setjmp.texi (setcontext): Clarify normal process
56601         termination when uc_link is the null pointer.
56602         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56603         exit call.
56605 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56607         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56608         preprocessor.  Test for each exception mask separately.
56610 2012-07-16  Andreas Jaeger  <aj@suse.de>
56612         * po/ru.po: Update from translation team.
56614 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56616         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56617         equal to 0.
56618         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56619         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56620         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56621         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56622         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56624 2012-07-13  Andreas Jaeger  <aj@suse.de>
56626         * po/fr.po: Update from translation team.
56628 2012-07-12  Marek Polacek  <polacek@redhat.com>
56630         [BZ #14173]
56631         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56633         loop condition.
56635 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56637         [BZ #13717]
56638         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56639         Change to 2.4.1 where previously 2.4.0.
56640         * sysdeps/unix/sysv/linux/configure: Regenerated.
56641         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56642         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56643         version.
56644         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56645         (__ASSUME_AT_CLKTCK): Remove.
56646         (__ASSUME_AT_PAGESIZE): Likewise.
56647         (__ASSUME_AT_XID): Likewise.
56648         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56649         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56650         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56651         unconditionally.
56652         (HAVE_AUX_PAGESIZE): Likewise.
56653         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56654         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56655         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56657 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56659         [BZ #14307]
56660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56661         the temporary buffer used to invoke __gethostbyname2_r,
56662         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56663         host_data / struct gaih_addrtuple.
56664         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56665         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56666         header file nss/nsswitch.h.
56667         * nss/nsswitch.h (global scope): Add definition of implementation
56668         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56669         resolv/nss_dns/dns-host.c).
56671 2012-07-11  Andreas Jaeger  <aj@suse.de>
56673         * po/fr.po: Update from translation team.
56675         * po/sv.po: Update from translation team
56676         * po/fr.po: Another update from translation team.
56678 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56681         for subnormals or multiply small sinh result by itself.
56682         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56685 2012-07-11  David S. Miller  <davem@davemloft.net>
56687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56689 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56691         [BZ #14347]
56692         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56693         (INTERNAL_MARK): Shift it here.
56695 2012-07-10  Marek Polacek  <polacek@redhat.com>
56697         [BZ #14151]
56698         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56699         libc_cv_asm_global_directive with .globl.
56700         * configure: Regenerated.
56701         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56702         with .globl.
56703         * sysdeps/i386/configure: Regenerated.
56704         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56705         with .globl.
56706         * sysdeps/x86_64/configure: Regenerated.
56707         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56708         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56709         * elf/tst-unique2mod2.c: Likewise.
56710         * elf/tst-unique2mod1.c: Likewise.
56711         * elf/tst-unique1mod2.c: Likewise.
56712         * elf/tst-unique1mod1.c: Likewise.
56713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56714         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56716         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56717         * sysdeps/mach/sysdep.h: Likewise.
56718         * sysdeps/i386/sysdep.h: Likewise.
56719         * sysdeps/i386/i386-mcount.S: Likewise.
56720         * sysdeps/x86_64/_mcount.S: Likewise.
56721         * sysdeps/x86_64/sysdep.h: Likewise.
56722         * sysdeps/sh/_mcount.S: Likewise.
56723         * sysdeps/sh/sysdep.h: Likewise.
56724         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56725         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56726         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56727         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56728         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56729         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56730         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56731         * locale/localeinfo.h: Likewise.
56732         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56733         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56735 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56737         [BZ #14336]
56738         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56739         system".
56740         * manual/message.texi (The Uniforum approach): Likewise.
56741         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56742         (glibc iconv Implementation): Likewise.
56744 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56746         [BZ #14337]
56747         * math/s_clog.c (__clog): Avoid scaling a value down where that
56748         could result in underflow.
56749         * math/s_clog10.c (__clog10): Likewise.
56750         * math/s_clog10f.c (__clog10f): Likewise.
56751         * math/s_clog10l.c (__clog10l): Likewise.
56752         * math/s_clogf.c (__clogf): Likewise.
56753         * math/s_clogl.c (__clogl): Likewise.
56754         * math/libm-test.inc (clog_test): Add more tests.
56755         (clog10_test): Likewise.
56756         * sysdeps/i386/fpu/libm-test-ulps: Update.
56757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56759 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56761         [BZ #14283]
56762         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56763         by 7 not 8 to examine high bit of fractional part.
56765         [BZ #14042]
56766         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56767         for call to __mcount_internal.
56768         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56769         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56770         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56772 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56774         [BZ #14154]
56775         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56776         approximation for values within 0x1p-13f of an odd multiple of
56777         pi/4.
56778         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56779         exception.  Add more tests.
56780         * sysdeps/i386/fpu/libm-test-ulps: Update.
56782         [BZ #6778]
56783         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56784         inputs and return -1 for them.  Do not check for +Inf in case not
56785         reachable for +Inf.
56786         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56787         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56788         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56789         and return -1 for them.  Do not check for +Inf in case not
56790         reachable for +Inf.
56791         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56792         define.
56793         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56794         and return -1 for them.  Do not check for +Inf in case not
56795         reachable for +Inf.
56796         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56797         spurious underflow.
56798         * sysdeps/i386/fpu/libm-test-ulps: Update.
56799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56801 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56803         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56805 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56807         [BZ #14157]
56808         [BZ #14331]
56809         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56810         could result in spurious underflow.  Scale down values above
56811         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56812         * math/s_csqrtf.c (__csqrtf): Likewise.
56813         * math/s_csqrtl.c (__csqrtl): Likewise.
56814         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56815         spurious underflow.
56816         * sysdeps/i386/fpu/libm-test-ulps: Update.
56817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56819 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56821         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56822         xopen-msg.sed.
56823         * catgets/xopen-msg.awk: New file.
56824         * catgets/xopen-msg.sed: Removed.
56826         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56827         po2text.sed.
56828         * intl/po2test.awk: New file.
56829         * intl/po2test.sed: Removed.
56831 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56833         [BZ #14328]
56834         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56835         or multiply small sinh result by itself.
56836         * math/s_ctanf.c (__ctanf): Likewise.
56837         * math/s_ctanh.c (__ctanh): Likewise.
56838         * math/s_ctanhf.c (__ctanhf): Likewise.
56839         * math/s_ctanhl.c (__ctanhl): Likewise.
56840         * math/s_ctanl.c (__ctanl): Likewise.
56841         * math/libm-test.inc (ctan_test_tonearest): New function.
56842         (ctan_test_towardzero): Likewise.
56843         (ctan_test_downward): Likewise.
56844         (ctan_test_upward): Likewise.
56845         (ctanh_test_tonearest): Likewise.
56846         (ctanh_test_towardzero): Likewise.
56847         (ctanh_test_downward): Likewise.
56848         (ctanh_test_upward): Likewise.
56849         (main): Call these new functions.
56850         * sysdeps/i386/fpu/libm-test-ulps: Update.
56851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56853 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56855         * .gitignore: Delete /ports entry.
56857 2012-07-03  Andreas Jaeger  <aj@suse.de>
56859         * po/bg.po: Update from translation team.
56860         * po/cs.po: Likewise.
56861         * po/de.po: Likewise.
56862         * po/hr.po: Likewise.
56863         * po/nl.pl: Likewise.
56864         * po/pl.po: Likewise.
56865         * po/vi.po: Likewise.
56867 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56869         * Makeconfig [!+link] (+link-before-libc): New variable.
56870         [!+link] (+link-after-libc): Likewise.
56871         [!+link] (+link-tests): Likewise.
56872         [!+link] (+link): Define in terms of $(+link-before-libc) and
56873         $(+link-after-libc).
56874         [!+link-static] (+link-static-before-libc): New variable.
56875         [!+link-static] (+link-static-after-libc): Likewise.
56876         [!+link-static] (+link-static-tests): Likewise.
56877         [!+link-static] (+link-static): Define in terms of
56878         $(+link-static-before-libc) and $(+link-static-after-libc).
56879         [build-shared] (link-libc-before-gnulib): New variable.
56880         [build-shared] (link-libc-tests): Likewise.
56881         [build-shared] (link-libc): Define in terms of
56882         $(link-libc-before-gnulib).
56883         [!build-shared] (link-libc-tests): New variable.
56884         (link-libc-static-tests): New variable.
56885         [!gnulib] (gnulib-arch): New variable.
56886         [!gnulib] (gnulib-tests): Likewise.
56887         [!gnulib] (static-gnulib-arch): Likewise.
56888         [!gnulib] (static-gnulib-tests): Likewise.
56889         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56890         Define with "=" instead of ":=".
56891         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56892         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56893         * Rules (binaries-all-notests): New variable.
56894         (binaries-all-tests): Likewise.
56895         (binaries-static-notests): Likewise.
56896         (binaries-static-tests): Likewise.
56897         (binaries-all): Define using $(binaries-all-notests) and
56898         $(binaries-all-tests).
56899         (binaries-static): Define using $(binaries-static-notests) and
56900         $(binaries-static-tests).
56901         (binaries-shared-tests): New variable.
56902         (binaries-shared-notests): Likewise.
56903         (binaries-shared): Remove variable.
56904         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56905         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56906         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56907         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56908         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56909         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56910         * elf/Makefile (sln-modules): New variable.
56911         (extra-objs): Add $(sln-modules:=.o).
56912         (ldconfig-modules): Add static-stubs.
56913         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56914         * elf/static-stubs.c: New file.
56916         [BZ #14283]
56917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56918         by 7 not 8 to examine high bit of fractional part.  Use volatile
56919         variables when splitting into final array of floats if
56920         __FLT_EVAL_METHOD__ != 0.
56921         * math/libm-test.inc (cos_test): Add another test.
56922         (sin_test): Likewise.
56923         * sysdeps/i386/fpu/libm-test-ulps: Update.
56925         [BZ #14273]
56926         * math/libm-test.inc (cosh_test): Add more tests.
56928         * version.h (RELEASE): Set to "development".
56929         (VERSION): Set to "2.16.90".
56931 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56933         * NEWS: Update copyright. Remove last-updated date.
56934         Mention math library bug fixes and timezone data changes.
56935         * README: Mention GNU/Hurd, x32, and HPPA support status.
56937 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56939         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56941 2012-06-27  Andreas Jaeger  <aj@suse.de>
56943         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56945 2012-06-25  Andreas Jaeger  <aj@suse.de>
56947         * sysdeps/s390/fpu/libm-test-ulps: Update.
56949 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56950             Thomas Schwinge  <thomas@codesourcery.com>
56952         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56953         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56955         fanotify_mark.
56957 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56959         * sysdeps/mach/start.c: Remove file.
56960         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56961         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56962         * sysdeps/sh/init-first.c: Likewise.
56964         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56965         registers for frame unwinding purposes, add CFI directives.
56966         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56967         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56968         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56969         Likewise.
56971         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56972         __fortify_fail returning.
56973         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56975         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56976         sysdeps/sh/____longjmp_chk.S.
56977         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56978         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56979         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56980         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56982         * sysdeps/sh/abort-instr.h: New file.
56983         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56984         process in case exit returns.
56986         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56987         initialize the GOT register before use.
56989         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56990         calculation of ARGC > 4.
56992         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56993         meaningful names to some local labels.
56995 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56996             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56998         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56999         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57000         (__arch_compare_and_exchange_val_16_acq): Likewise.
57001         (__arch_compare_and_exchange_val_32_acq): Likewise.
57002         (atomic_exchange_and_add): Fix gUSA sequence.
57003         (atomic_add): Likewise.
57004         (atomic_add_negative): Likewise.
57005         (atomic_add_zero): Likewise.
57006         (atomic_bit_test_set): Likewise.
57008 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57010         [BZ #13579]
57011         * include/link.h (struct link_map): Add l_free_initfini.
57012         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57013         l_initfini.
57014         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57015         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57016         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57017         set.
57019 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57021         * configure.in: Use AC_LANG_SOURCE.
57022         * configure: Regenerate.
57024 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57026         * configure.in (libc_cv_localstatedir): New substituted variable.
57027         * configure: Regenerated.
57028         * config.make.in (localstatedir): New variable, substituted from
57029         libc_cv_localstatedir.
57030         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57031         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57032         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57033         * sysdeps/gnu/configure: Regenerated.
57035 2012-06-21  Jeff Law  <law@redhat.com>
57037         [BZ #14277]
57038         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57039         free.  Simplify list management for _LIBC case.
57041 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57043         [BZ #14273]
57044         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57045         Clear sign bit of 64-bit integer value before comparing against
57046         overflow value.
57048         * sysdeps/mach/configure: Regenerated.
57050 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57052         [BZ #14278]
57053         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57055 2012-06-21  Jeff Law  <law@redhat.com>
57057         [BZ #13882]
57058         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57059         uint16_t for elements in the "seen" array to avoid char overflows.
57060         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57061         * elf/dl-open.c (dl_open_worker): Likewise.
57063 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57065         * scripts/list-sources.sh: Scan PORTS for translations.
57066         * po/libc.pot: Regenerated.
57068 2012-06-21  Andreas Jaeger  <aj@suse.de>
57070         [BZ #12194]
57071         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57072         warning.
57073         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57074         * bits/byteswap-16.h (__bswap_16): Likewise.
57075         * bits/byteswap.h (__bswap_constant_16): Likewise.
57077 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57079         [BZ #14117]
57080         * sysdeps/i386/fpu_control.h: Removed.
57081         * sysdeps/x86_64/fpu_control.h: Moved to ...
57082         * sysdeps/x86/fpu_control.h: Here.
57084         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57085         (_FPU_SETCW): Likewise.
57087 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57089         [BZ #14117]
57090         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57091         * sysdeps/x86/fpu/bits/mathinline.h: This.
57092         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57094         [BZ #14050]
57095         [BZ #14117]
57096         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57097         functions if __x86_64__ is defined.
57099 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57101         * string/endian.h: Add !__ASSEMBLER__ condition for including
57102         conversion interfaces.
57104 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57106         [BZ #14241]
57107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57108         of ABS(x) in calculating zero to negative powers other than odd
57109         integers.
57110         * math/libm-test.inc (pow_test): Add more tests.
57112 2012-06-15  Andreas Jaeger  <aj@suse.de>
57114         * manual/contrib.texi (Contributors): Update entry of Liubov
57115         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57116         Machado Filho.
57118 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57120         * string/string.h: Add __wur to GNU version of strerror_r.
57122 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57124         [BZ #14229]
57125         * string/Makefile (tests): Add tst-strtok_r.
57126         * string/tst-strtok_r.c: New file.
57127         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57128         RAX_LP/RDX_LP on SAVE_PTR.
57130 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57132         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57134 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57136         * libm_test.inc (csqrt_test): Allow more spurious underflow
57137         exceptions.
57138         (j0_test): Likewise.
57139         (j1_test): Likewise.
57140         (y0_test): Likewise.
57141         (y1_test): Likewise.
57143 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57145         * po/Makefile (libc.pot): Use UTF-8 charset.
57147 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57149         [BZ #14210]
57150         Suppress sign-conversion warning from FD_SET.
57151         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57152         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57153         not unsigned long int.
57154         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57156 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57158         [BZ #14050]
57159         [BZ #14117]
57160         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57161         __extern_always_inline instead of __extern_inline.
57162         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57163         (__signbit): Likewise.
57164         (__signbitl): Support C++ namespace.
57165         (lrintf): New inline function.
57166         (lrint): Likewise.
57167         (llrintf): Likewise.
57168         (llrint): Likewise.
57169         (fmaxf): Likewise.
57170         (fmax): Likewise.
57171         (fminf): Likewise.
57172         (fmin): Likewise.
57173         (rint): Likewise.
57174         (rintf): Likewise.
57175         (ceil): Likewise.
57176         (ceilf): Likewise.
57177         (floor): Likewise.
57178         (floorf): Likewise.
57179         (nearbyint): Likewise.
57180         (nearbyintf): Likewise.
57182 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57185         non-default versions.
57187 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57189         [BZ #14218]
57190         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57192 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57194         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57195         (FE_UPWARD, FE_DOWNWARD): Don't define.
57196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57197         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57199         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57200         reading it.
57201         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57202         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57204 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57206         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57208         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57209         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57211 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57213         [BZ #14117]
57214         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57215         * sysdeps/i386/fpu/Implies: New file.
57216         * sysdeps/x86_64/fpu/Implies: Likewise.
57217         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57218         * sysdeps/x86/fpu/bits/fenv.h: This.
57220         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57221         __SSE_MATH__.
57223 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57225         [BZ #14134]
57226         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57227         character 0xffff that matches the last element of the
57228         conversion table.
57230 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57233         fmodl commit.
57235 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57238         values higher than 25.6283.
57240 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57242         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57243         subnormal exponent extraction and add some __builtin_expect.
57244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57245         Fix for subnormal mantissa calculation.
57247 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57249         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57250         cpu2 is -1 and errno is not ENOSYS.
57252 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57254         [BZ #14117]
57255         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57256         * sysdeps/x86/bits/string.h: This.
57257         * sysdeps/x86_64/bits/string.h: Removed.
57259         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57260         if not compiling for x86-64, but compiling for >= i486.
57262         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57263         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57266         New macro from Linux kernel 3.4.0.
57267         (FP_XSTATE_MAGIC2): Likewise.
57268         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57269         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57270         (struct _fpx_sw_bytes): New struct.
57271         (struct _xsave_hdr): Likewise.
57272         (struct _ymmh_state): Likewise.
57273         (struct _xstate): Likewise.
57275         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57276         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57278         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57279         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57280         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57282         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57283         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57284         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57285         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57286         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57287         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57289 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57291         [BZ #13743]
57292         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57293         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57294         (sysdep_headers): Include sys/platform/ppc.h.
57295         * sysdeps/powerpc/test-gettimebase.c: Test for
57296         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57297         * manual/Makefile (appendices): Include platform.texi.
57298         * manual/contrib.texi (Contributors): Update @node pointers.
57299         * manual/maint.texi (Maintenance): Likewise.
57300         (Platform): New node.
57301         * manual/platform.texi: New file.  Document the new features.
57303 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57304             Jakub Jelinek  <jakub@redhat.com>
57306         [BZ #14188]
57307         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57308         where __builtin_expect is unavailable.
57310 2012-06-03  David S. Miller  <davem@davemloft.net>
57312         * stdlib/longlong.h: Updated from GCC.
57314 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57316         [BZ #14042]
57317         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57318         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57319         __mcount_internal.
57320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57321         (GLIBC_2.16): Likewise.
57323 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57325         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57327 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57330         (default-abi): New variable.
57331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57332         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57333         variable.
57334         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57335         Likewise.
57336         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57337         Likewise.
57338         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57339         Likewise.
57341         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57342         definition.  Document in comment.
57344 2012-06-01  David S. Miller  <davem@davemloft.net>
57346         * stdlib/longlong.h: Updated from GCC.
57348 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57350         [BZ #14117]
57351         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57352         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57353         sys/debugreg.h sys/io.h here.
57354         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57355         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57356         sys/io.h.
57357         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57358         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57359         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57360         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57361         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57362         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57365         Define only if __x86_64__ is defined.
57367 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57369         [BZ #14048]
57370         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57371         Use int64_t for variable i.
57372         * math/libm-test.inc (fmod_test): Add more tests.
57374         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57375         z computation is not scheduled after fetestexcept.
57376         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57377         Use math_force_eval instead of asm to ensure calculation scheduled
57378         before exception test.
57379         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57380         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57382 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57385         computation is not scheduled after fetestexcept.
57387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57389         [BZ #14117]
57390         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57391         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57393 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57395         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57396         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57398 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57400         [BZ #14117]
57401         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57402         <bits/wordsize.h>.
57403         (__WCHAR_MIN): Support __WORDSIZE == 64.
57404         (__WCHAR_MAX): Likewise.
57406         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57409         [BZ #14183]
57410         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57411         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57413         [BZ #14117]
57414         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57415         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57417         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57418         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57421         Defined to 1 if __x86_64__ isn't defined.
57422         (_STAT_VER_LINUX_OLD): New.
57423         (st_atime): Remove duplicate.
57424         (st_mtime): Likewise.
57425         (st_ctime): Likewise.
57427 2012-05-31  David S. Miller  <davem@davemloft.net>
57429         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57430         entries.
57432 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57434         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57435         gen-libm-test.pl.
57437         [BZ #14132]
57438         * elf/dl-reloc.c: Include <_itoa.h>.
57439         (_dl_reloc_bad_type): Remove use of INTUSE.
57440         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57441         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57442         * stdio-common/psiginfo.c (psiginfo): Likewise.
57443         * stdio-common/psignal.c (psignal): Likewise.
57444         * string/strsignal.c (strsignal): Likewise.
57445         * include/signal.h (_sys_siglist): Declare hidden proto.
57446         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57447         INTVARDEF with libc_hidden_data_def.
57448         * stdio-common/itoa-udigits.c: Likewise.
57449         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57450         (_itoa_lower_digits_internal): Remove declaration.
57451         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57452         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57453         (_sys_sigabbrev_internal): Remove aliases.
57454         (_sys_siglist): Define hidden alias.
57456 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57459         bits/sysctl.h.
57461 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57463         [BZ #14117]
57464         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57465         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57467         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57468         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57469         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57470         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57472         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57474         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57475         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57476         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57478         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57479         with __addr.
57480         (insw): Likewise.
57481         (insl): Likewise.
57482         (outsb): Likewise.
57483         (outsw): Likewise.
57484         (outsl): Likewise.
57486         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57487         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57488         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57490         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57491         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57493         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57494         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57495         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57497         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57498         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57500         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57501         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57505         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57507         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57508         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57509         to ...
57510         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57512         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57513         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57514         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57516         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57517         for x86-64.
57518         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57520 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57522         * math/math.h (M_El): Use two more decimal places.
57523         (M_LOG2El): Likewise.
57524         (M_LOG10El): Likewise.
57525         (M_LN2l): Likewise.
57526         (M_LN10l): Likewise.
57527         (M_PIl): Likewise.
57528         (M_PI_2l): Likewise.
57529         (M_PI_4l): Likewise.
57530         (M_1_PIl): Likewise.
57531         (M_2_PIl): Likewise.
57532         (M_2_SQRTPIl): Likewise.
57533         (M_SQRT2l): Likewise.
57534         (M_SQRT1_2l): Likewise.
57536 2012-05-31  David S. Miller  <davem@davemloft.net>
57538         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57539         values between float registers.
57540         * sysdeps/sparc/sparc64/memset.S: Likewise.
57541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57543 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57545         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57546         -D_FORTIFY_SOURCE=1.
57547         (CPPFLAGS-tst-longjmp_chk.c): Define.
57548         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57549         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57550         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57551         CFLAGS-tst-wchar-h.c.
57553 2012-05-31  Marek Polacek  <polacek@redhat.com>
57555         [BZ #14132]
57556         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57557         __endmntent_internal): Remove declaration.
57558         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57559         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57560         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57562 2012-05-30  David S. Miller  <davem@davemloft.net>
57564         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57565         (___Q_simulate_exceptions): Use real FP ops rather than writing
57566         into the %fsr.
57567         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57568         Likewise.
57570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57572         [BZ #14117]
57573         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57574         * sysdeps/x86/bits/xtitypes.h: This.
57576         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57577         * sysdeps/x86/bits/wordsize.h: This.
57579         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57580         * sysdeps/x86/bits/huge_vall.h: This.
57582         * sysdeps/i386/bits/select.h: Removed.
57583         * sysdeps/x86_64/bits/select.h: Renamed to ...
57584         * sysdeps/x86/bits/select.h: This.
57586         * sysdeps/i386/bits/setjmp.h: Removed.
57587         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57588         * sysdeps/x86/bits/setjmp.h: This.
57590         * sysdeps/i386/bits/mathdef.h: Removed.
57591         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57592         * sysdeps/x86/bits/mathdef.h: This.
57594 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57596         [BZ #14132]
57597         * include/sys/socket.h (__connect_internal)
57598         (__libc_sa_len_internal): Remove declaration.
57599         (__connect, __libc_sa_len): Declare hidden_proto.
57600         (SA_LEN): Remove use of INTUSE.
57601         * socket/connect.c: Add libc_hidden_def.
57602         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57603         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57604         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57605         alias.
57606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57608         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57609         of adding _internal alias.
57611 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57613         [BZ #14117]
57614         * sysdeps/i386/bits/link.h: Removed.
57615         * sysdeps/i386/bits/linkmap.h: Likewise.
57616         * sysdeps/x86_64/bits/link.h: Renamed to ...
57617         * sysdeps/x86/bits/link.h: This.
57618         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57619         * sysdeps/x86/bits/linkmap.h: This.
57621         * sysdeps/i386/bits/endian.h: Removed.
57622         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57623         * sysdeps/x86/bits/endian.h: This.
57625         * sysdeps/i386/bits/byteswap.h: Removed.
57626         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57627         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57628         * sysdeps/x86/bits/byteswap.h: This.
57629         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57630         * sysdeps/x86/bits/byteswap-16.h: This.
57631         * sysdeps/i386/Implies: Add x86.
57632         * sysdeps/x86_64/Implies: Likewise.
57634 2012-05-30  David S. Miller  <davem@davemloft.net>
57636         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57637         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57638         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57639         (FP_TRAPPING_EXCEPTIONS): Define.
57640         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57641         (FP_TRAPPING_EXCEPTIONS): Define.
57642         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57643         subnormals only when inexact has been signalled or underflow
57644         exceptions are enabled.
57645         (_FP_PACK_CANONICAL): Likewise.
57647 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57649         [BZ #14183]
57650         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57651         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57653 2012-05-30  Richard Henderson  <rth@twiddle.net>
57655         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57656         with #ifndef NOT_IN_libc.
57658         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57659         marked to avoid plt entry.
57661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57663         [BZ #14112]
57664         * Makeconfig (default-abi): New macro.
57665         (abi-includes): Likewise.
57666         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57667         $(abi-$(default-abi)-lib-soname) for soname if defined.
57668         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57669         abi-variants.
57670         * Makefile (installed-stubs): Likewise.
57671         * include/stubs-biarch.h: Removed.
57672         * scripts/lib-names.awk: Only handle one library at a time.
57673         * scripts/soversions.awk: Remove WORDSIZE support.
57674         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57675         entries.
57676         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57677         Removed.
57678         (syscall-list-default-condition): Likewise.
57679         (syscall-list-default-condition): Likewise.
57680         (syscall-list-includes): Likewise.
57681         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57682         syscall-list-* with abi-*.  Handle undefined abi-variants.
57683         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57684         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57685         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57686         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57687         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57688         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57689         Removed.
57690         (syscall-list-32-options): Likewise.
57691         (syscall-list-32-condition): Likewise.
57692         (syscall-list-64-options): Likewise.
57693         (syscall-list-64-condition): Likewise.
57694         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57695         macro.
57696         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57697         Renamed to ...
57698         (abi-*): This.
57699         (abi-64-ld-soname): New macro.
57700         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57701         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57702         Renamed to ...
57703         (abi-*): This.
57704         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57705         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57707 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57709         * sysdeps/unix/sysv/linux/kernel-features.h
57710         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57711         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57712         include <kernel-features.h>.
57713         [!__NR_ftruncate64]: Remove conditional code.
57714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57715         [__NR_ftruncate64]: Make code unconditional.
57716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57717         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57718         include <kernel-features.h>.
57719         [!__NR_ftruncate64]: Remove conditional code.
57720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57721         [__NR_ftruncate64]: Make code unconditional.
57722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57724         include <kernel-features.h>.
57725         [!__NR_ftruncate64]: Remove conditional code.
57726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57727         [__NR_ftruncate64]: Make code unconditional.
57728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57730         include <kernel-features.h>.
57731         [!__NR_ftruncate64]: Remove conditional code.
57732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57733         [__NR_ftruncate64]: Make code unconditional.
57734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57736         * configure.in (libc_cv_fpie): Weaken to a compile test using
57737         LIBC_TRY_CC_OPTION.
57738         * configure: Regenerated.
57740 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57746         Refreshed.
57747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57753         Refreshed.
57755 2012-05-27  David S. Miller  <davem@davemloft.net>
57757         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57758         (___Q_zero): New.
57759         (__Q_simulate_exceptions): Return void.  Change to simulate
57760         exceptions by writing into the %fsr.
57761         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57762         (__Qp_handle_exceptions): Likewise.
57763         (numbers): Delete.
57764         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57765         __Qp_handle_exceptions.
57766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57767         __Qp_handle_exceptions.
57768         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57769         as unused and give dummy FP_RND_NEAREST initializer.
57770         (FP_INHIBIT_RESULTS): Define.
57771         (___Q_simulate_exceptions): Update declaration.
57772         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57773         formatting.
57774         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57775         as unused and give dummy FP_RND_NEAREST initializer.
57776         (__Qp_handle_exceptions): Update declaration.
57777         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57778         formatting.
57780 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57782         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57783         the temporary FPU control word.
57784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57785         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57787         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57788         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57789         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57790         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57791         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57792         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57793         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57794         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57796 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57798         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57799         fields.
57801 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57803         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57804         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57805         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57806         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57807         Likewise.
57808         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57809         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57810         Likewise.
57812 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57814         * po/h.po: Update from translation team.
57816 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57818         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57820         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57821         handling of denormals.
57822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57823         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57824         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57825         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57829         Likewise.
57831 2012-05-26  Marek Polacek  <polacek@redhat.com>
57833         [BZ #14152]
57834         * math/libm-test.inc (fma_test): Don't always expect underflow
57835         exception.
57837 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57839         [BZ #12416]
57840         * elf/tst-execstack.c: Include stackinfo.h.
57841         (do_test): Adjust test case to ensure that pthread_getattr_np
57842         behaviour remains the same after marking stack executable.
57844 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57846         * sysdeps/unix/sysv/linux/kernel-features.h
57847         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57848         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57849         kernel-features.h.
57850         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57851         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57852         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57853         kernel-features.h.
57854         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57855         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57857 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57859         * configure.in: Define the default includes to being none.
57860         * configure: Regenerated.
57862 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57864         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57865         * sysdeps/x86_64/setjmp.S: Likewise.
57866         * sysdeps/i386/bsd-setjmp.S: Likewise.
57867         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57868         * sysdeps/i386/setjmp.S: Likewise.
57869         * sysdeps/i386/__longjmp.S: Likewise.
57870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57871         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57873         * include/stap-probe.h: New file.
57874         * configure.in: Handle --enable-systemtap.
57875         * configure: Regenerated.
57876         * config.h.in (USE_STAP_PROBE): New #undef.
57877         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57878         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57879         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57881 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57883         [BZ #13717]
57884         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57885         to 2.4.0 where earlier.
57886         * sysdeps/unix/sysv/linux/configure: Regenerated.
57887         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57888         <kernel-features.h>.
57889         [__ASSUME_32BITUIDS]: Make code unconditional.
57890         [!__ASSUME_32BITUIDS]: Remove conditional code.
57891         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57892         <kernel-features.h>.
57893         [__ASSUME_32BITUIDS]: Make code unconditional.
57894         [!__ASSUME_32BITUIDS]: Remove conditional code.
57895         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57896         [__ASSUME_32BITUIDS]: Make code unconditional.
57897         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57898         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57899         <kernel-features.h>.
57900         [__ASSUME_32BITUIDS]: Make code unconditional.
57901         [!__ASSUME_32BITUIDS]: Remove conditional code.
57902         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57903         <kernel-features.h>.
57904         [__ASSUME_32BITUIDS]: Make code unconditional.
57905         [!__ASSUME_32BITUIDS]: Remove conditional code.
57906         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57907         <kernel-features.h>.
57908         [__ASSUME_32BITUIDS]: Make code unconditional.
57909         [!__ASSUME_32BITUIDS]: Remove conditional code.
57910         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57911         <kernel-features.h>.
57912         [__ASSUME_32BITUIDS]: Make code unconditional.
57913         [!__ASSUME_32BITUIDS]: Remove conditional code.
57914         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57915         <kernel-features.h>.
57916         [__ASSUME_32BITUIDS]: Make code unconditional.
57917         [!__ASSUME_32BITUIDS]: Remove conditional code.
57918         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57919         <kernel-features.h>.
57920         [__ASSUME_32BITUIDS]: Make code unconditional.
57921         [!__ASSUME_32BITUIDS]: Remove conditional code.
57922         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57923         <kernel-features.h>.
57924         [__ASSUME_32BITUIDS]: Make code unconditional.
57925         [!__ASSUME_32BITUIDS]: Remove conditional code.
57926         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57927         <kernel-features.h>.
57928         [__ASSUME_32BITUIDS]: Make code unconditional.
57929         [!__ASSUME_32BITUIDS]: Remove conditional code.
57930         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57931         <kernel-features.h>.
57932         [__ASSUME_32BITUIDS]: Make code unconditional.
57933         [!__ASSUME_32BITUIDS]: Remove conditional code.
57934         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57935         <kernel-features.h>.
57936         [__ASSUME_32BITUIDS]: Make code unconditional.
57937         [!__ASSUME_32BITUIDS]: Remove conditional code.
57938         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57939         <kernel-features.h>.
57940         [__NR_setresgid] (__setresgid): Do not declare.
57941         [__ASSUME_32BITUIDS]: Make code unconditional.
57942         [!__ASSUME_32BITUIDS]: Remove conditional code.
57943         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57944         <kernel-features.h>.
57945         [__NR_setresuid] (__setresuid): Do not declare.
57946         [__ASSUME_32BITUIDS]: Make code unconditional.
57947         [!__ASSUME_32BITUIDS]: Remove conditional code.
57948         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57949         <kernel-features.h>.
57950         [__ASSUME_32BITUIDS]: Make code unconditional.
57951         [!__ASSUME_32BITUIDS]: Remove conditional code.
57952         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57953         <kernel-features.h>.
57954         [__ASSUME_32BITUIDS]: Make code unconditional.
57955         [!__ASSUME_32BITUIDS]: Remove conditional code.
57956         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57957         <kernel-features.h>.
57958         [__ASSUME_32BITUIDS]: Make code unconditional.
57959         [!__ASSUME_32BITUIDS]: Remove conditional code.
57960         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57961         <kernel-features.h>.
57962         [__ASSUME_32BITUIDS]: Make code unconditional.
57963         [!__ASSUME_32BITUIDS]: Remove conditional code.
57964         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57965         <kernel-features.h>.
57966         [__ASSUME_32BITUIDS]: Make code unconditional.
57967         [!__ASSUME_32BITUIDS]: Remove conditional code.
57968         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57969         <kernel-features.h>.
57970         [__ASSUME_32BITUIDS]: Make code unconditional.
57971         [!__ASSUME_32BITUIDS]: Remove conditional code.
57972         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57973         <kernel-features.h>.
57974         [__ASSUME_32BITUIDS]: Make code unconditional.
57975         [!__ASSUME_32BITUIDS]: Remove conditional code.
57976         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57977         <kernel-features.h>.
57978         [__ASSUME_32BITUIDS]: Make code unconditional.
57979         [!__ASSUME_32BITUIDS]: Remove conditional code.
57980         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57981         <kernel-features.h>.
57982         [__ASSUME_32BITUIDS]: Make code unconditional.
57983         [!__ASSUME_32BITUIDS]: Remove conditional code.
57984         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57985         <kernel-features.h>.
57986         [__ASSUME_32BITUIDS]: Make code unconditional.
57987         [!__ASSUME_32BITUIDS]: Remove conditional code.
57988         * sysdeps/unix/sysv/linux/kernel-features.h
57989         (__ASSUME_SETRESUID_SYSCALL): Remove.
57990         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57991         (__ASSUME_32BITUIDS): Likewise.
57992         (__ASSUME_LDT_WORKS): Likewise.
57993         (__ASSUME_O_DIRECTORY): Likewise.
57994         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57995         architecture but not kernel version.
57996         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57997         (__ASSUME_MMAP2_SYSCALL): Likewise.
57998         (__ASSUME_STAT64_SYSCALL): Likewise.
57999         (__ASSUME_IPC64): Likewise.
58000         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58001         <kernel-features.h>.
58002         [__ASSUME_32BITUIDS]: Make code unconditional.
58003         [!__ASSUME_32BITUIDS]: Remove conditional code.
58004         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58005         <kernel-features.h>.
58006         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58007         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58008         132096]: Remove conditional code.
58009         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58010         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58011         <kernel-features.h>.
58012         [__ASSUME_32BITUIDS]: Make code unconditional.
58013         [!__ASSUME_32BITUIDS]: Remove conditional code.
58014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58015         <kernel-features.h>.
58016         [__ASSUME_32BITUIDS]: Make code unconditional.
58017         [!__ASSUME_32BITUIDS]: Remove conditional code.
58018         * sysdeps/unix/sysv/linux/setegid.c: Do not include
58019         <kernel-features.h>.
58020         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58021         unconditional.
58022         (__setresgid): Do not declare.
58023         [__ASSUME_32BITUIDS]: Make code unconditional.
58024         [!__ASSUME_32BITUIDS]: Remove conditional code.
58025         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58026         <kernel-features.h>.
58027         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58028         unconditional.
58029         (__setresuid): Do not declare.
58030         [__ASSUME_32BITUIDS]: Make code unconditional.
58031         [!__ASSUME_32BITUIDS]: Remove conditional code.
58032         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58033         <kernel-features.h>.
58034         [__ASSUME_32BITUIDS]: Make code unconditional.
58035         [!__ASSUME_32BITUIDS]: Remove conditional code.
58036         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58037         <kernel-features.h>.
58038         [__ASSUME_32BITUIDS]: Make code unconditional.
58039         [!__ASSUME_32BITUIDS]: Remove conditional code.
58041 2012-05-25  Richard Henderson  <rth@twiddle.net>
58043         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58044         dl_hwcap to ifunc resolver.
58045         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58046         elf_ifunc_invoke.
58047         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58048         dl_hwcap to ifunc resolver.
58049         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58051 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58053         [BZ #14153]
58054         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58055         for |x| <= 2**-26, not 2**-57.
58056         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58057         exception.
58059 2012-05-24  Jeff Law  <law@redhat.com>
58061         * stdio-common/Makefile (tests): Add bug25.
58062         * stdio-common/bug25.c: New test.
58064 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58066         [BZ #13576]
58067         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58068         multiple of MALLOC_ALIGNMENT in size.
58069         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58071 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58073         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58074         Require >= 256.
58075         (FILENAME_MAX): Use macro-int-constant.
58076         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58077         (_IOFBF): Use macro-int-constant.
58078         (_IOLBF): Likewise.
58079         (_IONBF): Likewise.
58080         (SEEK_CUR): Likewise.
58081         (SEEK_END): Likewise.
58082         (SEEK_SET): Likewise.
58083         (TMP_MAX): Likewise.
58084         (EOF): Use macro-int-constant.  Require < 0.
58085         (NULL): Use macro-constant.  Require == 0.
58086         (stdin): Require type to be FILE *.
58087         (stdout): Likewise.
58088         (stderr): Likewise.
58089         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58090         macro-int-constant.
58091         (EXIT_SUCCESS): Likewise.
58092         (NULL): Use macro-constant.  Require == 0.
58093         (RAND_MAX): Use macro-int-constant.
58094         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58095         [C99-based standards] (strtof): Require function.
58096         [C99-based standards] (strtold): Likewise.
58097         [C99-based standards] (strtoll): Likewise.
58098         [C99-based standards] (strtoull): Likewise.
58099         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58100         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58101         [ISO || ISO99 || ISO11] (math.h): Likewise.
58102         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58103         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58106 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58108         [BZ #14132]
58109         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58110         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58111         * intl/dgettext.c (DCGETTEXT): Likewise.
58112         * intl/gettext.c (DCGETTEXT): Likewise.
58113         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58114         * posix/regex_internal.h (gettext): Likewise.
58115         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58116         Remove declaration.
58117         * include/argz.h (__argz_count_internal)
58118         (__argz_stringify_internal): Remove declaration.
58119         (__argz_count, __argz_stringify): Declare hidden proto.
58120         * intl/dcgettext.c: Remove use of INTDEF.
58121         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58122         * string/argz-stringify.c: Likewise.
58123         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58124         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58125         Declare hidden proto.
58126         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58127         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58128         Declare hidden proto.
58129         * include/stdio.h (__asprintf_internal): Don't declare.
58130         (__asprintf): Don't define as macro.  Declare hidden proto.
58131         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58132         (__fsetlocking): Declare hidden proto.
58133         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58134         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58135         hidden proto.
58136         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58137         (_IO_setlinebuf): Remove use of INTUSE.
58138         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58139         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58140         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58141         Remove declaration.
58142         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58143         (_IO_do_flush): Remove use of INTUSE.
58144         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58145         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58146         (_IO_adjust_column, _IO_least_wmarker)
58147         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58148         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58149         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58150         (_IO_default_doallocate, _IO_wdefault_doallocate)
58151         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58152         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58153         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58154         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58155         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58156         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58157         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58158         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58159         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58160         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58161         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58162         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58163         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58164         proto.
58165         (_IO_flush_all_internal, _IO_adjust_column_internal)
58166         (_IO_default_uflow_internal, _IO_default_finish_internal)
58167         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58168         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58169         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58170         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58171         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58172         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58173         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58174         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58175         (_IO_file_close_internal, _IO_file_close_it_internal)
58176         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58177         (_IO_file_init_internal, _IO_file_attach_internal)
58178         (_IO_file_fopen_internal, _IO_file_read_internal)
58179         (_IO_file_sync_internal, _IO_file_seek_internal)
58180         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58181         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58182         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58183         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58184         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58185         (_IO_list_all_internal, _IO_link_in_internal)
58186         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58187         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58188         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58189         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58190         (_IO_do_write_internal, _IO_padn_internal)
58191         (_IO_getline_info_internal, _IO_getline_internal)
58192         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58193         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58194         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58195         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58196         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58197         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58198         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58199         with libc_hidden_ver, remove use of INTUSE.
58200         * libio/genops.c: Likewise.
58201         * libio/freopen.c: Likewise.
58202         * libio/freopen64.c: Likewise.
58203         * libio/iofclose.c: Likewise.
58204         * libio/iofdopen.c: Likewise.
58205         * libio/iofflush.c: Likewise.
58206         * libio/iofflush_u.c: Likewise.
58207         * libio/iofgets.c: Likewise.
58208         * libio/iofgets_u.c: Likewise.
58209         * libio/iofopen.c: Likewise.
58210         * libio/iofopncook.c: Likewise.
58211         * libio/iofread.c: Likewise.
58212         * libio/iofread_u.c: Likewise.
58213         * libio/ioftell.c: Likewise.
58214         * libio/iofwrite.c: Likewise.
58215         * libio/iogetline.c: Likewise.
58216         * libio/iogets.c: Likewise.
58217         * libio/iogetwline.c: Likewise.
58218         * libio/iopadn.c: Likewise.
58219         * libio/iopopen.c: Likewise.
58220         * libio/ioseekoff.c: Likewise.
58221         * libio/ioseekpos.c: Likewise.
58222         * libio/iosetbuffer.c: Likewise.
58223         * libio/iosetvbuf.c: Likewise.
58224         * libio/ioungetc.c: Likewise.
58225         * libio/ioungetwc.c: Likewise.
58226         * libio/iovdprintf.c: Likewise.
58227         * libio/iovsprintf.c: Likewise.
58228         * libio/iovsscanf.c: Likewise.
58229         * libio/memstream.c: Likewise.
58230         * libio/obprintf.c: Likewise.
58231         * libio/oldfileops.c: Likewise.
58232         * libio/oldiofclose.c: Likewise.
58233         * libio/oldiofdopen.c: Likewise.
58234         * libio/oldiofopen.c: Likewise.
58235         * libio/oldiopopen.c: Likewise.
58236         * libio/oldstdfiles.c: Likewise.
58237         * libio/putc.c: Likewise.
58238         * libio/setbuf.c: Likewise.
58239         * libio/setlinebuf.c: Likewise.
58240         * libio/stdfiles.c: Likewise.
58241         * libio/strops.c: Likewise.
58242         * libio/vasprintf.c: Likewise.
58243         * libio/vscanf.c: Likewise.
58244         * libio/vsnprintf.c: Likewise.
58245         * libio/vswprintf.c: Likewise.
58246         * libio/wfiledoalloc.c: Likewise.
58247         * libio/wfileops.c: Likewise.
58248         * libio/wgenops.c: Likewise.
58249         * libio/wmemstream.c: Likewise.
58250         * libio/wstrops.c: Likewise.
58251         * libio/__fpurge.c: Likewise.
58252         * libio/__fsetlocking.c: Likewise.
58253         * assert/assert.c: Likewise.
58254         * debug/fgets_chk.c: Likewise.
58255         * debug/fgets_u_chk.c: Likewise.
58256         * debug/fread_chk.c: Likewise.
58257         * debug/fread_u_chk.c: Likewise.
58258         * debug/gets_chk.c: Likewise.
58259         * debug/obprintf_chk.c: Likewise.
58260         * debug/vasprintf_chk.c: Likewise.
58261         * debug/vdprintf_chk.c: Likewise.
58262         * debug/vsnprintf_chk.c: Likewise.
58263         * debug/vsprintf_chk.c: Likewise.
58264         * malloc/mtrace.c: Likewise.
58265         * misc/error.c: Likewise.
58266         * misc/syslog.c: Likewise.
58267         * stdio-common/asprintf.c: Likewise.
58268         * stdio-common/fxprintf.c: Likewise.
58269         * stdio-common/getw.c: Likewise.
58270         * stdio-common/isoc99_fscanf.c: Likewise.
58271         * stdio-common/isoc99_scanf.c: Likewise.
58272         * stdio-common/isoc99_vfscanf.c: Likewise.
58273         * stdio-common/isoc99_vscanf.c: Likewise.
58274         * stdio-common/isoc99_vsscanf.c: Likewise.
58275         * stdio-common/printf-prs.c: Likewise.
58276         * stdio-common/printf_fp.c: Likewise.
58277         * stdio-common/printf_fphex.c: Likewise.
58278         * stdio-common/printf_size.c: Likewise.
58279         * stdio-common/putw.c: Likewise.
58280         * stdio-common/scanf.c: Likewise.
58281         * stdio-common/sprintf.c: Likewise.
58282         * stdio-common/tmpfile.c: Likewise.
58283         * stdio-common/vfprintf.c: Likewise.
58284         * stdio-common/vfscanf.c: Likewise.
58285         * stdlib/strfmon_l.c: Likewise.
58286         * sunrpc/openchild.c: Likewise.
58287         * sunrpc/xdr_stdio.c: Likewise.
58288         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58289         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58291 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58293         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58295         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58296         in the third column, to generate for the shared library an IFUNC
58297         that uses _dl_vdso_vsym.
58298         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58299         * Makeconfig (object-suffixes-noshared): New variable.
58301         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58302         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58303         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58304         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58306         [BZ #14132]
58307         * include/sys/time.h (__gettimeofday): Remove macro.
58308         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58309         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58310         Remove INTDEF.
58311         (__gettimeofday): Add libc_hidden_def.
58312         (gettimeofday): Add libc_hidden_weak.
58313         * sysdeps/mach/gettimeofday.c: Likewise.
58314         * sysdeps/posix/gettimeofday.c: Likewise.
58315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58316         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58318         (__gettimeofday_internal): Remove strong_alias.
58319         (__gettimeofday): Add libc_hidden_def.
58320         (gettimeofday): Add libc_hidden_weak.
58321         * sysdeps/unix/syscalls.list (gettimeofday):
58322         Remove __gettimeofday_internal alias.
58324 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58325             H.J. Lu  <hongjiu.lu@intel.com>
58327         [BZ #12495]
58328         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58329         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58330         (largebin_index_32_big): New.
58331         (largebin_index): Use it for 16-byte alignment.
58332         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58333         correction with front_misalign.
58335 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58339         Likewise.
58340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58341         Likewise.
58342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58343         Likewise.
58344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58345         Likewise.
58346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58347         Likewise.
58348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58349         Likewise.
58350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58351         Likewise.
58352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58353         Likewise.
58354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58355         Likewise.
58356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58357         Likewise.
58358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58359         Likewise.
58360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58361         Likewise.
58363         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58364         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58366 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58368         [BZ #10846]
58369         [BZ #14036]
58370         * math/libm-test.inc (exp_test): Add test from bug 14036.
58371         (pow_test): Add test from bug 10846.
58373         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58374         and other flags.
58375         (special_function): Do not include flags in test name.
58376         (parse_args): Likewise.
58377         * sysdeps/i386/fpu/libm-test-ulps: Update.
58378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58379         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58383         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58384         exceptions.
58385         * math/libm-test.inc ("Philosophy"): Update comment about
58386         exception testing.
58387         (UNDERFLOW_EXCEPTION): New macro.
58388         (UNDERFLOW_EXCEPTION_OK): Likewise.
58389         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58390         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58391         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58392         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58393         (INVALID_EXCEPTION_OK): Update value.
58394         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58395         (OVERFLOW_EXCEPTION_OK): Likewise.
58396         (IGNORE_ZERO_INF_SIGN): Likewise.
58397         (test_exceptions): Handle underflow exceptions.
58398         (acos_test): Update for underflow exception expectations.
58399         (cexp_test): Likewise.
58400         (clog_test): Likewise.
58401         (clog10_test): Likewise.
58402         (csqrt_test): Likewise.
58403         (ctan_test): Likewise.
58404         (ctanh_test): Likewise.
58405         (exp_test): Likewise.
58406         (exp10_test): Likewise.
58407         (exp2_test): Likewise.
58408         (expm1_test): Likewise.
58409         (fma_test): Likewise.
58410         (j0_test): Likewise.
58411         (jn_test): Likewise.
58412         (nexttoward_test): Likewise.
58413         (pow_test): Likewise.
58414         (scalbn_test): Likewise.
58415         (scalbln_test): Likewise.
58416         (tan_test): Likewise.
58417         (y1_test): Likewise.
58418         * sysdeps/i386/fpu/libm-test-ulps: Update.
58419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58421 2012-05-23  David S. Miller  <davem@davemloft.net>
58423         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58424         (__libc_sigaction): Remove unused local variables.
58426 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58428         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58430 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58432         mktime: avoid signed integer overflow
58433         * time/mktime.c (__mktime_internal): Do not mishandle the case
58434         where diff == INT_MIN.
58436         mktime: simplify computation of average
58437         * time/mktime.c (ranged_convert): Use new time_t_avg function
58438         instead of rolling our own (probably-slower) code.
58440         mktime: do not assume signed right shift propagates sign bit
58441         * time/mktime.c (isdst_differ): New static function.
58442         (__mktime_internal): No need to normalize tm_isdst now.
58443         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58444         tm_isdst values.
58446         mktime: merge another wrapv change from gnulib
58447         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58448         from some compilers.
58450         mktime: remove incorrect attempt at unusual arithmetics
58451         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58452         The code didn't really work on such machines anyway.
58453         (TYPE_MINIMUM): Assume two's complement.
58454         (twos_complement_arithmetic): Verify that long_int and time_t
58455         are two's complement (or unsigned, in the latter case).
58457         mktime: check signed shifts on long_int and time_t, too
58458         * time/mktime.c (SHR): Check that shifts work as desired
58459         on the types long_int and time_t too, as SHR is used on
58460         such types.
58462         mktime: do not assume 'long' is wide enough
58463         * time/mktime.c (verify): Move decl up.
58464         (long_int): New type.
58465         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58466         to remove assumption in the code that 'long' is wide enough to
58467         store year values.  This assumption is not true on x32 and on
58468         some non-glibc platforms.
58470         mktime: merge wrapv change from gnulib
58471         * time/mktime.c (WRAPV): New macro.
58472         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58473         (guess_time_tm, __mktime_internal): Do not assume that signed
58474         integer overflow wraps around; modern compilers generate code
58475         where this assumption is no longer valid.
58477 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58479         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58480         Replace "jmp L(pseudo_end)" with "ret".
58481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58482         Likewise.
58484 2012-05-23  Andreas Jaeger  <aj@suse.de>
58486         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58487         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58489 2012-05-23  Andreas Jaeger  <aj@suse.de>
58490             Maximilian Attems  <max@stro.at>
58492         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58493         New macros.
58495 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58498         code so that pseudo_end is just ret and the stack pointer is
58499         correct also for static library in error case.
58501 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58503         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58504         move to syscalls.list.
58505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58510         * manual/install.texi (Running make install): Do not mention Linux
58511         kernel version for which pt_chown is not needed.
58512         (Linux): Do not mention problems with nscd with 2.0 kernels.
58513         * INSTALL: Regenerated.
58515 2012-05-23  Andreas Jaeger  <aj@suse.de>
58517         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58518         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58519         macro.
58520         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58522         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58523         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58524         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58530         * sysdeps/unix/sysv/linux/bits/in.h
58531         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58533 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58535         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58536         (PREPARE_VERSION): Just use assert instead, it will be elided
58537         under [NDEBUG] anyway.
58539 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58541         * sysdeps/unix/sysv/linux/Makefile: Include
58542         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58543         (sysdep_routines): Remove sysctl.
58544         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58545         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58546         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58547         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58548         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58550 2012-05-22  Andreas Jaeger  <aj@suse.de>
58552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58553         that pseudo_end is just ret and the stack pointer is correct also
58554         for static library in error case.
58556 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58558         [BZ #14122]
58559         * nss/nsswitch.c (defconfig_entries): New variable.
58560         (__nss_database_lookup): Don't leak defconfig entries.
58561         (nss_parse_service_list): Don't leak on error paths.
58562         (free_database_entries): New function.
58563         (free_defconfig): New function.
58564         (free_mem): Move common code to free_database_entries.
58566 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58568         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58569         Add arch_prctl.
58570         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58572         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58573         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58575         New macro.
58576         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58577         (INTERNAL_SYSCALL_TYPES): Likewise.
58578         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58579         (LOAD_REGS_TYPES_[1-6]): Likewise.
58580         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58581         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58583 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58585         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58586         copysignl for GLIBC_2_0.
58587         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58588         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58590         logbl for GLIBC_2_0.
58591         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58592         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58596         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58597         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58599         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58600         Use "neg %eax".
58602         * time/mktime.c: Update copyright years.
58604 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58606         mktime: merge comment-quoting-style change from gnulib
58607         * time/mktime.c: Quote 'like this' in comments.
58608         The GNU coding standards suggest that we no longer quote `like this',
58609         as "`" and "'" are typically rendered asymmetrically nowadays.
58610         The typical gnulib style is to quote 'like this' when quoting
58611         code, and "like this" when quoting English.
58613         * time/mktime.c (compile-command): Add "-I.".
58615         mktime: merge mktime-internal.h change from gnulib
58616         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58618         mktime: merge time_r change from gnulib
58619         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58621         mktime: merge DEBUG change from gnulib
58622         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58623         case system <time.h> has a #define.
58625         mktime: merge <sys/types.h> change from gnulib
58626         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58627         since <time.t> is now guaranteed to define time_t.
58629         mktime: merge HAVE_CONFIG_H change from gnulib
58630         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58635         Use "neg %eax".
58637         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58638         __rlim_t cast.
58639         (struct rusage): Use anonymous union to pad each field to
58640         __syscall_slong_t.
58642 2012-05-21  David S. Miller  <davem@davemloft.net>
58644         * Makefules (o-iterator): Remove .s cases.
58645         (compile-command.s): Delete.
58646         (COMPILE.s): Delete.
58647         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58649 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58651         * configure.in (libc_cv_predef_stack_protector): Only consider
58652         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58653         * configure: Regenerated.
58655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58658         New macro.  Use R*LP on int and pointer.
58659         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58660         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58661         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58662         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58664         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58665         [__WORDSIZE_TIME64_COMPAT32] instead of
58666         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58667         (struct utmp): Likewise.
58668         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58669         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58670         Renamed to ...
58671         (__WORDSIZE_TIME64_COMPAT32): This.
58672         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58673         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58674         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58675         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58676         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58677         (__WORDSIZE_TIME64_COMPAT32): New macro.
58679 2012-05-21  Andreas Jaeger  <aj@suse.de>
58681         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58682         only if [SHARED]. Add prototype for __wcschr_ia32.
58684 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58686         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58687         of %rbp unmolested in the jmp_buf while mangling the low bits.
58688         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58689         unmolested high bits of %rbp while demangling the low bits.
58690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58692 2012-05-21  Andreas Jaeger  <aj@suse.de>
58694         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58695         * sunrpc/svc_simple.c: Use it for registerrpc.
58696         * sunrpc/xcrypt.c: Use it for passwd2des.
58698         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58700 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58702         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58703         Don't define if [__SYSCALL_WORDSIZE != 32].
58704         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58705         New macro.
58707 2012-05-21  Bruno Haible  <bruno@clisp.org>
58708             Andreas Jaeger  <aj@suse.de>
58710         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58711         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58712         inptr and inend for must_buffer_ch.
58713         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58714         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58715         * stdio-common/Makefile (tests): Remove bug15.
58716         (bug15-ENV): Remove macro.
58717         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58718         anymore.
58720 2012-05-19  Andreas Jaeger  <aj@suse.de>
58721             Roland McGrath  <roland@hack.frob.com>
58723         * manual/contrib.texi: Completely rewritten. It contains now an
58724         alphabetical list of contributors and their contributions.
58726 2012-05-21  Richard Henderson  <rth@twiddle.net>
58728         * misc/getauxval.c (__getauxval): Use unsigned long int.
58729         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58730         (getauxval): Use unsigned long int.
58732 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58736 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58738         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58739         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58740         __alignof__ (long double).
58742 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58746 2012-05-20  Richard Henderson  <rth@twiddle.net>
58748         * misc/getauxval.c: New file.
58749         * misc/sys/auxv.h: New file.
58750         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58751         (routines): Add getauxval.
58752         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58754         * elf/dl-sysdep.c (_dl_auxv): Remove.
58755         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58756         * elf/dl-support.c (_dl_auxv): New variable.
58757         (_dl_aux_init): Initialize it.
58758         * manual/startup.texi (Auxiliary Vector): New node.
58759         * sysdeps/generic/bits/hwcap.h: New file.
58760         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58761         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58762         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58763         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58764         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58767         Update.
58768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58777 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58781 2012-05-19  David S. Miller  <davem@davemloft.net>
58783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58785 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58787         [BZ #14123]
58788         * math/s_ccosh.c: Include <float.h>
58789         (__ccosh): Avoid internal overflow calculating sinh and cosh
58790         values before multiplying by sin and cos values.
58791         * math/s_ccoshf.c: Likewise.
58792         * math/s_ccoshl.c: Likewise.
58793         * math/s_csin.c: Likewise.
58794         * math/s_csinf.c: Likewise.
58795         * math/s_csinl.c: Likewise.
58796         * math/s_csinh.c: Likewise.
58797         * math/s_csinhf.c: Likewise.
58798         * math/s_csinhl.c: Likewise.
58799         * math/libm-test.inc (ccos_test): Add more tests.
58800         (ccosh_test): Likewise.
58801         (csin_test): Likewise.
58802         (csinh_test): Likewise.
58803         * sysdeps/i386/fpu/libm-test-ulps: Update.
58804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58806 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58808         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58809         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58811         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58813 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58815         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58816         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58817         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58818         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58819         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58820         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58821         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58822         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58823         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58824         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58825         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58826         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58827         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58828         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58829         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58830         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58831         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58832         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58833         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58834         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58835         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58836         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58837         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58838         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58839         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58840         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58841         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58842         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58843         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58844         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58845         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58847 2012-05-18  Andreas Jaeger  <aj@suse.de>
58849         * csu/.gitignore: Delete.
58851 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58853         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58854         (timex): Use __syscall_slong_t.
58856 2012-05-18  Andreas Jaeger  <aj@suse.de>
58857             Carlos O'Donell  <carlos_odonell@mentor.com>
58859         * manual/install.texi (Configuring and compiling): Update
58860         description about files modified in the source directory.
58861         * INSTALL: Regenerated.
58863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58865         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58866         value.  Use "or" to set return value to -1.
58867         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58868         negate return value.
58870 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58872         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58873         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58874         failure if the compiler has Graphite support disabled.
58875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58876         Likewise.
58877         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58878         (CFLAGS-memmove.c): Likewise.
58879         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58880         Likewise.
58882 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58884         * sysdeps/x86_64/x32/_itoa.h: New file.
58886         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58887         getdents system call only if kernel and user dirents have the
58888         same d_ino and d_off.
58890         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58891         LLONG_MAX != LONG_MAX.
58892         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58893         (_fitoa_word): Likewise.
58895         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58896         years.
58897         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58898         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58899         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58901         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58902         include <bits/wordsize.h>.  Check __x86_64__ instead of
58903         __WORDSIZE.
58904         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58905         if __x86_64__ is defined.  Use anonymous union on fpstate.
58907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58908         anonymous union.
58910 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58912         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58913         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58915         Refer to _rtld_local_ro instead of _rtld_global_ro.
58916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58917         Likewise.
58918         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58919         Likewise.
58920         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58921         Likewise.
58922         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58923         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58924         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58926         [BZ #10882]
58927         * sysdeps/powerpc/powerpc32/dl-machine.c
58928         (__elf_machine_runtime_setup) [PROF]: Don't reference
58929         _dl_prof_resolve.
58931 2012-05-18  Andreas Jaeger  <aj@suse.de>
58933         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58934         function only available for GCCs before 3.4 since GCC 3.4
58935         introduced a builtin.
58936         (lrint): Likewise.
58937         (llrintf): Likewise.
58938         (llrint): Likewise.
58939         (fmaxf): Likewise.
58940         (fmax): Likewise.
58941         (fminf): Likewise.
58942         (fmin): Likewise.
58943         (rint): Likewise.
58944         (rintf): Likewise.
58945         (nearbyint): Likewise.
58946         (nearbyintf): Likewise.
58947         (ceil): Likewise.
58948         (ceilf): Likewise.
58949         (floor): Likewise.
58950         (floorf): Likewise.
58952 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58954         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58955         on both fields and cast pointer to __syscall_ulong_t.
58957         * bits/types.h (__fsword_t): New type.
58958         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58959         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58960         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58961         (__FSWORD_T_TYPE): Likewise.
58962         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58963         (__FSWORD_T_TYPE): Likewise.
58964         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58965         (__FSWORD_T_TYPE): Likewise.
58966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58967         (__FSWORD_T_TYPE): Likewise.
58968         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58969         __SWORD_TYPE with __fsword_t.
58970         (statfs64): Likewise.
58972 2012-05-17  David S. Miller  <davem@davemloft.net>
58974         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58976 2012-05-17  Andreas Jaeger  <aj@suse.de>
58978         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58979         warning.
58981 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58983         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58985 2012-05-17  Andreas Jaeger  <aj@suse.de>
58987         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58988         when it is used.
58990 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58992         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58994 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58996         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58997         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58999 2012-05-17  Andreas Jaeger  <aj@suse.de>
59000             Carlos O'Donell  <carlos_odonell@mentor.com>
59002         [BZ #14059]
59003         * sysdeps/x86_64/multiarch/init-arch.h
59004         (bit_YMM_Usable): Rename to...
59005         (bit_AVX_Usable): ... this.
59006         (bit_FMA4_Usable): New macro.
59007         (bit_XMM_state): New macro.
59008         (bit_YMM_state): New macro.
59009         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59010         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59011         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59012         (CPUID_OSXSAVE): New macro.
59013         (CPUID_AVX): New macro.
59014         (CPUID_FMA4): New macro.
59015         (index_YMM_Usable): Rename to...
59016         (index_AVX_Usable): ... this.
59017         (HAS_AVX): Use HAS_ARCH_FEATURE.
59018         (HAS_FMA4): Likewise.
59019         (HAS_YMM_USABLE): Remove.
59020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59021         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59022         are present.
59023         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59024         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59025         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59026         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59027         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59029 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59031         * math/libm-test.c: Support platforms without multiple rounding modes.
59032         * math/bug-nextafter.c: Support platforms without FP exceptions.
59033         * math/bug-nexttoward.c: Likewise.
59034         * math/test-fenv.c: Likewise.
59035         * math/test-misc.c: Likewise.
59036         * stdlib/bug-getcontext.c: Likewise.
59038 2012-05-17  Andreas Jaeger  <aj@suse.de>
59040         * manual/examples/search.c (critter_cmp): Change signature to
59041         avoid warnings.
59042         * manual/string.texi (Collation Functions): Likewise.
59044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59046         * bits/types.h: Fold copyright years.
59047         * bits/typesizes.h: Likewise.
59048         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59051         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59052         * time/time.h: Likewise.
59054 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59056         [BZ #208]
59057         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59058         in instead of returning them.  Return void.
59059         (__libc_mallinfo): Accumulate over all arenas.
59060         (__malloc_stats): Adjust for change in int_mallinfo interface.
59062 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59064         [BZ #10375]
59065         * configure.in (NM): Add AC_CHECK_TOOL for it.
59066         (libc_extra_cflags): New substituted variable.
59067         Check for -fstack-protector being used implicitly.
59068         * configure: Regenerated.
59069         * config.make.in (config-extra-cflags): New variable,
59070         gets @libc_extra_cflags@.
59071         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59073         [BZ #10375]
59074         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59075         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59076         * configure: Regenerated.
59077         * config.make.in (CPPUNDEFS): New substituted variable.
59078         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59079         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59080         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59082 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59084         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59085         (mq_attr): Use __syscall_slong_t.
59087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59089         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59090         Check __x86_64__ instead of __WORDSIZE.
59091         (_STAT_VER_LINUX): Likewise.
59092         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59093         __syscall_ulong_t and __syscall_slong_t.
59094         (stat64): Likewise.
59096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59098         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59100 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59102         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59106         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59107         __syscall_ulong_t.
59109         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59110         include <bits/wordsize.h>.  Check __x86_64__ instead of
59111         __WORDSIZE.
59112         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59113         defined.
59114         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59116         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59117         include <bits/wordsize.h>.  Check __x86_64__ instead of
59118         __WORDSIZE.
59119         (user_regs_struct): Use "__extension__ unsigned long long"
59120         instead of "unsigned long" if __x86_64__ is defined.
59121         (user): Likewise.  Pad after pointer field if __ILP32__ is
59122         defined.
59124 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59126         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59127         versions 5 to 9.
59128         * configure: Regenerated.
59129         * manual/install.texi (texinfo): Increase version requirement to
59130         4.5 or later.
59131         * INSTALL: Regenerated.
59133         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59137         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59139         * sysdeps/x86_64/x32/ffs.c: New file.
59141         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59142         __syscall_ulong_t.
59143         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59144         defined.  Use __syscall_ulong_t.
59145         (shminfo): Use __syscall_ulong_t.
59146         (shm_info): Likewise.
59148         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59149         __syscall_ulong_t.
59151         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59152         <bits/wordsize.h>.
59153         (msgqnum_t): Use __syscall_ulong_t.
59154         (msglen_t): Likewise.
59155         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59156         __syscall_ulong_t.
59158         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59159         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59161         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59163         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59164         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59166         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59167         __syscall_slong_t.
59169         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59170         include <bits/wordsize.h>.  Check __x86_64__ instead of
59171         __WORDSIZE.
59173         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59174         "unsigned long long int" if __x86_64__ is defined.
59175         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59177         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59178         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59179         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59181         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59182         <stdint.h>.
59183         (GET_PC): Cast to uintptr_t first.
59184         (GET_FRAME): Likewise.
59185         (GET_STACK): Likewise.
59187         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59190         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59192         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59193         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59194         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59195         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59196         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59197         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59202         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59203         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59204         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59205         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59207         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59212         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59213         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59214         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59215         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59217 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59219         * Makerules (+depfiles): Also collect depfiles from .oS in
59220         $(extra-objs).
59221         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59222         .oS, $(libnldbl-routines)).
59224         * Makerules (native-compile-mkdep-flags): Define.
59225         * sunrpc/Makefile (extra-objs): Add $(addprefix
59226         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59227         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59228         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59229         calling $(make-target-directory).
59231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59233         * bits/types.h (__snseconds_t): Removed.
59234         * time/time.h (struct timespec): Replace __snseconds_t with
59235         __syscall_slong_t.
59236         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59237         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59238         Likewise.
59239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59240         (__SNSECONDS_T_TYPE): Likewise.
59241         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59242         (__SNSECONDS_T_TYPE): Likewise.
59243         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59244         (__SNSECONDS_T_TYPE): Likewise.
59246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59248         * sysdeps/mach/hurd/bits/typesizes.h
59249         (__SYSCALL_SLONG_TYPE): New macro.
59250         (__SYSCALL_ULONG_TYPE): Likewise.
59252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59254         * bits/types.h (__syscall_slong_t): New type.
59255         (__syscall_ulong_t): Likewise.
59257         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59258         (__SYSCALL_ULONG_TYPE): Likewise.
59259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59260         (__SYSCALL_SLONG_TYPE): Likewise.
59261         (__SYSCALL_ULONG_TYPE): Likewise.
59262         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59263         (__SYSCALL_SLONG_TYPE): Likewise.
59264         (__SYSCALL_ULONG_TYPE): Likewise.
59265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59266         (__SYSCALL_SLONG_TYPE): Likewise.
59267         (__SYSCALL_ULONG_TYPE): Likewise.
59269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59271         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59272         Add sigaltstack-offsets.sym.
59273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59274         <sigaltstack-offsets.h>.
59275         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59276         longjmp_msg pointer.
59277         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59278         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59279         signal stack.
59280         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59282 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59284         * elf/stackguard-macros.h: Remove file.
59285         * sysdeps/generic/stackguard-macros.h: New file.
59286         * sysdeps/i386/stackguard-macros.h: Likewise.
59287         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59288         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59289         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59290         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59291         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59292         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59293         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59294         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59295         <elf/stackguard-macros.h>.
59297         [BZ #14109]
59298         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59299         __aligned__ in attribute.
59300         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59301         (gregset_t): Likewise.
59303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59305         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59306         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59307         * sysdeps/x86_64/x32/Implies-after: New file.
59309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59311         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59312         and access return value for _dl_profile_fixup.  Use R10_LP to
59313         load frame size.
59315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59317         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59321         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59322         * sysdeps/x86_64/x32/sysdep.h: New file.
59324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59326         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59327         * sysdeps/x86_64/setjmp.S: Likewise.
59329 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59332         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59333         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59334         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59335         remove unused global constant.
59337 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59339         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59340         include of <not-cancel.h>.
59342 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59344         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59346 2012-05-15  Jeff Law  <law@redhat.com>
59347             Andreas Jaeger  <aj@suse.de>
59349         [BZ #13594]
59350         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59351         out from...
59352         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59353         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59354         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59355         code changing __hst_map_handle.map.
59357 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59359         * configure.in (sysnames): Look for Implies-before and Implies-after
59360         files.
59361         * configure: Regenerated.
59363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59365         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59366         8-byte data alignment with LP_SIZE alignment.
59368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59370         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59371         into R10_LP.
59373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59375         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59380         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59381         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59382         Likewise.
59383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59387         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59388         (stackinfo_sub_sp): Likewise.
59390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59392         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59393         RAX_LP.
59395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59398         into R*_LP.
59400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59403         sizes into R*_LP.
59405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59407         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59411         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59412         into R11_LP and load __x86_64_shared_cache_size_half into
59413         R8_LP.
59415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59417         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59418         R8_LP.
59420 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59423         logb for POWER7.
59424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59425         logbf for POWER7.
59426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59427         logbl for POWER7.
59428         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59429         powerpc32/power7/fpu/s_logb.c via #include.
59430         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59431         powerpc32/power7/fpu/s_logbf.c via #include.
59432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59433         powerpc32/power7/fpu/s_logbl.c via #include.
59435 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59437         * README.libm: Remove file.
59439 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59441         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59442         count for x32.  Use R*_LP and omit operand-size suffix.
59444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59446         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59447         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59448         * sysdeps/x86_64/x32/shlib-versions: New file.
59450 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59452         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59453         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59454         Use _dl_fatal_printf instead.
59456 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59458         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59459         set if not set by the user.  Do not allow for being unset.
59460         * sysdeps/unix/sysv/linux/configure: Regenerated.
59462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59464         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59465         the `q' suffix from lea and replace .quad with ASM_ADDR.
59467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59470         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59471         instead of $17.
59472         (PTR_DEMANGLE): Likewise.
59474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59476         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59477         (LP_OP): Likewise.
59478         (ASM_ADDR): Likewise.
59479         (RAX_LP): Likewise.
59480         (RBP_LP): Likewise.
59481         (RBX_LP): Likewise.
59482         (RCX_LP): Likewise.
59483         (RDI_LP): Likewise.
59484         (RSI_LP): Likewise.
59485         (RSP_LP): Likewise.
59486         (R8_LP): Likewise.
59487         (R9_LP): Likewise.
59488         (R10_LP): Likewise.
59489         (R10_LP): Likewise.
59490         (R11_LP): Likewise.
59491         (R12_LP): Likewise.
59492         (R13_LP): Likewise.
59493         (R14_LP): Likewise.
59494         (R15_LP): Likewise.
59496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59498         * sysdeps/x86_64/x32/dl-machine.h: New file.
59500 2012-05-14  Andreas Jaeger  <aj@suse.de>
59502         * manual/Makefile (subdir): Remove export of subdir.
59503         (all): Remove target.
59504         (.PHONY): Remove all from list.
59505         (mkinstalldirs): Remove.
59506         (.PHONY): Remove installdirs from list.
59507         ($(inst_infodir)/libc.info): Use make-target-directory.
59508         (installdirs): Remove.
59509         (subdir_%): Remove.
59510         (glibc-targets): Remove.
59511         (lib): Remove.
59512         (stubs): Remove.
59513         ($(objpfx)stubs ../po/manual.pot): Remove.
59514         ($(objpfx)stamp%): Remove.
59515         (make-target-directory): Remove.
59516         (subdir_install): Remove.
59517         (routines): Remove.
59518         (aux): Remove.
59519         (sources): Remove.
59520         (objects): Remove.
59521         (headers): Remove.
59523         [BZ #13750]
59524         * manual/.gitignore: Remove, it's not needed anymore.
59525         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59526         all files in it.
59527         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59528         directory.
59529         (texis): Renamed to $(objpfx)texis.
59530         (texis-path): New, contains path to generated files.
59531         (chapters.%): Use texis-path for complete path, add extra argument
59532         libc-texinfo.sh.
59533         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59534         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59535         (summary,texi, stamp-summary): Use complete path of
59536         files. Generate files in build dir.
59537         (dir-add.texi): Build in build dir.
59538         (libm-err.texi,stamp-libm-err): Likewise.
59539         (version.texi, stamp-version): Likewise.
59540         (.%c.texi): Likewise.
59541         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59542         (mostlyclean): Remove target.
59543         (realclean): Remove target.
59544         (generated): Add new variable with contents from mostlyclean and
59545         realclean, remove entries duplicated in common-mostlyclean, add
59546         stamp-libm-err and stamp-version.
59547         (generated-dirs): Add libc directory.
59548         ($(inst_infodir)/libc.info): Install files from build dir.
59550         * manual/install.texi (Configuring and compiling): Adjust since
59551         the info files are not part of the tar ball anymore.
59553 2012-05-14  Andreas Jaeger  <aj@suse.de>
59555         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59556         variable.
59558 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59560         [BZ #13717]
59561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59562         to 2.2.0 where earlier.
59563         * sysdeps/unix/sysv/linux/configure: Regenerated.
59564         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59565         Remove conditional code.
59566         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59567         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59568         Remove conditional code.
59569         [!__NR_lchown]: Likewise.
59570         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59571         [__NR_lchown]: Likewise.
59572         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59573         comment referencing __ASSUME_LCHOWN_SYSCALL.
59574         * sysdeps/unix/sysv/linux/i386/sigaction.c
59575         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59576         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59577         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59578         Remove conditional code.
59579         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59580         (__protocol_available): Remove #if 0 code.
59581         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59582         conditional code.
59583         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59584         * sysdeps/unix/sysv/linux/kernel-features.h
59585         (__ASSUME_GETCWD_SYSCALL): Don't define.
59586         (__ASSUME_REALTIME_SIGNALS): Likewise.
59587         (__ASSUME_PREAD_SYSCALL): Likewise.
59588         (__ASSUME_PWRITE_SYSCALL): Likewise.
59589         (__ASSUME_POLL_SYSCALL): Likewise.
59590         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59591         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59592         non-SPARC.
59593         (__ASSUME_SIOCGIFNAME): Don't define.
59594         (__ASSUME_MSG_NOSIGNAL): Likewise.
59595         (__ASSUME_SENDFILE): Define unconditionally.
59596         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59597         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59598         conditional code.
59599         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59600         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59601         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59602         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59603         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59604         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59605         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59607         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59610         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59613         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59616         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59617         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59619         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59622         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59625         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59630         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59631         Remove conditional code.
59632         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59633         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59634         Remove conditional code.
59635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59636         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59637         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59638         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59639         Remove conditional code.
59640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59641         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59642         Remove conditional code.
59643         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59644         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59645         Remove conditional code.
59646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59647         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59648         Remove conditional code.
59649         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59650         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59651         Remove conditional code.
59652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59653         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59654         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59655         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59656         * sysdeps/unix/sysv/linux/sigaction.c
59657         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59658         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59659         * sysdeps/unix/sysv/linux/sigpending.c
59660         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59661         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59662         * sysdeps/unix/sysv/linux/sigprocmask.c
59663         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59664         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59665         * sysdeps/unix/sysv/linux/sigsuspend.c
59666         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59667         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59669         (__libc_missing_rt_sigs): Remove.
59670         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59671         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59672         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59673         Remove conditional code.
59674         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59675         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59676         return 1.
59677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59678         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59679         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59680         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59682 2012-05-14  Andreas Jaeger  <aj@suse.de>
59684         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59685         it's not used in glibc.
59686         (__coshm1): Likewise.
59687         (__acosh1p): Likewise.
59688         (__sgn): Likewise.
59690         * manual/string.texi (Copying and Concatenation): Add missing
59691         variable in concat example.
59692         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59694 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59696         [BZ #14103]
59697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59698         __builtin_clzl with __builtin_clzll.
59700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59702         [BZ #14104]
59703         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59704         libc_freeres_ptr.
59706 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59708         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59709         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59710         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59711         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59713 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59715         * NEWS: Update ia64 info.
59717 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59719         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59720         used as bcopy.
59722 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59724         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59725         * sysdeps/unix/syscalls.list (dup3): Likewise.
59726         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59727         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59729 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59731         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59732         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59734 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59736         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59737         thread pointer.
59738         (TLS_IE): Use mov/add instead of movq/addq to load thread
59739         pointer.
59740         (TLS_GD_PREFIX): New.
59741         (TLS_GD): Use it.
59743 2012-05-11  David S. Miller  <davem@davemloft.net>
59745         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59746         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59747         (_FPU_SETCW): Likewise.
59749 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59751         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59752         is 32-byte aligned.
59754 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59756         [BZ #11837]
59757         * iconvdata/gb18030.c: Update tables.
59758         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59759         characters specially.
59760         (BODY for TO_LOOP): Add encoding of missing ranges.
59762 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59764         [BZ #13673]
59765         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59766         * sysdeps/mach/hurd/dup3.c: Likewise.
59767         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59768         * sysdeps/powerpc/memmove.c:: Likewise.
59770 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59773         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59775 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59777         * elf/elf.h (R_X86_64_RELATIVE64): New.
59778         (R_X86_64_NUM): Updated.
59779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59780         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59781         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59782         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59783         tst-quad1pie tst-quad2pie
59784         (modules-names): Add tst-quadmod1 tst-quadmod2.
59785         ($(objpfx)tst-quad1): New dependency.
59786         ($(objpfx)tst-quad2): Likewise.
59787         ($(objpfx)tst-quad1pie): Likewise.
59788         ($(objpfx)tst-quad2pie): Likewise.
59789         * sysdeps/x86_64/tst-quad1.c: New file.
59790         * sysdeps/x86_64/tst-quad1pie.c: New file.
59791         * sysdeps/x86_64/tst-quad2.c: Likewise.
59792         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59793         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59794         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59795         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59796         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59800         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59801         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59802         * streams/stropts.h (t_scalar_t): Define type.
59804         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59805         (_PATH_PRESERVE): Set to "/var/lib".
59806         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59808         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59809         instead of int.
59811         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59812         if __dir_mkfile succeeded.
59814         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59815         checking for _hurd_dtablesize.  Unlock it right after having
59816         finished _hurd_dtable allocation.
59818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59820         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59821         * sysdeps/mach/hurd/configure: Regenerated.
59822         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59823         special-casing to...
59824         * sysdeps/gnu/configure.in: ... this new file.
59825         * sysdeps/unix/sysv/linux/configure: Regenerated.
59826         * sysdeps/gnu/configure: New generated file.
59828         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59829         for Linux: use nsec instead of usec, as well as:
59830         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59831         members of type struct timespec.
59832         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59833         New macros.
59834         (struct stat64): Likewise.
59835         (_STATBUF_ST_NSEC): New macro.
59836         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59838         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59839         __strtoul_internal rather than strtoul.
59841 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59843         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59844         and reject them.
59846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59848         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59849         which preserves existing values.
59850         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59854         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59855         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59856         greater than FD_SETSIZE.
59858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59860         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59861         allocated, call __vm_protect to finish enabling the existing space, and
59862         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59863         allocate the remainder.
59865 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59867         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59868         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59872         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59873         sysdeps/mach/hurd/readlink.c.
59875         * posix/tst-sysconf.c (posix_options): Only use
59876         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59877         _POSIX_SYNCHRONIZED_IO when they are defined
59878         * sysdeps/mach/hurd/bits/posix_opt.h:
59879         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59880         (_XOPEN_REALTIME): Undefine macro.
59881         (_XOPEN_REALTIME_THREADS): Undefine macro.
59882         (_XOPEN_SHM): Undefine macro.
59883         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59884         macro to -1.
59885         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59886         macro to -1.
59887         (_POSIX_ASYNC_IO): Undefine macro.
59888         (_POSIX_PRIORITIZED_IO): Undefine macro.
59889         (_POSIX_SPIN_LOCKS): Define macro to -1.
59891         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59892         SA_NODEFER, SA_RESETHAND.
59893         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59894         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59895         F_DUPFD_CLOEXEC.
59897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59899         * elf/Makefile (pldd-modules): Define unconditionally.
59901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59903         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59907         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59908         Return ENOENT when name is empty.
59909         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59913         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59915         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59919         Fix mlock in all cases except non-readable pages.
59920         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59921         instead of VM_PROT_ALL as parameter to __vm_wire function.
59923         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59924         (__mkdir): When path is `/', just fail with EEXIST.
59925         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59929         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59930         <sys/uio.h> (for writev).
59931         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59932         and <sys/param.h> (for MIN).
59934 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59936         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59937         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59938         if interrupted.
59940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59942         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59943         Depend on against $(link-rpcuserlibs).
59945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59947         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59948         (__libc_stack_end): Do not use attribute_relro.
59949         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59950         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59951         to libthread-provided value.
59952         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59953         attribute_relro.
59955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59957         [BZ #3748]
59958         * bits/libc-lock.h (__libc_once_get): New macro.
59959         * sysdeps/mach/bits/libc-lock.h: Likewise.
59960         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59961         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59962         instead of using implementation details.
59964         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59965         * libio/freopen.c: Likewise.
59966         * libio/freopen64.c: Likewise.
59967         * misc/syslog.c: Likewise.
59968         * nscd/connections.c: Likewise.
59969         * nscd/netgroupcache.c: Likewise.
59970         * sysdeps/posix/getcwd.c: Likewise.
59972 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59974         * math/w_ilogbf.c: Add #include <limits.h>.
59976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59978         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59979         path instead of returning without unlocking.
59981         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59982         immediate-write ioctls.
59983         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59987         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59988         __builtin_frame_address instead of making assumptions about the
59989         location of the return address relative to DATA.  Force early load of
59990         the return address.
59991         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59992         __builtin_frame_address.
59994         dup3 for GNU Hurd.
59995         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59996         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59997         implement dup3 and do some further code clean-ups.
59998         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59999         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60003         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60005         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60006         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60007         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60008         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60009         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60010         d->port.lock.
60012         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60013         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60014         when handler == SIG_ERR, not when handler != SIG_ERR.
60016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60018         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60019         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60020         definitions.
60022         accept4 for GNU Hurd.
60023         * include/sys/socket.h (__libc_accept4): New prototype.
60024         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60025         to implement __libc_accept4.
60026         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60027         __libc_accept4.
60028         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60030         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60031         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60032         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60033         signal-defines.sym.
60035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60037         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60041         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60042         assertion on O_CLOEXEC flag.
60043         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60044         * hurd/intern-fd.c: Likewise.
60045         * hurd/port2fd.c: Likewise.
60047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60049         [BZ #3906]
60050         * bits/in.h (IPV6_PKTINFO): Define new macro.
60051         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60053 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60055         [BZ #13954]
60056         [BZ #13955]
60057         [BZ #13956]
60058         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60060         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60061         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60063         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60064         * math/libm-test.inc (logb_test) : Additional logb tests.
60066 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60067             Andreas Jaeger  <aj@suse.de>
60069         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60070         * configure: Regenerated.
60071         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60072         * config.make.in (link-obsolete-rpc): New substituted variable.
60073         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60074         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60075         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60076         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60077         so that libc.a contains the symbols.
60078         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60079         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60080         * sunrpc/auth_none.c: Likewise.
60081         * sunrpc/auth_unix.c: Likewise.
60082         * sunrpc/authdes_prot.c: Likewise.
60083         * sunrpc/authuxprot.c: Likewise.
60084         * sunrpc/clnt_gen.c: Likewise.
60085         * sunrpc/clnt_perr.c: Likewise.
60086         * sunrpc/clnt_raw.c: Likewise.
60087         * sunrpc/clnt_simp.c: Likewise.
60088         * sunrpc/clnt_tcp.c: Likewise.
60089         * sunrpc/clnt_udp.c: Likewise.
60090         * sunrpc/clnt_unix.c: Likewise.
60091         * sunrpc/des_crypt.c: Likewise.
60092         * sunrpc/des_soft.c: Likewise.
60093         * sunrpc/get_myaddr.c: Likewise.
60094         * sunrpc/key_call.c: Likewise.
60095         * sunrpc/key_prot.c: Likewise.
60096         * sunrpc/netname.c: Likewise.
60097         * sunrpc/pm_getmaps.c: Likewise.
60098         * sunrpc/pm_getport.c: Likewise.
60099         * sunrpc/pmap_clnt.c: Likewise.
60100         * sunrpc/pmap_prot.c: Likewise.
60101         * sunrpc/pmap_prot2.c: Likewise.
60102         * sunrpc/pmap_rmt.c: Likewise.
60103         * sunrpc/publickey.c: Likewise.
60104         * sunrpc/rpc_cmsg.c: Likewise.
60105         * sunrpc/rpc_common.c: Likewise.
60106         * sunrpc/rpc_dtable.c: Likewise.
60107         * sunrpc/rpc_prot.c: Likewise.
60108         * sunrpc/rpc_thread.c: Likewise.
60109         * sunrpc/rtime.c: Likewise.
60110         * sunrpc/svc.c: Likewise.
60111         * sunrpc/svc_auth.c: Likewise.
60112         * sunrpc/svc_raw.c: Likewise.
60113         * sunrpc/svc_run.c: Likewise.
60114         * sunrpc/svc_tcp.c: Likewise.
60115         * sunrpc/svc_udp.c: Likewise.
60116         * sunrpc/svc_unix.c: Likewise.
60117         * sunrpc/svcauth_des.c: Likewise.
60118         * sunrpc/xcrypt.c: Likewise.
60119         * sunrpc/xdr.c: Likewise.
60120         * sunrpc/xdr_array.c: Likewise.
60121         * sunrpc/xdr_float.c: Likewise.
60122         * sunrpc/xdr_intXX_t.c: Likewise.
60123         * sunrpc/xdr_mem.c: Likewise.
60124         * sunrpc/xdr_rec.c: Likewise.
60125         * sunrpc/xdr_ref.c: Likewise.
60126         * sunrpc/xdr_sizeof.c: Likewise.
60127         * sunrpc/xdr_stdio.c: Likewise.
60129 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60131         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60132         change.  Update copyright years.
60134 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60136         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60138 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60139             Joseph Myers  <joseph@codesourcery.com>
60140             Paul Pluzhnikov  <ppluzhnikov@google.com>
60142         [BZ #14012]
60143         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60144         requiring rpcgen.
60145         [cross-compiling] (extra-libs): Likewise.
60146         [cross-compiling] (extra-libs-others): Likewise.
60147         [cross-compiling] (librpcsvc-routines): Likewise.
60148         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60149         [cross-compiling] (omit-deps): Likewise.
60150         (sunrpc-CPPFLAGS): New variable.
60151         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60152         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60153         (cross-rpcgen-objs): New variable.
60154         (extra-objs): Append $(cross-rpcgen-objs).
60155         ($(cross-rpcgen-objs)): New rule.
60156         ($(objpfx)cross-rpcgen): Likewise.
60157         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60158         comment.
60159         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60160         ($(objpfx)x%.stmp): Likewise.
60161         * sunrpc/proto.h [IS_IN_build] (_): Define.
60162         [IS_IN_build] (_libc_intl_domainname): Likewise.
60164 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60167         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60168         and R_X86_64_TPOFF64.
60170 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60172         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60173         sysdeps/unix/sysv/syscalls.list.
60174         (stime): Likewise.
60175         (utime): Likewise.
60176         * sysdeps/unix/sysv/syscalls.list: Remove file.
60178 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60180         [BZ #3440]
60181         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60182         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60183         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60184         (__LC_IDENTIFICATION): Make these macros useful in #if
60185         expressions, as required by C99.
60187 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60189         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60190         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60191         after this.
60193 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60195         * stdlib/longlong.h: Updated from GCC.
60197 2012-05-09  Andreas Jaeger  <aj@suse.de>
60199         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60200         default is first entry.
60201         (run_mode): Set type.
60202         (main): Remove informal message about syslog.
60203         (options): Fix typo.
60205         [BZ #14053]
60206         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60207         to asm.
60208         (lrint): Likewise.
60209         (llrintf): Likewise.
60210         (llrint): Likewise.
60211         (rint): Likewise.
60212         (rintf): Likewise.
60213         (nearbyint): Likewise.
60214         (nearbyintf): Likewise.
60216 2012-05-09  Andreas Jaeger  <aj@suse.de>
60217             Pedro Alves  <palves@redhat.com>
60219         * nscd/nscd.c (run_mode): Use enum.
60220         (main): Cleanup coding style issue.
60222 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60223             Andreas Jaeger  <aj@suse.de>
60225         * nscd/nscd.c (go_background): Replaced with...
60226         (run_mode): ... this.
60227         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60228         (options): Add -F --foreground.
60229         (main): Implement it.
60230         (parse_opt): Parse it.
60232 2012-05-09  Andreas Jaeger  <aj@suse.de>
60234         [BZ #14083]
60235         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60236         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60237         -Wconversion warning.
60238         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60239         Likewise.
60241 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60243         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60244         == 0.
60245         (LC_ALL): Use macro-int-constant.
60246         (LC_COLLATE): Likewise.
60247         (LC_CTYPE): Likewise.
60248         (LC_MESSAGES): Likewise.
60249         (LC_MONETARY): Likewise.
60250         (LC_NUMERIC): Likewise.
60251         (LC_TIME): Likewise.
60252         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60253         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60255         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60256         Specify type.
60257         [C99-based standards] (float_t): Expect type.
60258         [C99-based standards] (double_t): Expect type.
60259         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60260         type.
60261         [C99-based standards] (HUGE_VALL): Likewise.
60262         [C99-based standards] (INFINITY): Likewise.
60263         [C99-based standards] (NAN): Likewise.
60264         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60265         [C99-based standards] (FP_NAN): Likewise.
60266         [C99-based standards] (FP_NORMAL): Likewise.
60267         [C99-based standards] (FP_SUBNORMAL): Likewise.
60268         [C99-based standards] (FP_ZERO): Likewise.
60269         [C99-based standards] (FP_FAST_FMA): Use
60270         optional-macro-int-constant.  Specify type.  Require == 1.
60271         [C99-based standards] (FP_FAST_FMAF): Likewise.
60272         [C99-based standards] (FP_FAST_FMAL): Likewise.
60273         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60274         [C99-based standards] (FP_ILOGBNAN): Likewise.
60275         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60276         Specify type.
60277         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60278         [C99-based standards] (math_errhandling): Specify type.
60279         [ISO99 || ISO11] (signgam): Do not allow.
60280         [non-C99-based standards] (copysignf): Do not allow.
60281         [non-C99-based standards] (exp2f): Likewise.
60282         [non-C99-based standards] (log2f): Likewise.
60283         [non-C99-based standards] (modff): Allow.
60284         [non-C99-based standards] (erff): Do not allow.
60285         [non-C99-based standards] (erfcf): Likewise.
60286         [non-C99-based standards] (gammaf): Likewise.
60287         [non-C99-based standards] (hypotf): Likewise.
60288         [non-C99-based standards] (j0f): Likewise.
60289         [non-C99-based standards] (j1f): Likewise.
60290         [non-C99-based standards] (jnf): Likewise.
60291         [non-C99-based standards] (lgammaf): Likewise.
60292         [non-C99-based standards] (tgammaf): Likewise.
60293         [non-C99-based standards] (y0f): Likewise.
60294         [non-C99-based standards] (y1f): Likewise.
60295         [non-C99-based standards] (ynf): Likewise.
60296         [non-C99-based standards] (isnanf): Likewise.
60297         [non-C99-based standards] (acoshf): Likewise.
60298         [non-C99-based standards] (asinhf): Likewise.
60299         [non-C99-based standards] (atanhf): Likewise.
60300         [non-C99-based standards] (cbrtf): Likewise.
60301         [non-C99-based standards] (expm1f): Likewise.
60302         [non-C99-based standards] (ilogbf): Likewise.
60303         [non-C99-based standards] (log1pf): Likewise.
60304         [non-C99-based standards] (logbf): Likewise.
60305         [non-C99-based standards] (nextafterf): Likewise.
60306         [non-C99-based standards] (remainderf): Likewise.
60307         [non-C99-based standards] (rintf): Likewise.
60308         [non-C99-based standards] (scalbf): Likewise.
60309         [non-C99-based standards] (copysignl): Likewise.
60310         [non-C99-based standards] (exp2l): Likewise.
60311         [non-C99-based standards] (log2l): Likewise.
60312         [non-C99-based standards] (modfl): Allow.
60313         [non-C99-based standards] (erfl): Do not allow.
60314         [non-C99-based standards] (erfcl): Likewise.
60315         [non-C99-based standards] (gammal): Likewise.
60316         [non-C99-based standards] (hypotl): Likewise.
60317         [non-C99-based standards] (j0l): Likewise.
60318         [non-C99-based standards] (j1l): Likewise.
60319         [non-C99-based standards] (jnl): Likewise.
60320         [non-C99-based standards] (lgammal): Likewise.
60321         [non-C99-based standards] (tgammal): Likewise.
60322         [non-C99-based standards] (y0l): Likewise.
60323         [non-C99-based standards] (y1l): Likewise.
60324         [non-C99-based standards] (ynl): Likewise.
60325         [non-C99-based standards] (isnanl): Likewise.
60326         [non-C99-based standards] (acoshl): Likewise.
60327         [non-C99-based standards] (asinhl): Likewise.
60328         [non-C99-based standards] (atanhl): Likewise.
60329         [non-C99-based standards] (cbrtl): Likewise.
60330         [non-C99-based standards] (expm1l): Likewise.
60331         [non-C99-based standards] (ilogbl): Likewise.
60332         [non-C99-based standards] (log1pl): Likewise.
60333         [non-C99-based standards] (logbl): Likewise.
60334         [non-C99-based standards] (nextafterl): Likewise.
60335         [non-C99-based standards] (remainderl): Likewise.
60336         [non-C99-based standards] (rintl): Likewise.
60337         [non-C99-based standards] (scalbl): Likewise.
60338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60339         [non-C99-based standards] (FP_*): Do not allow.
60340         [C99-based standards] (FP_*): Change to
60341         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60342         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60343         allow.
60344         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60345         (SIG_ERR): Likewise.
60346         [X/Open-based standards] (SIG_HOLD): Likewise.
60347         (SIG_IGN): Likewise.
60348         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60349         positive value.
60350         (SIGFPE): Likewise.
60351         (SIGILL): Likewise.
60352         (SIGINT): Likewise.
60353         (SIGSEGV): Likewise.
60354         (SIGTER): Likewise.
60355         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60356         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60357         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60358         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60359         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60360         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60361         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60362         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60363         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60364         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60365         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60366         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60367         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60368         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60369         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60370         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60371         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60372         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60373         [X/Open-based standards] (SIGTRAP): Likewise.
60374         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60375         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60376         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60377         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60378         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60379         allow.
60381 2012-05-08  Ian Wienand  <ianw@vmware.com>
60383         [BZ #14080]
60384         * time/tzset.c (__tzset_parse_tz): Update default rules for
60385         daylight time changes in the Energy Policy Act of 2005.
60387 2012-05-09  Andreas Jaeger  <aj@suse.de>
60389         [BZ #13983]
60390         * elf/ldconfig.c (parse_conf): Change string to make clear that
60391         ldconfig only issued a warning if ld.so.conf does not exist.
60393 2012-05-08  David S. Miller  <davem@davemloft.net>
60395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60396         movxtod instead of popping the value on the stack.
60398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60400 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60402         * config.h.in: Add HAVE_ARM_PCS_VFP.
60404 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60406         [BZ #13979]
60407         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60408         checking but the checks are disabled for any reason.
60410 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60412         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60413         and ELF64_R_TYPE with ELFW(R_TYPE).
60415 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60417         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60418         (ulimit): Likewise.
60420         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60421         (settimeofday): Likewise.
60423 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60425         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60426         a struct th_u2 inside the union, and move tu_block/tu_code into
60427         a new th_u3 union of tu_block/tu_code inside of that.  Move
60428         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60429         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60430         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60431         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60432         (th_stuff): Change to th_u1.tu_stuff.
60433         (th_data): Define.
60434         (th_msg): Change to th_u1.th_u2.tu_data.
60436 2012-05-07  David S. Miller  <davem@davemloft.net>
60438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60440         [BZ #14074]
60441         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60442         (SETUP_PIC_REG): Use it.
60443         (SETUP_PIC_REG_LEAF): Use it.
60445 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60447         [BZ #13885]
60448         [BZ #13923]
60449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60450         USE_AS_EXPM1L.
60451         (EXPL_FINITE): Likewise.
60452         (FLDLOG): Likewise.
60453         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60454         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60455         e_expl.S.
60456         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60457         USE_AS_EXPM1L.
60458         (EXPL_FINITE): Likewise.
60459         (FLDLOG): Likewise.
60460         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60461         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60462         e_expl.S.
60463         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60464         test of -max_value argument for long double.
60465         * sysdeps/i386/fpu/libm-test-ulps: Update.
60466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60468 2012-05-06  David S. Miller  <davem@davemloft.net>
60470         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60471         quad soft-float symbols whose references which are compiler
60472         generated.
60473         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60475 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60477         [BZ #13884]
60478         [BZ #13914]
60479         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60480         USE_AS_EXP10L.
60481         (EXPL_FINITE): Likewise.
60482         (FLDLOG): Likewise.
60483         (c0): Likewise.
60484         (c1): Likewise.
60485         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60486         Adjust comments for base varying.
60487         (__expl_finite): Change alias to EXPL_FINITE.
60488         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60489         e_expl.S.
60490         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60491         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60492         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60493         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60494         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60495         USE_AS_EXP10L.
60496         (EXPL_FINITE): Likewise.
60497         (FLDLOG): Likewise.
60498         (c0): Likewise.
60499         (c1): Likewise.
60500         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60501         Adjust comments for base varying.
60502         (__expl_finite): Change alias to EXPL_FINITE.
60503         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60504         tests for bugs.
60505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60507         [BZ #14064]
60508         * math/libm-test.inc (check_float_internal): Correct ulp
60509         calculation for subnormal expected results.
60511 2012-05-06  Andreas Jaeger  <aj@suse.de>
60513         * Makeconfig (+math-flags): New, set to -frounding-math.
60514         (+cflags): Add +math-flags so that all of glibc gets compiled with
60515         it.
60517         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60519 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60521         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60522         Disable one test.
60524         [BZ #13787]
60525         [BZ #13922]
60526         [BZ #14036]
60527         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60528         (__ieee754_expl): Allow for and saturate large arguments.
60529         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60530         (u_threshold): Likewise.
60531         (__exp): Call __ieee754_exp before checking for overflow and
60532         underflow.
60533         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60534         (u_threshold): Likewise.
60535         (__expf): Call __ieee754_expf before checking for overflow and
60536         underflow.
60537         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60538         (u_threshold): Likewise.
60539         (__expl): Call __ieee754_expl before checking for overflow and
60540         underflow.
60541         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60542         (__ieee754_expl): Allow for and saturate large arguments.
60543         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60544         missing overflow exception on overflow.
60545         (expm1_test): Do not allow missing overflow exception on overflow.
60547         * sysdeps/i386/fpu/e_expl.c: Move to ...
60548         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60549         rather than using inline asm.
60550         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60551         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60552         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60554         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60555         (nice): Likewise.
60556         (poll): Likewise.
60557         (signal): Likewise.
60558         (time): Likewise.
60559         (times): Likewise.
60561 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60563         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60564         sysdeps/unix/common/syscalls.list.
60565         (fchmod): Likewise.
60566         (fchown): Likewise.
60567         (ftruncate): Likewise.
60568         (getrusage): Likewise.
60569         (gettimeofday): Likewise.
60570         (setpgid): Likewise.
60571         (setregid): Likewise.
60572         (setreuid): Likewise.
60573         (sigaction): Likewise.
60574         (truncate): Likewise.
60575         (vhangup): Likewise.
60576         * sysdeps/unix/common/syscalls.list: Remove file.
60577         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60578         * sysdeps/unix/sysv/linux/Implies: Likewise.
60580 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60582         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60584         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60585         Moved to ...
60586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60587         Here.
60588         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60589         to ...
60590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60591         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60592         to ...
60593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60594         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60595         to ...
60596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60597         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60598         to ...
60599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60600         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60601         to ...
60602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60603         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60604         to ...
60605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60606         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60607         to ...
60608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60609         Here.
60610         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60611         to ...
60612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60613         Here.
60614         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60615         to ...
60616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60617         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60618         Moved to ...
60619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60620         Here.
60621         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60622         to ...
60623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60625 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60627         * sysdeps/unix/common/bits/dirent.h: Remove file.
60628         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60630         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60631         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60632         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60633         * sysdeps/unix/bsd/isatty.c: Likewise.
60634         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60635         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60636         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60638 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60640         [BZ #13563]
60641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60642         long double comparison inaccuracies.
60643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60646 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60648         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60651 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60653         [BZ #14049]
60654         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60655         nonzero digits before rounding a hex value.
60656         * stdlib/tst-strtod.c (tests): Add another test.
60658 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60660         * sysdeps/s390/fpu/libm-test-ulps: Update.
60662 2012-05-03  Andreas Jaeger  <aj@suse.de>
60664         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60665         does not get optimized out.
60666         (malloc_opt_barrier): New.
60668 2012-05-03  Andreas Jaeger  <aj@suse.de>
60669             Roland McGrath  <roland@hack.frob.com>
60671         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60672         intermediate file deletion.
60673         (generated): Add .symlist files.
60675 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60677         [BZ #13775]
60678         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60679         Redirect under this condition.
60680         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60681         [__USE_GNU] (__dprintf_chk): Not under this condition.
60682         [__USE_GNU] (__vdprintf_chk): Likewise.
60683         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60684         under this condition.
60685         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60686         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60687         [__USE_XOPEN2K8] (vdprintf): Likewise.
60688         [__USE_GNU] (__dprintf_chk): Not under this condition.
60689         [__USE_GNU] (__vdprintf_chk): Likewise.
60690         [__USE_GNU] (dprintf): Likewise.
60691         [__USE_GNU] (vdprintf): Likewise.
60693 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60695         * elf/Makefile (common-generated): Set this instead of generated for
60696         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60697         $(all-built-dso)-derived lists.
60699 2012-05-03  Andreas Jaeger  <aj@suse.de>
60701         * sysdeps/i386/fpu/libm-test-ulps: Update.
60703         * FAQ: Removed.
60704         * FAQ.in: Likewise.
60705         * scripts/gen-FAQ.pl: Likewise.
60706         * manual/install.texi (Installation): Point to online location of
60707         FAQ.
60708         * Makefile (files-for-dist): Remove FAQ.
60709         (FAQ): Remove.
60711 2012-05-02  Allan McRae  <allan@archlinux.org>
60713         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60714         (LDFLAGS-reldepmod5.so): Likewise.
60715         (LDFLAGS-reldep6mod1.so): Likewise.
60716         (LDFLAGS-reldep6mod4.so): Likewise.
60717         (LDFLAGS-reldep8mod3.so): Likewise.
60718         (LDFLAGS-unload4mod1.so): Likewise.
60719         (LDFLAGS-unload4mod2.so): Likewise.
60720         (LDFLAGS-tst-initorder): Likewise.
60721         (LDFLAGS-tst-initordera2.so): Likewise.
60722         (LDFLAGS-tst-initordera3.so): Likewise.
60723         (LDFLAGS-tst-initordera4.so): Likewise.
60724         (LDFLAGS-tst-initorderb2.so): Likewise.
60725         (LDFLAGS-noload): Likewise.
60726         (LDFLAGS-next): Likewise.
60727         (LDFLAGS-order2mod1.so): Likewise.
60728         (LDFLAGS-order2mod2.so): Likewise.
60729         (LDFLAGS-tst-initorder2): Likewise.
60730         (LDFLAGS-tst-initorder2a.so): Likewise.
60731         (LDFLAGS-tst-initorder2b.so): Likewise.
60732         (LDFLAGS-tst-initorder2c.so): Likewise.
60733         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60735 2012-05-02  David S. Miller  <davem@davemloft.net>
60737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60739 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60741         [BZ #14055]
60742         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60744 2012-05-02  Andreas Jaeger  <aj@suse.de>
60746         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60747         since we manipulate rounding mode.
60748         (CPPFLAGS-test-idouble.c): Likewise.
60749         (CPPFLAGS-test-ifloat.c): Likewise.
60750         (CFLAGS-test-ldouble.c): Likewise.
60751         (CFLAGS-test-double.c): Likewise.
60752         (CFLAGS-test-float.c): Likewise.
60753         (CFLAGS-test-misc.c): Likewise.
60754         (CFLAGS-test-test-fenv.c): Likewise.
60756 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60758         [BZ #2550]
60759         [BZ #2570]
60760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60761         comparisons to determine direction to adjust input.
60763 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60765         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60766         output to the target.
60768         * scripts/localplt.awk: New file.
60769         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60770         (check-localplt-CFLAGS): Variable removed.
60771         ($(all-built-dso:=.jmprel)): New static pattern rule.
60772         (generated): Add those targets.
60773         (localplt-built-dso): New variable.
60774         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60776         * elf/check-localplt.c: File removed.
60778         * scripts/check-execstack.awk: New file.
60779         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60780         (check-execstack-CFLAGS): Variable removed.
60781         ($(objpfx)check-execstack.h): Target removed.
60782         ($(objpfx)execstack-default): New target.
60783         (generated): Add that instead of check-execstack.h.
60784         ($(all-built-dso:=.phdr)): New static pattern rule.
60785         (generated): Add those targets.
60786         * elf/check-execstack.c: File removed.
60788         * scripts/check-textrel.awk: New file.
60789         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60790         (check-textrel-CFLAGS): Variable removed.
60791         (all-built-dso): Use := to define.o
60792         ($(all-built-dso:=.dyn)): New static pattern rule.
60793         (generated): Add those targets.
60794         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60795         * config.make.in (READELF): New substituted variable.
60796         * elf/check-textrel.c: File removed.
60798 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60800         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60801         allow.
60802         * conform/data/ctype.h-data [C99-based standards] (isblank):
60803         Expect function.
60804         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60805         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60807         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60808         Specify type.  Require positive value.
60809         (EILSEQ): Likewise.
60810         (ERANGE): Likewise.
60811         [ISO || POSIX] (EILSEQ): Do not expect.
60812         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60813         Specify type.  Require positive value.
60814         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60815         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60816         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60817         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60818         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60819         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60820         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60821         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60822         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60823         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60824         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60825         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60826         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60827         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60828         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60829         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60830         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60831         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60832         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60833         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60834         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60835         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60836         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60837         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60838         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60839         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60840         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60841         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60842         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60843         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60844         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60845         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60846         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60847         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60848         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60849         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60850         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60851         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60852         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60853         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60854         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60855         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60856         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60857         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60858         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60859         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60860         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60861         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60862         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60863         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60864         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60865         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60866         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60867         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60868         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60869         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60870         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60871         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60872         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60873         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60874         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60875         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60876         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60877         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60878         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60879         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60880         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60881         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60882         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60883         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60884         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60885         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60886         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60888         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60889         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60890         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60891         Require >= 2.
60892         (FLT_ROUNDS): Expect as macro, not constant.
60893         (FLT_MANT_DIG): Use macro-int-constant.
60894         (DBL_MANT_DIG): Likewise.
60895         (LDBL_MANT_DIG): Likewise.
60896         (FLT_DIG): Likewise.
60897         (DBL_DIG): Likewise.
60898         (LDBL_DIG): Likewise.
60899         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60900         (DBL_MIN_EXP): Likewise.
60901         (LDBL_MIN_EXP): Likewise.
60902         (FLT_MAX_EXP): Use macro-int-constant.
60903         (DBL_MAX_EXP): Likewise.
60904         (LDBL_MAX_EXP): Likewise.
60905         (FLT_MAX_10_EXP): Likewise.
60906         (DBL_MAX_10_EXP): Likewise.
60907         (LDBL_MAX_10_EXP): Likewise.
60908         (FLT_MAX): Use macro-constant.
60909         (DBL_MAX): Likewise.
60910         (LDBL_MAX): Likewise.
60911         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60912         (DBL_EPSILON): Likewise.
60913         (LDBL_EPSILON): Likewise.
60914         (FLT_MIN): Likewise.
60915         (DBL_MIN): Likewise.
60916         (LDBL_MIN): Likewise.
60917         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60918         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60919         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60920         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60921         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60922         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60923         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60924         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60925         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60926         [ISO11] (FLT_TRUE_MIN): Likewise.
60927         [ISO11] (LDBL_TRUE_MIN): Likewise.
60928         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60929         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60930         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60931         (SCHAR_MAX): Likewise.
60932         (UCHAR_MAX): Likewise.
60933         (CHAR_MIN): Likewise.
60934         (CHAR_MAX): Likewise.
60935         (MB_LEN_MAX): Use macro-int-constant.
60936         (SHRT_MIN): Use macro-int-constant.  Specify type.
60937         (SHRT_MAX): Likewise.
60938         (USHRT_MAX): Likewise.
60939         (INT_MAX): Likewise.
60940         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60941         bound negative.
60942         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60943         bound with "U".
60944         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60945         bound with "L".
60946         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60947         bound negative.  Suffix upper bound with "L".
60948         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60949         bound with "UL".
60950         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60951         Specify type.
60952         [C99-based standards] (LLONG_MAX): Likewise.
60953         [C99-based standards] (ULLONG_MAX): Likewise.
60954         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60955         == 0.
60956         [ISO11] (max_align_t): Require type.
60957         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60959         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60960         from $CFLAGS, without defining away __attribute__ calls.
60961         (checknamespace): Use $CFLAGS_namespace.
60963         * conform/conformtest.pl (@keywords): Only include C99 keywords
60964         for standards based on C99 or C11.
60966         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60967         Disable tests.
60968         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60969         UNIX98]: Likewise.
60971         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60972         usability of symbols in #if.
60974         * conform/conformtest.pl: If macro or constant types start
60975         "promoted:", expect the symbol to be of the following type
60976         promoted by the integer promotions.
60978         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60979         in one place.  Also handle "macro-constant".
60981         * conform/conformtest.pl: Only accept expected macro values with
60982         "==".  Parse all "macro" lines in one place.
60983         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60985         * conform/conformtest.pl: Handle braced types on "constant" lines
60986         instead of handling "typed-constant".
60987         * conform/data/signal.h-data: Use "constant" instead of
60988         "typed-constant".
60990         * conform/conformtest.pl: Handle "optional-" at start of lines in
60991         one place rather than duplicating several cases.  Handle each
60992         format of "macro" line with initial "optional-".
60994         * conform/conformtest.pl: Only accept expected constant or
60995         optional-constant values with "==".  Parse all "constant" lines in
60996         one place.  Parse all "optional-constant" lines in one place.
60997         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60998         * conform/data/fmtmsg.h-data: Likewise.
60999         * conform/data/netinet/in.h-data: Likewise.
61000         * conform/data/tar.h-data: Likewise.
61001         * conform/data/limits.h-data: Use "==" form on "constant" and
61002         "optional-constant" lines.
61004         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61005         Use -std=c99 for XOPEN2K.
61006         (@knownproblems): Remove.
61007         (newtoken): Don't check %isknown.
61009         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61010         Do not expect macro.
61011         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61012         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61013         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61014         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61015         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61016         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61017         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61018         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61019         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61020         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61021         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61022         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61023         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61024         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61025         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61026         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61027         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61028         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61029         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61030         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61031         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61032         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61034         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61035         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61036         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61037         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61038         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61039         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61040         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61041         [XPG3] (acosh): Likewise.
61042         [XPG3] (asinh): Likewise.
61043         [XPG3] (atanh): Likewise.
61044         [XPG3] (cbrt): Likewise.
61045         [XPG3] (expm1): Likewise.
61046         [XPG3] (ilogb): Likewise.
61047         [XPG3] (log1p): Likewise.
61048         [XPG3] (logb): Likewise.
61049         [XPG3] (nextafter): Likewise.
61050         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61051         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61052         [XPG3] (remainder): Likewise.
61053         [XPG3] (rint): Likewise.
61054         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61055         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61056         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61057         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61058         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61059         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61060         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61061         [UNIX98 || XOPEN2K] (scalb): Expect.
61062         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61063         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61064         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61065         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61066         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61067         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61068         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61069         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61070         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61071         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61072         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61073         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61074         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61075         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61076         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61077         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61078         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61079         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61080         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61081         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61082         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61083         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61084         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61085         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61086         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61087         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61088         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61089         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61090         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61091         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61092         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61093         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61094         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61095         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61096         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61097         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61098         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61099         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61100         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61101         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61102         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61103         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61104         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61105         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61106         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61107         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61108         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61109         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61110         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61111         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61112         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61113         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61114         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61115         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61116         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61117         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61118         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61119         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61120         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61121         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61122         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61123         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61124         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61125         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61126         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61127         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61128         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61129         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61130         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61131         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61132         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61133         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61134         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61135         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61136         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61137         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61138         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61139         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61140         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61141         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61142         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61143         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61144         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61145         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61146         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61147         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61148         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61149         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61150         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61151         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61152         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61153         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61154         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61155         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61156         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61157         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61158         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61159         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61160         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61161         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61162         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61163         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61164         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61165         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61166         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61167         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61168         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61169         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61170         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61171         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61172         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61173         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61174         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61175         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61176         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61177         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61178         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61179         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61180         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61181         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61182         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61183         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61184         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61185         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61186         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61187         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61188         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61189         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61190         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61191         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61192         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61193         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61194         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61195         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61196         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61197         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61198         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61200         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61201         _XOPEN_SOURCE_EXTENDED for XPG4.
61203         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61205         * Makeconfig (localtime): Remove variable.
61206         (inst_localtime-file): Likewise.
61208 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61211         Update.
61212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61213         Update.
61214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61215         Update.
61216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61217         Update.
61218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61219         Update.
61220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61221         Update.
61222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61223         Update.
61224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61225         Update.
61226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61227         Update.
61229 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61231         [BZ #2550]
61232         [BZ #2570]
61233         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61234         comparisons to determine direction to adjust input.
61235         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61236         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61237         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61238         Likewise.
61239         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61240         Likewise.
61241         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61242         Likewise.
61243         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61244         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61245         Likewise.
61246         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61247         Likewise.
61248         * math/libm-test.inc (nexttoward_test): Add more tests.
61250 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61252         [BZ #14040]
61253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61254         in version GLIBC_2.1, not GLIBC_2.0.
61255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61256         Likewise.
61258 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61260         [BZ #13942]
61261         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61262         (1 - x) * (1 + x).
61263         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61264         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61265         * math/libm-test.inc (acos_test): Add more tests.
61266         (asin_test): Likewise.
61267         * sysdeps/i386/fpu/libm-test-ulps: Update.
61268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61270         [BZ #14034]
61271         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61272         of square root.
61273         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61274         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61275         * math/libm-test.inc (acos_test_tonearest): New function.
61276         (acos_test_towardzero): Likewise.
61277         (acos_test_downward): Likewise.
61278         (acos_test_upward): Likewise.
61279         (asin_test_tonearest): Likewise.
61280         (asin_test_towardzero): Likewise.
61281         (asin_test_downward): Likewise.
61282         (asin_test_upward): Likewise.
61283         (main): Call the new functions.
61284         * sysdeps/i386/fpu/libm-test-ulps: Update.
61285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61287         [BZ #13884]
61288         [BZ #13924]
61289         * math/e_exp10.c: Include <float.h>.
61290         (__ieee754_exp10): Handle underflow here rather than multiplying
61291         large negative argument by M_LN10.
61292         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61293         of __ieee754_expf.
61294         * math/e_exp10l.c: Include <float.h>.
61295         (__ieee754_exp10l): Handle underflow here rather than multiplying
61296         large negative argument by M_LN10l.
61297         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61298         spurious overflow exception on underflow.
61300 2012-04-29  Marek Polacek  <polacek@redhat.com>
61302         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61303         (__fortify_function): New macro.
61304         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61305         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61306         __extern_always_inline.
61307         * libio/bits/stdio2.h: Likewise.
61308         * libio/bits/stdio.h: Likewise.
61309         * string/string.h: Likewise.
61310         * string/bits/string3.h: Likewise.
61311         * include/stdio.h: Likewise.
61312         * stdlib/bits/stdlib.h: Likewise.
61313         * stdlib/stdlib.h: Likewise.
61314         * rt/bits/mqueue2.h: Likewise.
61315         * rt/mqueue.h: Likewise.
61316         * posix/bits/unistd.h: Likewise.
61317         * posix/unistd.h: Likewise.
61318         * io/bits/poll2.h: Likewise.
61319         * io/bits/fcntl2.h: Likewise.
61320         * io/fcntl.h: Likewise.
61321         * io/sys/poll.h: Likewise.
61322         * misc/bits/syslog.h: Likewise.
61323         * misc/bits/syslog-ldbl.h: Likewise.
61324         * misc/sys/syslog.h: Likewise.
61325         * socket/bits/socket2.h: Likewise.
61326         * socket/sys/socket.h: Likewise.
61327         * debug/tst-chk1.c: Likewise.
61328         * wcsmbs/bits/wchar2.h: Likewise.
61329         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61330         * wcsmbs/wchar.h: Likewise.
61332 2012-04-29  Andreas Jaeger  <aj@suse.de>
61334         * Makerules (tests): Remove enable-check-abi protection.
61335         (check-abi-warn): Remove.
61336         (check-abi-%): Remove check-abi-warn usage.
61338         * configure.in: Remove check-abi configure option.
61339         * configure: Regenerated.
61340         * config.make.in (enable-check-abi): Remove.
61342 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61344         [BZ #14033]
61345         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61346         double functions to double *_finite functions.
61348         [BZ #13941]
61349         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61350         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61351         LDBL_MIN_EXP.
61352         * stdio-common/Makefile (tests): Add tst-sprintf3.
61353         * stdio-common/tst-sprintf3.c: New file.
61355         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61356         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61358 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61360         * conform/conformtest.pl: Remove duplicate typed-constant
61361         handling.
61363 2012-04-28  David S. Miller  <davem@davemloft.net>
61365         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61366         (check-abi-%): Remove AWK script prerequisite and explicit
61367         abilist directory.
61368         (check-abi): Rewrite to just diff the symlist with the abilist.
61369         (config-tls, config-abi-config): Delete, no longer used.
61370         (update-abi-%): Remove AWK script and explicit abilist directory.
61371         (update-abi): Rewrite to simply compare and conditionally copy the
61372         symlist and the sysdep abilist file.  Remove update-abi-config
61373         checks.
61374         * abilist/ld.abilist: Remove.
61375         * abilist/libBrokenLocale.abilist: Remove.
61376         * abilist/libanl.abilist: Remove.
61377         * abilist/libcrypt.abilist: Remove.
61378         * abilist/libdl.abilist: Remove.
61379         * abilist/librt.abilist: Remove.
61380         * abilist/libthread_db.abilist: Remove.
61381         * abilist/libutil.abilist: Remove.
61382         * scripts/extract-abilist.awk: Remove.
61383         * scripts/merge-abilist.awk: Remove.
61384         * sysdeps/generic/libcidn.abilist: New file.
61385         * sysdeps/generic/libnss_compat.abilist: New file.
61386         * sysdeps/generic/libnss_db.abilist: New file.
61387         * sysdeps/generic/libnss_dns.abilist: New file.
61388         * sysdeps/generic/libnss_files.abilist: New file.
61389         * sysdeps/generic/libnss_hesiod.abilist: New file.
61390         * sysdeps/generic/libnss_nis.abilist: New file.
61391         * sysdeps/generic/libnss_nisplus.abilist: New file.
61392         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61393         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61394         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61395         file.
61396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61397         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61398         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61399         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61400         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61402         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61403         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61404         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61405         file.
61406         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61407         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61408         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61409         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61410         file.
61411         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61412         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61413         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61414         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61415         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61416         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61417         file.
61418         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61419         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61420         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61421         file.
61422         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61424         New file.
61425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61426         New file.
61427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61428         New file.
61429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61430         New file.
61431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61432         New file.
61433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61434         New file.
61435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61436         New file.
61437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61438         New file.
61439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61440         New file.
61441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61442         New file.
61443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61444         New file.
61445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61446         New file.
61447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61448         New file.
61449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61450         file.
61451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61452         New file.
61453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61454         New file.
61455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61456         file.
61457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61458         New file.
61459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61460         New file.
61461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61462         file.
61463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61464         New file.
61465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61466         New file.
61467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61468         New file.
61469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61470         New file.
61471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61472         New file.
61473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61474         New file.
61475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61477         file.
61478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61479         New file.
61480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61481         file.
61482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61483         file.
61484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61485         file.
61486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61487         file.
61488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61489         file.
61490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61491         New file.
61492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61493         file.
61494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61495         file.
61496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61497         New file.
61498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61499         file.
61500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61502         file.
61503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61504         New file.
61505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61506         file.
61507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61508         file.
61509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61510         file.
61511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61512         file.
61513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61514         file.
61515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61516         New file.
61517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61518         file.
61519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61520         file.
61521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61522         New file.
61523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61524         file.
61525         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61526         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61527         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61528         file.
61529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61530         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61531         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61532         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61533         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61534         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61535         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61536         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61537         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61538         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61541         file.
61542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61543         New file.
61544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61545         file.
61546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61547         file.
61548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61549         file.
61550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61551         file.
61552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61553         file.
61554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61555         New file.
61556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61557         New file.
61558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61559         file.
61560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61561         New file.
61562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61563         file.
61564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61566         file.
61567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61568         New file.
61569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61570         file.
61571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61572         file.
61573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61574         file.
61575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61576         file.
61577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61578         file.
61579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61580         New file.
61581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61582         New file.
61583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61584         file.
61585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61586         New file.
61587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61588         file.
61590 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61592         * conform/conformtest.pl: Fix typo in handling typed-constant from
61593         allow-header.
61595 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61597         * README: Cut down references to pre-2.6 Linux kernels and
61598         Linuxthreads.  Update lists of configurations in libc and ports
61599         and sort alphabetically.  Say "or newer" with Linux kernel version
61600         requirements.
61602         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61604 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61606         [BZ #887]
61607         * math/libm-test.inc (logb_test_downward): New test to expose
61608         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61609         rounding mode.
61611 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61613         [BZ #14027]
61614         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61615         to be done.
61616         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61617         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61619 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61621         * sysdeps/unix/i386/brk.S: Remove file.
61622         * sysdeps/unix/i386/dl-brk.S: Likewise.
61623         * sysdeps/unix/i386/pipe.S: Likewise.
61624         * sysdeps/unix/i386/sigreturn.S: Likewise.
61625         * sysdeps/unix/i386/syscall.S: Likewise.
61626         * sysdeps/unix/i386/vfork.S: Likewise.
61627         * sysdeps/unix/i386/wait.S: Likewise.
61629         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61630         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61632         * configure.in (arm*-none*): Do not allow without
61633         --enable-hacker-mode.
61634         (netbsd*): Remove case setting base_os.
61635         (386bsd*): Likewise.
61636         (freebsd*): Likewise.
61637         (bsdi*): Likewise.
61638         (osf*): Likewise.
61639         (sunos*): Likewise.
61640         (ultrix*): Likewise.
61641         (newsos*): Likewise.
61642         (dynix*): Likewise.
61643         (*bsd*): Likewise.
61644         (sysv*): Likewise.
61645         (isc*): Likewise.
61646         (esix*): Likewise.
61647         (sco*): Likewise.
61648         (minix*): Likewise.
61649         (irix4*): Likewise.
61650         (irix6*): Likewise.
61651         (solaris[2-9]*): Likewise.
61652         (none): Likewise.
61653         * configure: Regenerated.
61655 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61657         [BZ #11521]
61658         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61659         overflow or cancellation in calculating denominator.
61660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61661         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61662         down expression to avoid unexpected rounding in newer GCCs.
61663         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61665 2012-04-26  David S. Miller  <davem@davemloft.net>
61667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61668         long-double compat symbols.
61669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61683 2012-04-25  David S. Miller  <davem@davemloft.net>
61685         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61686         HWCAP_* values only after the memory barriers have been defined.
61687         (atomic_full_barrier): Define.
61688         (atomic_read_barrier): Define.
61689         (atomic_write_barrier): Define.
61691 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61693         * shlib-versions: Add libgcc_s version information.
61694         * sysdeps/generic/libgcc_s.h: Remove.
61695         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61696         libgcc_s.h.
61697         * sysdeps/gnu/unwind-resume.c: Likewise.
61698         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61700 2012-04-25  David S. Miller  <davem@davemloft.net>
61702         * sysdeps/unix/sparc/brk.S: Delete.
61703         * sysdeps/unix/sparc/dl-brk.S: Delete.
61704         * sysdeps/unix/sparc/pipe.S: Delete.
61705         * sysdeps/unix/sparc/sysdep.S: Delete.
61706         * sysdeps/unix/sparc/sysdep.h: Delete.
61707         * sysdeps/unix/sparc/vfork.S: Delete.
61708         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61709         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61710         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61711         (ret_ERRVAL, r0, r1, MOVE): Define.
61712         (JUMPTARGET): Remove.
61713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61714         sysdeps/unix/sparc/sysdep.h
61715         (ENTRY, END): Remove.
61716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61718 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61720         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61721         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61722         -DIS_IN_build.
61724         * timezone/README: Update upstream location and email address for
61725         tzcode and tzdata.
61726         * timezone/zdump.c: Update from tzcode 2012b.
61727         * timezone/zic.c: Likewise.
61729         * configure.in (libc_cv_as_needed): Remove test.
61730         * configure: Regenerated.
61731         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61732         conditional definition.
61733         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61734         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61735         * config.make.in (have-as-needed): Remove variable.
61737 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61738             Paul Pluzhnikov  <ppluzhnikov@google.com>
61740         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61741         strings correctly.
61743 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61745         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61746         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61747         * sysdeps/sh/strlen.S: Likewise.
61749 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61751         * sysdeps/unix/fork.S: Remove file.
61752         * sysdeps/unix/i386/fork.S: Likewise.
61753         * sysdeps/unix/sparc/fork.S: Likewise.
61755         * sysdeps/unix/system.c: Remove file.
61756         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61758         * sysdeps/unix/getegid.S: Remove file.
61759         * sysdeps/unix/geteuid.S: Likewise.
61761 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61763         * scripts/check-localplt.awk: New file.
61764         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61765         of diff.
61766         * scripts/data/localplt-generic.data: Add a comment.
61768         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61769         NODE when __dir_mkfile failed.
61770         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61771         Reported by Ludovic Courtès <ludo@gnu.org>.
61773 2012-04-24  Andreas Jaeger  <aj@suse.de>
61775         * Makerules (common-clean): Also remove gen-as-const-headers
61776         files.
61778 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61780         * Makerules (native-compile): Do not change working directory for
61781         build.  Use $(OUTPUT_OPTION) in command.
61782         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61784 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61786         [BZ #13886]
61787         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61788         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61789         * math/libm-test.inc (floor_test): Add more tests.
61790         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61792 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61794         * sysdeps/unix/getdents.c: Remove file.
61795         * sysdeps/unix/sysv/getdents.c: Likewise.
61796         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61798         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61799         sysdeps/unix/mman/syscalls.list.
61800         (mmap): Likewise.
61801         (mprotect): Likewise.
61802         (msync): Likewise.
61803         (munmap): Likewise.
61804         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61805         * sysdeps/unix/mman/syscalls.list: Remove.
61806         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61808         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61809         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61810         * configure: Regenerated.
61811         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61812         $(libgcc_s_suffix).
61813         * config.make.in (libgcc_s_suffix): Remove variable.
61815 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61817         * sysdeps/unix/sysv/gethostname.c: Move to ...
61818         * sysdeps/posix/gethostname.c: ... here.
61820         * sysdeps/unix/execve.S: Remove file.
61822         * sysdeps/unix/_exit.S: Remove file.
61824 2012-04-23  Andreas Jaeger  <aj@suse.de>
61826         [BZ #13739]
61827         * manual/Makefile: Remove make dist support, there's no
61828         need for a stand-alone documentation tar ball.
61829         (TEXI2DVI): Define always, it's not in Makeconfig.
61830         (dist): Removed.
61831         (tar-it): Removed.
61832         (edition): Removed.
61833         (glibc-doc-$(edition).tar): Removed
61834         (%.Z): Removed.
61835         (%.gz): Removed.
61836         (%.uu): Removed.
61837         (ETAGS): Remove, it's in Makeconfig.
61838         (move-if-change): Remove, it's in Makeconfig.
61840 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61842         [BZ #13970]
61843         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61844         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61845         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61846         (strtod_l, strtof_l, strtold_l): Remove __wur.
61847         It is not necessarily an error to ignore strtol's return value.
61848         One can reliably look at the stored endptr to decide whether
61849         the number had valid syntax.
61851 2012-04-21  Andreas Jaeger  <aj@suse.de>
61853         [BZ #13739]
61854         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61856 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61858         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61859         * sysdeps/unix/sysv/Versions: Remove file.
61861 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61863         [BZ #13927]
61864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61866 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61868         [BZ #7064]
61869         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61870         version from __vm86.
61872 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61874         * sysdeps/unix/common/lxstat.c: Remove file.
61875         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61877         * sysdeps/unix/sysv/Makefile: Remove file.
61879         * sysdeps/unix/sysv/direct.h: Remove file.
61881         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61882         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61883         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61884         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61885         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61886         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61887         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61889         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61891         * sysdeps/unix/xmknod.c: Remove file.
61892         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61894         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61896         * sysdeps/unix/sysv/i386/time.S: Remove file.
61898         * sysdeps/unix/fxstat.c: Remove file.
61899         * sysdeps/unix/xstat.c: Likewise.
61900         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61902         * sysdeps/unix/sysv/sigaction.c: Remove file.
61904         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61905         (sysdep_headers): Remove variable.
61906         [termio.h not in sysdep_headers] (generated): Likewise.
61907         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61908         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61909         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61910         * sysdeps/unix/sysv/tcflow.c: Likewise.
61911         * sysdeps/unix/sysv/tcflush.c: Likewise.
61912         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61913         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61914         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61915         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61916         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61918         * sysdeps/unix/siglist.c: Remove file.
61920         * sysdeps/unix/getppid.S: Remove file.
61922         * sysdeps/unix/mkdir.c: Remove file.
61923         * sysdeps/unix/rmdir.c: Likewise.
61925 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61927         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61928         ERR_MAX value.
61929         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61930         errlist-compat value.
61932 2012-04-18  David S. Miller  <davem@davemloft.net>
61934         * sysdeps/generic/memcopy.h (reg_char): Delete.
61935         * debug/strcat_chk.c: Use char, not reg_char.
61936         * debug/strcpy_chk.c: Likewise.
61937         * debug/strncat_chk.c: Likewise.
61938         * debug/strncpy_chk.c: Likewise.
61939         * string/memchr.c: Likewise.
61940         * string/memrchr.c: Likewise.
61941         * string/rawmemchr.c: Likewise.
61942         * string/strcat.c: Likewise.
61943         * string/strchr.c: Likewise.
61944         * string/strchrnul.c: Likewise.
61945         * string/strcmp.c: Likewise.
61946         * string/strcpy.c: Likewise.
61947         * string/strncat.c: Likewise.
61948         * string/strncmp.c: Likewise.
61949         * string/strncpy.c: Likewise.
61951 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61953         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61954         __builtin_memcopy is called when src and dest ranges are known to not
61955         overlap.
61957 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61959         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61960         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61961         fwd_align_merge macro call.
61962         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61963         bwd_align_merge macro call.
61964         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61966 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61968         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61969         bwd_align_merge macros.
61970         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61971         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61974 2012-04-18  David S. Miller  <davem@davemloft.net>
61976         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61978 2012-04-18  Andreas Jaeger  <aj@suse.de>
61980         [BZ# 6794]
61981         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61982         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61983         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61986         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61989         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61990         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61991         Adjust for changed ldbl-128 files.
61993         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61994         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61995         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61997 2012-04-17  David S. Miller  <davem@davemloft.net>
61999         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62001 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62003         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62004         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62005         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62006         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62007         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62008         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62010 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62012         [BZ #6794]
62013         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62014         * math/libm-test.inc: Add ilogb errno and exception tests.
62015         * math/w_ilogb.c: New file: ilogb wrapper.
62016         * math/w_ilogbf.c: New file: ilogbf wrapper.
62017         * math/w_ilogbl.c: New file: ilogbl wrapper.
62018         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62019         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62020         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62021         exception being thrown with 0.0 as argument.
62022         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62023         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62024         exception being thrown with 0.0 as argument.
62025         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62026         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62027         exception being thrown with 0.0 as argument.
62028         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62029         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62030         exception being thrown with 0.0 as argument.
62031         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62032         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62033         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62034         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62035         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62036         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62037         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62038         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62039         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62041 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62043         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62044         with altivec.
62046 2012-04-16  Marek Polacek  <polacek@redhat.com>
62048         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62050 2012-04-16  Marek Polacek  <polacek@redhat.com>
62052         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62053         operands of fdivp instruction.
62055 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62057         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62058         * elf/tst-auditmod3b.c: Likewise.
62059         * elf/tst-auditmod4b.c: Likewise.
62060         * elf/tst-auditmod5b.c: Likewise.
62061         * elf/tst-auditmod6b.c: Likewise.
62062         * elf/tst-auditmod6c.c: Likewise.
62063         * elf/tst-auditmod7b.c: Likewise.
62064         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62065         * sysdeps/x86_64/preconfigure.in: Likewise.
62066         * sysdeps/x86_64/preconfigure: Regenerated.
62068 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62070         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62071         __ILP32__.
62073 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62076         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62078 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62080         [BZ #13973]
62081         * locale/iso-639.def: Fix gl language name. Spotted by
62082         Yaron Shahrabani.
62084 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62086         [BZ #2074]
62087         * libio/libio.h (__io_write_fn): Update comment.
62089 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62091         [BZ #2074]
62092         * stdio.texi (Hook Functions): The user provided writer function
62093         is not allowed to return -1.
62095 2012-04-11  David S. Miller  <davem@davemloft.net>
62097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62099 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62101         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62102         Add a leading slash to rtkaio.
62104 2012-04-11  Jim Meyering  <meyering@redhat.com>
62106         [BZ #11959]
62107         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62108         It is not necessarily an error to ignore fwrite's return
62109         value.  One can reliably use ferror to test for errors after
62110         the fact.
62112 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62114         * bits/types.h (__snseconds_t): New type.
62115         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62117         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62118         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62119         (__SNSECONDS_T_TYPE): Likewise.
62120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62121         (__SNSECONDS_T_TYPE): Likewise.
62122         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62123         (__SNSECONDS_T_TYPE): Likewise.
62125 2012-04-10  Andreas Jaeger  <aj@suse.de>
62127         [BZ #2636]
62128         * manual/time.texi (Processor Time): Return type of times is
62129         elapsed real time since an arbitrary point in the past.
62130         (CPU Time): Move CLK_TCK from here...
62131         (Processor Time): ...to here.  Correct description.
62132         * manual/conf.texi (Constants for Sysconf): Correct description of
62133         _SC_CLK_TCK.
62135 2012-04-10  David S. Miller  <davem@davemloft.net>
62137         [BZ #13967]
62138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62139         where the is a gap between DT_REL(A) and DT_JMPREL.
62141 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62143         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62144         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62145         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62147 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62149         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62150         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62151         (dl_main): Handle --inhibit-cache.
62152         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62153         _dl_inhibit_cache.
62154         * elf/dl-load.c (_dl_map_object): Use it.
62155         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62157 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62159         [BZ #13872]
62160         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62161         (__ieee754_powl): Saturate large exponents rather than testing for
62162         overflow of y*log2(x).
62163         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62164         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62165         exceptions.
62167         [BZ #11521]
62168         * math/s_ctan.c: Include <float.h>.
62169         (__ctan): Avoid internal overflow or cancellation in calculating
62170         denominator.
62171         * math/s_ctanf.c: Likewise.
62172         * math/s_ctanl.c: Likewise.
62173         * math/s_ctanh.c: Likewise.
62174         * math/s_ctanhf.c: Likewise.
62175         * math/s_ctanhl.c: Likewise.
62176         * math/libm-test.inc (ctan_test): Add more tests.
62177         (ctanh_test): Likewise.
62178         * sysdeps/i386/fpu/libm-test-ulps: Update.
62179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62181 2012-04-09  Andreas Jaeger  <aj@suse.de>
62183         [BZ #6894]
62184         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62185         is an optional BSD extension.
62187         [BZ #10254]
62188         * manual/stdio.texi (Opening Streams): Document additional fopen
62189         parameters.
62191 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62193         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62194         %eax without telling the compiler.
62196 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62198         [BZ # 13963]
62199         * manual/install.texi: Use sourceware.org.
62201 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62203         [BZ #13873]
62204         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62205         (__ieee754_pow): Generate overflow and underflow using huge*huge
62206         and tiny*tiny rather than just returning constant infinity or zero
62207         for large exponents.
62208         * math/libm-test.inc (pow_test): Require overflow exceptions for
62209         applicable cases of large exponents.
62211         [BZ #706]
62212         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62213         (__ieee754_pow): Use iterative multiplication algorithm only for
62214         integer exponents with absolute value below 1024.  Check for odd
62215         integer exponents when using algorithm for real exponents.
62216         * math/libm-test.inc (pow_test): Add more tests.
62217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62219 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62221         [BZ #13705]
62222         * math/libm-test.inc (exp_test): Do not allow overflow exception
62223         on underflow test.
62225 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62227         [BZ #13705]
62228         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62229         instead of __kernel_standard_f.
62231 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62233         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62234         * sysdeps/x86_64/memset_chk.S: Likewise.
62236 2012-04-08  Andreas Jaeger  <aj@suse.de>
62238         [BZ #10153]
62239         * manual/startup.texi (Environment Access): Describe return value
62240         for putenv and setenv.
62242         [BZ #6895]
62243         * manual/filesys.texi (Directory Entries): Add description for
62244         DT_LNK.
62246         [BZ #6890]
62247         * manual/filesys.texi (Directory Entries): Clarify that it's file
62248         system not operating system in the description of DT_UNKNOWN.
62250         [BZ #6578]
62251         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62253 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62255         [BZ #6649]
62256         * manual/llio.texi (Opening and Closing Files): Add cross
62257         reference to explain mode argument.
62259 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62261         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62262         * sysdeps/x86_64/memset_chk.S: Likewise.
62264 2012-04-07  David S. Miller  <davem@davemloft.net>
62266         * elf/elf.h (R_SPARC_WDISP10): Define.
62267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62268         R_SPARC_SIZE32.
62269         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62270         R_SPARC_SIZE64 and R_SPARC_H34.
62272 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62274         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62275         conditions and remove no longer applicable assertion.
62277 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62279         * bits/byteswap.h: Include <features.h>.
62280         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62281         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62283 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62285         * bits/byteswap.h (__bswap_16): Removed.
62286         Include <bits/byteswap-16.h> to get __bswap_16.
62287         * sysdeps/i386/bits/byteswap.h: Likewise.
62288         * sysdeps/s390/bits/byteswap.h: Likewise.
62289         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62290         * bits/byteswap-16.h: New file.
62291         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62292         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62293         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62294         * string/Makefile (headers): Add bits/byteswap-16.h.
62296 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62298         [BZ #13895]
62299         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62300         extra indirection.
62301         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62302         * nss/tst-nss-static.c: New.
62304 2012-04-06  Robert Millan  <rmh@gnu.org>
62306         [BZ #6486]
62307         * manual/llio.texi (File Position Primitive): lseek
62308         refers to WHENCE when it really means OFFSET.
62310 2012-04-06  Andreas Jaeger  <aj@suse.de>
62312         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62313         strncmp declarations.
62315         * abilist/libc.abilist: Add __poll and __ppoll.
62317 2012-04-05  David S. Miller  <davem@davemloft.net>
62319         * scripts/check-local-headers.sh: Accept a host triplet in the
62320         path matched by the exclude regexp.
62322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62323         definition.
62324         * sysdeps/powerpc/powerpc32/dl-machine.h
62325         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62326         * sysdeps/s390/s390-32/dl-machine.h
62327         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62328         * sysdeps/sparc/sparc32/dl-machine.h
62329         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62330         * sysdeps/sparc/sparc64/dl-machine.h
62331         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62333         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62334         lazy binding.
62335         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62336         undefined symbol errors.
62338         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62339         DT_NEEDED entries.
62341 2012-04-05  Michael Matz  <matz@suse.de>
62343         [BZ #13592]
62344         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62346 2012-04-05  Andreas Jaeger  <aj@suse.de>
62348         [BZ #13908]
62349         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62350         comment.
62352 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62354         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62355         which ROUND is no valid rounding mode.
62357 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62359         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62360         read again.
62361         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62363 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62365         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62366         an exception using FPU order intentionally.
62368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62370         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62371         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62372         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62373         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62375 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62377         [BZ #12340]
62378         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62379         EINVAL when BUFLEN is too smal.
62381 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62383         [BZ #13553]
62384         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62385         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62387 2012-04-03  Andreas Jaeger  <aj@suse.de>
62389         [BZ #13938]
62390         * manual/setjmp.texi (System V contexts): Fix sentence.
62392         [BZ #13926]
62393         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62394         New macro for this case.
62395         [!__GNUC__] (__bswap_64): New inline function for this case.
62396         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62397         * bits/byteswap.h: Likewise.
62398         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62399         ull, guard with __GLIBC_HAVE_LONG_LONG.
62401         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62402         __GLIBC_HAVE_LONG_LONG.
62404         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62405         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62407 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62409         [BZ #13691]
62410         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62411         inptr and inend, rather than using last_ch.
62413 2012-04-02  David S. Miller  <davem@davemloft.net>
62415         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62416         * stdio-common/printf-parse.h (read_int): Change return type to
62417         'int', return -1 on INT_MAX overflow.
62418         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62419         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62420         overflows INT_MAX.  Check for overflow of in-format-string precision
62421         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62422         SIZE_MAX not INT_MAX for integer overflow test.
62423         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62424         skip the construct in the format string but do not record anything.
62425         * stdio-common/bug22.c: Adjust to test both width/prevision
62426         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62427         explicitly for proper errno values.
62429 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62431         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62432         CHAR_MAX.
62433         * string/test-strcmp.c [! WIDE]: Likewise.
62434         * time/tst-mktime2.c: Likewise for INT_MAX.
62435         * string/test-string.h: #include <sys/param.h> for MIN.
62437         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62438         * sysdeps/i386/init-first.c (init): Likewise.
62439         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62440         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62441         * sysdeps/sh/init-first.c (init): Likewise.
62443 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62445         * po/ru.po: Update from translation team.
62446         * po/vi.po: Likewise.
62448 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62450         * resolv/nss_dns/dns-host.c: Merge copyright years.
62452 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62454         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62455         Optimize memcpy with prefetch if
62456         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62457         src, dst pointers have unequal 16 byte alignments.
62459 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62461         [BZ #13928]
62462         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62463         from a CNAME entry and return the minimum ttl for the query.
62464         (gaih_getanswer_slice): Likewise.
62466 2012-03-30  Jeff Law  <law@redhat.com>
62468         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62469         due to long keys.
62470         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62471         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62473         * resolv/nss_dns/dns-host.c: Update copyright year.
62475 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62477         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62478         requests to save a system call.  Fix check that all bytes are sent.
62480         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62481         comments for sendmmsg.
62483 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62485         [BZ #13691]
62486         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62487         with only 1 character between 0x0041 and 0x01b0.
62488         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62489         * wcsmbs/tst-mbsnrtowcs.c: New file.
62491 2012-03-29  David S. Miller  <davem@davemloft.net>
62493         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62494         small copies by hand.
62496 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62498         [BZ #13761]
62499         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62500         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62501         group memberships.
62503 2012-03-28  David S. Miller  <davem@davemloft.net>
62505         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62506         that branches into memcpy.
62507         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62510         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62512         bits.
62513         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62514         implementation too.
62515         * sysdeps/sparc/mempcpy.S: New file.
62517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62518         the IFUNC routine in the libc case.
62519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62521         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62522         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62523         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62524         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62525         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62526         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62527         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62528         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62530         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62531         loop to 256 bytes instead of 64 bytes and fix test signedness.
62533         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62534         * sysdeps/sparc/sparc32/Makefile: rather than here...
62535         * sysdeps/sparc/sparc64/Makefile: and here.
62537 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62539         * malloc/mallocbug.c: Avoid warnings about unused variables.
62541 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62543         [BZ #13760]
62544         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62545         in the right place. Discard and retry query if response is
62546         larger than input buffer size.
62548 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62550         [BZ #369]
62551         [BZ #2678]
62552         [BZ #3866]
62553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62554         x for large integer exponent.
62555         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62556         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62557         sign of result as needed afterwards.
62558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62559         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62560         result for underflowing pow the same as for overflow.
62561         (__kernel_standard_l): Handle powl overflow and underflow here
62562         rather than calling __kernel_standard.
62563         * math/libm-test.inc (pow_test): Add more tests.
62565         [BZ #3868]
62566         [BZ #13879]
62567         [BZ #13910]
62568         [BZ #13911]
62569         [BZ #13912]
62570         [BZ #13913]
62571         [BZ #13915]
62572         [BZ #13916]
62573         [BZ #13917]
62574         [BZ #13918]
62575         [BZ #13919]
62576         [BZ #13920]
62577         [BZ #13921]
62578         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62579         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62580         (__kernel_standard_l): New function.
62581         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62582         __kernel_standard.
62583         * math/w_acosl.c (__acosl): Likewise.
62584         * math/w_asinl.c (__asinl): Likewise.
62585         * math/w_atan2l.c (__atan2l): Likewise.
62586         * math/w_atanhl.c (__atanhl): Likewise.
62587         * math/w_coshl.c (__coshl): Likewise.
62588         * math/w_exp10l.c (__exp10l): Likewise.
62589         * math/w_exp2l.c (__exp2l): Likewise.
62590         * math/w_fmodl.c (__fmodl): Likewise.
62591         * math/w_hypotl.c (__hypotl): Likewise.
62592         * math/w_j0l.c (__j0l, __y0l): Likewise.
62593         * math/w_j1l.c (__j1l, __y1l): Likewise.
62594         * math/w_jnl.c (__jnl, __ynl): Likewise.
62595         * math/w_lgammal.c (__lgammal): Likewise.
62596         * math/w_log10l.c (__log10l): Likewise.
62597         * math/w_log2l.c (__log2l): Likewise.
62598         * math/w_logl.c (__logl): Likewise.
62599         * math/w_powl.c (__powl): Likewise.
62600         * math/w_remainderl.c (__remainderl): Likewise.
62601         * math/w_scalbl.c (sysv_scalbl): Likewise.
62602         * math/w_sinhl.c (__sinhl): Likewise.
62603         * math/w_sqrtl.c (__sqrtl): Likewise.
62604         * math/w_tgammal.c (__tgammal): Likewise.
62605         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62606         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62607         * math/libm-test.inc (acos_test): Add more tests.
62608         (acosh_test): Likewise.
62609         (asin_test): Likewise.
62610         (atanh_test): Likewise.
62611         (exp_test): Likewise.
62612         (exp10_test): Likewise.
62613         (exp2_test): Likewise.
62614         (expm1_test): Likewise.
62615         (lgamma_test): Likewise.
62616         (log_test): Likewise.
62617         (log10_test): Likewise.
62618         (log1p_test): Likewise.
62619         (log2_test): Likewise.
62620         (pow_test): Do not allow some spurious overflow exceptions.
62621         (sqrt_test): Add more tests.
62622         (tgamma_test): Likewise.
62623         (y0_test): Likewise.
62624         (y1_test): Likewise.
62625         (yn_test): Likewise.
62627 2012-03-27  Anton Blanchard  <anton@samba.org>
62629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62630         MAP_HUGETLB.
62631         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62632         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62633         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62635 2012-03-27  David S. Miller  <davem@davemloft.net>
62637         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62639         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62640         have-as-vis3 check.
62642 2012-03-27  Andreas Jaeger  <aj@suse.de>
62644         * sysdeps/x86_64/elf/configure.in: Moved to ...
62645         * sysdeps/x86_64/configure.in: ... here.
62646         * sysdeps/x86_64/elf/start.S: Moved to ...
62647         * sysdeps/x86_64/start.S: ... here.
62648         * sysdeps/x86_64/elf/configure: Delete.
62650         * sysdeps/x86_64/configure.in: Merge contents from
62651         sysdeps/i386/configure.in (without i686 check).
62653         * sysdeps/i386/elf/Versions: Merge into ...
62654         * sysdeps/i386/Versions: ... this.
62655         * sysdeps/i386/elf/Versions: Delete file.
62656         * sysdeps/i386/elf/start.S: Moved to ...
62657         * sysdeps/i386/start.S: ...here.
62658         * sysdeps/i386/elf/configure.in: Merge into...
62659         * sysdeps/i386/configure.in: ...here.
62660         * sysdeps/i386/elf/configure.in: Delete file.
62661         * sysdeps/i386/elf/configure: Delete file.
62663         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62664         * debug/backtracesyms.c: ... here.
62665         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62666         * debug/backtracesymsfd.c: ... here.
62667         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62668         * sysdeps/generic/ifunc-sel.h: ... here.
62670         * sysdeps/unix/i386/start.c: Delete file.
62671         * sysdeps/unix/sparc/start.c: Delete file.
62672         * sysdeps/unix/start.c: Delete file.
62674         * sysdeps/sh/elf/configure.in: Moved to ...
62675         * sysdeps/sh/configure.in: ... here.
62676         * sysdeps/sh/elf/start.S: Moved to ...
62677         * sysdeps/sh/start.S: ... here.
62678         * sysdeps/sh/elf/configure: Delete file.
62680         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62681         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62682         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62683         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62684         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62685         * sysdeps/powerpc/powerpc64/start.S: here.
62686         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62687         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62688         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62689         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62690         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62692         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62693         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62694         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62695         * sysdeps/powerpc/powerpc32/start.S: ... here.
62696         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62697         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62698         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62700         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62701         * sysdeps/powerpc/ifunc-sel.h: ... here.
62702         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62703         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62705         * sysdeps/sparc/elf/configure.in: Moved to ...
62706         * sysdeps/sparc/configure.in: ... here.
62707         * sysdeps/sparc/elf/configure: Delete file.
62708         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62709         * sysdeps/sparc/sparc32/start.S: ... here.
62710         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62711         * sysdeps/sparc/sparc64/start.S: ... here.
62712         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62713         * sysdeps/sparc/sparc32/Makefile: ... this.
62714         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62715         * sysdeps/sparc/sparc64/Makefile: ... this.
62717         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62718         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62719         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62720         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62721         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62722         * sysdeps/s390/s390-32/setjmp.S: ... here.
62723         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62724         * sysdeps/s390/s390-32/configure.in: ... here.
62725         * sysdeps/s390/s390-32/elf/configure: Delete file.
62726         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62727         * sysdeps/s390/s390-32/start.S: ... here.
62729         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62730         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62731         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62732         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62733         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62734         * sysdeps/s390/s390-64/setjmp.S: ... here.
62735         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62736         * sysdeps/s390/s390-64/configure.in: ... here
62737         * sysdeps/s390/s390-64/elf/configure: Delete file.
62738         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62739         * sysdeps/s390/s390-64/start.S: ... here.
62740         * sysdeps/s390/s390-64/elf/configure: Delete.
62742         * configure.in: Remove support for elf directories in sysdeps.
62744         * configure: Regenerated.
62745         * sysdeps/i386/configure: Regenerated.
62746         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62747         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62748         * sysdeps/s390/s390-32/configure: Regenerated.
62749         * sysdeps/s390/s390-64/configure: Regenerated.
62750         * sysdeps/sh/configure: Regenerated.
62751         * sysdeps/sparc/configure: Regenerated.
62752         * sysdeps/x86_64/configure: Regenerated.
62754 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62759         denormal result into account.
62761 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62763         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62764         Reported by Allan McRae <allan@archlinux.org>.
62766 2012-03-23  Jeff Law  <law@redhat.com>
62768         * nss/getnssent.c (__nss_getent): Fix typo.
62770 2012-03-23  David S. Miller  <davem@davemloft.net>
62772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62774 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62776         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62777         to pad to uint64_t for each field.
62778         (dl_tls_index): Replace unsigned long with uint64_t.
62780 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62781         Paul Pluzhnikov  <ppluzhnikov@google.com>
62783         [BZ #6528]
62784         * grp/Makefile (otherlibs): Don't set it.
62785         * inet/Makefile (otherlibs): Likewise.
62786         * login/Makefile (otherlibs): Likewise.
62787         * nscd/Makefile (otherlibs): Likewise.
62788         * posix/Makefile (otherlibs): Likewise.
62789         * pwd/Makefile (otherlibs): Likewise.
62790         * rt/Makefile (otherlibs): Likewise.
62791         * sunrpc/Makefile (otherlibs): Likewise.
62792         * nss/Makefile (otherlibs): Likewise.
62793         Add libnss_files to routines and static-only-routines.
62794         ($(objpfx)getent): Remove rule.
62795         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62796         static-only-routines.
62798 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62800         [BZ #13892]
62801         * math/s_cexp.c: Include <float.h>.
62802         (__cexp): Handle exp result overflowing not necessarily
62803         overflowing both real and imaginary parts of result.
62804         * math/s_cexpf.c: Likewise.
62805         * math/s_cexpl.c: Likewise.
62806         * math/libm-test.inc (cexp_test): Add more tests.
62807         * sysdeps/i386/fpu/libm-test-ulps: Update.
62808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62810 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62812         * include/link.h (ELFW): New macro.
62813         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62814         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62816 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62818         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62819         with uint64_t.
62821 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62823         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62824         declaration.
62825         (struct La_x32_retval): Likewise.
62827 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62829         * sysdeps/x86_64/preconfigure.in: New file.
62830         * sysdeps/x86_64/preconfigure: New generated file.
62832 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62834         [BZ #13824]
62835         * math/e_exp2l.c: Include <float.h>.
62836         (__ieee754_exp2l): Handle overflow and underflow cases
62837         separately.  Only pass fractional part of argument to
62838         __ieee754_expl.
62839         * math/libm-test.inc (exp2_test): Add more tests.
62841         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62842         negating x to take absolute value.
62843         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62844         Likewise.
62845         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62846         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62847         Likewise.
62848         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62849         computing low part if x was negated.
62850         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62852 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62854         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62855         la_x32_gnu_pltexit.
62856         (pltexit): Cast int_retval to ptrdiff_t.
62857         * elf/tst-auditmod3b.c: Likewise.
62858         * elf/tst-auditmod4b.c: Likewise.
62859         * elf/tst-auditmod5b.c: Likewise.
62860         * elf/tst-auditmod6b.c: Likewise.
62861         * elf/tst-auditmod6c.c: Likewise.
62862         * elf/tst-auditmod7b.c: Likewise.
62864         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62865         and x32_gnu_pltexit.
62867         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62868         __ELF_NATIVE_CLASS.
62869         (La_x32_regs): New macro.
62870         (La_x32_retval): Likewise.
62871         (la_x32_gnu_pltenter): New function prototype.
62872         (la_x32_gnu_pltexit): Likewise.
62874 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62876         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62877         exponent.
62879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62881         * configure.in (libc_cv_cc_nofma): Check for option to disable
62882         generation of FMA instructions.
62883         * configure: Regenerate.
62884         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62885         * sysdeps/ieee754/dbl-64/Makefile: New file.
62886         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62887         Remove brandred-fma4.
62888         (CFLAGS-brandred-fma4.c): Remove.
62889         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62890         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62891         define.
62892         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62893         define.
62895 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62897         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62898         LLONG_MAX != LONG_MAX.
62899         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62900         (_fitoa_word): Likewise.
62901         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62902         LLONG_MAX != LONG_MAX.
62903         * stdio-common/_itowa.h: Include <_itoa.h>.
62904         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62905         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62906         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62907         only if not defined.
62908         (_ITOA_WORD_TYPE): Likewise.
62909         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62910         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62912 2012-03-21  David S. Miller  <davem@davemloft.net>
62914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62916 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62918         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62919         of x86_64 when setting libc_cv_slibdir, libdir and
62920         libc_cv_localedir.
62921         * sysdeps/unix/sysv/linux/configure: Regenerated.
62923 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62925         * manual/lang.texi (Old Varargs): Remove section.
62926         (How Variadic): Update menu.
62927         (va_start): Do not mention varargs.h.
62929 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62930             Joseph Myers  <joseph@codesourcery.com>
62932         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62933         link test.
62934         * configure: Regenerated.
62936 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62938         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62939         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62940         conformtest.pl
62942 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62944         * NOTES: Remove.
62945         * Makefile (files-for-dist): Remove NOTES.
62946         (NOTES): Remove rule.
62947         * README: Don't refer to NOTES.
62948         * manual/creature.texi: Don't include macros.texi.
62949         * manual/intro.texi (creature.texi): Remove comment referring to
62950         NOTES.
62952         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62953         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62954         * configure: Regenerated.
62955         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62956         LIBC_TRY_CC_OPTION.
62957         (libc_cv_as_i686): Likewise.
62958         (libc_cv_cc_avx): Likewise.
62959         (libc_cv_cc_sse2avx): Likewise.
62960         (libc_cv_cc_fma4): Likewise.
62961         (libc_cv_cc_novzeroupper): Likewise.
62962         * sysdeps/i386/configure: Regenerated.
62964         [BZ #13883]
62965         * sysdeps/i386/fpu/s_cexp.S: Remove.
62966         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62967         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62968         * math/libm-test.inc (cexp_test): Add more tests.
62969         * sysdeps/i386/fpu/libm-test-ulps: Update.
62970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62972 2012-03-21  Allan McRae  <allan@archlinux.org>
62974         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62976 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62978         [BZ #13871]
62979         * math/w_exp2.c: Do not include <float.h>.
62980         (o_threshold, u_threshold): Remove.
62981         (__exp2): Calculate result before checking finiteness and calling
62982         __kernel_standard.
62983         * math/w_exp2f.c: Likewise.
62984         * math/w_exp2l.c: Likewise.
62985         * math/libm-test.inc (exp2_test): Require overflow exception for
62986         1e6 input.
62988         [BZ #3866]
62989         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62990         range of signed 64-bit integers before using fistpll.  Remove
62991         checks for whether integers fit in mantissa bits.
62992         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62993         the range of signed 32-bit integers before using fistpl.  Remove
62994         checks for whether integers fit in mantissa bits.
62995         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62996         (__ieee754_powl): Test for y outside the range of signed 64-bit
62997         integers before using fistpll.  Reduce 64-bit values to 63-bit
62998         ones as needed.
62999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63000         divide-by-zero is raised for zero to large negative powers.
63001         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63002         (__ieee754_powl): Test for y outside the range of signed 64-bit
63003         integers before using fistpll.  Reduce 64-bit values to 63-bit
63004         ones as needed.
63005         * math/libm-test.inc (pow_test): Add more tests.
63007 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63009         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63010         <stdio-common/_itoa.h>.
63011         * debug/segfault.c: Likewise.
63012         * elf/dl-cache.c: Likewise.
63013         * elf/dl-minimal.c: Likewise.
63014         * elf/dl-misc.c: Likewise.
63015         * elf/dl-sysdep.c: Likewise.
63016         * elf/dl-version.c: Likewise.
63017         * elf/rtld.c: Likewise.
63018         * hurd/hurdsock.c: Likewise.
63019         * hurd/lookup-retry.c: Likewise.
63020         * malloc/malloc.c: Likewise.
63021         * malloc/mtrace.c: Likewise.
63022         * nscd/nscd_getgr_r.c: Likewise.
63023         * nscd/nscd_getpw_r.c: Likewise.
63024         * nscd/nscd_getserv_r.c: Likewise.
63025         * posix/getopt_init.c: Likewise.
63026         * posix/wordexp.c: Likewise.
63027         * stdio-common/_itoa.c: Likewise.
63028         * stdio-common/printf_fphex.c: Likewise.
63029         * stdio-common/vfprintf.c: Likewise.
63030         * string/_strerror.c: Likewise.
63031         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63032         * sysdeps/i386/i686/hp-timing.h: Likewise.
63033         * sysdeps/mach/_strerror.c: Likewise.
63034         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63035         * sysdeps/mach/hurd/sethostid.c: Likewise.
63036         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63037         * sysdeps/mach/xpg-strerror.c: Likewise.
63038         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63039         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63040         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63041         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63042         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63043         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63044         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63045         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63046         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63047         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63048         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63049         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63050         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63051         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63052         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63053         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63054         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63055         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63056         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63057         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63058         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63060         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63062         * stdio-common/_itoa.h: Moved to ...
63063         * sysdeps/generic/_itoa.h: Here.
63065         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63067         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63068         instead of "_itoa.h" and "_itowa.h".
63069         * stdio-common/vfprintf.: Likewise.
63071 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63073         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63074         <bits/wordsize.h>.
63075         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63076         (__signbit): Likwise.
63077         (llrintf): Likwise.
63078         (llrint): Likwise.
63080 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63082         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63083         __WORDSIZE != 64.
63085 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63087         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63088         OVERFLOW_EXCEPTION_OK.
63089         * math/libm-test.inc ("Philosophy"): Update comment about
63090         exception testing.
63091         (OVERFLOW_EXCEPTION): Define.
63092         (OVERFLOW_EXCEPTION_OK): Likewise.
63093         (INVALID_EXCEPTION_OK): Renumber.
63094         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63095         (IGNORE_ZERO_INF_SIGN): Likewise.
63096         (test_exceptions): Handle FE_OVERFLOW.
63097         (exp10_test): Expect overflow exceptions.
63098         (exp2_test): Likewise.
63099         (expm1_test): Likewise.
63100         (nextafter_test): Likewise.
63101         (pow_test): Likewise.
63102         (scalbn_test): Likewise.
63103         (scalbln_test): Likewise.
63105 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63107         * sysdeps/x86_64/bits/atomic.h
63108         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63109         64bit integer.
63110         (atomic_exchange_acq): Likewise.
63111         (__arch_exchange_and_add_body): Likewise.
63112         (__arch_add_body): Likewise.
63113         (atomic_add_negative): Likewise.
63114         (atomic_add_zero): Likewise.
63116 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63118         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63119         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63123         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63124         Check __x86_64__ instead of __WORDSIZE.
63126 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63128         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63130 2012-03-19  David S. Miller  <davem@davemloft.net>
63132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63134         * sysdeps/sparc/fpu/fenv_private.h: New file.
63135         * sysdeps/sparc/fpu/math_private.h: Use it.
63136         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63137         Remove.
63138         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63139         (libc_feholdexcept_setroundl): Remove.
63140         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63141         Remove.
63142         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63143         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63145 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63147         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63148         int64_t instead of long int.
63149         (INSERT_WORDS64): Likwise.
63151 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63153         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63154         _Unwind_GetCFA return to _Unwind_Ptr first.
63156 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63158         [BZ #13629]
63159         * math/s_clog.c: Include <float.h>.
63160         (__clog): Scale large or subnormal inputs.
63161         * math/s_clogf.c: Likewise.
63162         * math/s_clogl.c: Likewise.
63163         * math/s_clog10.c: Include <float.h>.
63164         (M_LOG10_2): Define.
63165         (__clog10): Scale large or subnormal inputs.
63166         * math/s_clog10f.c: Likewise.
63167         * math/s_clog10l.c: Likewise.
63168         * math/libm-test.inc (clog_test): Add more tests.
63169         (clog10_test): Likewise.
63170         * sysdeps/i386/fpu/libm-test-ulps: Update.
63171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63173         [BZ #11451]
63174         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63175         x and y.
63176         * math/libm-test.inc (atan2_test): Add another test.
63178         * Makerules (common-objdir-compile): Remove.
63179         * sysdeps/unix/Makefile (config-generated): Do not add
63180         $(unix-generated) to variable.
63181         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63182         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63183         Remove rule.
63184         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63185         Likewise.
63186         [generic bits/local_lim.h] (before-compile): Do not append to
63187         variable.
63188         [generic bits/local_lim.h] (common-generated): Likewise.
63189         [generic sys/param.h] (before-compile): Do not append to variable.
63190         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63191         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63192         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63193         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63194         include.
63195         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63196         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63197         [generic sys/param.h] ($(addprefix
63198         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63199         [generic sys/param.h] (common-generated): Do not append to
63200         variable.
63201         [generic sys/param.h] (sysdep_headers): Likewise.
63202         [generic bits/errno.h] (before-compile): Do not append to
63203         variable.
63204         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63205         rule.
63206         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63207         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63208         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63209         [generic bits/errno.h] (common-generated): Do not append to
63210         variable.
63211         [generic bits/ioctls.h] (before-compile): Do not append to
63212         variable.
63213         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63214         rule.
63215         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63216         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63217         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63218         rule.
63219         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63220         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63221         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63222         [generic bits/ioctls.h] (common-generated): Do not append to
63223         variable.
63224         [generic sys/syscall.h] (syscall.h): Remove variable.
63225         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63226         rule.
63227         [generic sys/syscall.h] (before-compile): Do not append to
63228         variable.
63229         [generic sys/syscall.h] (common-generated): Likewise.
63230         * sysdeps/unix/errnos-tmpl.c: Remove file.
63231         * sysdeps/unix/errnos.awk: Likewise.
63232         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63233         * sysdeps/unix/ioctls.awk: Likewise.
63234         * sysdeps/unix/mk-local_lim.c: Likewise.
63235         * sysdeps/unix/snarf-ioctls: Likewise.
63237 2012-03-19  Richard Henderson  <rth@twiddle.net>
63239         * sysdeps/i386/fpu/fenv_private.h: New file.
63240         * sysdeps/i386/fpu/math_private.h: Use it.
63241         (math_opt_barrier, math_force_eval): Remove.
63242         (libc_feholdexcept_setround_53bit): Remove.
63243         (libc_feupdateenv_53bit): Remove.
63244         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63245         (math_opt_barrier, math_force_eval): Remove.
63246         (libc_feholdexcept): Remove.
63247         (libc_feholdexcept_setround): Remove.
63248         (libc_fetestexcept, libc_fesetenv): Remove.
63249         (libc_feupdateenv_test): Remove.
63250         (libc_feupdateenv, libc_feholdsetround): Remove.
63251         (libc_feresetround): Remove.
63253         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63254         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63256         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63257         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63258         (libc_feupdateenv_testl): New.
63259         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63260         (libc_feupdateenv_testf): New.
63261         (libc_feupdateenv): Use libc_feupdateenv_test.
63262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63263         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63265         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63266         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63267         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63268         (libc_feresetround_noex): New.
63269         (libc_feresetround_noexf): New.
63270         (libc_feresetround_noexl): New.
63271         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63272         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63273         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63274         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63275         SET_RESTORE_ROUND.
63276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63278         (__cos): Likewise.
63279         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63280         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63281         SET_RESTORE_ROUND_NOEX.
63282         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63283         SET_RESTORE_ROUND_NOEXF.
63284         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63285         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63286         (libc_feholdsetroundf): New.
63287         (libc_feresetround, libc_feresetroundf): New.
63289         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63290         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63291         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63293         * sysdeps/generic/math_private.h: Include <fenv.h>.
63294         (default_libc_feholdexcept): New.
63295         (default_libc_feholdexcept_setround): New.
63296         (default_libc_fesetenv, default_libc_feupdateenv): New.
63297         (libc_feholdexcept): Only define if undefined.
63298         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63299         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63300         (libc_feholdexcept_setroundl): Likewise.
63301         (libc_feholdexcept_setround_53bit): Likewise.
63302         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63303         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63304         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63305         (libc_feupdateenv_53bit): Likewise.
63306         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63307         (libc_feholdexcept): Convert from macro to inline function.
63308         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63309         (libc_fesetenv, libc_feupdateenv): Likewise.
63311         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63312         not previously defined.
63313         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63314         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63315         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63316         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63317         * sysdeps/ieee754/flt-32/math_private.h: New file.
63318         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63319         math_private.h below SET_FLOAT_WORD.
63320         (__isnan, __isinf_ns, __finite): Remove.
63321         (__isnanf, __isinf_nsf, __finitef): Remove.
63323 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63327 2012-03-17  David S. Miller  <davem@davemloft.net>
63329         [BZ #6471]
63330         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63331         for 2.16.
63333 2012-03-16  David S. Miller  <davem@davemloft.net>
63335         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63336         warnings.
63338         [BZ #6471]
63339         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63340         properly.
63341         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63342         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63343         sysdep_routines when subdir is sysvipc.
63344         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63345         __getshmlba helper.
63347         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63349 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63351         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63352         [__LP64__].
63354 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63356         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63357         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63358         (__lround): Renamed to ...
63359         (__llround): This.  Replace long int with long long int.
63360         Define lround functions as aliases of llround functions.
63361         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63363 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63365         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63366         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63367         adresses to uintptr_t.  Replace "long int" and "unsigned long
63368         int" with "greg_t" on va_arg.
63370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63372         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63373         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63375         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63376         Move e_machine check before EI_CLASS check.  Handle x32
63377         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63378         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63379         SKIP_EM_IA_64 and include
63380         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63382         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63383         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63384         (add_system_dir): New macro.
63386         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63387         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63389 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63391         [BZ #2551]
63392         [BZ #2552]
63393         [BZ #2553]
63394         [BZ #2554]
63395         [BZ #2562]
63396         [BZ #2563]
63397         [BZ #2565]
63398         [BZ #2566]
63399         [BZ #2576]
63400         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63401         (y0): Likewise.
63402         * math/w_j0f.c (j0f): Likewise.
63403         (y0f): Likewise.
63404         * math/w_j0l.c (__j0l): Likewise.
63405         (__y0l): Likewise.
63406         * math/w_j1.c (j1): Likewise.
63407         (y1): Likewise.
63408         * math/w_j1f.c (j1f): Likewise.
63409         (y1f): Likewise.
63410         * math/w_j1l.c (__j1l): Likewise.
63411         (__y1l): Likewise.
63412         * math/w_jn.c (jn): Likewise.
63413         (yn): Likewise.
63414         * math/w_jnf.c (jnf): Likewise.
63415         (ynf): Likewise.
63416         * math/w_jnl.c (__jnl): Likewise.
63417         (__ynl): Likewise.
63418         * math/libm-test.inc (j0_test): Add more tests.
63419         (j1_test): Likewise.
63420         (jn_test): Likewise.  Add trailing semicolon to existing test.
63421         (y0_test): Likewise.
63422         (y1_test): Likewise.
63423         * sysdeps/i386/fpu/libm-test-ulps: Update.
63424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63426         [BZ #13851]
63427         [BZ #13854]
63428         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63429         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63430         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63431         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63432         (__tanl): Set errno for infinite argument.
63433         * sysdeps/i386/fpu/mptan.c: Remove.
63434         * sysdeps/i386/fpu/s_tan.S: Likewise.
63435         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63436         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63437         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63438         * math/libm-test.inc (tan_test): Add more tests and enable more
63439         tests for double and long double.
63440         * sysdeps/i386/fpu/libm-test-ulps: Update.
63441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63443 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63445         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63446         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63448 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63450         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63451         * configure.in: Use it for both main tree and add-ons.
63452         * configure: Regenerated.
63454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63456         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63458 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63460         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63461         in comment.
63463         [BZ #13851]
63464         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63465         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63466         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63467         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63468         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63469         infinite argument.
63470         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63472         != 0 for prec == 2.
63473         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63474         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63475         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63476         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63477         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63478         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63479         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63480         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63481         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63482         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63483         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63484         * math/libm-test.inc (cos_test): Add more tests and enable more
63485         tests for long double.
63486         (sin_test): Likewise.
63487         (sincos_test): Likewise.
63488         * sysdeps/i386/fpu/libm-test-ulps: Update.
63489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63491 2012-03-16  David S. Miller  <davem@davemloft.net>
63493         * sysdeps/sparc/fpu/math_private.h: New file.
63495 2012-03-15  David S. Miller  <davem@davemloft.net>
63497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63498         file.
63499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63501         file.
63502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63507         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63508         sysdep routines.
63509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63511         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63512         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63514         * sysdeps/sparc/sparc-ifunc.h: New file.
63515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63516         sparc-ifunc.h
63517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63519         Likewise.
63520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63521         Likewise.
63522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63526         Likewise.
63527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63532         Likewise.
63533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63534         Likewise.
63535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63560 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63562         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63563         scaling.
63564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63566 2012-03-15  Andreas Jaeger  <aj@suse.de>
63568         [BZ #13852]
63569         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63570         ieee754/flt-32 implementation for sin, cos and sincos.
63571         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63572         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63573         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63574         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63575         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63576         ieee754/flt-32 implementation for tan.
63578         * math/libm-test.inc (cos_test): Enable some large input tests for
63579         float as well
63580         (sin_test): Likewise.
63581         (sincos_test): Likewise.
63582         (tan_test): Add tests for large input.
63584         * sysdeps/i386/fpu/libm-test-ulps: Update.
63586 2012-03-15  Andreas Jaeger  <aj@suse.de>
63588         [BZ #13658]
63589         * math/libm-test.inc (cos_test): Add more test cases.
63590         (sin_test): Likewise.
63591         (sincos_test): Likewise.
63593 2012-03-15  Andreas Jaeger  <aj@suse.de>
63595         [BZ #13837]
63596         * math/libm-test.inc (cos_test): Add a test case for large input
63597         value.
63598         (sin_test): Likewise.
63599         (sincos_test): Likewise.
63601 2012-03-15  Andreas Jaeger  <aj@suse.de>
63602             Joseph Myers  <joseph@codesourcery.com>
63604         [BZ #13658]
63605         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63606         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63607         * sysdeps/i386/fpu/branred.c: Likewise.
63608         * sysdeps/i386/fpu/dosincos.c: Likewise.
63609         * sysdeps/i386/fpu/mpa.c: Likewise.
63610         * sysdeps/i386/fpu/s_cos.S: Likewise.
63611         * sysdeps/i386/fpu/s_sin.S: Likewise.
63612         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63613         * sysdeps/i386/fpu/sincos32.c: Likewise.
63615         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63616         Define.
63617         (libc_feupdateenv_53bit): Define.
63618         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63619         Define.
63620         (libc_feupdateenv_53bit): Define.
63622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63623         53 bit (without extend i386 double precision).
63625         * math/libm-test.inc (sincos_test): Add tests for large input.
63626         (sin): Likewise.
63627         (cos): Likewise.
63629         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63631 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63635 2012-03-15  David S. Miller  <davem@davemloft.net>
63637         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63638         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63639         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63640         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63653         file.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63656         file.
63657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63659         file.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63662         file.
63663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63664         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63665         fmin/fmax sysdep routines.
63666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63668 2012-03-14  David S. Miller  <davem@davemloft.net>
63670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63677         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63690         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63698         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63699         routines.
63700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63701         file.
63702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63704         file.
63705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63707         file.
63708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63710         file.
63711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63713         file.
63714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63716         file.
63717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63718         file.
63719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63720         file.
63721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63722         file.
63723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63724         New file.
63725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63726         file.
63727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63728         file.
63729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63731         file.
63732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63734         file.
63735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63737         file.
63738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63740         VIS3 routines.
63742         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63743         New file.
63745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63747         * sysdeps/sparc/configure.in: New file.
63748         * sysdeps/sparc/configure: Generate.
63749         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63750         * configure: Regenerate.
63751         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63752         * config.make.in (have-as-vis3): New.
63753         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63754         available use -Av9d instead of -Av9a.
63755         * sysdeps/sparc/sparc64/Makefile: Likewise.
63756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63758         New file.
63759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63760         file.
63761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63762         New file.
63763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63764         file.
63765         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63766         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63769         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63771         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63772         fzeros/fnegs to load 0x80000000 into a float register instead of
63773         using the stack.
63774         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63776 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63779         bits/syscall.h.
63780         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63781         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63782         ($(inst_includedir)/bits/syscall.h): Remove rule.
63783         ($(objpfx)bits/syscall.d): Include instead of
63784         $(objpfx)syscall-list.d.
63785         (generated): Change syscall-list.h and syscall-list.d to
63786         bits/syscall.h and bits/syscall.d.
63788 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63790         [BZ #13846]
63791         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63793 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63795         [BZ #13841]
63796         * math/s_csqrt.c: Include <float.h>.
63797         (__csqrt): Scale large or subnormal inputs.
63798         * math/s_csqrtf.c: Likewise.
63799         * math/s_csqrtl.c: Likewise.
63800         * math/libm-test.inc (csqrt_test): Add more tests.
63801         * sysdeps/i386/fpu/libm-test-ulps: Update.
63802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63804         [BZ #13840]
63805         * math/libm-test.inc (hypot_test): Add more tests.
63807 2012-03-13  David S. Miller  <davem@davemloft.net>
63809         [BZ #13840]
63810         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63811         double-precision for the calculation instead of scaling.
63813 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63815         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63816         manipulate bits before adding and subtracting TWO52[sx].
63817         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63818         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63819         Likewise.
63820         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63822 2012-03-13  David S. Miller  <davem@davemloft.net>
63824         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63825         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63827         rtld-global-offsets.h
63828         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63830         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63831         large parameters.
63833         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63835         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63836         'err' in the ifdef scope in which it is actually used.
63838         * nss/nss_db/db-init.c: Include string.h
63840 2012-03-12  David S. Miller  <davem@davemloft.net>
63842         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63843         masking out of the most significant byte of random value used.
63844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63845         Fix coding style in previous change.
63847         * sysdeps/unix/sysv/linux/kernel-features.h
63848         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63849         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63850         expression.
63851         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63852         later.
63854 2012-03-11  David S. Miller  <davem@davemloft.net>
63856         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63857         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63858         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63859         for 'resultvar' otherwise things get truncated on 64-bit.
63861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63862         Fix masking out of the most significant byte of random value used.
63864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63866 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63870 2012-03-09  David S. Miller  <davem@davemloft.net>
63872         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63873         variables with appropriate CPP guards.
63874         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63875         from the frame pointer, not the stack pointer.  Correct layout
63876         comments.  Fix test on resulting framesize and the management of
63877         the outregs buffer for pltexit.  Preserve floating point return
63878         values across _dl_call_pltexit call.
63879         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63880         framesize and the management of the outregs buffer for pltexit.
63881         Preserve floating point return values across _dl_call_pltexit
63882         call.
63883         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63884         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63885         (la_sparc64_gnu_pltexit): New functions.
63886         (print_exit): Fix format string for return register value.
63888 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63890         * sunrpc/Makefile (others): Add rpcgen.
63891         ($(objpfx)rpcgen): Remove special build rule and dependency on
63892         libc.
63893         * sunrpc/rpcgen.c: New file.
63895 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63897         [BZ #13673]
63898         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63899         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63900         * sysdeps/i386/crti.S: Likewise.
63901         * sysdeps/i386/crtn.S: Likewise.
63902         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63903         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63904         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63905         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63906         * sysdeps/sh/crti.S: Likewise.
63907         * sysdeps/sh/crtn.S: Likewise.
63908         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63910         [BZ #13673]
63911         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63912         with URL.
63913         * locale/programs/locfile-kw.gperf: Likewise.
63914         * locale/programs/charmap-kw.h: Regenerated.
63915         * locale/programs/locfile-kw.h: Likewise.
63917         [BZ #13673]
63918         * intl/plural.y: Replace FSF snail mail address with URL.
63919         * intl/plural.c: Regenerated.
63921 2012-03-09  Richard Henderson  <rth@twiddle.net>
63923         * include/math_private.h: Remove file.
63924         * math/math_private.h: Move file ...
63925         * sysdeps/generic/math_private.h: ... here.
63927         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63928         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63929         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63931         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63932         and <math_private.h>.
63933         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63934         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63935         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63936         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63937         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63938         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63939         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63941         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63942         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63945         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63947         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63948         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63949         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63950         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63951         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63952         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63953         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63955         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63957         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63958         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63959         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63963         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63964         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63965         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63966         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63967         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63968         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63969         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63970         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63971         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63972         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63973         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63974         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63975         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63976         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63977         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63978         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63979         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63980         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63982         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63983         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63984         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63985         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63986         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63987         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63988         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63989         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63990         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63991         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63992         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63993         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63994         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63995         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63996         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63997         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63998         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63999         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64000         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64001         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64002         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64003         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64004         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64005         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64007         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64011         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64012         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64013         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64015         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64016         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64017         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64018         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64019         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64020         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64021         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64022         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64023         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64024         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64025         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64026         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64027         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64028         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64029         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64030         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64031         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64033         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64034         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64035         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64036         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64037         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64038         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64039         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64040         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64041         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64042         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64043         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64044         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64045         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64046         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64047         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64048         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64049         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64050         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64051         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64052         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64053         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64054         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64055         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64056         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64057         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64058         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64059         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64060         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64061         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64062         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64063         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64064         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64065         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64066         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64067         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64068         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64069         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64070         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64071         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64072         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64073         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64074         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64075         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64076         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64077         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64078         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64079         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64080         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64081         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64082         * sysdeps/ieee754/k_standard.c: Likewise.
64083         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64084         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64085         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64086         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64087         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64088         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64089         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64090         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64091         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64092         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64093         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64094         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64095         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64097         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64098         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64142         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64143         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64145         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64146         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64148         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64149         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64150         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64151         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64152         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64154         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64156         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64157         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64159         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64160         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64162         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64163         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64164         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64165         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64168         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64169         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64170         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64173         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64174         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64175         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64176         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64178         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64179         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64180         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64181         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64182         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64184         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64185         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64186         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64187         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64190         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64191         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64192         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64194         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64195         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64196         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64197         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64198         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64199         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64200         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64201         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64202         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64203         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64204         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64205         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64206         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64207         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64208         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64209         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64210         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64211         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64213         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64214         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64215         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64216         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64217         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64218         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64219         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64220         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64222         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64223         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64224         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64225         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64226         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64227         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64228         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64229         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64230         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64231         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64232         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64233         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64234         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64235         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64236         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64237         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64238         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64239         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64240         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64241         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64242         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64243         * sysdeps/ieee754/s_lib_version.c: Likewise.
64244         * sysdeps/ieee754/s_matherr.c: Likewise.
64245         * sysdeps/ieee754/s_signgam.c: Likewise.
64246         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64247         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64248         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64249         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64250         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64251         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64252         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64253         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64254         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64255         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64256         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64257         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64258         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64259         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64260         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64261         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64262         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64263         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64264         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64268 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64270         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64271         * sunrpc/rpc_main.c: Likewise.
64272         * sunrpc/rpc_svcout.c: Likewise.
64274 2012-03-09  David S. Miller  <davem@davemloft.net>
64276         * include/math_private.h: New file.
64278 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64280         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64281         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64282         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64283         from <bits/socket_type.h>.
64284         (enum __socket_type): Don't define here.
64285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64287         bits/socket_type.h.
64289         [BZ #13566]
64290         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64291         checking __USE_GNU.
64293         * Makerules ($(inst_includedir)/%.h): New rule.
64294         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64295         (install-others): Remove variable setting.
64296         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64298 2012-03-08  Richard Henderson  <rth@twiddle.net>
64300         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64301         from macro to inline function; merge with the
64302         !__LIBC_INTERNAL_MATH_INLINES version.
64303         (__ieee754_sqrtf): Likewise.
64305         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64306         to inline function.
64307         (__rintf, __floor, __floorf): Likewise.
64309         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64310         macro to inline function.
64311         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64313         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64314         not <math/math_private.h>.
64316 2012-03-08  David S. Miller  <davem@davemloft.net>
64318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64319         copyright year.
64320         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64322 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64324         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64325         normalization.
64326         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64327         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64329 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64331         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64332         be defined individually, they must be defined as a block.  Define
64333         S for printing a string instead of hidint the different by using a
64334         macro for adding the 'l'.
64335         * stdio-common/tst-fphex-wide.c: Adjust.
64337 2012-03-07  Marek Polacek  <polacek@redhat.com>
64339         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64341 2012-03-08  Marek Polacek  <polacek@redhat.com>
64343         [BZ #13806]
64344         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64345         * stdio-common/tst-fphex.c: Define a few macros to make the
64346         test reusable.  Use them.
64347         * stdio-common/tst-fphex-wide.c: New file.
64349 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64351         [BZ #6911]
64352         * manual/macros.texi (gnusystems): New macro.
64353         (nongnusystems): Likewise.
64354         (gnulinuxhurdsystems): Likewise.
64355         (gnuhurdsystems): Likewise..
64356         (gnulinuxsystems): Likewise.
64357         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64358         variants of the GNU system, not "GNU system".
64359         * manual/conf.texi: Likewise.
64360         * manual/errno.texi: Likewise.  Update example of errno macro
64361         expansion.
64362         * manual/filesys.texi: Likewise.
64363         (getumask): Document as specific to GNU/Hurd.
64364         * manual/install.texi: Likewise.  Reword some references to
64365         GNU/Linux.
64366         * manual/intro.texi: Likewise.
64367         * manual/io.texi: Likewise.
64368         (File Name Portability): Detail which constraints are inapplicable
64369         to all GNU systems and which are only inapplicable to GNU/Hurd.
64370         * manual/job.texi: Likewise.
64371         * manual/llio.texi: Likewise.
64372         (O_NOCTTY): Document as present on GNU/Linux.
64373         * manual/maint.texi: Likewise.
64374         * manual/memory.texi: Likewise.
64375         * manual/pattern.texi: Likewise.
64376         * manual/pipe.texi: Likewise.
64377         * manual/process.texi: Likewise.
64378         * manual/resource.texi: Likewise.
64379         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64380         child on GNU/Hurd.
64381         * manual/setjmp.texi: Likewise.
64382         * manual/signal.texi: Likewise.
64383         * manual/startup.texi: Likewise.
64384         * manual/stdio.texi: Likewise.
64385         * manual/terminal.texi: Likewise.
64386         (ONLCR): Document as POSIX.
64387         (OXTABS): Document availability on GNU/Linux as XTABS.
64388         (ONOEOT): Document availability separately from other bits.
64389         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64390         * manual/time.texi: Likewise.
64391         * manual/users.texi: Likewise.
64392         * INSTALL: Regenerated.
64393         * sysdeps/gnu/errlist.c: Regenerated.
64395         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64396         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64397         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64398         puts.
64399         * configure: Regenerated.
64401 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64403         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64404         default includes instead of AC_HEADER_CHECK.
64405         * sysdeps/i386/configure: Regenerated.
64407         [BZ #10716]
64408         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64409         * math/s_cacoshf.c (__cacoshf): Likewise.
64410         * math/s_cacoshl.c (__cacoshl): Likewise.
64411         * math/s_casinh.c (__casinh): Set signs of result from argument.
64412         * math/s_casinhf.c (__casinhf): Likewise.
64413         * math/s_casinhl.c (__casinhl): Likewise.
64414         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64415         (casinh_test): Add more tests.
64416         * sysdeps/i386/fpu/libm-test-ulps: Update.
64417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64419 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64421         * po/zh_TW.po: Update from translation team.
64423         * login/Makefile (distribute): Remove variable.
64424         * catgets/Makefile: Likewise.
64425         * mach/Makefile: Likewise.
64426         * malloc/Makefile: Likewise.
64427         * misc/Makefile: Likewise.
64428         * iconv/Makefile: Likewise.
64429         * nscd/Makefile: Likewise.
64430         * hurd/Makefile: Likewise.
64431         * manual/Makefile: Likewise.
64432         * locale/Makefile: Likewise.
64433         * intl/Makefile: Likewise.
64434         * conform/Makefile: Likewise.
64435         * nss/Makefile: Likewise.
64436         * time/Makefile: Likewise.
64437         * soft-fp/Makefile: Likewise.
64438         * dirent/Makefile: Likewise.
64439         * gmon/Makefile: Likewise.
64440         * po/Makefile: Likewise.
64441         * rt/Makefile: Likewise.
64442         * socket/Makefile: Likewise.
64443         * math/Makefile: Likewise.
64444         * signal/Makefile: Likewise.
64445         * debug/Makefile: Likewise.
64446         * elf/Makefile: Likewise.
64447         * timezone/Makefile: Likewise.
64448         * stdlib/Makefile: Likewise.
64449         * iconvdata/Makefile: Likewise.
64450         * sunrpc/Makefile: Likewise.
64451         * io/Makefile: Likewise.
64452         * argp/Makefile: Likewise.
64453         * inet/Makefile: Likewise.
64454         * hesiod/Makefile: Likewise.
64455         * grp/Makefile: Likewise.
64456         * csu/Makefile: Likewise.
64457         * wctype/Makefile: Likewise.
64458         * crypt/Makefile: Likewise.
64459         * libio/Makefile: Likewise.
64460         * string/Makefile: Likewise.
64461         * nis/Makefile: Likewise.
64462         * resolv/Makefile: Likewise.
64463         * stdio-common/Makefile: Likewise.
64464         * wcsmbs/Makefile: Likewise.
64465         * dlfcn/Makefile: Likewise.
64466         * posix/Makefile: Likewise.
64468         [BZ #6959]
64469         * timezone/Makefile: Don't install timezone files, just the programs
64470         and scripts.
64472 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64474         * nss/databases.def: Add missing gshadow entry.
64476         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64478 2012-03-06  Marek Polacek  <polacek@redhat.com>
64480         [BZ #13726]
64481         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64482         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64483         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64484         * stdio-common/tst-long-dbl-fphex.c: New file.
64486 2012-03-06  David S. Miller  <davem@davemloft.net>
64488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64489         (set_obp_int): New function.
64490         (get_obp_int): New function.
64491         (__get_clockfreq_via_dev_openprom): Likewise.
64492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64493         Avoid unused variable warnings on 'val' and use builtin_expect.
64494         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64495         __builtin_expect.
64496         (INLINE_CLONE_SYSCALL): Likewise.
64498 2012-03-05  David S. Miller  <davem@davemloft.net>
64500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64502 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64507         only for |x| >= 40.
64508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64510 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64513         Replace gettimeofday with __vdso_gettimeofday.
64515         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64516         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64517         __vdso_clock_gettime and __vdso_getcpu.
64519         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64520         time with __vdso_time.
64522 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64524         * manual/lang.texi (size_t): Note types to which size_t may be
64525         equivalent with the GNU C Library, but do not describe when
64526         differences between them are significant.
64528 2012-03-05  Andreas Jaeger  <aj@suse.de>
64530         * sysdeps/i386/fpu/libm-test-ulps: Update.
64532 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64534         [BZ #3976]
64535         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64536         (__ieee754_pow): Save and restore rounding mode and use
64537         round-to-nearest for main computations.
64538         * math/libm-test.inc (pow_test_tonearest): New function.
64539         (pow_test_towardzero): Likewise.
64540         (pow_test_downward): Likewise.
64541         (pow_test_upward): Likewise.
64542         (main): Call the new functions.
64543         * sysdeps/i386/fpu/libm-test-ulps: Update.
64544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64546         [BZ #3976]
64547         * math/libm-test.inc (cosh_test_tonearest): New function.
64548         (cosh_test_towardzero): Likewise.
64549         (cosh_test_downward): Likewise.
64550         (cosh_test_upward): Likewise.
64551         (sinh_test_tonearest): Likewise.
64552         (sinh_test_towardzero): Likewise.
64553         (sinh_test_downward): Likewise.
64554         (sinh_test_upward): Likewise.
64555         (main): Call the new functions.
64556         * sysdeps/i386/fpu/libm-test-ulps: Update.
64557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64559 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64561         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64562         default stack guard is set in last bytes.
64563         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64565 2012-03-05  Kees Cook  <keescook@chromium.org>
64567         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64569         [BZ #13656]
64570         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64571         possibly allocate from heap instead of stack.
64572         * stdio-common/bug-vfprintf-nargs.c: New file.
64573         * stdio-common/Makefile (tests): Add nargs overflow test.
64575 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64579 2012-03-03  Marek Polacek  <polacek@redhat.com>
64581         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64582         * math/math_private.h: Likewise.
64583         * stdlib/tst-strtod.c: Likewise.
64584         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64585         * sysdeps/x86_64/bits/atomic.h: Likewise.
64587 2012-03-02  David S. Miller  <davem@davemloft.net>
64589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64593         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64594         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64595         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64596         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64598 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64600         [BZ #13792]
64601         * manual/examples/README: New file, says the example source files
64602         can be used under GPL>=2.
64603         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64604         line containing just "*/".
64605         * manual/examples/add.c: Add copyright header (GPL>=2).
64606         * manual/examples/argp-ex1.c: Likewise.
64607         * manual/examples/argp-ex2.c: Likewise.
64608         * manual/examples/argp-ex3.c: Likewise.
64609         * manual/examples/argp-ex4.c: Likewise.
64610         * manual/examples/atexit.c: Likewise.
64611         * manual/examples/db.c: Likewise.
64612         * manual/examples/dir.c: Likewise.
64613         * manual/examples/dir2.c: Likewise.
64614         * manual/examples/execinfo.c: Likewise.
64615         * manual/examples/filecli.c: Likewise.
64616         * manual/examples/filesrv.c: Likewise.
64617         * manual/examples/fmtmsgexpl.c: Likewise.
64618         * manual/examples/genpass.c: Likewise.
64619         * manual/examples/inetcli.c: Likewise.
64620         * manual/examples/inetsrv.c: Likewise.
64621         * manual/examples/isockad.c: Likewise.
64622         * manual/examples/longopt.c: Likewise.
64623         * manual/examples/memopen.c: Likewise.
64624         * manual/examples/memstrm.c: Likewise.
64625         * manual/examples/mkfsock.c: Likewise.
64626         * manual/examples/mkisock.c: Likewise.
64627         * manual/examples/mygetpass.c: Likewise.
64628         * manual/examples/pipe.c: Likewise.
64629         * manual/examples/popen.c: Likewise.
64630         * manual/examples/rprintf.c: Likewise.
64631         * manual/examples/search.c: Likewise.
64632         * manual/examples/select.c: Likewise.
64633         * manual/examples/setjmp.c: Likewise.
64634         * manual/examples/sigh1.c: Likewise.
64635         * manual/examples/sigusr.c: Likewise.
64636         * manual/examples/stpcpy.c: Likewise.
64637         * manual/examples/strdupa.c: Likewise.
64638         * manual/examples/strftim.c: Likewise.
64639         * manual/examples/strncat.c: Likewise.
64640         * manual/examples/subopt.c: Likewise.
64641         * manual/examples/swapcontext.c: Likewise.
64642         * manual/examples/termios.c: Likewise.
64643         * manual/examples/testopt.c: Likewise.
64644         * manual/examples/testpass.c: Likewise.
64645         * manual/examples/timeval_subtract.c: Likewise.
64647         [BZ #13792]
64648         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64649         function to ...
64650         * manual/timeval_subtract.c.texi: ... here, new file.
64652 2012-03-02  David S. Miller  <davem@davemloft.net>
64654         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64656 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64658         [BZ #3976]
64659         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64660         (__sin): Save and restore rounding mode and use round-to-nearest
64661         for all computations.
64662         (__cos): Save and restore rounding mode and use round-to-nearest
64663         for all computations.
64664         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64665         <fenv.h>.
64666         (tan): Save and restore rounding mode and use round-to-nearest for
64667         all computations.
64668         * math/libm-test.inc (cos_test_tonearest): New function.
64669         (cos_test_towardzero): Likewise.
64670         (cos_test_downward): Likewise.
64671         (cos_test_upward): Likewise.
64672         (sin_test_tonearest): Likewise.
64673         (sin_test_towardzero): Likewise.
64674         (sin_test_downward): Likewise.
64675         (sin_test_upward): Likewise.
64676         (tan_test_tonearest): Likewise.
64677         (tan_test_towardzero): Likewise.
64678         (tan_test_downward): Likewise.
64679         (tan_test_upward): Likewise.
64680         (main): Call the new functions.
64681         * sysdeps/i386/fpu/libm-test-ulps: Update.
64682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64684         [BZ #10135]
64685         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64686         small n, then large n, before computing and testing k+n.
64687         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64688         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64689         Likewise.
64690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64691         Likewise.
64692         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64693         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64695         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64696         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64697         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64699         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64700         * math/libm-test.inc (scalbn_test): Add more tests.
64701         (scalbln_test): Likewise.
64703         * manual/filesys.texi (mode_t): Describe constraints on size and
64704         signedness, not exact equivalence to a particular type.
64705         (ino_t): Likewise.
64706         (ino64_t): Likewise.
64707         (dev_t): Likewise.
64708         (nlink_t): Likewise.
64709         (blkcnt_t): Likewise.
64710         (blkcnt64_t): Likewise.
64711         * manual/llio.texi (off_t): Likewise.
64713         [BZ #3976]
64714         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64715         (__ieee754_exp): Save and restore rounding mode and use
64716         round-to-nearest for all computations.
64717         * math/libm-test.inc (exp_test_tonearest): New function.
64718         (exp_test_towardzero): Likewise.
64719         (exp_test_downward): Likewise.
64720         (exp_test_upward): Likewise.
64721         (main): Call the new functions.
64722         * sysdeps/i386/fpu/libm-test-ulps: Update.
64723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64725 2012-03-01  Chris Demetriou  <cgd@google.com>
64727         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64728         have predictable order.
64730 2012-03-01  David S. Miller  <davem@davemloft.net>
64732         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64734         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64735         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64736         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64737         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64739         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64740         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64741         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64743         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64744         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64745         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64746         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64747         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64751         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64752         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64753         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64755         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64756         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64757         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64758         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64759         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64760         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64761         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64762         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64763         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64764         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64765         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64766         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64768         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64769         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64770         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64771         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64772         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64773         * sysdeps/sparc/elf/configure: Regenerated.
64775 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64777         * configure.in (AS, LD): Require binutils 2.20 or later.
64778         * configure: Regenerated.
64779         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64780         as required minimum version.
64781         * INSTALL: Regenerated.
64783         [BZ #2541]
64784         [BZ #4108]
64785         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64786         before squaring exponent.
64787         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64788         bottom long double and 27 bits of top long double before squaring
64789         exponent.
64790         * math/libm-test.inc (erfc_test): Add more tests.
64791         * sysdeps/i386/fpu/libm-test-ulps: Update.
64792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64795 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64797         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64798         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64799         containing bit-fields.
64800         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64801         * soft-fp/single.h (_FP_UNION_S): Likewise.
64802         * soft-fp/double.h (_FP_UNION_D): Likewise.
64804 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64806         [BZ #13786]
64807         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64808         not include ../strcmp.S.
64809         [USE_AS_STRNCASECMP_L]: Likewise.
64810         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64811         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64812         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64813         (__strncasecmp_l_ia32): Define as alias to
64814         __strncasecmp_l_nonascii.
64816         [BZ #5794]
64817         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64818         * sysdeps/i386/fpu/libm-test-ulps: Update.
64819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64821         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64824 2012-02-29  Jeff Law  <law@redhat.com>
64826         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64827         out of bounds read.
64829 2012-02-29  Marek Polacek  <polacek@redhat.com>
64831         [BZ #13706]
64832         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64833         * elf/Makefile: Add rules to run tst-unused-dep.out.
64835 2012-02-28  David S. Miller  <davem@davemloft.net>
64837         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64838         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64839         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64840         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64841         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64842         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64844 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64846         * math/libm-test.inc (llround_test): Move one test from
64847         lround_test.  Use TEST_f_L in moved test.
64848         (lround_test): Move misplaced test to llround_test.  Add testcase
64849         from bug 2561.
64851 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64853         * sysdeps/x86_64/fpu/e_expf.S: New file.
64854         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64856 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64858         [BZ #13637]
64859         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64860         of remain_len that may cause incomplete multi-byte character and
64861         false match.
64862         * posix/bug-regex33.c: New file.
64863         * posix/Makefile (tests): Add bug-regex33.
64865 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64867         * manual/macros.texi: New file.
64868         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64869         * manual/libc.texinfo: Include macros.texi.
64870         * manual/creatute.texi: Likewise.
64871         * manual/install.texi: Likewise.
64872         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64873         @glibcadj{} in references to the GNU C Library.
64874         * manual/charset.texi: Likewise.
64875         * manual/conf.texi: Likewise.
64876         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64877         when not using those macros.
64878         * manual/creature.texi: Likewise.
64879         * manual/crypt.texi: Likewise.
64880         * manual/errno.texi: Likewise.
64881         * manual/filesys.texi: Likewise.
64882         * manual/header.texi: Likewise.
64883         * manual/install.texi: Likewise.
64884         * manual/intro.texi: Likewise.
64885         * manual/io.texi: Likewise.
64886         * manual/job.texi: Likewise.
64887         * manual/lang.texi: Likewise.
64888         * manual/libc.texiinfo: Likewise.
64889         * manual/llio.texi: Likewise.
64890         * manual/locale.texi: Likewise.
64891         * manual/maint.texi: Likewise.
64892         * manual/math.texi: Likewise.
64893         * manual/memory.texi: Likewise.
64894         * manual/message.texi: Likewise.
64895         * manual/nss.texi: Likewise.
64896         * manual/pattern.texi: Likewise.
64897         * manual/process.texi: Likewise.
64898         * manual/resource.texi: Likewise.
64899         * manual/search.texi: Likewise.
64900         * manual/setjmp.texi: Likewise.
64901         * manual/signal.texi: Likewise.
64902         * manual/socket.texi: Likewise.
64903         * manual/startup.texi: Likewise.
64904         * manual/stdio.texi: Likewise.
64905         * manual/string.texi: Likewise.
64906         * manual/sysinfo.texi: Likewise.
64907         * manual/syslog.texi: Likewise.
64908         * manual/terminal.texi: Likewise.
64909         * manual/time.texi: Likewise.
64910         * manual/users.texi: Likewise.
64911         * INSTALL: Regenerated.
64912         * NOTES: Regenerated.
64913         * sysdeps/gnu/errlist.c: Regenerated.
64915 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64917         * include/dirent.h: Include <dirstream.h> before
64918         <dirent/dirent.h>.
64920 2012-02-28  David S. Miller  <davem@davemloft.net>
64922         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64923         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64924         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64925         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64927 2012-02-27  David S. Miller  <davem@davemloft.net>
64929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64931         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64932         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64935         frame pointer instead of stack pointer relative arg slot.
64936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64937         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64938         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64940 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64942         [BZ #3992]
64943         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64945 2012-02-27  David S. Miller  <davem@davemloft.net>
64947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64951         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64952         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64953         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64954         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64956 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64958         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64959         later.  Allow versions 5-9.
64960         * configure: Regenerated.
64961         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64962         required minimum version and 4.6 as recommended version.  Do not
64963         mention bugs in GCC 2.7 and 2.8.
64964         * INSTALL: Regenerated.
64966 2012-02-27  David S. Miller  <davem@davemloft.net>
64968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64972         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64973         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64974         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64975         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64977         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64978         manipulate bits before adding and subtracting TWO112[sx].
64979         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64981 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64983         [BZ #13775]
64984         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64985         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64986         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64987         being in POSIX, because they are in 1003.1-2008.
64989         * rt/tst-aio.c: Include <fcntl.h>.
64990         * rt/tst-aio7.c: Likewise.
64991         * rt/tst-aio64.c: Likewise.
64993         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64995 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64997         * manual/install.texi (--with-headers): Describe headers as
64998         interface headers, not private headers.
64999         (Specific advice for GNU/Linux systems): Describe use of headers
65000         from "make headers_install", not private headers from older
65001         kernels.
65002         * INSTALL: Regenerated.
65003         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65004         Change to 2.6.19.
65005         * sysdeps/unix/sysv/linux/configure: Regenerated.
65007         * manual/llio.texi (fclean): Remove documentation.
65009         * manual/Makefile (libc-texi-generated): New variable.  Include
65010         version.texi.
65011         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65012         $(libc-texi-generated), not duplicated list of files.
65013         (version.texi, stamp-version): New rules.
65014         (realclean): Remove $(libc-texi-generated), not individual files
65015         from that list.  Do not remove dir-add.texinfo.
65016         * manual/libc.texinfo: Comment out uses of edition numbers and
65017         references to printed manual.  Remove last-updated dates.
65018         (EDITION): Comment out.
65019         (ISBN): Likewise.
65020         (VERSION, UPDATED): Remove.
65021         (version.texi): Include.
65023 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65025         * sysdeps/posix/spawni.c: Include <signal.h>.
65026         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65027         * sysdeps/pthread/aio_fsync.c: Likewise.
65029 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65031         * conform/Makefile (tests): Run only when not cross-compiling and
65032         when fast-check is not defined.
65034         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65035         * conform/data/limits.h-data: Fixes for POSIX2008.
65036         * conform/run-conformtest.sh: Run all tests.
65037         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65038         headers.
65039         * include/bits/dlfcn.h: Likewise.
65040         * include/langinfo.h: Likewise.
65041         * include/monetary.h: Likewise.
65042         * include/sys/poll.h: Likewise.
65044         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65045         for __USE_GNU.
65046         * posix/spawn.h: Define __need_sigset_t.
65047         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65048         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65049         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65050         to get sigevent_t only.
65051         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65052         only for __USE_GNU.
65053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65054         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65055         process_vm_writev only for __USE_GNU.
65056         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65058         * conform/Makefile: For now ignore errors from run-conformtest.
65059         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65060         POSIX to avoid namespace pollution.  Don't prepend headers.
65061         * conform/data/aio.h-data: Fixes for POSIX testing.
65062         * conform/data/fcntl.h-data: Likewise.
65063         * conform/data/glob.h-data: Likewise.
65064         * conform/data/grp.h-data: Likewise.
65065         * conform/data/pthread.h-data: Likewise.
65066         * conform/data/pwd.h-data: Likewise.
65067         * conform/data/signal.h-data: Likewise.
65068         * conform/data/spawn.h-data: Likewise.
65069         * conform/data/stdio.h-data: Likewise.
65070         * conform/data/stdlib.h-data: Likewise.
65071         * conform/data/stropts.h-data: Likewise.
65072         * conform/data/sys/mman.h-data: Likewise.
65073         * conform/data/sys/stat.h-data: Likewise.
65074         * conform/data/sys/types.h-data: Likewise.
65075         * conform/data/sys/wait.h-data: Likewise.
65076         * conform/data/time.h-data: Likewise.
65077         * conform/data/unistd.h-data: Likewise.
65078         * conform/data/utime.h-data: Likewise.
65080         * io/sys/stat.h: fchmod was always in POSIX.
65081         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65082         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65083         * rt/aio.h: Define __need_timespec before including <time.h>.
65084         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65085         struct.  Add forward declaration of pthread_attr_t and use it in
65086         sigevent.
65087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65088         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65089         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65090         always remove CLK_TCK definition.
65092 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65094         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65096 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65098         * conform/run-conformtest.sh: New file.
65099         * conform/Makefile: Run run-conformtest for tests.
65100         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65101         support.
65103         * conform/data/uchar.h-data: New file.
65104         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65105         * conform/data/arpa/inet.h-data: Likewise.
65106         * conform/data/assert.h-data: Likewise.
65107         * conform/data/complex.h-data: Likewise.
65108         * conform/data/cpio.h-data: Likewise.
65109         * conform/data/ctype.h-data: Likewise.
65110         * conform/data/dirent.h-data: Likewise.
65111         * conform/data/dlfcn.h-data: Likewise.
65112         * conform/data/errno.h-data: Likewise.
65113         * conform/data/fcntl.h-data: Likewise.
65114         * conform/data/float.h-data: Likewise.
65115         * conform/data/fmtmsg.h-data: Likewise.
65116         * conform/data/fnmatch.h-data: Likewise.
65117         * conform/data/ftw.h-data: Likewise.
65118         * conform/data/glob.h-data: Likewise.
65119         * conform/data/grp.h-data: Likewise.
65120         * conform/data/iconv.h-data: Likewise.
65121         * conform/data/inttypes.h-data: Likewise.
65122         * conform/data/langinfo.h-data: Likewise.
65123         * conform/data/libgen.h-data: Likewise.
65124         * conform/data/limits.h-data: Likewise.
65125         * conform/data/locale.h-data: Likewise.
65126         * conform/data/math.h-data: Likewise.
65127         * conform/data/monetary.h-data: Likewise.
65128         * conform/data/mqueue.h-data: Likewise.
65129         * conform/data/ndbm.h-data: Likewise.
65130         * conform/data/net/if.h-data: Likewise.
65131         * conform/data/netdb.h-data: Likewise.
65132         * conform/data/netinet/in.h-data: Likewise.
65133         * conform/data/nl_types.h-data: Likewise.
65134         * conform/data/poll.h-data: Likewise.
65135         * conform/data/pthread.h-data: Likewise.
65136         * conform/data/pwd.h-data: Likewise.
65137         * conform/data/regex.h-data: Likewise.
65138         * conform/data/sched.h-data: Likewise.
65139         * conform/data/search.h-data: Likewise.
65140         * conform/data/semaphore.h-data: Likewise.
65141         * conform/data/setjmp.h-data: Likewise.
65142         * conform/data/signal.h-data: Likewise.
65143         * conform/data/spawn.h-data: Likewise.
65144         * conform/data/stdarg.h-data: Likewise.
65145         * conform/data/stdio.h-data: Likewise.
65146         * conform/data/stdlib.h-data: Likewise.
65147         * conform/data/string.h-data: Likewise.
65148         * conform/data/strings.h-data: Likewise.
65149         * conform/data/stropts.h-data: Likewise.
65150         * conform/data/sys/ipc.h-data: Likewise.
65151         * conform/data/sys/mman.h-data: Likewise.
65152         * conform/data/sys/msg.h-data: Likewise.
65153         * conform/data/sys/resource.h-data: Likewise.
65154         * conform/data/sys/select.h-data: Likewise.
65155         * conform/data/sys/sem.h-data: Likewise.
65156         * conform/data/sys/shm.h-data: Likewise.
65157         * conform/data/sys/socket.h-data: Likewise.
65158         * conform/data/sys/stat.h-data: Likewise.
65159         * conform/data/sys/statvfs.h-data: Likewise.
65160         * conform/data/sys/time.h-data: Likewise.
65161         * conform/data/sys/timeb.h-data: Likewise.
65162         * conform/data/sys/times.h-data: Likewise.
65163         * conform/data/sys/types.h-data: Likewise.
65164         * conform/data/sys/uio.h-data: Likewise.
65165         * conform/data/sys/un.h-data: Likewise.
65166         * conform/data/sys/utsname.h-data: Likewise.
65167         * conform/data/sys/wait.h-data: Likewise.
65168         * conform/data/syslog.h-data: Likewise.
65169         * conform/data/tar.h-data: Likewise.
65170         * conform/data/termios.h-data: Likewise.
65171         * conform/data/utime.h-data: Likewise.
65172         * conform/data/utmpx.h-data: Likewise.
65173         * conform/data/varargs.h-data: Likewise.
65174         * conform/data/wchar.h-data: Likewise.
65175         * conform/data/wctype.h-data: Likewise.
65176         * conform/data/wordexp.h-data: Likewise.
65178         * include/stropts.h: New file.
65179         * include/uchar.h: New file.
65180         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65181         * include/assert.h: Likewise.
65182         * include/ctype.h: Likewise.
65183         * include/dirent.h: Likewise.
65184         * include/dlfcn.h: Likewise.
65185         * include/fcntl.h: Likewise.
65186         * include/fnmatch.h: Likewise.
65187         * include/glob.h: Likewise.
65188         * include/grp.h: Likewise.
65189         * include/libio.h: Likewise.
65190         * include/locale.h: Likewise.
65191         * include/math.h: Likewise.
65192         * include/net/if.h: Likewise.
65193         * include/netdb.h: Likewise.
65194         * include/netinet/in.h: Likewise.
65195         * include/pthread.h: Likewise.
65196         * include/pwd.h: Likewise.
65197         * include/regex.h: Likewise.
65198         * include/sched.h: Likewise.
65199         * include/search.h: Likewise.
65200         * include/setjmp.h: Likewise.
65201         * include/signal.h: Likewise.
65202         * include/stdio.h: Likewise.
65203         * include/stdlib.h: Likewise.
65204         * include/string.h: Likewise.
65205         * include/sys/cdefs.h: Likewise.
65206         * include/sys/mman.h: Likewise.
65207         * include/sys/msg.h: Likewise.
65208         * include/sys/resource.h: Likewise.
65209         * include/sys/select.h: Likewise.
65210         * include/sys/socket.h: Likewise.
65211         * include/sys/stat.h: Likewise.
65212         * include/sys/statvfs.h: Likewise.
65213         * include/sys/time.h: Likewise.
65214         * include/sys/times.h: Likewise.
65215         * include/sys/uio.h: Likewise.
65216         * include/sys/utsname.h: Likewise.
65217         * include/sys/wait.h: Likewise.
65218         * include/termios.h: Likewise.
65219         * include/time.h: Likewise.
65220         * include/ulimit.h: Likewise.
65221         * include/unistd.h: Likewise.
65222         * include/utime.h: Likewise.
65223         * include/wchar.h: Likewise.
65224         * include/wctype.h: Likewise.
65225         * include/wordexp.h: Likewise.
65227         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65229         * time/time.h: TIME_UTC must be a macro.
65230         Make timespec_get available for ISO C11 only as well.
65232 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65234         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65235         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65237 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65239         * configure.in: Use -o not -a in test for unsupported multi-arch.
65241 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65243         * manual/texinfo.tex: Update to version 2012-01-19.16.
65245 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65247         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65249 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65251         [BZ #13738]
65252         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65253         * manual/fdl-1.3.texi: New file.
65254         * manual/fdl-1.1.texi: File removed.
65256         [BZ #13738]
65257         * manual/libc.texinfo (FDL_VERSION): New @set.
65258         Use it for mention of FDL in cover text.
65259         (Documentation License): Use it in @include file name.
65261 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65262             Roland McGrath  <roland@hack.frob.com>
65264         [BZ #5461]
65265         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65266         (not LONG_LONG_MAX and LONG_LONG_MIN.
65267         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65268         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65269         name.
65270         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65274         [BZ #2547]
65275         [BZ #11365]
65276         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65277         manipulate bits before adding and subtracting TWO23[sx].
65278         * math/libm-test.inc (nearbyint_test): Add more tests.
65280 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65282         [BZ #2548]
65283         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65284         bits before adding and subtracting TWO23[sx].
65285         * math/libm-test.inc (rint_test): Add more tests.
65286         (rint_test_tonearest): Likewise.
65287         (rint_test_towardzero): Likewise.
65288         (rint_test_downward): Likewise.
65289         (rint_test_upward: Likewise.
65291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65293         [BZ #10110]
65294         * include/stdc-predef.h: New file.  Extracted from features.h.
65295         * include/features.h: Include stdc-predef.h.
65296         * Makefile (headers): Add stdc-predef.h.
65297         * CONFORMANCE (Compiler limitations): Update.
65299 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65301         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65303 2012-02-21  David S. Miller  <davem@davemloft.net>
65305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65306         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65308 2012-02-20  David S. Miller  <davem@davemloft.net>
65310         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65311         using a normal save/restore sequence, rather than allocating a
65312         dummy stack frame just to store a frame pointer and restore.
65313         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65315 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65317         * manual/install.texi: Fix stray word in line-wrapped comment.
65319 2012-02-20  David S. Miller  <davem@davemloft.net>
65321         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65322         both binutils and gcc support GOTDATA.
65324         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65325         "rd %pc" in the PIC register setup sequences.
65327         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65328         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65329         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65330         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65331         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65333         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65334         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65336         (SYSCALL_ERROR_HANDLER): Likewise.
65337         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65338         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65340         (SYSCALL_ERROR_HANDLER): Likewise.
65342         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65343         (HAVE_GCC_GOTDATA): New.
65344         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65345         relocation support in both binutils and gcc.
65346         * sysdeps/sparc/elf/configure: Regenerate.
65348         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65349         * sysdeps/sparc/sparc32/elf/configure: Delete.
65350         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65351         * sysdeps/sparc/sparc64/elf/configure: Delete.
65352         * sysdeps/sparc/elf/configure.in: New file.
65353         * sysdeps/sparc/elf/configure: Generate.
65355         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65356         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65357         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65358         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65359         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65361 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65363         * manual/install.texi: Do not mention specific glibc version
65364         numbers.
65365         * manual/libc.texinfo (VERSION, UPDATED): Update.
65366         (@copying): Use @copyright{} and range of years.
65368 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65370         [BZ #13695]
65371         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65372         [crti.S not in sysdirs] (generated): Do not append.
65373         [crti.S not in sysdirs] (omit-deps): Likewise.
65374         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65375         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65376         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65377         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65378         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65379         Likewise.
65380         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65381         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65382         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65383         * csu/defs.awk: Remove file.
65384         * sysdeps/generic/initfini.c: Likewise.
65385         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65386         variable.
65387         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65388         Likewise.
65390 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65392         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65393         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65394         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65395         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65397         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65398         <bits/epoll.h>.
65399         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65400         (__EPOLL_PACKED): Define to empty if not defined by
65401         <bits/epoll.h>.
65402         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65404         bits/epoll.h.
65406 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65408         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65409         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65410         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65411         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65412         <bits/timerfd.h>.
65413         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65415         bits/timerfd.h.
65417 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65419         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65420         in C locale.
65421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65423         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65426 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65428         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65429         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65431 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65433         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65434         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65435         defined.
65436         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65437         Likewise.
65438         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65439         entry for 2.16.
65441 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65443         * math/w_acos.c: Use non-signaling floating-point comparisons.
65444         * math/w_acosf.c: Likewise.
65445         * math/w_acosh.c: Likewise.
65446         * math/w_acoshf.c: Likewise.
65447         * math/w_acoshl.c: Likewise.
65448         * math/w_acosl.c: Likewise.
65449         * math/w_asin.c: Likewise.
65450         * math/w_asinf.c: Likewise.
65451         * math/w_asinl.c: Likewise.
65452         * math/w_atanh.c: Likewise.
65453         * math/w_atanhf.c: Likewise.
65454         * math/w_atanhl.c: Likewise.
65455         * math/w_exp2.c: Likewise.
65456         * math/w_exp2f.c: Likewise.
65457         * math/w_exp2l.c: Likewise.
65458         * math/w_j0.c: Likewise.
65459         * math/w_j0f.c: Likewise.
65460         * math/w_j0l.c: Likewise.
65461         * math/w_j1.c: Likewise.
65462         * math/w_j1f.c: Likewise.
65463         * math/w_j1l.c: Likewise.
65464         * math/w_jn.c: Likewise.
65465         * math/w_jnf.c: Likewise.
65466         * math/w_log.c: Likewise.
65467         * math/w_log10.c: Likewise.
65468         * math/w_log10f.c: Likewise.
65469         * math/w_log10l.c: Likewise.
65470         * math/w_log2.c: Likewise.
65471         * math/w_log2f.c: Likewise.
65472         * math/w_log2l.c: Likewise.
65473         * math/w_logf.c: Likewise.
65474         * math/w_logl.c: Likewise.
65475         * math/w_sqrt.c: Likewise.
65476         * math/w_sqrtf.c: Likewise.
65477         * math/w_sqrtl.c: Likewise.
65478         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65479         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65481         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65482         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65484 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65486         [BZ #9739]
65487         * manual/string.texi (strnlen): Use correct parameter name in
65488         equivalent expression.
65490 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65492         [BZ #11174]
65493         * manual/users.texi (seteuid): Consistently use neweuid for
65494         argument name.
65496 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65498         [BZ #13704]
65499         * manual/nss.texi (Services in the NSS configuration): Correct
65500         list of services in example configuration file.
65502 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65504         [BZ #11322]
65505         * manual/arith.texi: Remove statements about negative zero
65506         behaving identically to zero.
65508 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65510         [BZ #5993]
65511         * manual/install.texi: Do not document upgrading from libc5.
65513 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65515         [BZ #4596]
65516         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65518 2012-02-18  David S. Miller  <davem@davemloft.net>
65520         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65521         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65522         %o7 across the call.
65523         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65524         instead.
65525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65526         SETUP_PIC_REG_LEAF.
65527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65528         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65529         * sysdeps/sparc/crtn.S: Likewise.
65531 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65533         * aout/Makefile: Remove.
65535 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65537         [BZ #13058]
65538         * manual/examples/argp-ex1.c (main): Format definition in GNU
65539         style.
65540         * manual/examples/argp-ex2.c (main): Likewise.
65541         * manual/examples/argp-ex3.c (main): Likewise.
65542         * manual/examples/argp-ex4.c (main): Likewise.
65543         * manual/examples/longopt.c (main): Use new-style prototype
65544         definition.
65545         * manual/examples/strncat.c (main): Specify return type and use
65546         (void) for arguments.
65547         * manual/examples/subopt.c (main): Use char **argv argument.
65549 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65551         [BZ #5077]
65552         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65553         rounding modes.
65555 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65557         [BZ #6907]
65558         * manual/string.texi (strchr): Change when strchrnul is
65559         recommended.
65561 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65563         [BZ #174]
65564         * manual/locale.texi (setlocale): Document LOCPATH.
65566 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65568         [BZ #10210]
65569         * manual/process.texi (execle): Move @dots{} before last argument.
65571 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65573         [BZ #12047]
65574         * manual/charset.texi (Generic Charset Conversion): Fix typo
65575         (LC_TYPE -> LC_CTYPE).
65577 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65579         [BZ #5805]
65580         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65581         (scalbnf): Likewise.
65582         (scalbnl): Likewise.
65583         (scalbln): Likewise.
65584         (scalblnf): Likewise.
65585         (scalblnl): Likewise.
65586         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65587         (vwarnx): Likewise.
65588         (verr): Likewise.
65589         (verrx): Likewise.
65590         * manual/filesys.texi (telldir): Use braces around return type.
65591         * manual/llio.texi (mmap): Add space after comma.
65592         (mmap64): Likewise.
65593         * manual/math.texi (jn): Use @var{} on parameter names.
65594         (jnf): Likewise.
65595         (jnl): Likewise.
65596         (yn): Likewise.
65597         (ynf): Likewise.
65598         (ynl): Likewise.
65599         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65600         line.
65601         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65602         "...".
65603         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65604         (sched_get_priority_max): Likewise.
65605         * manual/signal.texi (sigvec): Add space after comma.
65606         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65607         names.
65608         (if_indextoname): Likewise.
65609         (if_freenameindex): Likewise.
65610         (sendto): Use ',' instead of '.' in prototype.
65611         * manual/startup.texi (syscall): Use @dots{} instead of literal
65612         "...".
65613         * manual/stdio.texi (__fpending): Separate initial words of
65614         paragraph from @deftypefun line.
65615         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65616         "...".
65617         (vsyslog): Use @var{} on parameter names.
65618         * manual/terminal.texi (stty): Use @var{} on parameter names.
65619         * manual/users.texi (getutmp): Use @var{} on parameter names.
65620         (getutmpx): Likewise.
65622 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65624         [BZ #6884]
65625         * manual/stdio.texi (fopen): Fix typos in description of
65626         ",ccs=STRING".
65628 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65630         [BZ #4026]
65631         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65632         get clock_id definition.
65634 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65636         [BZ #4822]
65637         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65638         (madvise): Cast every argument to void on its own.
65640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65642         [BZ #9902]
65643         * manual/startup.texi (Exit Status): Fix typo.
65645 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65647         [BZ #10140]
65648         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65649         * manual/examples/argp-ex2.c: Likewise.
65650         * manual/examples/argp-ex3.c: Likewise.
65652 2012-02-16  Richard Henderson  <rth@redhat.com>
65654         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65655         * sysdeps/s390/s390-32/initfini.c: Remove.
65656         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65657         * sysdeps/s390/s390-64/initfini.c: Remove.
65659 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65661         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65662         compiler output for sysdeps/generic/initfini.c.
65663         * sysdeps/sh/elf/initfini.c: Remove file.
65665 2012-02-16  David S. Miller  <davem@davemloft.net>
65667         [BZ #11494]
65668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65670         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65671         * sysdeps/sparc/crti.S: New file.
65672         * sysdeps/sparc/crtn.S: New file.
65673         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65674         * sysdeps/sparc/sparc64/Makefile: Likewise.
65676 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65678         [BZ #3335]
65679         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65681 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65683         [BZ #4822]
65684         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65686         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65687         (write, read, close): Likewise.
65688         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65690 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65692         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65693         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65694         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65695         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65696         <bits/signalfd.h>.
65697         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65699         bits/signalfd.h.
65701 2012-02-14  Marek Polacek  <polacek@redhat.com>
65703         * sysdeps/x86_64/crti.S: New file.
65704         * sysdeps/x86_64/crtn.S: New file.
65705         * sysdeps/x86_64/elf/initfini.c: Remove file.
65707 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65709         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65710         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65711         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65712         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65713         <bits/inotify.h>.
65714         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65716         bits/inotify.h.
65718 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65720         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65721         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65722         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65723         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65724         <bits/eventfd.h>.
65725         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65727         bits/eventfd.h.
65729 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65731         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65732         __feraiseexcept instead of feraiseexcept.
65734         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65735         nanosleep invocations.
65736         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65737         strings, and add error checking for a nanosleep invocations.
65739 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65741         Replace FSF snail mail address with URLs, as per GNU coding standards.
65742         Most of the snail mail addresses were wrong anyway, and omitting
65743         them makes the source code easier to maintain.  Almost all of the
65744         changes are to license notices and to locale LC_IDENTIFICATION
65745         addresses, except for this one:
65746         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65747         not its snail mail address.
65749 2012-02-09  Richard Henderson  <rth@twiddle.net>
65751         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65752         of kernel-features.h.
65754         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65756 2012-02-08  Marek Polacek  <polacek@redhat.com>
65758         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65759         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65760         * sysdeps/gnu/_G_config.h: Likewise.
65761         * sysdeps/generic/_G_config.h: Likewise.
65763 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65765         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65766         tests.
65767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65769         * sysdeps/powerpc/powerpc32/crti.S: New file.
65770         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65771         * sysdeps/powerpc/powerpc64/crti.S: New file.
65772         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65774         * Makeconfig (have-initfini): Don't set.
65775         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65776         * configure.in (nopic_initfini): Don't substitute.
65777         * config.h.in (HAVE_INITFINI): Don't #undef.
65778         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65779         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65781 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65783         Support crti.S and crtn.S provided directly by architectures.
65784         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65785         [crti.S in sysdirs] (omit-deps): Likewise.
65786         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65787         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65788         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65789         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65790         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65791         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65792         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65793         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65794         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65795         compiler output for sysdeps/generic/initfini.c.
65796         * sysdeps/i386/elf/Makefile: Remove file.
65797         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65799 2012-02-07  Marek Polacek  <polacek@redhat.com>
65801         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65802         * sysdeps/gnu/_G_config.h: Likewise.
65803         * sysdeps/mach/hurd/_G_config.h: Likewise.
65805 2012-02-07  Marek Polacek  <polacek@redhat.com>
65807         * math/Makefile (tests): Add tst-CMPLX2.
65808         * math/tst-CMPLX2.c: New file.
65810 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65812         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65814         * math/libm-test.inc (jn_test): Add missing L suffix.
65816 2012-02-06  Marek Polacek  <polacek@redhat.com>
65818         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65819         * sysdeps/i386/fpu/e_powf.S: Likewise.
65820         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65821         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65822         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65823         * sysdeps/i386/fpu/e_pow.S: Likewise.
65824         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65825         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65826         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65827         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65828         * sysdeps/i386/fpu/e_log2.S: Likewise.
65829         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65830         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65831         * sysdeps/i386/fpu/e_powl.S: Likewise.
65832         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65833         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65834         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65835         * sysdeps/i386/fpu/e_logl.S: Likewise.
65836         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65837         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65838         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65839         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65840         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65841         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65842         * sysdeps/i386/fpu/e_log.S: Likewise.
65843         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65844         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65845         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65846         * sysdeps/i386/fpu/e_logf.S: Likewise.
65847         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65848         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65849         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65850         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65851         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65852         * sysdeps/i386/fpu/e_log10.S: Likewise.
65853         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65854         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65855         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65856         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65857         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65858         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65859         * sysdeps/i386/asm-syntax.h: Likewise.
65860         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65861         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65862         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65863         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65864         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65865         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65866         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65867         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65868         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65869         * sysdeps/powerpc/sysdep.h: Likewise.
65870         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65871         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65873 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65875         [BZ #411]
65876         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65878 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65880         * sysdeps/i386/sysdep.h: Include <features.h>.
65881         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65882         version.
65884 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65886         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65887         Define.
65888         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65889         LOAD_PIC_REG_STR.
65891 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65893         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65894         (SETUP_PIC_REG): Use GET_PC_THUNK.
65895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65896         macro.
65898 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65900         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65901         for non-PIC compilation.
65902         (SETUP_PIC_REG): Add .p2align directive.
65903         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65904         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65905         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65906         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65907         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65908         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65909         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65910         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65911         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65912         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65913         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65914         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65915         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65916         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65917         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65918         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65919         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65920         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65921         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65922         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65923         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65925         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65926         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65929         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65930         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65931         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65932         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65933         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65934         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65935         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65936         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65937         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65938         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65939         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65940         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65941         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65942         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65943         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65945 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65947         * math/tst-CMPLX.c: Include <stdio.h>.
65949 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65951         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65952         float.
65953         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65954         * sysdeps/sparc/bits/mathdef.h: Likewise.
65956 2012-01-31  Marek Polacek  <polacek@redhat.com>
65958         * libio/libio.h: Don't define _PARAMS.
65959         * locale/programs/config.h: Don't define PARAMS.
65960         * stdlib/strtol_l.c: Likewise.
65961         (__strtol_l): Remove PARAMS from the prototype.
65963 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65965         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65966         names.  Just use the correct names.  Remove unnecessary wrapper
65967         functions.
65968         * malloc/arena.c: Likewise.
65969         * malloc/hooks.c: Likewise.
65971         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65972         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65973         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65975 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65977         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65978         into tail calls.
65979         (update_get_addr): New function.
65980         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65981         GET_ADDR_MODULE parameter.
65983 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65985         * crypt/cert.c: Remove __STDC__ conditionals.
65986         * crypt/crypt-entry.c: Likewise.
65987         * crypt/crypt_util.c: Likewise.
65988         * libio/filedoalloc.c: Likewise.
65989         * libio/fileops.c: Likewise.
65990         * libio/genops.c: Likewise.
65991         * libio/iofclose.c: Likewise.
65992         * libio/iofdopen.c: Likewise.
65993         * libio/iofopen.c: Likewise.
65994         * libio/iofopen64.c: Likewise.
65995         * libio/iogetdelim.c: Likewise.
65996         * libio/iopopen.c: Likewise.
65997         * libio/obprintf.c: Likewise.
65998         * libio/oldfileops.c: Likewise.
65999         * libio/oldiofclose.c: Likewise.
66000         * libio/oldiofdopen.c: Likewise.
66001         * libio/oldiofopen.c: Likewise.
66002         * libio/oldiopopen.c: Likewise.
66003         * libio/wfiledoalloc.c: Likewise.
66004         * libio/wgenops.c: Likewise.
66005         * locale/programs/xmalloc.c: Likewise.
66006         * misc/syslog.c: Likewise.
66007         * stdio-common/xbug.c: Likewise.
66008         * string/memchr.c: Likewise.
66009         * string/memcmp.c: Likewise.
66010         * string/memrchr.c: Likewise.
66011         * string/rawmemchr.c: Likewise.
66012         * sysdeps/posix/getcwd.c: Likewise.
66013         * time/strftime_l.c: Likewise.
66015 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66017         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66018         * config.make.in (config-cflags-sse2avx): Define.
66019         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66020         Fix typo.
66022 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66024         * scripts/config.guess: Update from upstream config git repository.
66025         * scripts/config.sub: Likewise.
66027 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66029         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66030         (EM_NUM): Update.
66031         (R_TILEPRO_*, R_TILEGX_*): New macros.
66033         * scripts/firstversions.awk: Fix bug in version range handling.
66035         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66037         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66039         * include/sys/epoll.h: New file.
66040         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66041         libc_hidden_def.
66043 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66045         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66046         Avoid unnecessary __WORDSIZE == 64 test.
66047         (fmaxf): Use VEX format if possible.
66048         (fmax): Likewise.
66049         (fminf): Likewise.
66050         (fmin): Likewise.
66052         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66053         * math/math_private.h: Remove libc_fegetround* and
66054         libc_fesetround*.
66055         * sysdeps/i386/configure.in: Check for -msse2avx.
66056         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66057         also if SSE2AVX is defined.
66058         Remove libc_fegetround* and libc_fesetround*.
66059         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66060         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66061         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66062         of HAS_YMM_USABLE.
66063         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66064         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66065         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66066         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66067         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66069         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66071 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66073         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66074         size is not set.
66075         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66077 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66079         [BZ #13618]
66080         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66081         relocation.
66082         * Makeconfig (libm): Define.
66083         * elf/Makefile: Add rules to build and run tst-relsort1.
66084         * elf/tst-relsort1.c: New file.
66085         * elf/tst-relsort1mod1.c: New file.
66086         * elf/tst-relsort1mod2.c: New file.
66088 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66090         * math/s_ldexp.c: Remove __STDC__ conditionals.
66091         * math/s_ldexpf.c: Likewise.
66092         * math/s_ldexpl.c: Likewise.
66093         * math/s_nextafter.c: Likewise.
66094         * math/s_nexttowardf.c: Likewise.
66095         * math/s_significand.c: Likewise.
66096         * math/s_significandf.c: Likewise.
66097         * math/s_significandl.c: Likewise.
66098         * math/w_jnl.c: Likewise.
66099         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66100         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66101         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66102         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66103         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66105         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66106         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66108         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66109         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66111         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66112         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66113         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66114         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66115         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66116         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66118         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66119         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66120         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66121         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66123         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66124         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66125         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66126         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66127         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66128         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66129         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66130         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66131         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66132         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66133         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66134         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66135         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66136         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66137         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66138         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66139         * sysdeps/ieee754/k_standard.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66188         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66189         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66206         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66207         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66214         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66215         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66219         * sysdeps/ieee754/s_matherr.c: Likewise.
66220         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66221         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66225 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66227         * crypt/md5.h: Remove __STDC__ conditionals.
66228         * libio/libioP.h: Likewise.
66229         * locale/programs/config.h: Likewise.
66230         * sysdeps/generic/sysdep.h: Likewise.
66231         * sysdeps/i386/asm-syntax.h: Likewise.
66232         * sysdeps/s390/asm-syntax.h: Likewise.
66233         * sysdeps/unix/sysdep.h: Likewise.
66234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66237 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66239         * libio/libio.h: Remove __STDC__ conditionals.
66240         * malloc/obstack.h: Likewise.
66241         * math/complex.h: Likewise.
66242         * math/math.h: Likewise.
66243         * sysdeps/generic/_G_config.h: Likewise.
66244         * sysdeps/gnu/_G_config.h: Likewise.
66245         * sysdeps/mach/hurd/_G_config.h: Likewise.
66246         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66247         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66248         * sysdeps/sparc/bits/mathdef.h: Likewise.
66250 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66252         [BZ #13583]
66253         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66254         Clean up HAS_* macros.
66255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66256         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66257         possible.
66258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66259         HAS_AVX.
66260         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66261         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66262         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66263         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66264         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66266 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66268         * elf/tst-unique3.cc (gets): Remove declaration.
66269         * elf/tst-unique3lib.cc (gets): Likewise.
66270         * elf/tst-unique3lib2.cc (gets): Likewise.
66271         * elf/tst-unique4.cc (gets): Likewise.
66273 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66275         * include/stdio.h: Add C++ protection.  Add gets declarations and
66276         definitions.
66277         * debug/tst-chk1.c: Don't declare gets here.
66278         * stdio-common/tst-gets.c: Likewise.
66280 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66282         * posix/glob: Remove directory.
66284 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66286         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66288 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66290         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66291         of the non-standard EPFNOSUPPORT.
66293 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66295         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66296         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66297         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66299 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66301         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66303 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66305         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66306         transient errors.
66307         * nscd/grpcache.c (cache_addgr): Likewise.
66308         * nscd/hstcache.c (cache_addhst): Likewise.
66309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66310         * nscd/pwdcache.c (cache_addpw): Likewise.
66311         * nscd/servicescache.c (cache_addserv): Likewise.
66313 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66315         * malloc/malloc.c: Various cleanups.
66316         * malloc/hooks.c: Likewise.
66318         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66319         * stdlib/bug-fmtmsg1.c: New file.
66321         * stdlib/fmtmsg.c (init): Add missing unlock.
66322         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66324 2012-01-12  Marek Polacek  <polacek@redhat.com>
66326         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66327         and _GNU_SOURCE.
66329 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66331         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66332         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66333         macro to ensure uniqueness of label name.
66334         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66335         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66337 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66339         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66341         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66342         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66343         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66346 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66348         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66350         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66351         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66352         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66354         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66356         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66357         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66358         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66359         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66361         * math/bits/math-finite.h: Add ldexp support.
66363 2012-01-10  Marek Polacek  <polacek@redhat.com>
66365         * locale/programs/localedef.h (show_archive_content): Add noreturn
66366         attribute.
66368 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66370         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66372 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66374         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66376         * io/Makefile (headers): Add bits/poll2.h.
66378 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66381         typo #include statement.
66383 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66385         * include/sys/cdefs.h: Define __attribute_alloc_size.
66386         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66387         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66388         * elf/pldd.c: Likewise.
66389         * iconv/iconv_charmap.c: Likewise.
66390         * iconv/iconvconfig.c: Likewise.
66391         * iconv/strtab.c: Likewise.
66392         * locale/programs/locale.c: Likewise.
66393         * locale/programs/localedef.h: Likewise.
66394         * locale/programs/simple-hash.c: Likewise.
66395         * nscd/nscd.h: Likewise.
66396         * nss/makedb.c: Likewise.
66397         * sysdeps/generic/ldconfig.h: Likewise.
66398         * locale/programs/localedef.c: Remove xmalloc prototype.
66399         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66401 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66403         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66404         appropriate.
66406 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66408         * math/Makefile (tests): Add tst-CMPLX.
66409         * math/tst-CMPLX.c: New file.
66411         * math/complex.h (CMPLXL): Fix typo.
66413         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66414         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66415         GLIBC_2.16.
66416         * debug/tst-chk1.c: Add poll and ppoll tests.
66417         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66418         * include/sys/poll.h: Add hidden proto for ppoll.
66419         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66420         * sysdeps/mach/hurd/ppoll.c: Likewise.
66421         * io/ppoll.c: Likewise.
66422         * debug/poll_chk.c: New file.
66423         * debug/ppoll_chk.c: New file.
66424         * include/bits/poll2.h: New file.
66425         * io/bits/poll2.h: New file.
66427         [BZ #1350]
66428         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66430         * configure.in: static is always set to yes.  Remove.
66431         * config.make.in: Don't set build-static.
66432         * Makeconfig: Remove use of build-static.
66433         * dlfcn/Makefile: Likewise.
66434         * elf/Makefile: Likewise.
66435         * math/Makefile: Likewise.
66436         * misc/Makefile: Likewise.
66437         * nptl/Makefile: Likewise.
66438         * sysdeps/mach/hurd/Makefile: Likewise.
66440         * configure.in: PWD_P is not used anymore.
66441         * config.make.in: Remove PWD_P entry.
66443         * configure.in: Remove last remnants of RANLIB.
66444         No need to check for signed size_t anymore.
66445         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66446         and IA-64.
66447         Remove __builtin_expect test because we require at least gcc 3.4.
66448         * aclocal.m4: Likewise.
66450         * wcsmbs/mbrtoc16.c: Implement using towc function.
66451         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66452         * wcsmbs/wcsmbsload.c: Likewise.
66453         * iconv/gconv_simple.c: Likewise.
66454         * iconv/gconv_int.h: Likewise.
66455         * iconv/gconv_builtin.h: Likewise.
66456         * iconv/iconv_prog.c: Remove CHAR16 handling.
66458         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66460         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66462         * configure.in: Remove --with-elf and --enable-bounded options.
66463         Dont set base_machine for ia64.  More non-ELF conditions removed.
66464         Remove testing and setting of leading underscore information.
66465         * config.make.in (build-bounded): Set to no.
66466         * config.h.in: Remove NO_UNDERSCORES entry.
66467         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66468         them.
66469         * csu/start.c: Remove !NO_UNDERSCORE code.
66470         * locale/localeinfo.h: Likewise.
66471         * sysdeps/generic/machine-gmon.h: Likewise.
66472         * sysdeps/generic/sysdep.h: Likewise.
66473         * sysdeps/i386/sysdep.h: Likewise.
66474         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66475         * sysdeps/mach/sysdep.h: Likewise.
66476         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66477         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66478         * sysdeps/sh/sysdep.h: Likewise.
66479         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66480         * sysdeps/unix/i386/sysdep.S: Likewise.
66481         * sysdeps/unix/sparc/start.c: Likewise.
66482         * sysdeps/unix/sparc/sysdep.S: Likewise.
66483         * sysdeps/unix/sparc/sysdep.h: Likewise.
66484         * sysdeps/unix/start.c: Likewise.
66485         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66486         * sysdeps/x86_64/sysdep.h: Likewise.
66488 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66490         [BZ #13553]
66491         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66492         for non-gcc.
66493         * argp/argp-fmtstream.h: Use const instead __const.
66494         * argp/argp.h: Likewise.
66495         * assert/assert.h: Likewise.
66496         * bits/fenv.h: Likewise.
66497         * bits/sched.h: Likewise.
66498         * bits/sigset.h: Likewise.
66499         * bits/sigthread.h: Likewise.
66500         * catgets/nl_types.h: Likewise.
66501         * conform/data/pthread.h-data: Likewise.
66502         * crypt/crypt-private.h: Likewise.
66503         * crypt/crypt.h: Likewise.
66504         * crypt/crypt_util.c: Likewise.
66505         * ctype/ctype.h: Likewise.
66506         * debug/execinfo.h: Likewise.
66507         * debug/mbsnrtowcs_chk.c: Likewise.
66508         * debug/mbsrtowcs_chk.c: Likewise.
66509         * debug/wcsnrtombs_chk.c: Likewise.
66510         * debug/wcsrtombs_chk.c: Likewise.
66511         * debug/wcstombs_chk.c: Likewise.
66512         * dirent/dirent.h: Likewise.
66513         * dlfcn/dlfcn.h: Likewise.
66514         * elf/neededtest4.c: Likewise.
66515         * grp/grp.h: Likewise.
66516         * gshadow/gshadow.h: Likewise.
66517         * iconv/gconv.h: Likewise.
66518         * iconv/gconv_int.h: Likewise.
66519         * iconv/gconv_simple.c: Likewise.
66520         * iconv/iconv.h: Likewise.
66521         * iconv/loop.c: Likewise.
66522         * iconv/skeleton.c: Likewise.
66523         * include/aio.h: Likewise.
66524         * include/aliases.h: Likewise.
66525         * include/argz.h: Likewise.
66526         * include/arpa/inet.h: Likewise.
66527         * include/assert.h: Likewise.
66528         * include/dirent.h: Likewise.
66529         * include/dlfcn.h: Likewise.
66530         * include/execinfo.h: Likewise.
66531         * include/fcntl.h: Likewise.
66532         * include/fenv.h: Likewise.
66533         * include/glob.h: Likewise.
66534         * include/grp.h: Likewise.
66535         * include/libintl.h: Likewise.
66536         * include/mntent.h: Likewise.
66537         * include/netdb.h: Likewise.
66538         * include/pwd.h: Likewise.
66539         * include/rpc/netdb.h: Likewise.
66540         * include/sched.h: Likewise.
66541         * include/search.h: Likewise.
66542         * include/shadow.h: Likewise.
66543         * include/signal.h: Likewise.
66544         * include/stdio.h: Likewise.
66545         * include/stdlib.h: Likewise.
66546         * include/string.h: Likewise.
66547         * include/sys/socket.h: Likewise.
66548         * include/sys/stat.h: Likewise.
66549         * include/sys/statfs.h: Likewise.
66550         * include/sys/statvfs.h: Likewise.
66551         * include/sys/syslog.h: Likewise.
66552         * include/sys/time.h: Likewise.
66553         * include/sys/uio.h: Likewise.
66554         * include/time.h: Likewise.
66555         * include/unistd.h: Likewise.
66556         * include/utmp.h: Likewise.
66557         * include/wchar.h: Likewise.
66558         * include/wctype.h: Likewise.
66559         * inet/aliases.h: Likewise.
66560         * inet/arpa/inet.h: Likewise.
66561         * inet/netinet/ether.h: Likewise.
66562         * inet/netinet/in.h: Likewise.
66563         * intl/libintl.h: Likewise.
66564         * io/bits/fcntl2.h: Likewise.
66565         * io/fcntl.h: Likewise.
66566         * io/ftw.h: Likewise.
66567         * io/sys/poll.h: Likewise.
66568         * io/sys/stat.h: Likewise.
66569         * io/sys/statfs.h: Likewise.
66570         * io/sys/statvfs.h: Likewise.
66571         * io/utime.h: Likewise.
66572         * libio/bits/stdio.h: Likewise.
66573         * libio/bits/stdio2.h: Likewise.
66574         * libio/libio.h: Likewise.
66575         * libio/libioP.h: Likewise.
66576         * libio/stdio.h: Likewise.
66577         * locale/lc-ctype.c: Likewise.
66578         * locale/locale.h: Likewise.
66579         * login/utmp.h: Likewise.
66580         * malloc/arena.c: Likewise.
66581         * malloc/malloc.c: Likewise.
66582         * malloc/malloc.h: Likewise.
66583         * malloc/mcheck.c: Likewise.
66584         * malloc/mtrace.c: Likewise.
66585         * math/bits/mathcalls.h: Likewise.
66586         * math/fenv.h: Likewise.
66587         * math/math_private.h: Likewise.
66588         * misc/bits/error.h: Likewise.
66589         * misc/bits/syslog.h: Likewise.
66590         * misc/err.h: Likewise.
66591         * misc/error.h: Likewise.
66592         * misc/fstab.h: Likewise.
66593         * misc/mntent.h: Likewise.
66594         * misc/regexp.h: Likewise.
66595         * misc/search.h: Likewise.
66596         * misc/sgtty.h: Likewise.
66597         * misc/sys/mman.h: Likewise.
66598         * misc/sys/syslog.h: Likewise.
66599         * misc/sys/uio.h: Likewise.
66600         * misc/sys/xattr.h: Likewise.
66601         * misc/ttyent.h: Likewise.
66602         * nis/rpcsvc/ypclnt.h: Likewise.
66603         * nss/nss.h: Likewise.
66604         * posix/bits/unistd.h: Likewise.
66605         * posix/fnmatch.h: Likewise.
66606         * posix/glob.h: Likewise.
66607         * posix/sched.h: Likewise.
66608         * posix/spawn.h: Likewise.
66609         * posix/sys/wait.h: Likewise.
66610         * posix/unistd.h: Likewise.
66611         * posix/wordexp.h: Likewise.
66612         * pwd/pwd.h: Likewise.
66613         * resolv/netdb.h: Likewise.
66614         * resource/sys/resource.h: Likewise.
66615         * rt/aio.h: Likewise.
66616         * rt/bits/mqueue2.h: Likewise.
66617         * rt/mqueue.h: Likewise.
66618         * shadow/shadow.h: Likewise.
66619         * signal/signal.h: Likewise.
66620         * socket/send.c: Likewise.
66621         * socket/sendto.c: Likewise.
66622         * socket/sys/socket.h: Likewise.
66623         * stdio-common/printf.h: Likewise.
66624         * stdlib/bits/stdlib.h: Likewise.
66625         * stdlib/fmtmsg.h: Likewise.
66626         * stdlib/monetary.h: Likewise.
66627         * stdlib/stdlib.h: Likewise.
66628         * stdlib/ucontext.h: Likewise.
66629         * streams/stropts.h: Likewise.
66630         * string/argz.h: Likewise.
66631         * string/bits/string2.h: Likewise.
66632         * string/string.h: Likewise.
66633         * string/strings.h: Likewise.
66634         * sunrpc/rpc/auth.h: Likewise.
66635         * sunrpc/rpc/auth_des.h: Likewise.
66636         * sunrpc/rpc/clnt.h: Likewise.
66637         * sunrpc/rpc/netdb.h: Likewise.
66638         * sunrpc/rpc/pmap_clnt.h: Likewise.
66639         * sunrpc/rpc/xdr.h: Likewise.
66640         * sysdeps/generic/inttypes.h: Likewise.
66641         * sysdeps/generic/net/if.h: Likewise.
66642         * sysdeps/generic/sys/swap.h: Likewise.
66643         * sysdeps/gnu/net/if.h: Likewise.
66644         * sysdeps/gnu/utmpx.h: Likewise.
66645         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66646         * sysdeps/i386/i486/bits/string.h: Likewise.
66647         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66648         * sysdeps/s390/bits/string.h: Likewise.
66649         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66650         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66651         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66652         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66653         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66654         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66655         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66656         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66657         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66658         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66659         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66660         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66661         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66662         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66663         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66664         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66665         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66667         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66668         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66670         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66671         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66672         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66673         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66674         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66675         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66676         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66677         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66678         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66679         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66680         * sysvipc/sys/ipc.h: Likewise.
66681         * sysvipc/sys/msg.h: Likewise.
66682         * sysvipc/sys/sem.h: Likewise.
66683         * sysvipc/sys/shm.h: Likewise.
66684         * termios/termios.h: Likewise.
66685         * time/sys/time.h: Likewise.
66686         * time/time.h: Likewise.
66687         * wcsmbs/bits/wchar2.h: Likewise.
66688         * wcsmbs/uchar.h: Likewise.
66689         * wcsmbs/wchar.h: Likewise.
66690         * wctype/wctype.h: Likewise.
66692         [BZ #13551]
66693         * Makeconfig: Remove all but ELF support including AIX support.
66694         * Makerules: Likewise.
66695         * config.h.in: Likewise.
66696         * config.make.in: Likewise.
66697         * configure: Likewise.
66698         * configure.in: Likewise.
66699         * csu/Makefile: Likewise.
66700         * csu/version.c: Likewise.
66701         * debug/Makefile: Likewise.
66702         * dlfcn/Makefile: Likewise.
66703         * elf/Makefile: Likewise.
66704         * extra-lib.mk: Likewise.
66705         * iconv/Makefile: Likewise.
66706         * include/libc-symbols.h: Likewise.
66707         * include/shlib-compat.h: Likewise.
66708         * resolv/Makefile: Likewise.
66709         * resolv/res_libc.c: Likewise.
66710         * rt/Makefile: Likewise.
66711         * sysdeps/i386/asm-syntax.h: Likewise.
66712         * sysdeps/i386/sysdep.h: Likewise.
66713         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66714         * sysdeps/mach/sysdep.h: Likewise.
66715         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66716         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66717         * sysdeps/s390/asm-syntax.h: Likewise.
66718         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66720         * sysdeps/sh/sysdep.h: Likewise.
66721         * sysdeps/unix/sparc/sysdep.h: Likewise.
66722         * sysdeps/wordsize-32/divdi3.c: Likewise.
66723         * sysdeps/x86_64/sysdep.h: Likewise.
66725         * argp/Versions: Remove _argp_unlock_xxx.
66727         [BZ #13559]
66728         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66729         * abilist/libBrokenLocale.abilist: Likewise.
66730         * abilist/libanl.abilist: Likewise.
66731         * abilist/libc.abilist: Likewise.
66732         * abilist/libcrypt.abilist: Likewise.
66733         * abilist/libdl.abilist: Likewise.
66734         * abilist/libm.abilist: Likewise.
66735         * abilist/libnsl.abilist: Likewise.
66736         * abilist/libpthread.abilist: Likewise.
66737         * abilist/libresolv.abilist: Likewise.
66738         * abilist/librt.abilist: Likewise.
66739         * abilist/libthread_db.abilist: Likewise.
66740         * abilist/libutil.abilist: Likewise.
66741         * abilist/libnss_db.abilist: New file.
66743         * scripts/abilist.awk: Add support for indirect functions.
66745         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66747         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66749         * shlib-versions: Remove entries for ports architectures.
66751         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66752         files in ports.
66753         * elf/stackguard-macros.h: Remove support for IA-64.
66754         * elf/tst-auditmod1.c: Likewise.
66755         * sysdeps/generic/ldsodefs.h: Likewise.
66757         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66758         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66759         configure files.
66761         [BZ #13552]
66762         * configure.in: Remove --enable-omitfp support.
66763         * FAQ.in: Adjust.
66764         * config.make.in: Likewise.
66765         * Makeconfig: Likewise.
66766         * manual/install.texi: Likewise.
66768         In case anyone cares, the IA-64 architecture could move to ports.
66769         * sysdeps/ia64/*: Removed.
66770         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66771         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66773         [BZ #13555]
66774         * configure.in: Remove entries for unsupported architectures.
66776         [BZ #13533]
66777         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66778         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66779         routines.
66780         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66781         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66782         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66783         fall back to using wcrtomb.
66784         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66785         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66786         renaming.
66787         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66788         * wcsmbs/tst-c16c32-1.c: New file.
66790         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66791         local variable.
66793         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66795         * elf/tst-unique3.cc: Add explicit declaration of gets.
66796         * elf/tst-unique3lib.cc: Likewise.
66797         * elf/tst-unique3lib2.cc: Likewise.
66798         * elf/tst-unique4.cc: Likewise.
66800         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66802 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66804         [BZ #13566]
66805         * assert/assert.h (static_assert): Don't define for C++.
66806         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66807         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66809 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66811         * iconv/loop.c (single loop): Fix assertion in storing of
66812         remaining bytes.
66814         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66816 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66818         * posix/getconf.c: Update copyright year.
66819         * nss/getent.c: Likewise.
66820         * nss/makedb.c: Likewise.
66821         * iconv/iconvconfig.c: Likewise.
66822         * iconv/iconv_prog.c: Likewise.
66823         * elf/ldconfig.c: Likewise.
66824         * elf/pldd.c: Likewise.
66825         * elf/sotruss.ksh: Likewise.
66826         * catgets/gencat.c: Likewise.
66827         * csu/version.c: Likewise.
66828         * elf/ldd.bash.in: Likewise.
66829         * elf/sprof.c (print_version): Likewise.
66830         * locale/programs/locale.c: Likewise.
66831         * locale/programs/localedef.c: Likewise.
66832         * login/programs/pt_chown.c: Likewise.
66833         * nscd/nscd.c (print_version): Likewise.
66834         * debug/xtrace.sh: Likewise.
66835         * malloc/memusage.sh: Likewise.
66836         * malloc/mtrace.pl: Likewise.
66837         * debug/catchsegv.sh: Likewise.
66839 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66841         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66842         pure attribute.
66844 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66846         [BZ #13533]
66847         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66848         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66849         transformations.
66850         * iconv/gconv_int.h: Likewise.
66851         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66852         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66853         from libc for GLIBC_2.16.
66854         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66855         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66856         * wcsmbs/uchar.h: Really define mbstate_t.
66857         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66858         * wcsmbs/c16rtomb.c: New file.
66859         * wcsmbs/mbrtoc16.c: New file.
66860         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66861         for C/POSIX locale.
66862         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66863         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66865         * wcsmbs/wchar.h: Add missing __restrict.
66867 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66869         [BZ #13532]
66870         * time/Makefile (routines): Add timespec_get.
66871         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66872         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66873         timespec for ISO C11.
66874         * time/timespec_get.c: New file.
66875         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66876         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66878         [BZ #13531]
66879         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66880         * stdlib/stdlib.h: Declare aligned_alloc.
66881         * Versions.def: Add GLIBC_2.16 for libc.
66882         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66884         [BZ 13527]
66885         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66886         ISO C11.
66888         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66889         code.
66891         [BZ #13528]
66892         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66894         [BZ #13529]
66895         * assert/assert.h (static_assert): Define.
66897         * version.h: Update for 2.16 development version.
66899         [BZ #13526]
66900         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66901         _ISOC11_SOURCE.
66903         * version.h (RELEASE): Bump for 2.15 release.
66904         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66906         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66907         Patch by Marek Polacek <mpolacek@redhat.com>.
66909         * bits/byteswap.h: Protect long long constants with __extension__.
66910         * sysdeps/i386/bits/byteswap.h: Likewise.
66911         * sysdeps/ia64/bits/byteswap.h: Likewise.
66912         * sysdeps/s390/bits/byteswap.h: Likewise.
66913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66915 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66917         [BZ #13540]
66918         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66919         destination buffer.
66920         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66922 2011-12-23  Marek Polacek  <polacek@redhat.com>
66924         * elf/dl-addr.c (determine_info): Add inline keyword.
66925         * elf/tst-auditmod4b.c (check_avx): Likewise.
66926         * elf/tst-auditmod6b.c (check_avx): Likewise.
66927         * elf/tst-auditmod6c.c (check_avx): Likewise.
66928         * elf/tst-auditmod7b.c (check_avx): Likewise.
66930 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66932         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66933         !__SSE_MATH__.
66935 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66937         [BZ #13540]
66938         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66939         processing for last bytes.
66941 2011-08-06  Bruno Haible  <bruno@clisp.org>
66943         [BZ #13061]
66944         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66945         U+0385, not to U+1FEE.
66947         [BZ #13062]
66948         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66949         entry for U+00A5 U+0301.
66951 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66953         [BZ #13166]
66954         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66955         buffer for the output is too small.
66957         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66958         optimization.
66960         [BZ #13185]
66961         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66962         SSE flags if possible.
66964 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66966         [BZ #13540]
66967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66968         processing for last bytes.
66970 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66972         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66973         (syscall-list-default-options, syscall-list-default-condition)
66974         (syscall-list-includes): Define.
66975         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66976         list of ABIs and options and #if conditions for each ABI.  Do not
66977         handle common syscalls between ABIs specially.
66978         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66979         Remove.
66980         (syscall-list-variants, syscall-list-32bit-options)
66981         (syscall-list-32bit-condition, syscall-list-64bit-options)
66982         (syscall-list-64bit-condition): Define.
66983         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66984         (syscall-list-variants, syscall-list-32bit-options)
66985         (syscall-list-32bit-condition, syscall-list-64bit-options)
66986         (syscall-list-64bit-condition): Define.
66987         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66988         Remove.
66989         (syscall-list-variants, syscall-list-32bit-options)
66990         (syscall-list-32bit-condition, syscall-list-64bit-options)
66991         (syscall-list-64bit-condition): Define.
66992         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66993         Remove.
66994         (syscall-list-variants, syscall-list-32bit-options)
66995         (syscall-list-32bit-condition, syscall-list-64bit-options)
66996         (syscall-list-64bit-condition): Define.
66998 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67000         * locale/iso-639.def: Add brx entry.
67002         [BZ #13328]
67003         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67004         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67006         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67007         __feraiseexcept_renamed.
67009 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67011         [BZ #13538]
67012         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67013         EPOLLET with unsigned values.
67014         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67015         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67017         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67018         to large cancellation.
67019         * math/s_cacoshf.c: Likewise.
67020         * math/s_cacoshl.c: Likewise.
67022 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67024         [BZ #13305]
67025         [BZ #12786]
67026         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67027         * math/s_cacoshf.c: Likewise.
67028         * math/s_cacoshl.c: Likewise.
67030 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67032         [BZ #13439]
67033         * iconv/gconv.h: Define __GCONV_SWAP.
67034         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67035         * iconvdata/utf-16.c: Likewise.
67036         * iconvdata/utf-32.c: Likewise.
67038 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67040         [BZ #13524]
67041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67042         numerator after shifting it by one limb.
67044 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67046         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67047         under [__USE_EXTERN_INLINES].
67049 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67051         [BZ #13446]
67052         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67054 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67056         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67057         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67058         optimized code.
67059         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67060         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67061         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67062         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67063         for strncasecmp/strncasecmp_l compilation.
67064         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67065         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67067 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67069         [BZ #13484]
67070         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67071         of __asm__.
67073 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67075         [BZ #13506]
67076         * time/tzfile.c (__tzfile_read): Check values from file header.
67078 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67080         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67081         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67082         * powerpc/powerpc32/dl-start.S: Likewise.
67083         * powerpc/powerpc32/elf/start.S: Likewise.
67084         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67085         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67086         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67087         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67088         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67089         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67090         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67091         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67092         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67093         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67094         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67095         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67096         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67097         * powerpc/powerpc32/memset.S: Likewise.
67098         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67099         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67100         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67101         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67102         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67103         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67104         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67105         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67106         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67107         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67108         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67109         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67110         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67112 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67114         * math/libm-test.inc: Added more nearbyint tests.
67115         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67116         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67120 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67122         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67123         FD_CLOEXEC.
67125 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67127         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67128         Add wcscpy-ssse3 wcscpy-c.
67129         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67130         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67131         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67132         * sysdeps/x86_64/wcschr.S: New file.
67133         * sysdeps/x86_64/wcsrchr.S: New file.
67134         * string/test-strcmp.c: Remove checking of wcscmp function for
67135         wrong alignments.
67136         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67137         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67138         wcsrchr-sse2 wcsrchr-c.
67139         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67140         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67141         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67142         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67143         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67144         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67145         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67146         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67147         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67148         * wcsmbc/wcschr.c (WCSCHR): New macro.
67150 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67152         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67153         * wcsmbs/test-wcsrchr.c: New file.
67154         * string/test-strrchr.c: Add wcsrchr support.
67155         (WIDE): New macro.
67156         * wcsmbs/test-wcscpy.c: New file.
67157         * string/test-strcpy.c: Add wcscpy support.
67158         (WIDE): New macro.
67160 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67162         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67163         the inner loop.
67165 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67167         [BZ #13472]
67168         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67170 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67172         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67173         Minor optimizations.
67175         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67176         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67177         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67179 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67181         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67182         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67183         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67184         for gcc to avoid warnings.
67185         * inet/Makefile (tests): Add tst-checks.
67186         * inet/tst-checks.c: New file.
67188         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67189         warning.
67191         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67192         __wmemcmp_sse2.
67194         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67195         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67197         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67199 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67201         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67202         problem.
67204         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67206 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67208         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67209         conditional on GCC version.
67210         (__arch_compare_and_exchange_val_8_acq)
67211         (__arch_compare_and_exchange_val_16_acq)
67212         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67213         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67214         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67216 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67218         * sysdeps/sh/backtrace.c: New file.
67220 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67222         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67223         parenthesis.
67225 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67227         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67228         falling back to utime.
67230 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67232         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67233         expectations for float.
67235 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67237         * locale/weight.h (findidx): Add parameter len.
67238         * locale/weightwc.h (findidx): Likewise.
67239         * posix/fnmatch_loop.c (FCT): Adjust caller.
67240         * posix/regcomp.c (build_equiv_class): Likewise.
67241         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67242         * posix/regexec.c (check_node_accept_bytes): Likewise.
67243         * string/strcoll_l.c (STRCOLL): Likewise.
67244         * string/strxfrm_l.c (STRXFRM): Likewise.
67246 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67248         * Makefile.in: Remove CVSOPT handling.
67249         * configure.in: Remove use of AC_REVISION.
67250         * iconvdata/Makefile (distribute): No need to filter out CVS.
67251         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67252         handling.
67254 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67257         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67258         [USE_AS_STRNCASECMP_L]: Likewise.
67259         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67260         NO_TLS_DIRECT_SEG_REFS.
67261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67262         Fix argument offsets for non-PIC.
67263         [USE_AS_STRNCASECMP_L]: Likewise.
67264         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67265         NO_TLS_DIRECT_SEG_REFS.
67267 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67269         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67270         O_CLOEXEC.
67271         * locale/loadlocale.c (_nl_load_locale): Likewise.
67273 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67275         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67276         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67277         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67278         (SYSCALL_GETTIME): Set errno on error.
67280         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67281         count references to noai6ai_cached.
67283 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67285         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67287         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67288         FD_CLOEXEC for /proc/self/maps.
67290         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67291         FD_CLOEXEC for /proc/meminfo.
67293         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67294         gai.conf.
67296         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67297         FD_CLOEXEC for given file.
67299         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67301         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67302         FD_CLOEXEC for /etc/hosts.
67303         (_gethtent): Likewise.
67305         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67307         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67308         cancellation and set FD_CLOEXEC for /etc/netgroup.
67310         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67311         reading /etc/publickey.
67313         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67314         allow cancellation when reading /etc/group.
67316         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67317         cancellation.
67318         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67320         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67321         when using data file.
67323         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67325         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67326         (write_nis_obj): Use "c" and "e" in fopen.
67328         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67330         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67332         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67334         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67336         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67337         locale.alias.
67339         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67341         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67343         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67345         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67346         file parsing and set FD_CLOEXEC.
67348 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67350         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67352 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67354         * malloc/arena.c (arena_get2): Don't call reused_arena when
67355         _int_new_arena failed.
67357 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67359         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67360         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67361         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67364         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67365         to compile strcasecmp and strncasecmp.
67366         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67367         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67371 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67373         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67374         locale-defines.sym to gen-as-const-headers.
67375         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67376         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67377         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67378         to compile strcasecmp and strncasecmp.
67379         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67380         strcasecmp_l and strncasecmp_l.
67381         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67382         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67383         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67384         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67385         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67386         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67387         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67388         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67389         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67390         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67391         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67393 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67395         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67396         result of SYSDEP_GETTIME_CPU to retval.
67397         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67398         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67400         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67401         variable.
67403         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67404         mantissa words.
67405         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67407         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67408         from unused variable.
67410         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67411         DWARF definitions.
67412         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67413         for assembling.
67415         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67416         over namespaces.
67418         * sunrpc/rpc_prot.c (rejected): Fix case value.
67420         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67421         unsigned long long int to avoid warnings in shift.
67423         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67424         of use of trans.
67425         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67426         variable tmp.
67428         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67429         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67430         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67432         * nis/nis_table.c (nis_list): Use variable of correct type for
67433         result of __follow_path call.
67435 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67437         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67438         of math functions ceil, trunc, floor, round, and sqrt, when
67439         avaliable on the platform.
67440         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67441         name clash.
67442         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67443         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67444         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67446 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67448         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67449         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67451 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67453         * include/unistd.h: Fix __readlink return type.
67454         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67456 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67458         * stdlib/ucontext.h: Undo last change for makecontext.
67460 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67462         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67464         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67465         * setjmp/setjmp.h: Mark functions as non-leaf.
67466         * setjmp/bits/setjmp2.h: Likewise.
67467         * stdlib/ucontext.h: Likewise.
67469 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67471         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67472         (reused_arena): Don't check arena limit.
67473         (arena_get2): Atomically check arena limit.
67475 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67477         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67478         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67481         instructions.
67483 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67485         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67486         handler when locking.
67488         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67489         Fix size of allocated buffer.
67491 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67493         [BZ #10103]
67494         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67495         declarations for long double functions.
67496         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67498         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67500 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67502         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67503         installed.
67505         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67506         is disabled.
67508 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67510         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67512 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67514         * include/alloca.h (stackinfo_alloca_round): Define.
67515         (extend_alloca): Use it.
67516         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67517         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67518         here.
67520         * scripts/check-local-headers.sh: Ignore libaudit.h.
67522         * nscd/Makefile (extra-objs): Make recursively expanded.
67524 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67526         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67527         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67529         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67530         * posix/tst-rfc3484-2.c: Likewise.
67531         * posix/tst-rfc3484-3.c: Likewise.
67533         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67534         process_vm_writev.
67535         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67536         process_vm_writev.
67537         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67538         process_vm_writev from libc using GLIBC_2.15 version.
67540         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67542 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67544         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67545         stack usage.
67547 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67549         [BZ #13367]
67550         * nss/getent.c (initgroups_keys): Show error message in case no group
67551         names are given.
67553         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67554         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67555         __bump_nl_timestamp.
67556         * nscd/connections (nscd_init): When host database is served open
67557         netlink socket and request notification about configuration changes.
67558         (main_loop_poll): Track netlink file descriptor and bump timestamp
67559         in case data becomes available.
67560         (main_loop_epoll): Likewise.
67561         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67562         (database_pers_head): Add extra_data fileds.
67563         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67564         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67565         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67566         Adjust caller.
67567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67568         in6ai data, call __free_in6ai.
67569         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67570         Add -DHAVE_NETLINK.
67571         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67572         interface information.  Reuse previous data if netlink timestamp
67573         is not changed.
67574         (__bump_nl_timestamp): New function.
67575         (__free_in6ai): New function.
67577 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67579         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67580         close_not_cancel_no_status here.
67581         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67583 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67585         [BZ #13276]
67586         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67587         return value.
67589         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67590         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67591         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67593 2011-07-03  Andreas Jaeger  <aj@suse.de>
67595         [BZ #10709]
67596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67597         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67598         * math/libm-test.inc (sin_test): Add test case.
67600 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67602         [BZ #13337]
67603         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67604         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67606         * elf/chroot_canon.c (chroot_canon): Cleanups.
67608         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67610         [BZ #13335]
67611         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67612         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67614         * string/test-strchr.c: Make usable for strchrnul testing.
67615         * string/test-strchrnul.c: New file.
67616         * string/Makefile (strop-tests): Add strchrnul.
67618         * po/it.po: Update from translation team.
67619         * po/es.po: Likewise.
67621 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67623         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67624         the three constants needed as parameters.  Drop the others.
67625         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67626         __m128i_strloadu_tolower.
67627         Create and initialize variable zero and use it in all the places
67628         where _mm_setzero_si128 was used.
67630         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67631         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67632         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67633         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67634         anymore.
67635         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67636         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67637         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67638         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67639         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67640         __mpranred, __mptan.
67641         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67642         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67643         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67644         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67645         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67646         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67647         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67648         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67649         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67651 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67653         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67654         redefine if SHARED.
67655         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67658         wide char related routines to wcsmbs subdir.
67660 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67662         [BZ #13344]
67663         * misc/sys/cdefs.h (__THROWNL): Define.
67664         * posix/unistd.h: Use __THREADNL instead of __THREAD
67665         for memory synchronization functions.
67667 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67669         [BZ #13349]
67670         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67671         doesn't exist.
67672         * manual/stdio.texi (Obstack Streams): Node removed.
67674 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67676         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67677         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67678         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67680         * math/math_private.h (math_force_eval): Allow non-addressable
67681         arguments.
67682         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67684 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67686         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67687         file is not needed.
67689         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67690         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67692         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67693         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67694         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67695         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67696         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67697         Add AVX variants.
67698         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67699         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67700         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67701         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67702         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67703         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67704         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67705         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67706         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67707         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67708         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67709         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67710         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67711         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67712         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67713         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67714         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67715         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67716         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67718         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67719         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67721         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67722         place.  Use VEX encoding when compiling for AVX.
67724 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67726         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67727         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67729         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67731 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67733         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67734         useless if() expression.
67735         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67738         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67739         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67741         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67744         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67745         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67746         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67747         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67748         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67749         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67750         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67751         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67752         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67753         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67755         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67757 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67759         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67760         condition.
67761         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67763 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67765         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67766         .text section.  Avoid duplicate constants.
67767         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67769         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67776         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67777         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67778         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67779         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67780         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67781         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67782         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67783         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67785         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67787         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67788         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67789         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67790         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67791         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67792         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67793         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67794         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67795         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67796         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67797         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67798         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67800         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67801         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67802         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67803         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67805         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67806         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67807         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67809         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67810         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67811         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67813 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67815         * sysdeps/x86_64/dla.h: Move to ...
67816         * sysdeps/x86_64/fpu/dla.h: ...here.
67817         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67818         situations.  Use __builtin_fma only for gcc 4.6 and up.
67820         * config.make.in: Add have-mfma4 entry.
67821         * configure.in: Substitute libc_cv_cc_fma4.
67822         * math/Makefile (dbl-only-routines): Add sincostab.
67823         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67824         Use __sincostab not sincos.
67825         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67826         name is a macro.
67827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67831         using __copysign.
67832         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67833         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67834         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67835         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67836         and __inv.
67837         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67838         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67839         __copysign.
67840         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67841         define aliases when function name is a macro.
67842         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67843         sysdeps/ieee754/dbl-64/sincos.tbl.
67844         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67845         fma4-enabled routines.
67846         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67847         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67848         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67849         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67850         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67851         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67853         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67855         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67856         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67857         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67858         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67859         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67860         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67861         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67862         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67863         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67864         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67865         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67866         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67867         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67868         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67869         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67870         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67871         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67872         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67873         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67874         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67875         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67877         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67878         rename.
67879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67880         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67884         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67885         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67888 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67890         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67892 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67894         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67896         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67897         prediction.
67898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67900         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67901         Remove unused variable magic_bits.
67902         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67904         * string/strnlen.c: Define and use STRNLEN macro.
67905         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67906         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67907         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67908         * wcsmbs/wcslen.c: Define and use WCSLEN.
67909         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67910         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67911         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67912         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67913         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67914         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67915         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67917 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67920         strnlen-sse2-no-bsf.
67921         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67922         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67923         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67924         Add strnlen support.
67925         (USE_AS_STRNLEN): New macro.
67926         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67927         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67928         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67929         * sysdeps/x86_64/wcslen.S: New file.
67931 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67933         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67934         XMM-moves are used for copying on small sizes.
67936 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67938         * wcsmbs/Makefile (strop-tests): Add wcschr.
67939         * wcsmbs/test-wcschr.c: New file.
67940         * string/test-strchr.c: Update.
67941         Add wcschr support.
67942         (WIDE): New macro.
67944 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67946         * wcsmbs/Makefile (strop-tests): Add wcslen.
67947         * wcsmbs/test-wcslen.c: New file.
67948         * string/test-strlen.c: Update.
67949         Add wcslen support.
67950         (WIDE): New macro.
67952 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67954         * po/it.po: Update from translation team.
67956 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67958         * sysdeps/x86_64/wcscmp.S: Update.
67959         Fix wrong comparison semantics.
67960         wcscmp shall use signed comparison not unsigned.
67961         Don't use substraction to avoid overflow bug.
67962         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67963         * wcsmbc/wcscmp.c: Likewise.
67964         * string/test-strcmp.c: Likewise.
67965         Add new tests to check cases with negative values.
67967 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67969         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67970         * sysdeps/x86_64/dla.h: ...here.  New file.
67971         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67981 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67984         __ynl_finite aliases.
67986 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67990         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67991         define DLA_FMA.
67992         [DLA_FMA] (EMULV): Use DLA_FMA.
67993         [DLA_FMA] (MUL12): Use EMULV.
67994         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67995         that are not needed.
67996         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68004 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68006         * math/s_nan.c: Undef __nan.
68007         * math/s_nanf.c: Undef __nanf.
68008         * math/s_nanl.c: Undef __nanl.
68009         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68010         "math_private.h".
68012 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68014         * math/s_catan.c: Add branch predictions.
68015         * math/s_catanf.c: Likewise.
68016         * math/s_catanh.c: Likewise.
68017         * math/s_catanhf.c: Likewise.
68018         * math/s_catanhl.c: Likewise.
68019         * math/s_catanl.c: Likewise.
68020         * math/s_cexp.c: Likewise.
68021         * math/s_cexpf.c: Likewise.
68022         * math/s_cexpl.c: Likewise.
68023         * math/s_clog.c: Likewise.
68024         * math/s_clog10.c: Likewise.
68025         * math/s_clog10f.c: Likewise.
68026         * math/s_clog10l.c: Likewise.
68027         * math/s_clogf.c: Likewise.
68028         * math/s_clogl.c: Likewise.
68029         * math/s_csqrt.c: Likewise.
68030         * math/s_csqrtf.c: Likewise.
68031         * math/s_csqrtl.c: Likewise.
68032         * math/s_ctanf.c: Likewise.
68033         * math/s_ctanh.c: Likewise.
68034         * math/s_ctanhf.c: Likewise.
68035         * math/s_ctanhl.c: Likewise.
68036         * math/s_ctanl.c: Likewise.
68038         * math/math_private.h: Define __nan, __nanf, __nanl.
68039         * math/s_cacosh.c: Include <math_private.h>.
68040         * math/s_cacoshl.c: Likewise.
68041         * math/s_casinh.c: Likewise.
68042         * math/s_casinhf.c: Likewise.
68043         * math/s_casinhl.c: Likewise.
68044         * math/s_ccos.c: Rely entire on ccosh.
68045         * math/s_ccosf.c: Rely entire on ccoshf.
68046         * math/s_ccosl.c: Rely entirely on ccoshl.
68047         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68048         Remove tests for FE_INVALID.
68049         * math/s_ccoshf.c: Likewise.
68050         * math/s_ccoshl.c: Likewise.
68051         * math/s_csin.c: Likewise.
68052         * math/s_csinf.c: Likewise.
68053         * math/s_csinh.c Likewise.
68054         * math/s_csinhf.c: Likewise.
68055         * math/s_csinhl.c: Likewise.
68056         * math/s_csinl.c: Likewise.
68057         * math/s_ctan.c: Likewise.
68058         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68059         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68060         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68062 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68065         compilation problems.
68067         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68068         __builtin_expect.
68070 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68072         * sysdeps/i386/configure.in: Test for -mfma4 option.
68073         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68074         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68075         COMMON_CPUID_INDEX_80000001.
68076         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68077         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68078         use it if FMA3 is not supported.
68079         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68081         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68082         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68084 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68086         [BZ #12892]
68087         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68088         it would create a cycle with a link time dependency.
68090 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68092         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68093         instruction.
68094         * string/Makefile (strop-tests): Add rawmemchr.
68095         * string/test-rawmemchr.c: New file.
68097         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68099         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68100         when compiling str{,n}casecmp and when AVX is available.  Hook up
68101         new optimized code in initializers.
68103 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68105         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68106         __feraiseexcept instead of feraiseexcept.
68108 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68110         * math/math_private.h: Define defaults for libc_fetestexcept and
68111         libc_feupdateenv.
68112         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68113         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68114         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68115         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68116         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68117         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68118         libc_fetestexcept and libc_feupdateenv.
68120         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68121         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68122         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68123         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68124         libc_feholdexcept_setround.
68126         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68127         Add s_nearbyint-c and s_nearbyintf-c.
68128         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68129         nearbyintf inlines.
68130         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68131         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68132         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68133         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68135         * math/math_private.h: Define defaults for libc_fegetround,
68136         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68137         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68138         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68139         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68140         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68141         standard functions.
68142         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68143         Remove comments and hacks for old compiler versions.
68144         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68145         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68146         libc_feholdexceptl.
68148 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68150         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68151         (__feraiseexcept_renamed): Add __NTH.
68152         (feraiseexcept): Add __NTH.  Rename local variables to fix
68153         namespace violations.
68155 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68159         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68161         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68162         recently added interfaces.
68163         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68165         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68166         about macro parameter expansion.
68168         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68169         __NO_MATH_INLINES is defined.  Cleanups.
68171         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68172         and __floorf is target has SSE4.1.
68173         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68174         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68175         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68176         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68178         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68179         name.
68180         (floorf): Likewise.
68182         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68184 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68186         * misc/sys/cdefs.h: Fix last change.
68188         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68189         database lookup.
68191 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68193         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68195         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68196         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68197         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68198         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68199         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68200         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68201         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68203         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68204         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68205         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68206         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68207         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68208         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68209         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68210         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68211         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68212         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68213         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68214         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68215         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68216         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68218         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68219         ceil, ceilf, floor, floorf.
68221         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68222         Perform IRELATIVE relocations last.
68224         * elf/do-rel.h: Add another parameter nrelative, replacing the
68225         local variable with the same name.  Change name of the function
68226         to end in Rel or Rela (uppercase).
68227         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68228         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68229         elf_dynamic_do_##reloc function.
68231 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68233         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68234         is sufficient, at least on modern CPUs.
68236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68238         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68239         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68241         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68242         __expl_finite.
68243         * math/bits/math-finite.h: Add entries for exp.
68244         * math/e_expl.c: Add __*_finite alias.
68245         * sysdeps/i386/fpu/e_exp.S: Likewise.
68246         * sysdeps/i386/fpu/e_expf.S: Likewise.
68247         * sysdeps/i386/fpu/e_expl.c: Likewise.
68248         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68249         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68252         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68253         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68254         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68256         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68257         is sufficient, at least on modern CPUs.
68259         * ctype/ctype-info.c (__ctype_init): Define.
68260         * include/ctype.h (__ctype_init): Declare.
68261         (__ctype_b_loc): The variable is always initialized.
68262         (__ctype_toupper_loc): Likewise.
68263         (__ctype_tolower_loc): Likewise.
68264         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68265         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68267 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68269         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68271         * configure.in: Also look in $cxxmachine/include for C++ system
68272         headers.
68274 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68276         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68277         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68278         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68279         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68280         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68281         (USE_AS_WMEMCMP): New macro.
68282         Fixing indents.
68283         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68284         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68285         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68286         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68288         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68289         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68290         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68291         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68292         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68293         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68294         (USE_AS_WMEMCMP): New macro.
68295         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68296         * sysdeps/string/test-memcmp.c: Update.
68297         Fix simple_wmemcmp.
68298         Add new tests.
68299         * wcsmbs/wmemcmp.c: Update.
68300         (WMEMCMP): New macro.
68301         Fix overflow bug.
68303 2011-10-12  Andreas Jaeger  <aj@suse.de>
68305         [BZ #13268]
68306         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68308 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68310         * libio/iofwide.c (do_length): Avoid warning.
68312         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68314 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68316         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68318         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68319         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68320         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68321         * sysdeps/i386/i686/fpu/e_log.S: New file.
68322         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68323         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68325         * ctype/ctype.h: Add support for inlined isXXX functions when
68326         compiling C++ code.
68328 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68330         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68332         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68334 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68336         [BZ #13291]
68337         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68339 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68342         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68343         feraiseexcept.
68345         * sysdeps/x86_64/memrchr.S: Check for zero size.
68347         * string/stratcliff.c: Add memrchr tests.
68349 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68352         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68353         rawmemchr-sse2 rawmemchr-sse2-bsf.
68354         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68355         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68356         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68357         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68358         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68359         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68360         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68361         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68362         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68363         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68364         * string/memrchr.c (MEMRCHR): New macro.
68366 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68368         Add integration with gcc's -ffinite-math-only and optimize wrapper
68369         functions in libm.
68370         * Versions.def: Define GLIBC_2.15 version for libm.
68371         * math/Makefile (headers): Add bits/math-finite.h.
68372         * math/bits/math-finite.h: New file.
68373         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68374         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68375         * math/e_acoshl.c: Add __*_finite alias.
68376         * math/e_acosl.c: Likewise.
68377         * math/e_asinl.c: Likewise.
68378         * math/e_atan2l.c: Likewise.
68379         * math/e_atanhl.c: Likewise.
68380         * math/e_coshl.c: Likewise.
68381         * math/e_exp10.c: Likewise.
68382         * math/e_exp10f.c: Likewise.
68383         * math/e_exp10l.c: Likewise.
68384         * math/e_exp2l.c: Likewise.
68385         * math/e_fmodl.c: Likewise.
68386         * math/e_gammal_r.c: Likewise.
68387         * math/e_hypotl.c: Likewise.
68388         * math/e_j0l.c: Likewise.
68389         * math/e_j1l.c: Likewise.
68390         * math/e_jnl.c: Likewise.
68391         * math/e_lgammal_r.c: Likewise.
68392         * math/e_log10l.c: Likewise.
68393         * math/e_log2l.c: Likewise.
68394         * math/e_logl.c: Likewise.
68395         * math/e_powl.c: Likewise.
68396         * math/e_sinhl.c: Likewise.
68397         * math/e_sqrtl.c: Likewise.
68398         * math/e_scalb.c: Completely rewritten and optimized.
68399         * math/e_scalbf.c: Likewise.
68400         * math/e_scalbl.c: Likewise.
68401         * math/w_acos.c: Likewise.
68402         * math/w_acosf.c: Likewise.
68403         * math/w_acosl.c: Likewise.
68404         * math/w_acosh.c: Likewise.
68405         * math/w_acoshf.c: Likewise.
68406         * math/w_acoshl.c: Likewise.
68407         * math/w_asin.c: Likewise.
68408         * math/w_asinf.c: Likewise.
68409         * math/w_asinl.c: Likewise.
68410         * math/w_atan2.c: Likewise.
68411         * math/w_atan2f.c: Likewise.
68412         * math/w_atan2l.c: Likewise.
68413         * math/w_atanh.c: Likewise.
68414         * math/w_atanhf.c: Likewise.
68415         * math/w_atanhl.c: Likewise.
68416         * math/w_exp10.c: Likewise.
68417         * math/w_exp10f.c: Likewise.
68418         * math/w_exp10l.c: Likewise.
68419         * math/w_fmod.c: Likewise.
68420         * math/w_fmodf.c: Likewise.
68421         * math/w_fmodl.c: Likewise.
68422         * math/w_j0.c: Likewise.
68423         * math/w_j0f.c: Likewise.
68424         * math/w_j0l.c: Likewise.
68425         * math/w_j1.c: Likewise.
68426         * math/w_j1f.c: Likewise.
68427         * math/w_j1l.c: Likewise.
68428         * math/w_jn.c: Likewise.
68429         * math/w_jnf.c: Likewise.
68430         * math/w_log.c: Likewise.
68431         * math/w_logf.c: Likewise.
68432         * math/w_logl.c: Likewise.
68433         * math/w_log10.c: Likewise.
68434         * math/w_log10f.c: Likewise.
68435         * math/w_log10l.c: Likewise.
68436         * math/w_log2.c: Likewise.
68437         * math/w_log2f.c: Likewise.
68438         * math/w_log2l.c: Likewise.
68439         * math/w_pow.c: Likewise.
68440         * math/w_powf.c: Likewise.
68441         * math/w_powl.c: Likewise.
68442         * math/w_remainder.c: Likewise.
68443         * math/w_remainderf.c: Likewise.
68444         * math/w_remainderl.c: Likewise.
68445         * math/w_scalb.c: Likewise.
68446         * math/w_scalbf.c: Likewise.
68447         * math/w_scalbl.c: Likewise.
68448         * math/w_sqrt.c: Likewise.
68449         * math/w_sqrtf.c: Likewise.
68450         * math/w_sqrtl.c: Likewise.
68451         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68452         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68453         used.
68454         * math/math_private.h: Declare __kernel_standard_f.
68455         * math/w_cosh.c: Remove cruft and optimize a bit.
68456         * math/w_coshf.c: Likewise.
68457         * math/w_coshl.c: Likewise.
68458         * math/w_exp2.c: Likewise.
68459         * math/w_exp2f.c: Likewise.
68460         * math/w_exp2l.c: Likewise.
68461         * math/w_hypot.c: Likewise.
68462         * math/w_hypotf.c: Likewise.
68463         * math/w_hypotl.c: Likewise.
68464         * math/w_lgamma.c: Likewise.
68465         * math/w_lgamma_r.c: Likewise.
68466         * math/w_lgammaf.c: Likewise.
68467         * math/w_lgammaf_r.c: Likewise.
68468         * math/w_lgammal.c: Likewise.
68469         * math/w_lgammal_r.c: Likewise.
68470         * math/w_sinh.c: Likewise.
68471         * math/w_sinhf.c: Likewise.
68472         * math/w_sinhl.c: Likewise.
68473         * math/w_tgamma.c: Likewise.
68474         * math/w_tgammaf.c: Likewise.
68475         * math/w_tgammal.c: Likewise.
68476         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68478         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68479         Minor optimizations.  Pretty printing.  Remove cruft.
68480         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68481         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68482         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68483         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68484         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68485         * sysdeps/i386/fpu/e_asin.S: Likewise.
68486         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68487         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68488         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68489         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68490         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68491         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68492         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68493         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68494         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68495         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68496         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68497         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68498         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68499         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68500         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68501         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68502         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68503         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68504         * sysdeps/i386/fpu/e_log.S: Likewise.
68505         * sysdeps/i386/fpu/e_log10.S: Likewise.
68506         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68507         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68508         * sysdeps/i386/fpu/e_log2.S: Likewise.
68509         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68510         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68511         * sysdeps/i386/fpu/e_logf.S: Likewise.
68512         * sysdeps/i386/fpu/e_logl.S: Likewise.
68513         * sysdeps/i386/fpu/e_pow.S: Likewise.
68514         * sysdeps/i386/fpu/e_powf.S: Likewise.
68515         * sysdeps/i386/fpu/e_powl.S: Likewise.
68516         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68517         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68518         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68519         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68520         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68521         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68522         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68523         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68524         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68525         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68526         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68528         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68529         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68530         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68531         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68532         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68541         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68542         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68543         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68545         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68546         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68547         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68548         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68549         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68550         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68551         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68552         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68553         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68554         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68555         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68556         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68557         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68559         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68560         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68561         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68562         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68563         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68564         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68565         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68566         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68567         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68568         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68569         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68570         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68571         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68572         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68573         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68574         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68575         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68576         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68577         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68578         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68579         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68580         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68581         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68582         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68583         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68584         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68585         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68589         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68593         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68594         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68595         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68596         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68597         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68599         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68600         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68601         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68602         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68603         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68604         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68605         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68606         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68607         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68608         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68609         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68610         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68611         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68612         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68613         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68614         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68615         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68616         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68617         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68618         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68619         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68620         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68621         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68622         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68623         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68624         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68625         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68626         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68627         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68628         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68629         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68631         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68633         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68634         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68635         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68636         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68637         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68638         (__isnanf): Likewise.
68639         (__isinf_ns): Likewise.
68640         (__isinf_nsf): Likewise.
68641         (__finite): Likewise.
68642         (__finitef): Likewise.
68643         (__ieee754_sqrt): Define as macro.
68644         (__ieee754_sqrtf): Define as macro.
68645         (__ieee754_sqrtl): Define as macro.
68646         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68647         inlined copy.
68648         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68649         __FINITE_MATH_ONLY__ consistent.
68650         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68652 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68654         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68655         of rawmemchr.
68657         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68659 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68661         * po/ja.po: Update from translation team.
68663 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68665         * locale/programs/locarchive.c (prepare_address_space): New function.
68666         (create_archive, enlarge_archive, open_archive): Use it.
68668         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68669         inside [SHARED], where it is used.
68671         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68673         * nss/getent.c (netgroup_keys): Remove unused variable.
68674         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68676 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68678         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68679         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68681         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68682         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68683         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68684         * math/Makefile (libm-calls): Add s_isinf_ns.
68685         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68686         * math/multc3.c: Likewise.
68687         * math/s_casin.c: Likewise.
68688         * math/s_casinf.c: Likewise.
68689         * math/s_casinl.c: Likewise.
68690         * math/s_ccos.c: Likewise.
68691         * math/s_ccosf.c: Likewise.
68692         * math/s_ccosl.c: Likewise.
68693         * math/s_ctan.c: Likewise.
68694         * math/s_ctanf.c: Likewise.
68695         * math/s_ctanh.c: Likewise.
68696         * math/s_ctanhf.c: Likewise.
68697         * math/s_ctanhl.c: Likewise.
68698         * math/s_ctanl.c: Likewise.
68699         * math/w_fmod.c: Likewise.
68700         * math/w_fmodf.c: Likewise.
68701         * math/w_fmodl.c: Likewise.
68702         * math/w_remainder.c: Likewise.
68703         * math/w_remainderf.c: Likewise.
68704         * math/w_remainderl.c: Likewise.
68705         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68706         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68707         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68709         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68710         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68711         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68712         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68714         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68715         of the number.
68716         * stdio-common/printf_fphex.c: Likewise.
68717         * stdio-common/printf_size.c: Likewise.
68719         * math/e_exp10.c: Include math_private.h using <...> not "...".
68720         * math/e_exp10f.c: Likewise.
68721         * math/e_exp10l.c: Likewise.
68722         * math/e_exp2l.c: Likewise.
68723         * math/e_j0l.c: Likewise.
68724         * math/e_j1l.c: Likewise.
68725         * math/e_jnl.c: Likewise.
68726         * math/e_lgammal_r.c: Likewise.
68727         * math/e_rem_pio2l.c: Likewise.
68728         * math/e_scalb.c: Likewise.
68729         * math/e_scalbf.c: Likewise.
68730         * math/e_scalbl.c: Likewise.
68731         * math/k_cosl.c: Likewise.
68732         * math/k_sinl.c: Likewise.
68733         * math/k_tanl.c: Likewise.
68734         * math/s_cacoshf.c: Likewise.
68735         * math/s_catan.c: Likewise.
68736         * math/s_catanf.c: Likewise.
68737         * math/s_catanh.c: Likewise.
68738         * math/s_catanhf.c: Likewise.
68739         * math/s_catanhl.c: Likewise.
68740         * math/s_catanl.c: Likewise.
68741         * math/s_ccosh.c: Likewise.
68742         * math/s_ccoshf.c: Likewise.
68743         * math/s_ccoshl.c: Likewise.
68744         * math/s_cexp.c: Likewise.
68745         * math/s_cexpf.c: Likewise.
68746         * math/s_cexpl.c: Likewise.
68747         * math/s_clog.c: Likewise.
68748         * math/s_clog10.c: Likewise.
68749         * math/s_clog10f.c: Likewise.
68750         * math/s_clog10l.c: Likewise.
68751         * math/s_clogf.c: Likewise.
68752         * math/s_clogl.c: Likewise.
68753         * math/s_csin.c: Likewise.
68754         * math/s_csinf.c: Likewise.
68755         * math/s_csinh.c: Likewise.
68756         * math/s_csinhf.c: Likewise.
68757         * math/s_csinhl.c: Likewise.
68758         * math/s_csinl.c: Likewise.
68759         * math/s_csqrt.c: Likewise.
68760         * math/s_csqrtf.c: Likewise.
68761         * math/s_csqrtl.c: Likewise.
68762         * math/s_ctan.c: Likewise.
68763         * math/s_ctanf.c: Likewise.
68764         * math/s_ctanh.c: Likewise.
68765         * math/s_ctanhf.c: Likewise.
68766         * math/s_ctanhl.c: Likewise.
68767         * math/s_ctanl.c: Likewise.
68768         * math/s_ldexp.c: Likewise.
68769         * math/s_ldexpf.c: Likewise.
68770         * math/s_ldexpl.c: Likewise.
68771         * math/s_significand.c: Likewise.
68772         * math/s_significandf.c: Likewise.
68773         * math/s_significandl.c: Likewise.
68774         * math/w_acos.c: Likewise.
68775         * math/w_acosf.c: Likewise.
68776         * math/w_acosh.c: Likewise.
68777         * math/w_acoshf.c: Likewise.
68778         * math/w_acoshl.c: Likewise.
68779         * math/w_acosl.c: Likewise.
68780         * math/w_asin.c: Likewise.
68781         * math/w_asinf.c: Likewise.
68782         * math/w_asinl.c: Likewise.
68783         * math/w_atan2.c: Likewise.
68784         * math/w_atan2f.c: Likewise.
68785         * math/w_atan2l.c: Likewise.
68786         * math/w_atanh.c: Likewise.
68787         * math/w_atanhf.c: Likewise.
68788         * math/w_atanhl.c: Likewise.
68789         * math/w_cosh.c: Likewise.
68790         * math/w_coshf.c: Likewise.
68791         * math/w_coshl.c: Likewise.
68792         * math/w_dremf.c: Likewise.
68793         * math/w_exp10.c: Likewise.
68794         * math/w_exp10f.c: Likewise.
68795         * math/w_exp10l.c: Likewise.
68796         * math/w_exp2.c: Likewise.
68797         * math/w_exp2f.c: Likewise.
68798         * math/w_fmod.c: Likewise.
68799         * math/w_fmodf.c: Likewise.
68800         * math/w_fmodl.c: Likewise.
68801         * math/w_hypot.c: Likewise.
68802         * math/w_hypotf.c: Likewise.
68803         * math/w_hypotl.c: Likewise.
68804         * math/w_j0.c: Likewise.
68805         * math/w_j0f.c: Likewise.
68806         * math/w_j0l.c: Likewise.
68807         * math/w_j1.c: Likewise.
68808         * math/w_j1f.c: Likewise.
68809         * math/w_j1l.c: Likewise.
68810         * math/w_jn.c: Likewise.
68811         * math/w_jnf.c: Likewise.
68812         * math/w_jnl.c: Likewise.
68813         * math/w_lgamma.c: Likewise.
68814         * math/w_lgamma_r.c: Likewise.
68815         * math/w_lgammaf.c: Likewise.
68816         * math/w_lgammaf_r.c: Likewise.
68817         * math/w_lgammal.c: Likewise.
68818         * math/w_lgammal_r.c: Likewise.
68819         * math/w_log.c: Likewise.
68820         * math/w_log10.c: Likewise.
68821         * math/w_log10f.c: Likewise.
68822         * math/w_log10l.c: Likewise.
68823         * math/w_log2.c: Likewise.
68824         * math/w_log2f.c: Likewise.
68825         * math/w_log2l.c: Likewise.
68826         * math/w_logf.c: Likewise.
68827         * math/w_logl.c: Likewise.
68828         * math/w_pow.c: Likewise.
68829         * math/w_powf.c: Likewise.
68830         * math/w_powl.c: Likewise.
68831         * math/w_remainder.c: Likewise.
68832         * math/w_remainderf.c: Likewise.
68833         * math/w_remainderl.c: Likewise.
68834         * math/w_scalb.c: Likewise.
68835         * math/w_scalbf.c: Likewise.
68836         * math/w_scalbl.c: Likewise.
68837         * math/w_sinh.c: Likewise.
68838         * math/w_sinhf.c: Likewise.
68839         * math/w_sinhl.c: Likewise.
68840         * math/w_sqrt.c: Likewise.
68841         * math/w_sqrtf.c: Likewise.
68842         * math/w_sqrtl.c: Likewise.
68843         * math/w_tgamma.c: Likewise.
68844         * math/w_tgammaf.c: Likewise.
68845         * math/w_tgammal.c: Likewise.
68847         * po/ja.po: Update from translation team.
68849 2011-09-29  Andreas Jaeger  <aj@suse.de>
68851         [BZ #13179]
68852         * sunrpc/netname.c (netname2host): Fix logic.
68854         [BZ #6779]
68855         [BZ #6783]
68856         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68857         correctly.
68858         * math/w_remainder.c (__remainder): Likewise.
68859         * math/w_remainderf.c (__remainderf): Likewise.
68860         * math/libm-test.inc (remainder_test): Add test cases.
68862 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68864         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68865         sdiv_qrnnd.
68867 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68869         * string/test-memcmp.c: Avoid unncessary #defines.
68870         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68872 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68874         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68875         Use new sse2 version for core i3 - i7 as it's faster
68876         than sse42 version.
68877         (bit_Prefer_PMINUB_for_stringop): New.
68878         * sysdeps/x86_64/rawmemchr.S: Update.
68879         Replace with faster SSE2 version.
68880         * sysdeps/x86_64/memrchr.S: New file.
68881         * sysdeps/x86_64/memchr.S: Update.
68882         Replace with faster SSE2 version.
68884 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68886         * elf/dl-load.c (lose): Add cast to avoid warning.
68888 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68890         * po/ca.po: Update from translation team.
68892         * inet/getnetgrent_r.c: Hook up nscd.
68893         * nscd/Makefile (routines): Add nscd_netgroup.
68894         (nscd-modules): Add netgroupcache.
68895         (CFLAGS-netgroupcache.c): Define.
68896         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68897         (cache_search): Add const to second parameter.
68898         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68899         INNETGR.
68900         (dbs): Add netgrdb entry.
68901         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68902         (verify_persistent_db): Handle netgrdb.
68903         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68904         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68905         GETFDNETGR.
68906         (netgroup_response_header): Define.
68907         (innetgroup_response_header): Define.
68908         (datahead): Add netgroup_response_header and innetgroup_response_header
68909         elements.
68910         * nscd/nscd.conf: Add entries for netgroup cache.
68911         * nscd/nscd.h (dbtype): Add netgrdb.
68912         (_PATH_NSCD_NETGROUP_DB): Define.
68913         (netgroup_iov_disabled): Declare.
68914         (xmalloc, xcalloc, xrealloc): Move declarations here.
68915         (cache_search): Adjust prototype.
68916         Add netgroup-related prototypes.
68917         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68918         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68919         (__nscd_innetgr): Declare.
68920         * nscd/selinux.c (perms): Use access_vector_t as element type and
68921         add netgroup-related initializers.
68922         * nscd/netgroupcache.c: New file.
68923         * nscd/nscd_netgroup.c: New file.
68924         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68925         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68926         For four parameters use innetgr.
68927         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68928         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68929         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68930         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68932         * nscd/connections.c (register_traced_file): Don't register file
68933         for disabled databases.
68935 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68937         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68939         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68940         from tree and freeing node.
68942 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68944         * nss/nsswitch.c (__nss_database_lookup): Handle
68945         nss_parse_service_list out of memory case.
68947 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68949         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68950         out of memory case.
68952 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68954         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68955         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68956         pass it down.
68957         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68958         elf_machine_rela, elf_machine_lazy_rel.
68959         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68960         (ELF_DYNAMIC_DO_REL): Likewise.
68961         (ELF_DYNAMIC_DO_RELA): Likewise.
68962         (ELF_DYNAMIC_RELOCATE): Likewise.
68963         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68964         to ELF_DYNAMIC_DO_REL.
68965         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68966         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68967         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68968         elf_machine_rela.
68969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68970         skip_ifunc, don't call ifunc function if non-zero.
68971         (elf_machine_rela): Likewise.
68972         (elf_machine_lazy_rel): Likewise.
68973         (elf_machine_lazy_rela): Likewise.
68974         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68975         (elf_machine_lazy_rel): Likewise.
68976         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68977         Likewise.
68978         (elf_machine_lazy_rel): Likewise.
68979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68980         Likewise.
68981         (elf_machine_lazy_rel): Likewise.
68982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68983         (elf_machine_lazy_rel): Likewise.
68984         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68985         (elf_machine_lazy_rel): Likewise.
68986         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68987         (elf_machine_lazy_rel): Likewise.
68988         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68989         (elf_machine_lazy_rel): Likewise.
68990         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68991         (elf_machine_lazy_rel): Likewise.
68992         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68993         (elf_machine_lazy_rel): Likewise.
68995 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68997         * nss/nss_files/files-init.c (_nss_files_init): Use static
68998         initialization for all the *_traced_file variables.
69000 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69002         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69004 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69006         [BZ #13226]
69007         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69009 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69011         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69012         Reread the line before reparsing it.
69014 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69016         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69018 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69019             Maxim Kuvyrkov  <maxim@codesourcery.com>
69020             Joseph Myers  <joseph@codesourcery.com>
69022         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69023         if needed for __stack_chk_guard.
69025 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69027         * sysdeps/posix/spawni.c (script_execute): Always define it.
69028         It will be optimized away if unused.
69029         (maybe_script_execute): New function.
69030         (__spawni): Call it.
69032         * Makerules: Don't include tls.make.
69033         (config-tls): Always set to thread.
69034         * tls.make.c: File removed.
69036 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69038         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69039         * config.make.in (CPPFLAGS-config): New substituted variable.
69041 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69043         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69045         [BZ #13192]
69046         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69047         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69049 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69051         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69052         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69054         (CALL_FAIL): Likewise.
69055         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69056         (CALL_FAIL): Macro removed.
69057         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69059 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69061         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69062         for __FINITE_MATH_ONLY__ == 1.
69064 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69066         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69067         __ieee754_sqrt instead of sqrt.
69068         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69069         __ieee754_sqrtf instead of sqrtf.
69070         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69071         __floorf instead of floorf.
69072         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69073         __floorf, __truncf instead of floorf, truncf.
69075 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69077         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69079         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69080         __extern_always_inline.
69081         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69082         32-bit.
69084 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69086         * elf/rtld.c (dl_main): Also relocate in dependency order when
69087         doing symbol dependency testing.
69089 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69091         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69092         Always define `refsym'.
69094 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69096         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69097         (__FD_ELT): Renamed from __FDELT.
69098         * misc/bits/select2.h (__FD_ELT): Likewise.
69099         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69100         __FD_MASK instead of __FDELT, __FDMASK.
69101         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69102         Likewise.
69103         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69104         Likewise.
69106         * elf/Makefile (gen-ldd): Fix pattern.
69108         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69109         (init_tls): Likewise.
69111 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69115 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69117         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69118         `struct cmsghdr *' instead of `void *'.
69119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69120         Likewise.
69122 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69124         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69125         if non-absolute.
69126         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69127         ldd_rewrite_script.
69129 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69131         * configure.in: Remove --with-tls option.
69132         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69133         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69134         out in case it is missing.
69135         * sysdeps/ia64/elf/configure.in: Likewise.
69136         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69137         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69138         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69139         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69140         * sysdeps/sh/elf/configure.in: Likewise.
69141         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69142         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69143         * sysdeps/x86_64/elf/configure.in: Likewise.
69144         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69145         * sysdeps/mach/hurd/tls.h: Likewise.
69147         [BZ #13067]
69148         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69150         [BZ #13090]
69151         * configure.in: Fix use of AC_INIT.
69153         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69155 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69157         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69158         __set_errno.
69159         * malloc/hooks.c: Likewise.
69161         [BZ #11929]
69162         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69163         variables statically.
69164         (narenas): Initialize.
69165         (list_lock): Initialize.
69166         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69167         initializtion of main_arena and list_lock.  Small cleanups.
69168         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69169         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69170         Add initializers to main_arena and mp_.
69171         (malloc_state): Remove pagesize member.  Change all users to use
69172         GLRO(dl_pagesize).
69174         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69175         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69176         is always initialized.
69178         * malloc/malloc.c: Removed unused configurations and dead code.
69179         * malloc/arena.c: Likewise.
69180         * malloc/hooks.c: Likewise.
69181         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69183         * include/tls.h: Removed.  USE___THREAD must always be defined.
69184         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69185         * elf/dl-libc.c: Likewise.
69186         * elf/dl-tsd.c: Likewise.
69187         * include/errno.h: Likewise.
69188         * include/netdb.h: Likewise.
69189         * include/resolv.h: Likewise.
69190         * inet/herrno-loc.c: Likewise.
69191         * inet/herrno.c: Likewise.
69192         * malloc/arena.c: Likewise.
69193         * malloc/hooks.c: Likewise.
69194         * malloc/malloc.c: Likewise.
69195         * resolv/res-state.c: Likewise.
69196         * resolv/res_libc.c: Likewise.
69197         * sysdeps/i386/dl-machine.h: Likewise.
69198         * sysdeps/ia64/dl-machine.h: Likewise.
69199         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69200         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69201         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69202         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69203         * sysdeps/sh/dl-machine.h: Likewise.
69204         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69205         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69206         * sysdeps/unix/i386/sysdep.S: Likewise.
69207         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69208         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69213         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69217         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69218         * sysdeps/x86_64/dl-machine.h: Likewise.
69219         * tls.make.c: Likewise.
69221         * configure.in: Remove --with-__thread option.  Make tests for
69222         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69223         tls_model attribute fail if no support is available.  Remove
69224         USE_IN_LIBIO.
69225         * Makeconfig: Adjust for dropped configure option.  All features are
69226         now mandatory.
69227         * Makerules: Likewise.
69228         * Versions.def: Likewise.
69229         * argp/argp-fmtstream.c: Likewise.
69230         * argp/argp-fmtstream.h: Likewise.
69231         * argp/argp-help.c: Likewise.
69232         * assert/assert.c: Likewise.
69233         * config.h.in: Likewise.
69234         * config.make.in: Likewise.
69235         * configure: Likewise.
69236         * configure.in: Likewise.
69237         * csu/Versions: Likewise.
69238         * csu/init.c: Likewise.
69239         * elf/tst-audit2.c: Likewise.
69240         * elf/tst-tls10.c: Likewise.
69241         * elf/tst-tls10.h: Likewise.
69242         * elf/tst-tls11.c: Likewise.
69243         * elf/tst-tls12.c: Likewise.
69244         * elf/tst-tls14.c: Likewise.
69245         * elf/tst-tlsmod11.c: Likewise.
69246         * elf/tst-tlsmod12.c: Likewise.
69247         * elf/tst-tlsmod13.c: Likewise.
69248         * elf/tst-tlsmod13a.c: Likewise.
69249         * elf/tst-tlsmod14a.c: Likewise.
69250         * elf/tst-tlsmod15b.c: Likewise.
69251         * elf/tst-tlsmod16a.c: Likewise.
69252         * elf/tst-tlsmod16b.c: Likewise.
69253         * elf/tst-tlsmod7.c: Likewise.
69254         * elf/tst-tlsmod8.c: Likewise.
69255         * elf/tst-tlsmod9.c: Likewise.
69256         * gmon/gmon.c: Likewise.
69257         * grp/fgetgrent_r.c: Likewise.
69258         * grp/putgrent.c: Likewise.
69259         * hurd/fopenport.c: Likewise.
69260         * include/libc-symbols.h: Likewise.
69261         * include/tls.h: Likewise.
69262         * intl/gettextP.h: Likewise.
69263         * intl/loadinfo.h: Likewise.
69264         * locale/global-locale.c: Likewise.
69265         * locale/localeinfo.h: Likewise.
69266         * mach/devstream.c: Likewise.
69267         * malloc/arena.c: Likewise.
69268         * malloc/set-freeres.c: Likewise.
69269         * misc/err.c: Likewise.
69270         * misc/getttyent.c: Likewise.
69271         * misc/mntent_r.c: Likewise.
69272         * posix/getopt.c: Likewise.
69273         * posix/wordexp.c: Likewise.
69274         * pwd/fgetpwent_r.c: Likewise.
69275         * resolv/Versions: Likewise.
69276         * resolv/res_hconf.c: Likewise.
69277         * shadow/fgetspent_r.c: Likewise.
69278         * shadow/putspent.c: Likewise.
69279         * stdio-common/printf_fphex.c: Likewise.
69280         * stdio-common/tmpfile.c: Likewise.
69281         * stdlib/abort.c: Likewise.
69282         * stdlib/fmtmsg.c: Likewise.
69283         * sunrpc/auth_unix.c: Likewise.
69284         * sunrpc/clnt_perr.c: Likewise.
69285         * sunrpc/clnt_tcp.c: Likewise.
69286         * sunrpc/clnt_udp.c: Likewise.
69287         * sunrpc/clnt_unix.c: Likewise.
69288         * sunrpc/openchild.c: Likewise.
69289         * sunrpc/svc_simple.c: Likewise.
69290         * sunrpc/svc_tcp.c: Likewise.
69291         * sunrpc/svc_udp.c: Likewise.
69292         * sunrpc/svc_unix.c: Likewise.
69293         * sunrpc/xdr.c: Likewise.
69294         * sunrpc/xdr_array.c: Likewise.
69295         * sunrpc/xdr_rec.c: Likewise.
69296         * sunrpc/xdr_ref.c: Likewise.
69297         * sunrpc/xdr_stdio.c: Likewise.
69299 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69301         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69303 2011-07-03  Andreas Jaeger  <aj@suse.de>
69305         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69306         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69307         regenerate with gen-libm-tests.pl.
69309 2010-05-12  Petr Baudis  <pasky@suse.cz>
69311         [BZ #11589]
69312         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69313         around j0() zero points by switching to j1().
69314         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69315         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69316         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69317         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69319 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69321         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69322         instead of 0.
69323         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69324         instead of 0.
69325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69326         Patch in part by Pavel Roskin <proski@gnu.org>.
69328         [BZ #13138]
69329         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69330         realloc.
69331         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69332         Free memory block if necessary.
69334         [BZ #12847]
69335         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69336         be NULL.  Don't lock in this case.
69338 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69340         * elf/elf.h (ELFOSABI_GNU): New macro.
69341         (ELFOSABI_LINUX): Define to that.
69343 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69345         * string/strncat.c (strncat): Undef the symbol in case it has been
69346         defined in bits/string.h.
69348 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69350         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69352         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69353         link map.
69355 2011-08-17  Andreas Jaeger  <aj@suse.de>
69357         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69359 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69360             Ian Lance Taylor  <iant@google.com>
69362         * math/libm-test.inc (lround_test): New testcase.
69363         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69365 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69367         * Makefile: Remove support for automatic cvs check-ins.
69368         * Makerules: Likewise.
69369         * config.make.in: Likewise.
69370         * configure.in: Likewise.
69371         * intl/Makefile: Likewise.
69372         * locale/Makefile: Likewise.
69373         * po/Makefile: Likewise.
69374         * posix/Makefile: Likewise.
69375         * sysdeps/gnu/Makefile: Likewise.
69376         * sysdeps/mach/hurd/Makefile: Likewise.
69377         * sysdeps/sparc/sparc32/Makefile: Likewise.
69379         [BZ #13118]
69380         * posix/Makefile (bug-regex32-ENV): Define.
69381         Patch by John Stanley <jpsinthemix@verizon.net>.
69383         * misc/Makefile (headers): Add bits/select2.h.
69384         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69385         * misc/bits/select2.h: New file.
69386         * include/bits/select2.h: New file.
69387         * debug/Makefile (routines): Add fdelt_chk.
69388         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69389         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69390         FD_ISSET.
69391         * debug/fdelt_chk.c: New file.
69393         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69394         * wcsmbs/test-wmemcmp.c: Likewise.
69395         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69396         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69398 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69400         * string/Makefile (strop-tests): Add memcmp.
69401         * string/test-wmemcmp.c: New file.
69402         * string/test-memcmp.c: Add wmemcmp support.
69404 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69406         [BZ #13153]
69407         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69408         2011-07-19 change.
69410         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69411         garbage value in a __mach_port_mod_refs call in the cases of the
69412         task-self and thread-self ports.
69414 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69416         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69418 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69420         * elf/dl-load.c (lose): Check for non-null L.
69422 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69424         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69426         * elf/dl-libc.c (dlerror_run): Pass back error code from
69427         dl_catch_error.
69429         [BZ #13123]
69430         * elf/dl-load.c (lose): Free l_origin if it is valid.
69432         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69433         names.
69434         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69435         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69436         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69437         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69438         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69439         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69441 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69443         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69444         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69445         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69446         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69447         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69448         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69449         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69450         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69451         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69452         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69454 2011-08-15  Alan Modra  <amodra@gmail.com>
69456         [BZ #13092]
69457         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69458         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69459         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69460         ppc_mcount to static-only-routines.
69461         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69462         __mcount_internal.
69463         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69464         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69466 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69468         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69469         for finite and infinity parameters.
69471 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69473         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69474         and add nop instructions for throughput optimization.
69475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69477 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69480         aligned copy for power7 with vector-scalar instructions.
69481         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69483 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69486         AVX check.
69488 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69490         [BZ #13144]
69491         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69492         last change.
69494 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69496         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69497         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69498         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69499         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69500         clock_gettime.
69502 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69505         Forgot to demangle the pointer.
69507         * sysdeps/i386/sysdep.h: Define atom_text_section.
69508         * sysdeps/x86_64/sysdep.h: Likewise.
69509         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69510         section with atom_text_section.
69511         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69512         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69513         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69514         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69515         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69517         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69518         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69519         already be defined.  Change to take two parameters and don't assign
69520         result to variable.  Adjust all users.
69521         Define INTERNAL_GETTIME if not already defined.
69522         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69523         call.
69524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69525         HAVE_CLOCK_GETTIME_VSYSCALL.
69526         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69529         gettimeofday vsyscall, just use time.
69531 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69534         <errno.h>.
69536 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69538         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69539         syscall on x86-64.
69540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69541         syscall.
69542         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69543         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69544         syscall if possible.
69546 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69548         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69549         e_ident.  Don't pass to find_mapsXX.
69550         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69552 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69555         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69556         * sysdeps/x86_64/multiarch/strchr.S: Update.
69557         Check bit_slow_BSF bit.
69558         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69559         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69560         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69562 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69564         [BZ #13134]
69565         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69566         before glibc 2.15.
69567         (tryshell): Define.
69568         (__spawni): Change last parameter to be flag.  Test
69569         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69570         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69571         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69572         * posix/spawni.c: Likewise.
69573         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69574         * posix/spawnp.c: Likewise.  Change normal version to use
69575         SPAWN_XFLAGS_USE_PATH.
69576         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69577         SPAWN_XFLAGS_TRY_SHELL.
69579         [BZ #13150]
69580         * posix/glob.h: Remove gcc 1.x support.
69582         [BZ #13068]
69583         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69585 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69588         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69589         strrchr-sse2-bsf
69590         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69591         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69592         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69593         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69594         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69595         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69597 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69599         * sysdeps/x86_64/wcscmp.S: New file.
69601         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69602         wcscmp-c wcscmp-sse2
69603         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69604         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69605         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69606         * wcsmbs/wcscmp.c: Allow renaming.
69608 2011-09-05  David S. Miller  <davem@davemloft.net>
69610         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69611         stack slot, rather than the struct return pointer slot.
69612         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69613         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69615         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69617 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69619         * po/ja.po: Update from translation team.
69621         [BZ #13144]
69622         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69623         kernel in 64-bit binaries.
69625 2011-09-01  David S. Miller  <davem@davemloft.net>
69627         * elf/elf.h (HWCAP_SPARC_*): Move to..
69628         * sysdeps/sparc/sysdep.h: this new file and add new values.
69629         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69630         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69631         _DL_HWCAP_COUNT to 24.
69632         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69633         entries.
69634         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69635         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69636         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69637         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69638         instead of magic constants.
69639         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69641 2011-08-31  David S. Miller  <davem@davemloft.net>
69643         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69645         Reimplement to do errno handling inline.
69646         (SYSCALL_ERROR_HANDLER): New macro.
69647         (__SYSCALL_STRING): Do not do errno handling in asm.
69648         (__CLONE_SYSCALL_STRING): Delete.
69649         (__INTERNAL_SYSCALL_STRING): Delete.
69650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69651         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69652         (PSEUDO): Reimplement to do errno handling inline.
69653         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69654         (SYSCALL_ERROR_HANDLER): New macro.
69655         (__SYSCALL_STRING): Do not do errno handling in asm.
69656         (__CLONE_SYSCALL_STRING): Delete.
69657         (__INTERNAL_SYSCALL_STRING): Delete.
69658         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69659         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69660         i386.
69661         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69662         (inline_syscall*): Add 'err' argument.
69663         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69664         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69665         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69666         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69668         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69669         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69671 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69673         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69675 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69677         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69678         directive.
69680 2011-08-24  David S. Miller  <davem@davemloft.net>
69682         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69684 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69686         * elf/Makefile: Add rules to build and run unload8 test.
69687         * elf/unload8.c: New file.
69688         * elf/unload8mod1.c: New file.
69689         * elf/unload8mod1x.c: New file.
69690         * elf/unload8mod2.c: New file.
69691         * elf/unload8mod3.c: New file.
69693         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69694         it wasn't used.
69696 2011-08-23  David S. Miller  <davem@davemloft.net>
69698         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69699         subtract stack bias.
69700         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69701         %sp not %fp in calculations.
69702         (_JMPBUF_UNWINDS_ADJ): Likewise.
69704         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69705         (aio_suspend): Call it to force an exception region around the
69706         AIO_MISC_WAIT() invocation.
69708 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69710         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69711         backslash.
69713 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69715         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69716         protection macro.
69717         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69718         and <dl-machine.h>.
69719         (Elf64_FuncDesc): Remove.
69721 2011-08-22  David S. Miller  <davem@davemloft.net>
69723         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69724         sigaltstack check, add missing cfi directives.
69725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69726         missing cfi directives, and sigaltstack handling.
69728 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69730         [BZ #11724]
69731         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69732         object is seen twice.
69733         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69735         * elf/Makefile (distribute): Add tst-initorder2.c.
69736         (tests): Add tst-initorder2.
69737         (modules-names): Add tst-initorder2a tst-initorder2b
69738         tst-initorder2c tst-initorder2d.  Add rules to build them.
69739         ($(objpfx)tst-initorder2.out): New rule.
69740         * elf/tst-initorder2.c: New file.
69741         * elf/tst-initorder2.exp: New file.
69743 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69745         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69747         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69748         dependencies back to end of function.
69750         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69751         $(elfobjdir)/ld.so.
69753 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69755         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69756         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69757         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69758         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69759         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69760         of __vdso_gettimeofday.
69761         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69762         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69763         attribute_hidden.
69764         (_libc_vdso_platform_setup): Remove initialization of
69765         __vdso_gettimeofday and __vdso_time.
69767 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69769         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69770         and fgetc_unlocked.
69771         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69772         getc_unlocked.
69774         * elf/dl-open.c (add_to_global): Report additions to the global scope
69775         for LD_DEBUG=scopes.
69776         (dl_open_worker): Also print scope of newly loaded dependencies.
69777         (_dl_show_scope): Indicate if there is no scope.
69779         [BZ #13114]
69780         * stdio-common/Makefile (tests): Add bug24.
69781         * stdio-common/bug24.c: New file.
69783 2011-08-19  Andreas Jaeger  <aj@suse.de>
69785         [BZ #13114]
69786         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69787         non-existant file when using close-on-exec mode.
69789 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69791         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69792         the very first instruction.
69794         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69795         the CFI state in the end.
69796         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69797         inclusion of dl-trampoline.h.
69798         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69800 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69802         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69803         expectations for long double.
69805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69806         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69808 2011-08-14  David S. Miller  <davem@davemloft.net>
69810         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69811         artificual limit depends upon the system page size.
69813 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69815         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69816         * resolv/Makefile: Define CFLAGS-libresolv.
69818 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69820         * nss/makedb.c (compute_tables): Make variables used in nested
69821         function static.
69823 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69825         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69826         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69827         if buffer was too small.
69829         * elf/pldd.c (main): Attach to all threads in the process.
69830         Rewrite /proc handling to use *at functions.
69832 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69834         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69835         specifies first scope to show.
69836         (dl_open_worker): Update callers.  Move printing scope of new
69837         object to before the relocation.
69838         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69839         * sysdeps/generic/ldsodefs.h: Update declaration.
69841         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69842         string for the scope number.
69844 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69846         * nscd/servicescache.c (cache_addserv): Make sure written is always
69847         initialized.
69849 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69851         * sysdeps/i386/i486/bits/atomic.h
69852         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69853         statement expression, so as to suppress "set but not used" warning.
69854         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69856         * string/strncat.c (STRNCAT): Use prototype definition.
69858         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69859         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69860         -Iprograms here.
69861         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69862         (localedef-modules): Add localedef.
69863         (locale-modules): Add locale.
69865         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69866         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69867         to avoid a warning.
69869 2011-08-14  David S. Miller  <davem@davemloft.net>
69871         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69872         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69874 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69876         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69877         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69878         * elf/rtld.c (dl_main): Set l_name of vDSO.
69879         Call _dl_show_scope when DL_DEBUG_SCOPES.
69880         (process_dl_debug): Recognize scopes flag and also set it for all.
69881         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69882         Declare _dl_show_scope.
69884         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69885         (do_dlopen): Pass caller_dlopen to dl_open.
69886         (__libc_dlopen_mode): Initialize caller_dlopen.
69888         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69889         of libc.  Make tolower call locale-independent.  Optimize a bit by
69890         using isdigit instead of isalnum.
69891         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69893 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69895         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69896         was a dependency or dynamically loaded.
69898 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69900         * intl/l10nflist.c: Allow architecture-specific pop function.
69901         * sysdeps/x86_64/l10nflist.c: New file.
69903         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69904         classification.
69906 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69908         * include/dirent.h: Add libc_hidden_proto for scandirat and
69909         scandirat64.  Don't declare __scandirat64.
69910         * dirent/scandirat.c: Add libc_hidden_def.
69911         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69912         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69914 2011-08-10  David S. Miller  <davem@davemloft.net>
69916         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69917         enum.
69918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69920         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69922 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69924         * Versions.def [libc]: Add GLIBC_2.15.
69925         * dirent/Makefile (routines): Add scandirat and scandirat64.
69926         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69927         GLIBC_2.15.
69928         * dirent/dirent.h: Declare scandirat and scandirat64.
69929         * dirent/scandirat.c: New file.
69930         * dirent/scandirat64.c: New file.
69931         * sysdeps/wordsize-64/scandirat.c: New file.
69932         * sysdeps/wordsize-64/scandirat64.c: New file.
69933         * dirent/opendir.c: Define opendirat.
69934         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69935         using scandirat.
69936         * dirent/scandir64.c: Adjust for scandir.c change.
69937         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69938         __scandirat64, and __scandir_cancel_handler.
69939         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69940         additional parameter and use openat instead of open (outside of ld.so).
69941         Add new __opendir as wrapper around __opendirat.
69942         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69943         here without requiring old scandirat implementation.
69945 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69947         * dirent/scandir.c (cancel_handler): Renamed to
69948         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69949         defined.  Adjust users.
69950         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69951         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69953 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69955         * string/test-string.h (IMPL): Use __STRING to expand name and then
69956         stringify it.
69958         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69959         of cleanups.
69961 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69963         * string/Makefile: Update.
69964         (strop-tests): Append strncat.
69965         * string/test-wcscmp.c: New file.
69966         New comprehensive test for wcscmp.
69967         * string/test-strcmp.c: Update.
69968         (WIDE): New define.
69970 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69972         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69973         line.
69975 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69978         encoding to ACE if AI_IDN.
69980 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69983         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69985 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69988         Fix overflow bug in strncat.
69989         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69991         * string/test-strncat.c: Update.
69992         Add new tests for checking overflow bugs.
69994 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69997         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69998         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69999         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70000         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70001         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70002         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70003         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70004         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70007         (USE_AS_STRCAT): Define.
70008         Add strcat and strncat support.
70009         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70011 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70013         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70014         __n bigger than INT_MAX+1.
70015         (__strncmp_g): Likewise.
70017 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70019         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70020         * libio/stido.h: Likewise.
70022         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70023         (AF_NFC): Define.
70024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70025         (AF_NFC): Define.
70027         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70030         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70033         [BZ #13021]
70034         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70035         installed.
70037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70038         typo.
70039         (_dl_x86_64_save_sse): Likewise.
70041 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70043         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70044         OSXSAVE.
70045         (_dl_x86_64_save_sse): Likewise.
70047         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70049         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70051 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70053         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70054         change.
70055         (_dl_x86_64_save_sse): Use correct AVX check.
70057 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70059         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70060         bug in strncpy/strncat.
70061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70063 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70065         * string/tester.c (test_strcat): Add tests for different alignments
70066         of source and destination.
70067         (test_strncat): Likewise.
70069 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70071         [BZ #12852]
70072         * posix/glob.c (glob): Check passed in values before using them in
70073         expressions to avoid some overflows.
70074         (glob_in_dir): Likewise.
70076         [BZ #13007]
70077         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70078         check for AVX enablement so that we don't crash with old kernels and
70079         new hardware.
70080         * elf/tst-audit4.c: Add same checks here.
70081         * elf/tst-audit6.c: Likewise.
70083         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70085 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70087         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70089 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70091         * po/cs.po: Update from translation team.
70092         * po/bg.po: Likewise.
70094 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70096         * misc/sys/cdefs.h: Add support for const attribute.
70097         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70098         to gnu_dev_{major,minor,makedev} functions.
70100 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70102         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70104 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70106         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70107         strlen results.
70109 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70112         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70113         register in order to avoid conflicts with the soft frame pointer
70114         being held in r11 when necessary.
70115         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70116         (INTERNAL_VSYSCALL_NCS): Likewise.
70118 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70120         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70121         * elf/dl-fini.c (_dl_fini): Adjust caller.
70122         * elf/dl-close.c (_dl_close_worker): Likewise.
70123         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70125 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70127         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70128         "aux_cache->nlibs < 0".
70130         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70131         in the reload-count case.
70133 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70136         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70137         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70138         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70139         * sysdeps/x86_64/multiarch/strcat.S: New file.
70140         * sysdeps/x86_64/multiarch/strncat.S: New file.
70141         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70142         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70143         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70144         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70145         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70146         (USE_AS_STRCAT): Define.
70147         Add strcat and strncat support.
70148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70149         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70150         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70151         * string/strncat.c: Update.
70152         (USE_AS_STRNCAT): Define.
70153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70154         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70155         and i7.
70156         * sysdeps/x86_64/multiarch/init-arch.h
70157         (bit_Prefer_PMINUB_for_stringop): New.
70158         (index_Prefer_PMINUB_for_stringop): Likewise.
70159         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70160         bit_Prefer_PMINUB_for_stringop.
70162 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70164         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70165         buffer64.
70166         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70167         of casting of buffer.
70168         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70169         buffer32 and buffer64.
70170         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70171         writes instead of casting of buffer.
70172         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70173         buffer32.
70174         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70175         casting of buffer.
70177 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70179         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70181 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70183         * nscd/nscd.c (termination_handler): Don't do anything for a database
70184         if it has not yet been initialized.
70186 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70188         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70190 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70192         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70194 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70196         * po/nl.po: Update from translation team.
70197         * po/sv.po: Likewise.
70199 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70201         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70202         now disallowed by GCC.
70204         * configure.in (use-default-link): Default to yes if a test -shared
70205         link meets our qualifications.
70206         * configure: Regenerated.
70208         * config.make.in (output-format): New variable.
70209         * configure.in: Check for ld --print-output-format support.
70210         * configure: Regenerated.
70211         * Makerules ($(common-objpfx)format.lds)
70212         [$(output-format) != unknown]: Just use $(output-format),
70213         instead of the linker-script munging.
70215 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70217         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70218         of $(common-objpfx)shlib.lds.
70219         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70221         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70222         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70224         * configure.in (-z relro check): Adjust test code to add a large
70225         writable data section after it.
70226         * configure: Regenerated.
70228 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70230         * configure.in (-z relro check): Fix test code to make the variable
70231         truly const.
70232         * configure: Regenerated.
70234 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70236         * nscd/nscd.h (struct traced_file): Define.
70237         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70238         elements.  Add traced_files.
70239         (inotify_fd): Declare.
70240         (register_traced_file): Declare.
70241         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70242         (inotify_fd): Export.
70243         (resolv_conf_descr): Remove.
70244         (nscd_init): Move inotify descriptor creation to main.
70245         Don't register files for notification here.
70246         (register_traced_file): New function.
70247         (invalidate_cache): Don't use reset_res to determine whether to call
70248         res_init, go through the list of registered files.
70249         (main_loop_poll): The inotify descriptors are now stored in the
70250         structures for the traced files.
70251         (main_loop_epoll): Likewise.
70252         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70253         to __nss_disable_nscd.
70254         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70255         for a database anymore.  Check the records for all the registered
70256         files instead.
70257         * nss/Makefile (libnss_files-routines): Add files-init.
70258         (libnss_db-routines): Add db-init.
70259         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70260         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70261         * nss/nss_db/db-init.c: New file.
70262         * nss/nss_files/files-init.c: New file.
70263         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70264         __nss_lookup_function.
70265         (__nss_lookup_function): Call nss_load_library.
70266         (nss_load_all_libraries): New function.
70267         (__nss_disable_nscd): Take parameter with callback function for files
70268         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70269         used for the cached services.
70270         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70271         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70272         options for features to all the files in nscd.
70274         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70276 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70278         * csu/elf-init.c (__libc_csu_init): Comment typo.
70280 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70282         * po/pl.po: Update from translation team.
70283         * po/ja.po: Likewise.
70284         * po/ru.po: Likewise.
70285         * po/ko.po: Likewise.
70286         * po/fr.po: Likewise.
70288 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70290         * configure.in (.ctors/.dtors header and trailer check):
70291         Use an empirical test on a built program.
70292         * configure: Regenerated.
70294         * configure.in (-z relro check): Use an empirical test on a built DSO.
70295         Detect, but do not require, on ia64.
70296         * configure: Regenerated.
70298         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70299         Update tests that use readelf to use $READELF instead.
70300         * configure: Regenerated.
70302 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70304         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70305         if the result is not used.
70307 2011-07-05  Andreas Jaeger  <aj@suse.de>
70309         [BZ#9696]
70310         * stdlib/tst-strtod.c: Add testcase.
70312 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70314         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70315         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70316         The latter has a higher limit.  Take additional parameter to pass to
70317         the new function.
70318         (__pathconf): Pass file to __statfs_link_max.
70319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70320         __statfs_link_max.
70321         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70322         __statfs_link_max.
70324         [BZ #12868]
70325         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70326         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70327         Handle Lustre.
70328         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70329         (__statfs_filesize_max): Likewise.
70330         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70332 2011-07-05  Andreas Jaeger  <aj@suse.de>
70334         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70336 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70338         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70339         `status' variable.
70340         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70341         Likewise.
70343 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70345         * Makefile (strop-tests): Add strncat.
70346         * string/test-strncat.c: New file.
70348 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70350         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70352 2011-06-21  Andreas Jaeger  <aj@suse.de>
70354         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70355         Copy rule from iconvdata/Makefile.
70357 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70359         [BZ #12922]
70360         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70361         but no long options are defined, just return 'W'.
70363 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70365         [BZ #9696]
70366         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70368 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70370         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70371         netgroups to read.
70372         (innetgr): Likewise.
70374 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70376         * config.make.in (install_root): Default to $(DESTDIR).
70378 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70380         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70382 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70384         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70386         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70387         containing directory rather than embedding absolute directory names.
70389         * scripts/check-local-headers.sh: Rewritten using awk.
70390         Match by word, not by line.  Print error messages for matches.
70391         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70393         * Makerules [shlib-lds-flags empty]:
70394         ($(common-objpfx)libc_pic.opts): New target.
70395         ($(common-objpfx)libc_pic.os.clean): New target.
70396         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70398         * config.make.in (OBJCOPY): New variable.
70399         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70400         * configure: Regenerated.
70402         * config.make.in (use-default-link): New variable.
70403         * configure.in (use_default_link): Grok --with-default-link to set it.
70404         * configure: Regenerated.
70405         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70406         (shlib-lds, shlib-lds-flags): Define to empty.
70408         * Makerules (shlib-lds): New variable.
70409         (shlib-lds-flags): New variable.
70410         (build-shlib, build-moduile, build-module-asneeded): Use it.
70411         ($(common-objpfx)libc.so): Use $(shlib-lds).
70412         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70413         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70415         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70416         DT_FLAGS/DT_FLAGS_1 with zero flags.
70418         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70419         linker script munging.
70421 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70423         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70424         as 128-bit value.
70425         * crypt/sha512.c (sha512_process_block): Perform total addition using
70426         128-bit if possible.
70427         (__sha512_finish_ctx): Likewise.
70428         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70429         as 64-bit value.
70430         * crypt/sha256.c (SWAP64): Define.
70431         (sha256_process_block): Perform total addition using 64-bit if
70432         possible.
70433         (__sha256_finish_ctx): Likewise.
70435 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70437         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70439         * nscd/hstcache.c (cache_addhst): Likewise.
70440         * nscd/grpcache.c (cache_addgr): Likewise.
70441         * nscd/aicache.c (addhstaiX): Likewise.
70442         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70444 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70446         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70448         * nscd/hstcache.c (cache_addhst): Likewise.
70449         * nscd/grpcache.c (cache_addgr): Likewise.
70450         * nscd/aicache.c (addhstaiX): Likewise.
70452 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70454         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70455         domain only when needed.
70457 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70460         is always restored.
70462 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70464         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70465         are re-adding the entry.
70466         * nscd/servicescache.c (cache_addserv): Likewise.
70468 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70470         * sysdeps/generic/dl-irel.h: fix protection against multiple
70471         inclusions.
70472         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70474 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70476         [BZ #12935]
70477         * malloc/memusage.sh: Fix quoting in message.
70478         * debug/xtrace.sh: Likewise.
70480         * configure.in: Remove support for --experimental-malloc option, make
70481         it the default.
70482         * config.make.in: Likewise.
70483         * malloc/Makefile: Likewise.
70485 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70487         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70488         two-byte characters.
70490 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70492         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70493         AC_CACHE_CHECK invocation.
70494         * configure: Regenerated.
70496         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70498 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70500         [BZ #12350]
70501         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70502         bit from old_res_options.
70504         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70506         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70507         value type for setfct.
70509 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70512         __gettimeofday instead of gettimeofday.
70514 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70516         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70518 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70520         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70522         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70523         info.
70525 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70528         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70529         strcpy-sse2-unaligned strncpy-sse2-unaligned
70530         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70531         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70532         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70533         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70534         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70535         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70537         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70538         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70539         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70540         (STRCPY): Support SSE2 and SSSE3 versions.
70542 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70544         [BZ #12874]
70545         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70546         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70547         kernels which artificially limit size of requests.
70549 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70552         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70553         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70554         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70555         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70556         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70557         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70558         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70559         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70560         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70561         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70562         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70563         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70564         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70565         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70567         Enable unaligned load optimization for Intel Core i3, i5 and i7
70568         processors.
70569         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70570         Define.
70571         (index_Fast_Unaligned_Load): Define.
70572         (HAS_FAST_UNALIGNED_LOAD): Define.
70574 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70576         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70578 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70580         [BZ #12907]
70581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70582         until it is clear that the information is realy needed.
70583         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70585 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70589 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70592         /sys/devices/system/cpu/online if it is usable.
70594         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70595         reading the information from the /proc filesystem to once a second.
70597 2011-06-21  Andreas Jaeger  <aj@suse.de>
70599         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70600         NULL after inclusion of kernel headers.
70602 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70604         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70605         calls to internal_setent.
70607         [BZ #12885]
70608         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70609         addresses using gethostbyname4_r ignore IPv4 addresses.
70611         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70612         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70614         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70616 2011-06-20  David S. Miller  <davem@davemloft.net>
70618         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70619         inclusions.
70620         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70622         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70623         (elf_irel): Use it.
70624         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70625         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70626         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70627         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70628         * sysdeps/x86_64/dl-irel.h: Likewise.
70630         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70631         * elf/dl-sym.c: Likewise.
70633 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70635         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70636         need to dereference resplen2.
70638 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70640         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70642 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70644         * Makeconfig: Define vardbdir and inst_vardbdir.
70645         * nss/Makefile: Add rules to install db-Makefile.
70647         * nss/nss_db/db-XXX.c: Cleanup.
70649         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70650         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70651         GLIBC_PRIVATE.
70652         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70653         * nss/makedb.c: Implement -g option to specify that value strings
70654         are generated and should not be added to table iterated over for
70655         get*ent calls.
70656         * nss/nss_db/db-initgroups.c: New file.
70658         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70659         interface.
70661         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70662         (internal_getgrouplist): Adjust to name change.
70663         Update use_initgroups_entry if this is not the first call.
70664         * nss/databases.def: Add initgroups entry.
70666         * nss/makedb.c (compute_tables): Check result of multiple hash table
70667         sizes to minimize maximum chain length.
70669 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70671         * Versions.def: Add entry for libnss_db.
70672         * shlib-versions: Likewise.
70673         * nss/Makefile: Add rules to build libnss_db.
70674         * nss/Versions: Add libnss_db information.  Organize libnss_files
70675         entries better.
70676         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70677         makedb progra.  Some minor improvements to generate smaller files.
70678         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70679         here from...
70680         * nss/makedb.c: ...here.
70681         Improve database format to be smaller and require less memory at
70682         runtime.
70683         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70684         db anymore.
70685         * nss/nss_db/db-netgrp.c: Likewise.
70686         * nss/nss_db/db-open.c: Likewise.
70687         * nss/nss_files/flies-XXX.x: Adjust comments.
70688         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70689         * nss/nss_files/files-grp.c: Likewise.
70690         * nss/nss_files/files-hosts.c: Likewise.
70691         * nss/nss_files/files-network.c: Likewise.
70692         * nss/nss_files/files-proto.c: Likewise.
70693         * nss/nss_files/files-pwd.c: Likewise.
70694         * nss/nss_files/files-rpc.c: Likewise.
70695         * nss/nss_files/files-service.c: Likewise.
70696         * nss/nss_files/files-sgrp.c: Likewise.
70697         * nss/nss_files/files-spwd.c: Likewise.
70698         * nss/nss_db/db-alias.c: Removed.
70699         * nss/nss_db/dummy-db.h: Removed.
70701 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70703         * nss/makedb.c: Rewritten to not use database library.
70704         * nss/Makefile: Update to build new makedb program.
70706 2011-06-14  Andreas Jaeger  <aj@suse.de>
70708         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70709         memset declaration.
70711 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70714         tmpbuf.
70716 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70718         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70719         * elf/Makefile ($(objpfx)ld.so): Likewise.
70721         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70722         Don't list ld.so twice in dependencies.
70724         * posix/bug-regex31.c: Include <stdlib.h>.
70726         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70728         * nis/nss_compat/compat-spwd.c
70729         (getspent_next_nss_netgr): Remove unused variable.
70730         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70732         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70733         nonmembers" output to use the right array.
70735         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70737         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70739         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70740         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70741         * catgets/gencat.c (read_input_file): Likewise.
70742         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70744         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70745         variable definition inside #if's controlling its use.
70747         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70749         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70751         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70753         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70754         unreachable code.
70756         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70758         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70759         * configure: Regenerated.
70761         * Makerules: Revert last change.
70762         * elf/Makefile: Likewise.
70764 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70766         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70767         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70768         (reloc-link): Likewise.
70770 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70772         * elf/Makefile: Add rules to build pldd.
70773         * elf/pldd.c: New file.
70774         * elf/pldd-xx.c: New file.
70776 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70778         * version.h: Update for 2.15 development version.
70780 2011-06-07  David S. Miller  <davem@davemloft.net>
70782         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70783         ifuncs.
70784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70785         elf_machine_lazy_rel): Likewise.
70786         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70788         elf_machine_lazy_rel): Likewise.
70789         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70790         dl_hwcap via passed in argument.
70791         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70792         Likewise.
70794 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70796         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70798 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70800         [BZ #12849]
70801         * manual/fdl-1.1.texi: New file, verbatim from:
70802         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70803         * manual/lgpl-2.1.texi: New file, verbatim from:
70804         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70805         * manual/Makefile (licenses): New variable, list those new file names.
70806         (texis): Use it.
70807         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70809         * manual/fdl.texi: File removed.
70810         * manual/lesser.texi: File removed.
70811         * manual/libc.texinfo (Copying, Documentation License):
70812         Use new @include file names, put @appendix directive before @include.
70814 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70816         [BZ #12841]
70817         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70818         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70819         (mq_open): Add __NTH.
70821 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70824         Assume Intel Core i3/i5/i7 processor if AVX is available.
70826 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70828         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70829         typo.
70831 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70833         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70834         memory.  Use alloca_account.  Fix memory leak when retrying.
70836 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70838         * version.h (RELEASE): Bump for 2.14 release.
70839         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70841         * config.make.in (RANLIB): Remove entry.
70843 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70845         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70846         (libc.pot): Work around missing support for .ksh extension in xgettext.
70848         [BZ #12684]
70849         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70850         if both request failed.
70851         (send_dg): In case of server errors clear resplen or *resplen2.
70853         [BZ #12454]
70854         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70855         when there are multiple maps.
70856         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70857         (_dl_fini): Remove test here.
70859         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70861 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70863         [BZ #12350]
70864         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70865         bit from old_res_options.
70866         (gaih_inet): Likewise.
70868         [BZ #11099]
70869         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70870         as signed.
70872         * resolv/res_init.c (res_setoptions): Make the code more compact.
70874         [BZ #11558]
70875         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70876         set RES_USEVC.
70878         [BZ #11634]
70879         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70881         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70883         [BZ #11781]
70884         * malloc/malloc.h: Declare malloc hook variables as volatile.
70886         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70887         in last patch.
70889         [BZ #11799]
70890         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70891         raise in the comment.
70892         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70893         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70894         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70896 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70898         [BZ #12811]
70899         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70900         grow the buffers more if it already has to be sufficient.
70901         (build_wcs_upper_buffer): Likewise.
70902         * posix/regexec.c (check_matching): Likewise.
70903         (clean_state_log_if_needed): Likewise.
70904         (extend_buffers): Don't enlarge buffers beyond size of the input
70905         buffer.
70906         Patches mostly by Emil Wojak <emil@wojak.eu>.
70907         * posix/bug-regex32.c: New file.
70908         * posix/Makefile (tests): Add bug-regex32.
70910         * locale/findlocale.c (_nl_find_locale): Return right away if
70911         _nl_explode_name failed.
70912         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70914         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70916         * debug/xtrace.sh: Unify messages.
70917         * malloc/memusage.sh: Likewise.
70919         [BZ #12813]
70920         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70921         time symbol from vDSO.  Substitute with vsyscall if not available.
70922         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70923         __vdso_time.
70925         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70926         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70927         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70928         Add sendmmsg and internal_sendmmsg.
70929         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70930         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70931         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70933         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70934         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70935         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70937 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70939         [BZ #12813]
70940         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70941         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70942         available.
70943         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70944         __vdso_getcpu.
70946         [BZ #12814]
70947         * iconvdata/Makefile (tests): Add bug-iconv9.
70948         * iconvdata/bug-iconv9.c: New file.
70950 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70952         [BZ #12814]
70953         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70955 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70958         (struct user_regs_struct): Change intcs field back to cs.
70960 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70962         * po/ja.po: Update from translation team.
70964 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70966         [BZ #12795]
70967         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70968         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70970 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70972         * stdlib/longlong.h: Update from GCC.
70974 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70976         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70977         parameter name.
70978         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70979         Add parameter name.
70980         (__sysconf): Pass it down.
70982 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70984         [BZ #12671]
70985         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70986         some situations.
70987         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70988         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70989         add in in __libc_use_alloca calls.  Adjust callers.
70990         (glob): Use malloc in some situations.
70992         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70993         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70994         pltexit.
70996 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70998         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70999         and CLOCK_BOOTTIME_ALARM.
71001         [BZ #12782]
71002         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71003         is returned.
71005         * string/_strerror.c (__strerror_r): Print negative errors as signed
71006         numbers.
71008         [BZ #12777]
71009         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71010         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71011         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71013         * configure.in: Fix typo in redirection and correct removal of test
71014         files in two cases.
71016         [BZ #12788]
71017         * locale/setlocale.c (new_composite_name): Fix test to check for
71018         identical name of all categories.
71020         [BZ #12792]
71021         * libio/filedoalloc.c (local_isatty): New function.
71022         (_IO_file_doallocate): Use local_isatty.
71023         * stdio-common/perror.c (perror): In case a new stream is used
71024         forward the stream error.
71025         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71026         error flag.
71028 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71030         [BZ #11884]
71031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71032         alloca.
71033         * include/alloca.h (extend_alloca_account): Define.
71035         [BZ #11857]
71036         * posix/regex.h: Fix comments with documentation of user-accessible
71037         fields after compilation and describe correct free'ing of pattern
71038         after re_compile_pattern.
71039         Patch by Reuben Thomas <rrt@sc3d.org>.
71041 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71043         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71044         and -mno-altivec to prevent the compiler from using Altivec and/or
71045         VSX instructions when the corresponding registers are not available.
71047 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71049         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71051 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71053         * libio/freopen.c (freopen): Use __dup2, not dup2.
71054         * libio/freopen64.c (freopen64): Likewise.
71056 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71058         [BZ #12775]
71059         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71060         * math/Makefile (tests): Add test-powl.
71061         (CFLAGS-test-powl.c): Define.
71062         * math/test-powl.c: New file.
71064 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71066         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71068 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71070         [BZ #11837]
71071         * iconvdata/gb18030.c: Update to GB18020-2005.
71073 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71075         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71076         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71077         Patch by Aharon Robbins <arnold@skeeve.com>.
71079         [BZ #11892]
71080         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71081         on the stack.
71083         [BZ #11895]
71084         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71085         through underflows.
71087         [BZ #12766]
71088         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71089         point to strings before performing equality test for error_one_per_line
71090         mode.
71092         [BZ #11697]
71093         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71095         [BZ #11820]
71096         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71097         (struct user_fpregs_struct): Avoid __uint*_t types.
71099         [BZ #6420]
71100         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71101         symbol info.  Use it instead of calling _dl_addr locally.
71102         (lock_and_info): New function.
71103         (tr_freehook): Call lock_and_info and pass symbol info as additional
71104         parameter to tr_where.
71105         (tr_mallochook): Likewise.
71106         (tr_reallochook): Likewise.
71107         (tr_memalignhook): Likewise.
71109         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71110         used and couldn't be at all thread-safe.
71112 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71114         * libio/freopen.c (freopen): Don't close old file descriptor
71115         before the new one is opened.  Instead dup the new file descriptor
71116         to the old one after the new stream is created.
71117         * libio/freopen64.c (freopen64): Likewise.
71118         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71119         * libio/fileops.c (_IO_new_file_close_it): Handle new
71120         _IO_FLAGS2_NOCLOSE flag.
71121         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71122         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71123         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71124         _IO_FLAGS2_NOCLOSE flag.
71125         * include/unistd.h: Add hidden_proto for dup3.
71126         Define __have_dup3.
71127         * io/dup3.c: Define hidden symbol.
71128         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71130         [BZ #7101]
71131         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71132         when an incomplete long option is used.
71133         * posix/tst-getopt_long1.c: New file.
71134         * posix/Makefile (tests): Add tst-getopt_long1.
71136         [BZ #10138]
71137         * scripts/config.guess: Update from autoconf-2.68.
71138         * scripts/config.sub: Likewise.
71140         [BZ #10157]
71141         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71142         tests into ...
71143         (has_cpuclock): ...this.  New function.
71144         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71145         macro here based on has_cpuclock code.
71147         [BZ #10149]
71148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71149         First byte (not low byte) is now always NUL.
71150         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71153         Use non-cancelable interfaces.
71155         [BZ #9809]
71156         * locale/iso-639.def: Add entry for Sorani.
71158         [BZ #11901]
71159         * include/stdlib.h: Move include protection to the right place.
71160         Define abort_msg_s.  Declare __abort_msg with it.
71161         * stdlib/abort.c (__abort_msg): Adjust type.
71162         * assert/assert.c (__assert_fail_base): New function.  Majority
71163         of code from __assert_fail.  Allocate memory for __abort_msg with
71164         mmap.
71165         (__assert_fail): Now call __assert_fail_base.
71166         * assert/assert-perr.c: Remove bulk of implementation.  Use
71167         __assert_fail_base.
71168         * include/assert.hL Declare __assert_fail_base.
71169         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71170         mmap.
71171         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71173 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71175         [BZ #11952]
71176         [BZ #12453]
71177         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71178         until all modules are registered in the DTV.
71179         * elf/Makefile: Add rules to build and run tst-tls19.
71180         * elf/tst-tls19.c: New file.
71181         * elf/tst-tls19mod1.c: New file.
71182         * elf/tst-tls19mod2.c: New file.
71183         * elf/tst-tls19mod3.c: New file.
71184         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71186         [BZ #12083]
71187         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71188         correctly.
71190         [BZ #12601]
71191         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71192         two-byte sequence errors.
71193         * iconvdata/Makefile (tests): Add bug-iconv8.
71194         * iconvdata/bug-iconv8.c: New file.
71196         [BZ #12626]
71197         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71198         buf2 definition.
71200         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71202         [BZ #12432]
71203         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71204         (dummy_getcfa): New function.
71205         (init): Get _Unwind_GetCFA address, use dummy if not found.
71206         (backtrace_helper): In recursion check, also check whether CFA changes.
71207         (__backtrace): Completely initialize arg.
71209         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71210         storing incomplete byte sequence in state object.  Avoid testing for
71211         guaranteed too small input if we know there is enough data available.
71213 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71215         * Makeconfig (+link-pie): Indent.
71216         * Rules (binaries-pie): Define if $(have-fpie) and
71217         $(build-shared).
71218         (binaries-shared): Also filter out $(binaries-pie).
71219         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71220         * nscd/Makefile (others-pie): Add nscd.
71221         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71222         ($(objpfx)nscd): Remove command override.
71223         * login/Makefile (others-pie): Add pt_chown.
71224         ($(objpfx)pt_chown): Remove command override.
71225         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71226         remove command overrides.
71228 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71230         * libio/tst_putwc.c: Fix error messages.
71232         [BZ #12724]
71233         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71234         currently writing and seek to current position when not.
71235         * libio/Makefile (tests): Add bug-fclose1.
71236         * libio/bug-fclose1.c: New file.
71238 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71240         [BZ #12511]
71241         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71242         don't set DF_1_NODELETE here.
71243         (do_lookup_x): When entering new entry test for copy relocation
71244         and if necessary set DF_1_NODELETE flag.
71245         * elf/tst-unique4.cc: New file.
71246         * elf/tst-unique4.h: New file.
71247         * elf/tst-unique4lib.cc: New file.
71248         * elf/Makefile: Add rules to build and run tst-unique4.
71249         Patch by Piotr Bury <pbury@goahead.com>.
71251 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71253         [BZ #12052]
71254         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71256         [BZ #12625]
71257         * misc/mntent_r.c (addmntent): Flush the stream after the output
71259         [BZ #12393]
71260         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71261         (is_trusted_path_normalize): Skip initial colon.  Append slash
71262         to empty buffer.  Duplicate is_trusted_path code but allow
71263         constructed patch to be prefix.
71264         (is_dst): Allow $ORIGIN followed by /.
71265         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71266         Correct testing of result of is_trusted_path_normalize
71267         (decompose_rpath): Fix warning.
71269 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71271         [BZ #11257]
71272         * grp/initgroups.c (internal_getgrouplist): When we found the service
71273         list through the initgroups entry in nsswitch.conf do not always
71274         continue on a successful lookup.  Don't always use the
71275         __nss_group_database value if it is set.
71276         * nss/nsswitch.conf (initgroups): Change action for successful db
71277         lookup to continue for compatibility.
71279 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71281         [BZ #11532]
71282         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71283         and CP774 modules.
71284         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71285         and CP774 modules.
71286         * iconvdata/tst-tables.sh: Likewise.
71287         * iconvdata/cp770.c: New file.
71288         * iconvdata/cp771.c: New file.
71289         * iconvdata/cp772.c: New file.
71290         * iconvdata/cp773.c: New file.
71291         * iconvdata/cp774.c: New file.
71292         * iconvdata/testdata/CP770: New file.
71293         * iconvdata/testdata/CP770..UTF8: New file.
71294         * iconvdata/testdata/CP771: New file.
71295         * iconvdata/testdata/CP771..UTF8: New file.
71296         * iconvdata/testdata/CP772: New file.
71297         * iconvdata/testdata/CP772..UTF8: New file.
71298         * iconvdata/testdata/CP773: New file.
71299         * iconvdata/testdata/CP773..UTF8: New file.
71300         * iconvdata/testdata/CP774: New file.
71301         * iconvdata/testdata/CP774..UTF8: New file.
71303         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71304         END CHARMAP line.
71305         * iconvdata/gen-8bit-gap.sh: Likewise.
71306         * iconvdata/gen-8bit.sh: Likewise.
71308         * locale/iso-639.def: Add ary entry.
71310         [BZ #11258]
71311         * locale/C-translit.h.in: Add U20A1 transliteration.
71313         [BZ #12178]
71314         * locale/iso-639.def: Add wae entry.
71315         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71317         [BZ #12545]
71318         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71319         for n.
71321         [BZ #12711]
71322         * locale/C-translit.h.in: Add entry for U20B9.
71323         Patch by pravin.d.s@gmail.com.
71325 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71327         [BZ #12713]
71328         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71329         ENAMETOOLONG use generic getcwd.
71330         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71331         in rtld.  Use *stat64.
71332         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71333         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71334         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71335         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71336         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71337         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71338         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71339         __fstatat64 macros.
71340         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71341         * dirent/rewinddir.c: Add libc_hidden_def.
71342         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71343         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71345         * include/dirent.h (__alloc_dir): Add flags parameter.
71346         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71347         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71348         __alloc_dir.
71349         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71350         from fdopendir if O_CLOEXEC is already set.
71352 2011-03-15  Alan Modra  <amodra@gmail.com>
71354         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71355         l_tls_firstbyte_offset non-zero.  Save padding offset in
71356         l_tls_firstbyte_offset for later use.
71357         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71358         freeing static tls block.
71360 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71362         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71363         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71364         being defined by the kernel headers.
71366 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71368         [BZ #12734]
71369         * resolv/resolv.h: Define RES_NOTLDQUERY.
71370         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71371         no-tld-query and set RES_NOTLDQUERY.
71372         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71373         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71374         modern BIND to search name as TLD unless forbidden.
71376 2011-05-07  Petr Baudis  <pasky@suse.cz>
71377             Ulrich Drepper  <drepper@gmail.com>
71379         [BZ #12393]
71380         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71381         (is_trusted_path): ...to here.
71382         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71383         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71384         using is_trusted_path_normalize() in setuid scripts.
71386 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71388         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71389         __BEGIN/__END_DECLS.
71391 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71394         NSS_STATUS_NOTFOUND if no record was found.
71396 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71398         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71399         (headers-not-in-tirpc): Remove rpc/netdb.h
71400         * resolv/netdb.h: Revert last change.
71402 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71404         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71405         circular dependency between libgcc.a and libc.a.
71407 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71409         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71410         * nis/Makefile: Don't install rpcsvc/*.
71411         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71412         instead of <rpc/types.h>.
71413         (MAXHOSTNAMELEN): Define.
71415 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71417         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71419 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71421         [BZ #12714]
71422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71423         gethostbyname4_r when IPv6 results are possible.
71425 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71427         [BZ #12723]
71428         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71429         _PC_PIPE_BUF handling.
71431 2011-04-30  Bruno Haible  <bruno@clisp.org>
71433         [BZ #12717]
71434         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71435         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71436         to 'int'.
71437         * inet/getnameinfo.c (getnameinfo): Likewise.
71439 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71441         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71442         to groups setting in database lookup.
71443         * nss/nsswitch.conf: Add initgroups entry.
71445 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71447         [BZ #12685]
71448         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71449         mode string.
71450         Patch by Eric Blake <eblake@redhat.com>.
71452 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71454         * sunrpc/Makefile (need-export-routines): Add svc_run.
71455         (routines): Remove svc_run.
71456         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71457         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71458         * sunrpc/svc_run.c (svc_run): Likewise.
71459         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71461 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71463         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71464         problem in reallocation in last patch.
71466 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71468         * sunrpc/Makefile: Move inclusion of Rules.
71470 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71472         * nss/nss_files/files-initgroups.c: New file.
71473         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71474         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71475         _nss_files_initgroups_dyn.
71477 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71479         * elf/elf.h (R_ARM_IRELATIVE): Define.
71481 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71483         * po/ru.po: Update from translation team.
71485 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71487         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71488         dependencies.
71490 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71492         [BZ #12653]
71493         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71494         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71495         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71496         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71499 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71501         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71502         differing bytes.
71503         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71504         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71507 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71509         [BZ #12420]
71510         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71511         storing it.
71512         * stdlib/bug-getcontext.c: New file.
71513         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71515 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71517         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71518         instructions into .machine "z9-109".
71519         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71520         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71522 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71524         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71525         between environment variables and auxiliary vector.
71527 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71529         * Makefile: Add rules to build linkobj/libc.so.
71530         * include/libc-symbols.h: Define libc_hidden_nolink.
71531         * include/rpc/auth.h: Mark functions which are to be hidden.
71532         * include/rpc/auth_des.h: Likewise.
71533         * include/rpc/auth_unix.h: Likewise.
71534         * include/rpc/clnt.h: Likewise.
71535         * include/rpc/des_crypt.h: Likewise.
71536         * include/rpc/key_prot.h: Likewise.
71537         * include/rpc/pmap_clnt.h: Likewise.
71538         * include/rpc/pmap_prot.h: Likewise.
71539         * include/rpc/pmap_rmt.h: Likewise.
71540         * include/rpc/rpc_msg.h: Likewise.
71541         * include/rpc/svc.h: Likewise.
71542         * include/rpc/svc_auth.h: Likewise.
71543         * include/rpc/xdr.h: Likewise.
71544         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71545         * nss/Makefile: Likewise.
71546         * sunrpc/Makefile: Don't install headers.  Build library with normal
71547         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71548         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71549         for the compat linking library.  Remove use of INTDEF/INTUSE.
71550         * sunrpc/auth_none.c: Likewise.
71551         * sunrpc/auth_unix.c: Likewise.
71552         * sunrpc/authdes_prot.c: Likewise.
71553         * sunrpc/authuxprot.c: Likewise.
71554         * sunrpc/clnt_gen.c: Likewise.
71555         * sunrpc/clnt_perr.c: Likewise.
71556         * sunrpc/clnt_raw.c: Likewise.
71557         * sunrpc/clnt_simp.c: Likewise.
71558         * sunrpc/clnt_tcp.c: Likewise.
71559         * sunrpc/clnt_udp.c: Likewise.
71560         * sunrpc/clnt_unix.c: Likewise.
71561         * sunrpc/des_crypt.c: Likewise.
71562         * sunrpc/des_soft.c: Likewise.
71563         * sunrpc/get_myaddr.c: Likewise.
71564         * sunrpc/key_call.c: Likewise.
71565         * sunrpc/key_prot.c: Likewise.
71566         * sunrpc/netname.c: Likewise.
71567         * sunrpc/pm_getmaps.c: Likewise.
71568         * sunrpc/pm_getport.c: Likewise.
71569         * sunrpc/pmap_clnt.c: Likewise.
71570         * sunrpc/pmap_prot.c: Likewise.
71571         * sunrpc/pmap_prot2.c: Likewise.
71572         * sunrpc/pmap_rmt.c: Likewise.
71573         * sunrpc/publickey.c: Likewise.
71574         * sunrpc/rpc_cmsg.c: Likewise.
71575         * sunrpc/rpc_common.c: Likewise.
71576         * sunrpc/rpc_dtable.c: Likewise.
71577         * sunrpc/rpc_prot.c: Likewise.
71578         * sunrpc/rpc_thread.c: Likewise.
71579         * sunrpc/rtime.c: Likewise.
71580         * sunrpc/svc.c: Likewise.
71581         * sunrpc/svc_auth.c: Likewise.
71582         * sunrpc/svc_authux.c: Likewise.
71583         * sunrpc/svc_raw.c: Likewise.
71584         * sunrpc/svc_run.c: Likewise.
71585         * sunrpc/svc_simple.c: Likewise.
71586         * sunrpc/svc_tcp.c: Likewise.
71587         * sunrpc/svc_udp.c: Likewise.
71588         * sunrpc/svc_unix.c: Likewise.
71589         * sunrpc/svcauth_des.c: Likewise.
71590         * sunrpc/xcrypt.c: Likewise.
71591         * sunrpc/xdr.c: Likewise.
71592         * sunrpc/xdr_array.c: Likewise.
71593         * sunrpc/xdr_float.c: Likewise.
71594         * sunrpc/xdr_intXX_t.c: Likewise.
71595         * sunrpc/xdr_mem.c: Likewise.
71596         * sunrpc/xdr_rec.c: Likewise.
71597         * sunrpc/xdr_ref.c: Likewise.
71598         * sunrpc/xdr_sizeof.c: Likewise.
71599         * sunrpc/xdr_stdio.c: Likewise.
71601 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71603         [BZ #12650]
71604         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71605         * sysdeps/ia64/dl-tls.h: Likewise.
71606         * sysdeps/powerpc/dl-tls.h: Likewise.
71607         * sysdeps/s390/dl-tls.h: Likewise.
71608         * sysdeps/sh/dl-tls.h: Likewise.
71609         * sysdeps/sparc/dl-tls.h: Likewise.
71610         * sysdeps/x86_64/dl-tls.h: Likewise.
71611         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71613 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71615         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71616         rpath element also skip the following colon.
71617         (expand_dynamic_string_token): Add is_path parameter and pass
71618         down to DL_DST_REQUIRED and _dl_dst_substitute.
71619         (decompose_rpath): Call expand_dynamic_string_token with
71620         non-zero is_path.  Ignore empty rpaths.
71621         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71622         with zero is_path.
71624 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71627         Make cancelable.
71629 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71631         [BZ #12655]
71632         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71633         Patch by Filipe David Manana <fdmanana@apache.org>.
71635 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71638         Maintain aligned stack.
71639         (CHECK_RSP): Remove unused macro.
71641 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71643         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71644         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71646 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71648         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71650         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71652 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71654         [BZ #12518]
71655         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71656         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71657         * sysdeps/x86_64/memmove.c: New file.
71658         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71659         (memcpy): Renamed to ...
71660         (__new_memcpy): This.
71661         (memcpy): Provide GLIBC_2_14 memcpy.
71662         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71663         (memcpy): Provide GLIBC_2_2_5 memcpy.
71665 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71667         [BZ #12631]
71668         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71670 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71672         * misc/syncfs.c: New file.
71673         * misc/Makefile (routines): Add syncfs.
71674         * posix/unistd.h: Declare syncfs.
71675         * sysdeps/unix/syscalls.list: Add syncfs.
71677 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71679         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71680         open_by_handle_at.
71681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71682         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71686         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71687         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71689 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71691         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71692         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71693         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71699         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71700         sync_file_range.c with -fexceptions.
71701         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71702         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71703         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71704         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71705         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71706         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71708         sync_file_range as cancellation point
71709         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71710         now a wrapper around __call_sync_file_range with cancellation handling.
71711         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71712         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71713         function name to __call_sync_file_range.
71714         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71715         Add call_sync_file_range.
71717 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71720         bits/timex.h.
71722 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71724         * iconv/iconv.h: Fix typo in comment.
71725         * io/fcntl.h: Likewise.
71726         * libio/stdio.h: Likewise.
71727         * posix/spawn.h: Likewise.
71728         * posix/unistd.h: Likewise.
71729         * stdlib/stdlib.h: Likewise.
71730         * time/time.h: Likewise.
71731         * wcsmbs/wchar.h: Likewise.
71733         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71734         open_by_handle): Add.
71735         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71736         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71737         Augment a few comments.
71738         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71740         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71743         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71744         open_by_handle.
71746         * io/fcntl.h (AT_EMPTY_PATH): Define.
71748 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71750         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71751         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71752         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71753         to...
71754         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71755         * Versions.def: Add GLIBC_2.14.
71756         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71757         Export.
71759 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71761         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71762         round counter.
71763         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71765 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71767         [BZ #12597]
71768         * string/test-strncmp.c (do_page_test): New function.
71769         (check2): Likewise.
71770         (test_main): Call check2.
71771         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71773 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71775         [BZ #12587]
71776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71777         Handle cache information in CPU leaf 4.
71778         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71780 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71782         [BZ #12583]
71783         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71784         character representation.
71785         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71787 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71789         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71790         END(__isnan) to END(__isnanf) to match function entry point/label
71791         EALIGN(__isnanf,...).
71793 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71795         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71797 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71799         [BZ #12510]
71800         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71801         copy from the symbol referenced in the relocation to initialize the
71802         used variable.
71803         Patch by Piotr Bury <pbury@goahead.com>.
71804         * elf/Makefile: Add rules to build and tst-unique3.
71805         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71806         * elf/tst-unique3.cc: New file.
71807         * elf/tst-unique3.h: New file.
71808         * elf/tst-unique3lib.cc: New file.
71809         * elf/tst-unique3lib2.cc: New file.
71811         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71813 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71815         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71816         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71817         to _start.
71819 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71821         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71822         to-be-loaded object along a path to loader is ld.so.
71824 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71825             Ulrich Drepper  <drepper@gmail.com>
71827         * sysdeps/x86_64/memset.S: After aligning destination, code
71828         branches to different locations depending on the value of
71829         misalignment, when multiarch is enabled. Fix this.
71831 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71833         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71834         Set _x86_64_preferred_memory_instruction for AMD processsors.
71835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71836         Set bit_Prefer_SSE_for_memop for AMD processors.
71838 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71840         * libio/fmemopen.c (fmemopen): Optimize a bit.
71842 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71844         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71846 2011-03-03  Roland McGrath  <roland@redhat.com>
71848         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71850 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71852         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71853         __bzero_ultra1 instead of __memset_ultra1.
71855 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71856             Ulrich Drepper  <drepper@gmail.com>
71858         [BZ #12509]
71859         * include/link.h (struct link_map): Add l_orig_initfini.
71860         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71861         returning unsuccessfully.
71862         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71863         close of a file loaded at startup, restore the original l_initfini
71864         list.
71865         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71866         list, store the pointer.
71867         * elf/Makefile ($(objpfx)noload-mem): New rule.
71868         (noload-ENV): Define.
71869         (tests): Add $(objpfx)noload-mem.
71870         * elf/noload.c: Include <memcheck.h>.
71871         (main): Call mtrace.  Close all opened handles.
71873 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71875         [BZ #12454]
71876         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71877         dependencies are missing.
71879 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71881         Fix __if_freereq crash: Unlike the generic version which uses free,
71882         Hurd needs munmap.
71883         * sysdeps/mach/hurd/ifreq.h: New file.
71885 2011-01-27  Petr Baudis  <pasky@suse.cz>
71886             Ulrich Drepper  <drepper@gmail.com>
71888         [BZ 12445]#
71889         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71890         to extend_alloca().
71891         * stdio-common/bug23.c: New file.
71892         * stdio-common/Makefile (tests): Add bug23.
71894 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71895             Ulrich Drepper  <drepper@gmail.com>
71897         [BZ #12489]
71898         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71899         before performing relro protection.  At old place add assertion
71900         to make sure nothing changed.
71902 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71903             Glauber de Oliveira Costa  <glommer@gmail.com>
71905         * elf/elf.h: Add new ARM TLS relocs.
71907 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71910         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71911         cast from r3.
71912         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71913         'tests' variable.
71914         * sysdeps/wordsize-64/tst-writev.c: New file.
71916 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71918         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71919         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71920         insns in _dl_start to prevent a TOC reference before relocs are
71921         resolved.
71923 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71925         [BZ #12469]
71926         * Makeconfig: Remove RANLIB definition.
71927         * Makerules: Don't use RANLIB.
71928         * aclocal.m4: Remove ranlib test.
71929         * configure.in: No need to check for ranlib.
71930         * elf/rtld-Rules: Don't use RANLIB.
71932 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71934         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71935         protection macro.
71936         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71937         inclusion protection macro.
71939         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71940         SIGRTMIN and SIGRTMAX and print information in that case only when
71941         SIGRTMIN is defined.
71943 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71945         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71946         arginfo fn returning -1.
71948         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71949         and thousands string is zero terminated.
71951 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71954         sysdeps/unix/sysv/linux/bits/socket.h.
71956 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71958         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71959         (__CPU_COUNT): Remove old macros.
71960         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71961         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71962         (__CPU_ALLOC, __CPU_FREE): Add macros.
71963         (__sched_cpualloc, __sched_cpufree): Add declarations.
71965 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71967         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71968         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71969         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71970         (readdhstai): Return value of addhstaiX call.
71971         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71972         (addgrbyX): Return value returned by cache_addgr.
71973         (readdgrbyname): Return value returned by addgrbyX.
71974         (readdgrbygid): Likewise.
71975         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71976         (addpwbyX): Return value returned by cache_addpw.
71977         (readdpwbyname): Return value returned by addhstbyX.
71978         (readdpwbyuid): Likewise.
71979         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71980         (addservbyX): Return value returned by cache_addserv.
71981         (readdservbyname): Return value returned by addservbyX:
71982         (readdservbyport): Likewise.
71983         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71984         (addhstbyX): Return value returned by cache_addhst.
71985         (readdhstbyname): Return value returned by addhstbyX.
71986         (readdhstbyaddr): Likewise.
71987         (readdhstbynamev6): Likewise.
71988         (readdhstbyaddrv6): Likewise.
71989         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71990         (readdinitgroups): Return value returned by addinitgroupsX.
71991         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71992         (prune_cache): Keep track of timeout value of re-added entries.
71993         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71994         * nscd/nscd.h: Adjust prototypes of readd* functions.
71996 2011-02-04  Roland McGrath  <roland@redhat.com>
71998         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71999         (nis_stats): Likewise.
72000         * nis/nis_modify.c (nis_modify): Likewise.
72001         * nis/nis_remove.c (nis_remove): Likewise.
72002         * nis/nis_add.c (nis_add): Likewise.
72004         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72006         * posix/fnmatch_loop.c: Add some consts.
72008         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72010 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72012         [BZ #12460]
72013         * config.make.in (config-cflags-novzeroupper): Define.
72014         * configure.in: Substitute libc_cv_cc_novzeroupper.
72015         * elf/Makefile (AVX-CFLAGS): Define.
72016         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72017         (CFLAGS-tst-auditmod4a.c): Likewise.
72018         (CFLAGS-tst-auditmod4b.c): Likewise.
72019         (CFLAGS-tst-auditmod6b.c): Likewise.
72020         (CFLAGS-tst-auditmod6c.c): Likewise.
72021         (CFLAGS-tst-auditmod7b.c): Likewise.
72022         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72024 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72026         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72027         function to the callback.
72028         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72030 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72032         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72033         of errno.
72035 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72037         [BZ #11724]
72038         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72039         of constructors.
72040         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72041         of destructors.
72042         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72044         [BZ #11724]
72045         * elf/Makefile: Add rules to build and run new test.
72046         * elf/tst-initorder.c: New file.
72047         * elf/tst-initorder.exp: New file.
72048         * elf/tst-initordera1.c: New file.
72049         * elf/tst-initordera2.c: New file.
72050         * elf/tst-initordera3.c: New file.
72051         * elf/tst-initordera4.c: New file.
72052         * elf/tst-initorderb1.c: New file.
72053         * elf/tst-initorderb2.c: New file.
72054         * elf/tst-order-a1.c: New file.
72055         * elf/tst-order-a2.c: New file.
72056         * elf/tst-order-a3.c: New file.
72057         * elf/tst-order-a4.c: New file.
72058         * elf/tst-order-b1.c: New file.
72059         * elf/tst-order-b2.c: New file.
72060         * elf/tst-order-main.c: New file.
72061         New test case by George Gensure <werkt0@gmail.com>.
72063 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72066         decoding ACE if AI_CANONIDN.
72068 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72070         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72072 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72074         * version.h (RELEASE): Bump for 2.13 release.
72075         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72077         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72079         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72080         MADV_NOHUGEPAGE.
72081         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72082         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72084         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72086         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72088         * posix/getconf.c: Update copyright year.
72089         * catgets/gencat.c: Likewise.
72090         * csu/version.c: Likewise.
72091         * debug/catchsegv.sh: Likewise.
72092         * debug/xtrace.sh: Likewise.
72093         * elf/ldconfig.c: Likewise.
72094         * elf/ldd.bash.in: Likewise.
72095         * elf/sprof.c (print_version): Likewise.
72096         * iconv/iconv_prog.c: Likewise.
72097         * iconv/iconvconfig.c: Likewise.
72098         * locale/programs/locale.c: Likewise.
72099         * locale/programs/localedef.c: Likewise.
72100         * malloc/memusage.sh: Likewise.
72101         * malloc/mtrace.pl: Likewise.
72102         * nscd/nscd.c (print_version): Likewise.
72103         * nss/getent.c: Likewise.
72105         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72106         PF_CAIF, and PF_ALG.
72107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72109 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72111         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72112         (modules-names): Use them.
72113         (ifunc-test-modules, ifunc-pie-tests): Define.
72114         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72115         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72116         (test-extras): Likewise.
72117         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72118         $(compile-command.c).
72119         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72120         (all-built-dso): Define.
72121         (check-textrel.out, check-execstack.out): Depend on it.
72123         * configure.in: Don't override --enable-multi-arch.
72125 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72127         [BZ #6812]
72128         * nscd/hstcache.c (tryagain): Define.
72129         (cache_addhst): Return tryagain not notfound for temporary errors.
72130         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72131         failed.
72133 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72135         [BZ #10563]
72136         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72137         to make the syscall.
72138         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72140         [BZ #12378]
72141         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72142         and fall back to matching as normal character if the string ends before
72143         the matching ']' is found.  This is what POSIX requires.
72144         * posix/testfnm.c: Adjust test result.
72145         * posix/globtest.sh: Adjust test result.  Add new test.
72146         * posix/tst-fnmatch.input: Likewise.
72147         * posix/tst-fnmatch2.c: Add new test.
72149 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72151         * elf/Makefile (check-execstack): Revert last change.  Depend on
72152         check-execstack.h.
72153         (check-execstack.h): New target.
72154         (generated): Add check-execstack.h.
72155         * elf/check-execstack.c: Include "check-execstack.h".
72156         (main): Revert last change.
72157         (handle_file): Return zero if GNU_STACK is absent and
72158         DEFAULT_STACK_PERMS doesn't include PF_X.
72160 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72162         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72163         in child fails because the descriptor is already closed.
72164         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72165         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72166         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72168         [BZ #12397]
72169         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72170         syscall.
72172         [BZ #10484]
72173         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72174         temporary buffer used to handle multi lookups locally.
72175         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72177 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72179         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72180         loader is ld.so.
72182 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72184         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72185         alignment for SSE2.
72187 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72189         [BZ #12394]
72190         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72191         characters.  When rounding increased number of integer digits recompute
72192         number of groups.
72193         * stdio-common/tst-grouping.c: New file.
72194         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72196 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72198         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72199         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72201         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72202         void.
72203         * bits/select.h: Likewise.
72205 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72207         * po/ja.po: Update from translation team.
72209 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72211         [BZ #11155]
72212         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72213         implementation just like for lxstat, fxstatat, et al.
72215 2010-12-27  Jim Meyering  <meyering@redhat.com>
72217         [BZ #12348]
72218         * posix/regexec.c (build_trtable): Return failure indication upon
72219         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72221 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72223         [BZ #12201]
72224         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72225         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72226         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72227         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72229         [BZ #12207]
72230         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72232         [BZ #12204]
72233         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72234         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72236 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72238         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72239         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72240         script has SORT_BY_INIT_PRIORITY.
72241         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72242         NO_CTORS_DTORS_SECTIONS is defined.
72243         * elf/soinit.c: Likewise.
72244         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72245         NO_CTORS_DTORS_SECTIONS is defined.
72246         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72247         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72248         * sysdeps/sh/init-first.c: Likewise.
72249         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72251 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72253         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72254         always use the slow path.
72256 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72258         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72259         similar rule which adds the sysdep directories to the header search in
72260         order to pick up the correct platform stackinfo.h.
72261         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72262         perform test if it is, otherwise return successfully without testing.
72263         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72264         DEFAULT_STACK_PERMS define in stackinfo.h.
72265         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72266         defined in stackinfo.h.
72267         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72268         DEFAULT_STACK_PERMS defined in stackinfo.h.
72269         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72270         * sysdeps/ia64/stackinfo.h: Likewise.
72271         * sysdeps/s390/stackinfo.h: Likewise.
72272         * sysdeps/sh/stackinfo.h: Likewise.
72273         * sysdeps/sparc/stackinfo.h: Likewise.
72274         * sysdeps/x86_64/stackinfo.h: Likewise.
72275         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72276         PF_X for powerpc64.  Retain PF_X for powerpc32.
72278 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72280         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72281         accurately.
72282         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72283         GETDENTS_64BIT_ALIGNED.
72285 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72287         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72289 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72291         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72292         _GNU_SOURCE.
72294         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72295         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72296         Remove __restrict.
72297         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72298         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72300 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72302         [BZ #11655]
72303         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72304         are initialized.
72306 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72308         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72310 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72312         * po/it.po: Update from translation team.
72314 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72317         unused codes.
72319 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72321         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72323 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72325         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72326         specially.
72327         (gaih_getanswer_slice): Likewise.
72329 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72333 2010-05-31  Petr Baudis  <pasky@suse.cz>
72335         [BZ #11149]
72336         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72337         silently even in the chroot mode.
72339 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72341         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72342         last patch a bit.  Pretty printing
72344 2010-05-31  Petr Baudis <pasky@suse.cz>
72346         [BZ #10085]
72347         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72348         initialization of skip_initgroups_dyn.
72350 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72352         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72353         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72355 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72357         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72359 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72361         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72362         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72363         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72364         ($(objpfx)tst-fnmatch-mem): New rule.
72365         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72366         * posix/tst-fnmatch.c (main): Call mtrace.
72368 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72371         Support Intel processor model 6 and model 0x2c.
72373 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72375         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72376           signed comparison.
72378 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72380         [BZ #12205]
72381         * string/test-strncasecmp.c (check_result): New function.
72382         (do_one_test): Use it.
72383         (check1): New function.
72384         (test_main): Use it.
72385         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72386         Support strcasecmp and strncasecmp.
72388 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72390         [BZ #12194]
72391         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72392         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72394 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72396         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72397         IFUNC support.
72398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72399         memset-x86-64.
72400         * sysdeps/x86_64/multiarch/bzero.S: New file.
72401         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72402         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72403         * sysdeps/x86_64/multiarch/memset.S: New file.
72404         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72406         Set bit_Prefer_SSE_for_memop for Intel processors.
72407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72408         Define.
72409         (index_Prefer_SSE_for_memop): Define.
72410         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72412 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72414         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72415         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72417 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72419         [BZ #12191]
72420         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72421         (__x86_64_raw_data_cache_size_half): Likewise.
72422         (__x86_64_raw_shared_cache_size): Likewise.
72423         (__x86_64_raw_shared_cache_size_half): Likewise.
72425         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72426         (__x86_64_raw_data_cache_size_half): Likewise.
72427         (__x86_64_raw_shared_cache_size): Likewise.
72428         (__x86_64_raw_shared_cache_size_half): Likewise.
72429         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72430         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72431         and __x86_64_raw_shared_cache_size_half.  Round
72432         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72433         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72434         to multiple of 256 bytes.
72436 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72438         [BZ #12167]
72439         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72440         of inacessible symlinks.  Verify result of symlink before returning it.
72441         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72442         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72444 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72446         * math/math.h (isinf): Fix typo in comment.
72448 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72450         * po/da.po: Update from translation team.
72452 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72454         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72455         is added to the list.
72457 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72458             Ulrich Drepper  <drepper@gmail.com>
72460         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72461         the global list here.  Move code to...
72462         (_dl_add_to_namespace_list): ...here.  New function.
72463         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72464         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72465         * elf/dl-load.c (lose): Don't remove the element from the list.
72466         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72467         (_dl_map_object): Likewise.
72469 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72471         [BZ #12159]
72472         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72473         into all bytes of SSE register.
72474         Patch by Richard Li <richardpku@gmail.com>.
72476 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72478         [BZ #12140]
72479         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72480         perturbing.
72482 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72484         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72485         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72486         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72489         submachine.
72490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72492 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72494         * include/dlfcn.h (__RTLD_SECURE): Define.
72495         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72496         mode & __RTLD_SECURE instead.
72497         (open_path): Rename preloaded parameter to secure.
72498         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72499         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72500         * elf/dl-deps.c (openaux): Likewise.
72501         * elf/rtld.c (struct map_args): Remove is_preloaded.
72502         (map_doit): Don't use it.
72503         (dl_main): Likewise.
72504         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72505         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72507 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72509         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72510         (sysd-rules-targets): Remove duplicates.
72511         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72512         rtld-%.$o dependency.
72514 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72516         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72517         _dl_map_object do it.
72519 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72521         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72522         fast fma builtins, define the macros in the C99 standard.
72523         (FP_FAST_FMAF): Likewise.
72524         (FP_FAST_FMAL): Likewise.
72525         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72527         * bits/mathdef.h: Update copyright year.
72528         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72530 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72532         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72533         builtins, define the macros in the C99 standard.
72534         (FP_FAST_FMAF): Likewise.
72535         (FP_FAST_FMAL): Likewise.
72536         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72537         multiply/add.
72538         (FP_FAST_FMAF): Likewise.
72540 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72542         [BZ #3268]
72543         * math/libm-test.inc (fma_test): Some new testcases.
72544         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72545         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72546         y and infinite z.  Do multiplication by C already in long double.
72547         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72549         y and infinite z.  Do bitwise or of inexact bit into u.d.
72550         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72551         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72552         * sysdeps/i386/fpu/s_fma.S: Removed.
72553         * sysdeps/i386/fpu/s_fmal.S: Removed.
72555 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72557         [BZ #3268]
72558         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72560         computation is not scheduled after fetestexcept.  Fix value
72561         of minimum denormal long double.
72563 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72565         [BZ #3268]
72566         * math/libm-test.inc (fma_test): Add some more tests.
72567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72568         correctly.
72570 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72572         * scripts/data/localplt-s390-linux-gnu.data: New file.
72573         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72575 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72577         [BZ #3268]
72578         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72579         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72580         instead of dbl-64.
72581         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72582         inlines.
72583         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72585         if one of x and y is very large and the other is subnormal.
72586         * sysdeps/s390/fpu/s_fmaf.c: New file.
72587         * sysdeps/s390/fpu/s_fma.c: New file.
72588         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72589         * sysdeps/powerpc/fpu/s_fma.S: New file.
72590         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72591         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72592         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72594 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72596         [BZ #3268]
72597         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72598         fma tests.
72599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72600         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72601         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72602         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72603         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72604         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72605         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72607 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72609         [BZ #12078]
72610         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72611         * posix/bug-regex31.input: Add test case.
72613 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72615         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72616         * posix/bug-regex31.input: New file.
72618         [BZ #12078]
72619         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72620         (parse_sub_exp): Fix last change, use postorder.
72622         * posix/bug-regex31.c: New file.
72623         * posix/Makefile: Add rules to build and run bug-regex31.
72625         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72627         [BZ #12078]
72628         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72630         [BZ #12108]
72631         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72632         to have entries in sys_siglist.
72634         [BZ #12093]
72635         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72636         be NULL.
72638 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72640         [BZ #3268]
72641         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72642         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72643         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72644         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72645         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72646         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72647         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72648         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72649         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72650         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72651         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72652         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72653         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72654         * math/ftestexcept.c (fetestexcept): Likewise.
72655         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72656         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72657         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72658         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72659         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72660         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72661         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72663 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72665         [BZ #12107]
72666         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72667         newline.
72669 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72671         * string/bug-strstr1.c: New file.
72672         * string/Makefile: Add rules to build and run bug-strstr1.
72674 2010-10-05  Eric Blake  <eblake@redhat.com>
72676         [BZ #12092]
72677         * string/str-two-way.h (two_way_long_needle): Always clear memory
72678         when skipping input due to the shift table.
72680 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72682         [BZ #12005]
72683         * malloc/mcheck.c: Handle large requests.
72685         [BZ #12077]
72686         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72687         for strncmp and strncasecmp.
72688         * string/stratcliff.c: Add tests for strcmp and strncmp.
72689         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72691 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72693         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72694         __set_fpscr.
72696 2010-09-30  Andreas Jaeger  <aj@suse.de>
72698         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72699         (CGROUP_SUPER_MAGIC): Define.
72700         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72701         Handle btrfs and cgroup file systems.
72702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72703         Likewise.
72705 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72707         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72708         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72710 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72712         [BZ #12067]
72713         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72714         trying to locate the ELF header.
72716 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72718         [BZ #11611]
72719         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72720         Mask out sign-bit copies when constructing f_fsid.
72722 2010-09-24  Petr Baudis <pasky@suse.cz>
72724         * debug/stack_chk_fail_local.c: Add missing licence exception.
72725         * debug/warning-nop.c: Likewise.
72727 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72729         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72730         implementing getdents64 using getdents syscall, set d_type if
72731         __ASSUME_GETDENTS32_D_TYPE.
72733 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72735         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72736         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72738 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72740         [BZ #12037]
72741         * posix/unistd.h: Undo change of feature selection for ftruncate from
72742         2010-01-11.
72744 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72746         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72747         detection.
72749 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72751         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72752         fanotify_mark.
72753         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72755 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72757         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72758         variables after CHECK_SP call.
72759         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72761 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72762             Ulrich Drepper  <drepper@redhat.com>
72764         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72765         re-relocationg ld.so.
72766         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72767         _dl_init_paths call.
72768         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72769         here anymore.
72771 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72773         * resolv/res_init.c (__res_vinit): Count the default server we added.
72775 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72776             Ulrich Drepper  <drepper@redhat.com>
72778         [BZ #11968]
72779         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72780         (____longjmp_chk): Use %ebx for saving value across system call.
72781         Add unwind info.
72783 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72785         * manual/Makefile: Don't mix pattern rules with normal rules.
72787 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72789         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72790         operation.
72791         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72792         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72793         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72794         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72795         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72796         Likewise.
72798 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72800         [BZ #11979]
72801         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72802         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72804 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72806         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72807         * sysdeps/x86_64/addmul_1.S: Likewise.
72808         * sysdeps/x86_64/lshift.S: Likewise.
72809         * sysdeps/x86_64/mul_1.S: Likewise.
72810         * sysdeps/x86_64/rshift.S: Likewise.
72811         * sysdeps/x86_64/sub_n.S: Likewise.
72812         * sysdeps/x86_64/submul_1.S: Likewise.
72814 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72816         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72817         Define __sched_param instead of SCHED_* and sched_param when
72818         <bits/sched.h> is included with __need_schedparam defined.
72819         * bits/sched.h [__need_schedparam]
72820         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72821         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72822         (__defined_schedparam): Define to 1.
72823         (__sched_param): New structure, identical to sched_param.
72824         (__need_schedparam): Undefine.
72826 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72829         (epoll_create1): Declare.
72831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72833 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72835         [BZ #7066]
72836         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72837         shifting retval into place.
72839 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72841         * nis/rpcsvc/nis.h: Update copyright notice.
72842         * nis/rpcsvc/nis.x: Likewise.
72843         * nis/rpcsvc/nis_callback.h: Likewise.
72844         * nis/rpcsvc/nis_callback.x: Likewise.
72845         * nis/rpcsvc/nis_object.x: Likewise.
72846         * nis/rpcsvc/nis_tags.h: Likewise.
72847         * nis/rpcsvc/yp.h: Likewise.
72848         * nis/rpcsvc/yp.x: Likewise.
72849         * nis/rpcsvc/ypupd.h: Likewise.
72850         * nis/yp_xdr.c: Likewise.
72851         * nis/ypupdate_xdr.c: Likewise.
72853         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72854         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72855         (pmap_getport): Use __libc_rpc_getport.
72856         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72857         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72858         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72860 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72863         fanotify_mark.
72865 2010-08-27  Roland McGrath  <roland@redhat.com>
72867         * sysdeps/i386/i686/multiarch/Makefile
72868         (CFLAGS-varshift.c): New variable.
72870 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72872         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72873         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72877         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72879 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72881         * sysdeps/x86_64/strlen.S: Unroll the loop.
72882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72883         strlen-sse2 strlen-sse2-bsf.
72884         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72885         __strlen_no_bsf if bit_Slow_BSF is set.
72886         (__strlen_sse42): Removed.
72887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72888         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72890 2010-08-25  Roland McGrath  <roland@redhat.com>
72892         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72893         * sysdeps/x86_64/multiarch/varshift.c: New file.
72894         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72895         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72896         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72897         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72899 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72901         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72902         strlen-sse2 strlen-sse2-bsf.
72903         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72904         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72905         (__strlen_sse2): Removed.
72906         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72907         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72909         bit_Slow_BSF for Atom.
72910         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72911         (index_Slow_BSF): Define.
72912         (HAS_SLOW_BSF): Define.
72914 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72916         [BZ #10851]
72917         * resolv/res_init.c (__res_vinit): When no server address at all
72918         is given default to loopback.
72920 2010-08-24  Roland McGrath  <roland@redhat.com>
72922         * configure.in: Remove config-name.h generation.
72923         * configure: Regenerated.
72924         * config-name.in: File removed.
72925         * scripts/config-uname.sh: New file.
72926         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72927         ($(objdir)config-name.h): New target.
72929         * sunrpc/rpc_parse.h: Avoid nested comment.
72931 2010-08-24  Richard Henderson  <rth@redhat.com>
72932             Ulrich Drepper  <drepper@redhat.com>
72933             H.J. Lu  <hongjiu.lu@intel.com>
72935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72937         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72938         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72939         _mm_alignr_epi8 with _mm_loadu_si128.
72940         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72941         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72942         (__m128i_shift_right): Removed.
72943         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72944         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72945         * sysdeps/x86_64/multiarch/varshift.h: New file.
72946         * sysdeps/x86_64/multiarch/varshift.S: New file.
72948 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72950         * configure.in: Move assembler checks to before sysdep dir checking.
72952 2010-08-20  Petr Baudis  <pasky@suse.cz>
72954         * LICENSES: Sync the sunrpc license.
72956 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72958         * sunrpc/auth_des.c: Update copyright notice once again.
72959         * sunrpc/auth_none.c: Likewise.
72960         * sunrpc/auth_unix.c: Likewise.
72961         * sunrpc/authdes_prot.c: Likewise.
72962         * sunrpc/authuxprot.c: Likewise.
72963         * sunrpc/bindrsvprt.c: Likewise.
72964         * sunrpc/clnt_gen.c: Likewise.
72965         * sunrpc/clnt_perr.c: Likewise.
72966         * sunrpc/clnt_raw.c: Likewise.
72967         * sunrpc/clnt_simp.c: Likewise.
72968         * sunrpc/clnt_tcp.c: Likewise.
72969         * sunrpc/clnt_udp.c: Likewise.
72970         * sunrpc/clnt_unix.c: Likewise.
72971         * sunrpc/des_crypt.c: Likewise.
72972         * sunrpc/des_soft.c: Likewise.
72973         * sunrpc/get_myaddr.c: Likewise.
72974         * sunrpc/getrpcport.c: Likewise.
72975         * sunrpc/key_call.c: Likewise.
72976         * sunrpc/key_prot.c: Likewise.
72977         * sunrpc/openchild.c: Likewise.
72978         * sunrpc/pm_getmaps.c: Likewise.
72979         * sunrpc/pm_getport.c: Likewise.
72980         * sunrpc/pmap_clnt.c: Likewise.
72981         * sunrpc/pmap_prot.c: Likewise.
72982         * sunrpc/pmap_prot2.c: Likewise.
72983         * sunrpc/pmap_rmt.c: Likewise.
72984         * sunrpc/rpc/auth.h: Likewise.
72985         * sunrpc/rpc/auth_unix.h: Likewise.
72986         * sunrpc/rpc/clnt.h: Likewise.
72987         * sunrpc/rpc/des_crypt.h: Likewise.
72988         * sunrpc/rpc/key_prot.h: Likewise.
72989         * sunrpc/rpc/netdb.h: Likewise.
72990         * sunrpc/rpc/pmap_clnt.h: Likewise.
72991         * sunrpc/rpc/pmap_prot.h: Likewise.
72992         * sunrpc/rpc/pmap_rmt.h: Likewise.
72993         * sunrpc/rpc/rpc.h: Likewise.
72994         * sunrpc/rpc/rpc_des.h: Likewise.
72995         * sunrpc/rpc/rpc_msg.h: Likewise.
72996         * sunrpc/rpc/svc.h: Likewise.
72997         * sunrpc/rpc/svc_auth.h: Likewise.
72998         * sunrpc/rpc/types.h: Likewise.
72999         * sunrpc/rpc/xdr.h: Likewise.
73000         * sunrpc/rpc_clntout.c: Likewise.
73001         * sunrpc/rpc_cmsg.c: Likewise.
73002         * sunrpc/rpc_common.c: Likewise.
73003         * sunrpc/rpc_cout.c: Likewise.
73004         * sunrpc/rpc_dtable.c: Likewise.
73005         * sunrpc/rpc_hout.c: Likewise.
73006         * sunrpc/rpc_main.c: Likewise.
73007         * sunrpc/rpc_parse.c: Likewise.
73008         * sunrpc/rpc_parse.h: Likewise.
73009         * sunrpc/rpc_prot.c: Likewise.
73010         * sunrpc/rpc_sample.c: Likewise.
73011         * sunrpc/rpc_scan.c: Likewise.
73012         * sunrpc/rpc_scan.h: Likewise.
73013         * sunrpc/rpc_svcout.c: Likewise.
73014         * sunrpc/rpc_tblout.c: Likewise.
73015         * sunrpc/rpc_util.c: Likewise.
73016         * sunrpc/rpc_util.h: Likewise.
73017         * sunrpc/rpcinfo.c: Likewise.
73018         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73019         * sunrpc/rpcsvc/key_prot.x: Likewise.
73020         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73021         * sunrpc/rpcsvc/mount.x: Likewise.
73022         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73023         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73024         * sunrpc/rpcsvc/rex.x: Likewise.
73025         * sunrpc/rpcsvc/rstat.x: Likewise.
73026         * sunrpc/rpcsvc/rusers.x: Likewise.
73027         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73028         * sunrpc/rpcsvc/spray.x: Likewise.
73029         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73030         * sunrpc/rtime.c: Likewise.
73031         * sunrpc/svc.c: Likewise.
73032         * sunrpc/svc_auth.c: Likewise.
73033         * sunrpc/svc_authux.c: Likewise.
73034         * sunrpc/svc_raw.c: Likewise.
73035         * sunrpc/svc_run.c: Likewise.
73036         * sunrpc/svc_simple.c: Likewise.
73037         * sunrpc/svc_tcp.c: Likewise.
73038         * sunrpc/svc_udp.c: Likewise.
73039         * sunrpc/svc_unix.c: Likewise.
73040         * sunrpc/svcauth_des.c: Likewise.
73041         * sunrpc/xcrypt.c: Likewise.
73042         * sunrpc/xdr.c: Likewise.
73043         * sunrpc/xdr_array.c: Likewise.
73044         * sunrpc/xdr_float.c: Likewise.
73045         * sunrpc/xdr_mem.c: Likewise.
73046         * sunrpc/xdr_rec.c: Likewise.
73047         * sunrpc/xdr_ref.c: Likewise.
73048         * sunrpc/xdr_sizeof.c: Likewise.
73049         * sunrpc/xdr_stdio.c: Likewise.
73051         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73052         handling.
73054 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73056         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73058 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73060         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73061         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73062         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73063         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73064         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73065         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73067         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73068         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73069         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73070         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73071         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73072         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73073         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73075 2010-07-26  Anton Blanchard  <anton@samba.org>
73077         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73078         * malloc/arena.c (heap_trim): Likewise.
73080 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73082         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73083         here.  Not...
73084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73085         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73087 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73089         * sysdeps/i386/elf/Makefile: New file.
73091 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73093         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73094         from fanotify_init.
73095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73098 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73100         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73101         of strncasecmp_l.
73102         * sysdeps/multiarch/strcmp.S: Likewise.
73104 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73106         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73107         strncase_l-nonascii.
73108         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73109         Add strncase_l-ssse3.
73110         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73111         * sysdeps/x86_64/strcmp.S: Likewise.
73112         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73113         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73114         * sysdeps/x86_64/strncase.S: New file.
73115         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73116         * sysdeps/x86_64/strncase_l.S: New file.
73117         * string/Makefile (strop-tests): Add strncasecmp.
73118         * string/test-strncasecmp.c: New file.
73120         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73121         warning.
73123         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73124         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73126 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73128         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73130 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73132         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73133         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73134         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73136 2010-05-01  Alan Modra  <amodra@gmail.com>
73138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73139         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73140         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73141         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73142         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73143         tidying.  Don't tail-call __sigjmp_save for static lib.
73144         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73145         save location.
73146         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73147         (CALL_MCOUNT): Add eh info, and nop after bl.
73148         (TAIL_CALL_SYSCALL_ERROR): New macro.
73149         (PSEUDO_RET): Use it.
73150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73151         Correct save location of integer regs and cr.
73152         (_dl_profile_resolve): Correct cr save location.  Delete nops
73153         after bl when SHARED.  Reduce cfi size a little by better
73154         placement of cfi directives.
73155         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73156         make a stack frame.  Instead use parm save area as a temp.
73157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73158         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73160         Don't make a stack frame for parent, use parm save area.
73161         Increase child stack frame to 112 bytes.  Don't save unused reg,
73162         and adjust reg usage.  Set up cfi on error recovery and
73163         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73165         (__makecontext): Add dummy nop after jump to exit.
73166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73167         Use correct parm save area and cr save, reduce stack frame.
73168         Correct cfi for possible PSEUDO_RET frame setup.
73169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73170         Branch to local label emitted by PSEUDO_RET rather than
73171         __syscall_error.
73173 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73175         [BZ #11904]
73176         * locale/programs/locale.c (print_assignment): New function.
73177         (show_locale_vars): Use it.
73179 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73181         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73182         field.
73183         (struct statfs64): Likewise.
73184         (_STATFS_F_FLAGS): Define.
73185         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73186         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73187         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73188         (ST_VALID): Define locally.
73189         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73190         __statvfs_getflags, use the provided value.
73191         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73192         __ASSUME_STATFS_F_FLAGS.
73194         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73196         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73197         Add sys/fanotify.h.
73198         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73199         fanotify_mask for GLIBC_2.13.
73200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73201         fanotify_init and fanotify_mark.
73202         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73203         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73205         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73206         Add prlimit.
73207         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73208         prlimit64 for GLIBC_2.13.
73209         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73210         prlimit64.
73211         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73212         syscall.
73213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73214         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73215         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73218         add prlimit alias.
73219         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73221         [BZ #11903]
73222         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73223         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73225         * nss/Makefile: Add rules to build and run tst-nss-test1.
73226         * shlib-versions: Add entry for libnss_test1.
73227         * nss/nss_test1.c: New file.
73228         * nss/tst-nss-test1.c: New file.
73230         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73231         (__nss_configure_lookup): Set appropriate entry in
73232         __nss_configure_lookup to true.
73233         * nss/nsswitch.h: Define enum with indeces of databases in
73234         databases and __nss_database_custom arrays.  Declare
73235         __nss_database_custom.
73236         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73237         to avoid using nscd when custom rules are installed.
73238         * nss/getXXbyYY_r.c: Likewise.
73239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73241         * nss/nss_files/files-parse.c: Whitespace fixes.
73243 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73245         [BZ #11883]
73246         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73247         * posix/fnmatch_loop.c: Likewise.
73249 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73251         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73252         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73253         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73254         * Versions.def [GLIBC_2.13]: Add.
73256 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73258         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73259         Also fail if tpwd after pwuid call is NULL.
73261 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73263         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73264         when converting to ms.
73266 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73268         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73269         EOPNOTSUPP errors with ENOTTY.
73270         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73271         EOPNOTSUPP errors with ENOTTY.
73273 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73275         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73276         Add strcasecmp_l-ssse3.
73277         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73278         strcasecmp.
73279         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73280         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73281         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73283 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73285         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73287         * string/Makefile (strop-tests): Add strcasecmp.
73288         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73289         strcasecmp_l-nonascii.
73290         (gen-as-const-headers): Add locale-defines.sym.
73291         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73292         * sysdeps/x86_64/strcasecmp.S: New file.
73293         * sysdeps/x86_64/strcasecmp_l.S: New file.
73294         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73295         * sysdeps/x86_64/locale-defines.sym: New file.
73296         * string/test-strcasecmp.c: New file.
73298         * string/test-strcasestr.c: Test both ends of the range of characters.
73299         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73301 2010-07-29  Roland McGrath  <roland@redhat.com>
73303         [BZ #11856]
73304         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73306 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73308         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73309         for ld.so.
73311 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73313         * manual/memory.texi (Malloc Tunable Parameters): Document
73314         M_PERTURB.
73316 2010-07-26  Roland McGrath  <roland@redhat.com>
73318         [BZ #11840]
73319         * configure.in (-fgnu89-inline check): Set and substitute
73320         gnu89_inline, not libc_cv_gnu89_inline.
73321         * configure: Regenerated.
73322         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73324 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73326         * string/test-strnlen.c: New file.
73327         * string/Makefile (strop-tests): Add strnlen.
73328         * string/tester.c (test_strnlen): Add a few more test cases.
73329         * string/tst-strlen.c: Better error reporting.
73331         * sysdeps/x86_64/strnlen.S: New file.
73333 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73335         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73336         lower-latency instructions.
73338 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73340         * string/test-strcasestr.c: New file.
73341         * string/test-strstr.c: New file.
73342         * string/Makefile (strop-tests): Add strstr and strcasestr.
73343         * string/str-two-way.h: Don't undefine MAX.
73344         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73346 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73349         strcasestr-nonascii.
73350         (CFLAGS-strcasestr-nonascii.c): Define.
73351         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73352         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73353         Remove unused attribute.
73355 2010-07-20  Roland McGrath  <roland@redhat.com>
73357         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73358         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73359         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73360         like LD_HWCAP_MASK can disable hwcaps.
73362 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73364         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73366 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73368         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73369         call in strcasestr.
73370         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73371         __strcasestr_sse42_nonascii.
73372         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73373         strcasestr-nonascii.c.
73374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73376 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73378         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73380         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73381         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73383 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73386         fcntl.
73388 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73390         [BZ #11577]
73391         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73392         dl_signal_cerror.
73394 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73397         _PC_PIPE_BUF using F_GETPIPE_SZ.
73399 2010-07-05  Roland McGrath  <roland@redhat.com>
73401         * manual/arith.texi (Rounding Functions): Fix rint description
73402         implicit in round description.
73404 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73406         * elf/Makefile: Fix linking for a few tests to make recent linker
73407         happy.
73409 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73411         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73412         $(common-objpfx)libc_nonshared.a.
73414 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73416         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73417         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73418         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73419         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73420         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73421         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73422         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73423         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73438         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73439         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73440         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73441         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73442         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73443         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73444         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73445         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73446         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73447         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73448         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73449         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73465 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73467         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73468         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73469         * string/memmove.c (memmove): Renamed to ...
73470         (MEMMOVE): ...this.  Default to memmove.
73471         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73472         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73473         (END_CHK): Define.
73474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73475         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73476         mempcpy-ssse3-back memmove-ssse3-back.
73477         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73478         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73479         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73480         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73481         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73482         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73483         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73484         * sysdeps/x86_64/multiarch/memmove.c: New file.
73485         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73486         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73487         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73488         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73489         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73490         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73491         Define.
73492         (index_Fast_Copy_Backward): Define.
73493         (HAS_ARCH_FEATURE): Define.
73494         (HAS_FAST_REP_STRING): Define.
73495         (HAS_FAST_COPY_BACKWARD): Define.
73497 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73500         Restore proper fallback handling.
73502 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73504         [BZ #11701]
73505         * posix/group_member.c (__group_member): Correct checking loop.
73507         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73508         OOM in getpwuid_r correctly.  Return error number when the caller
73509         should return, otherwise -1.
73510         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73511         call returning > 0 value.
73512         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73514 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73516         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73517         libc_nonshared.a from targets in modules-names.
73519 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73521         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73522         requires it.
73524 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73526         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73527         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73528         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73531 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73533         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73535 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73537         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73538         and F_GETPIPE_SZ.
73539         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73543         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73546 2010-06-14  Roland McGrath  <roland@redhat.com>
73548         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73550 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73552         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73553         __REDIRECT followed by __THROW.
73554         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73555         * posix/getopt.h (getopt): Likewise.
73557 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73559         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73560         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73561         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73562         in AT_FLAGS.
73563         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73564         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73566 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73568         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73570 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73572         [BZ #11640]
73573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73574         Properly check family and model.
73576 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73578         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73580 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73582         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73584 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73586         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73587         symbol reference.
73589 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73591         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73592         symbol reference.
73594 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73596         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73597         and internal_recvmmsg.
73598         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73599         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73600         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73601         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73603         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73604         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73605         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73607 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73609         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73611 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73613         POWER7 optimizations.
73614         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73615         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73617 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73619         * version.h: Update for 2.13 development version.
73621 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73623         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73624         exceptions.  Return 0.
73626 2010-05-07  Roland McGrath  <roland@redhat.com>
73628         * elf/ldconfig.c (main): Add a const.
73630 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73632         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73633         (args_options): Add no-idn option.
73634         (ahosts_keys_int): Add idn_flags to ai_flags.
73635         (parse_option): Handle 'i' option to clear idn_flags.
73637         * malloc/malloc.c (_int_free): Possible race in the most recently
73638         added check.  Only act on the data if no current modification
73639         happened.
73641 See ChangeLog.17 for earlier changes.