Consolidate pread/pread64 implementations
[glibc.git] / ChangeLog
blob090bd74f28ebd5a8f4efd178926b3c324373c777
1 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11         syscall generation.
12         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13         [__NR_pread64] (__NR_pread): Remove define.
14         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15         [__NR_pread64] (__NR_pread): Likewise.
16         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17         define.
18         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20         Remove define.
21         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23         Linux implementation as base.
24         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
29         definition.
30         (__ALIGNMENT_COUNT): Likewise.
31         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
32         (__ALIGNMENT_COUNT): Likewise.
33         (SYSCALL_LL): New define.
34         (SYSCALL_LL64): Likewise.
35         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
36         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
37         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
38         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
40         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
42         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
44         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
45         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
47 2016-04-11  Florian Weimer  <fweimer@redhat.com>
49         [BZ #19865]
50         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
51         original buffer before retry.
53 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
56         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
57         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
58         GLRO(dl_auxv) list.
59         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
60         including <ldsodefs.h>.
61         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
63 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
65         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
66         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
67         $(CPPFLAGS).
69 2016-04-09  Khem Raj  <raj.khem@gmail.com>
71         [BZ #17950]
72         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
73         Add -mfpmath=387.
75 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
77         * sysdeps/i386/configure.ac: Change == to = when calling test.
78         * sysdeps/x86_64/configure.ac: Likewise.
79         * sysdeps/i386/configure: Regenerated.
80         * sysdeps/x86_64/configure: Likewise.
82 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
84         [BZ #16137]
85         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
86         * benchtests/bench-strcoll.c (input_files): Likewise.
87         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
88         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
89         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
91 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
93         [BZ #19929]
94         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
95         [__USE_XOPEN2K8 && !__USE_GNU].
96         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
97         variable.
99         [BZ #19925]
100         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
101         define if [!__USE_MISC && __USE_XOPEN2K].
102         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
103         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
104         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
105         Likewise.
106         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
107         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
108         variable.
109         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
111 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
113         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
114         (sysdep_routines): Add new strspn targets.
115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
116         (__libc_ifunc_impl_list): Add strspn.
117         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
118         New file.
119         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
120         Likewise.
121         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
122         Likewise.
123         * sysdeps/powerpc/powerpc64/power8/strspn.S:
124         Likewise.
126 2016-04-07  Florian Weimer  <fweimer@redhat.com>
128         * misc/hsearch_r.c: Include <limits.h>.
130 2016-04-07  Florian Weimer  <fweimer@redhat.com>
132         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
134 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
136         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
137         (MEMCPY_SYMBOL): New.
138         (MEMPCPY_SYMBOL): Likewise.
139         (MEMMOVE_CHK_SYMBOL): Likewise.
140         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
141         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
142         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
143         Provide alias for memcpy in libc.a and ld.so.
145 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
147         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
148         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
149         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
150         Disabled fro now.
151         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
152         symbols.  Properly check USE_MULTIARCH on __memset symbols.
154 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
156         * benchtests/Makefile (string-benchset): Add memcpy-large,
157         memmove-large and memset-large.
158         * benchtests/bench-memcpy-large.c: New file.
159         * benchtests/bench-memmove-large.c: Likewise.
160         * benchtests/bench-memmove-large.c: Likewise.
161         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
163 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
165         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
166         32-bit displacement to avoid long nop between instructions.
168 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
170         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
171         a comment on VMOVU and VMOVA.
173 2016-04-04  Florian Weimer  <fweimer@redhat.com>
175         [BZ #19633]
176         Use specified locale for number formatting in strfmon_l.
177         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
178         (__nl_lookup_word): New inline functions.
179         * include/printf.h (__print_fp_l): Declare.
180         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
181         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
182         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
183         (___printf_fp): New function.
184         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
185         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
186         * stdlib/tst-strfmon_l.c (do_test): New test.
187         * stdlib/Makefile (tests): Add kt.
188         (LOCALES): Build additional locales.
189         (tst-strfmon_l.out): Require locales.
191 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
193         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
194         if not in libc.
195         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
196         Likewise.
197         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
198         Likewise.
199         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
200         Likewise.
202 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
204         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
205         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
206         with unaligned_erms.
207         (__memmove_erms): Skip if source == destination.
208         (__memmove_unaligned_erms): Don't check source == destination
209         first.
211 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
213         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
214         bit_arch_Fast_Copy_Backward for Intel Core proessors.
216 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
218         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
219         * string/strspn.c (strspn): Likewise.
221 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
223         * benchtests/bench-memset.c (do_test): Support 64-byte
224         alignment.
225         (test_main): Test 64-byte alignment.
227 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
229         * benchtests/bench-memmove.c (test_main): Test 64-byte
230         alignment.
232 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
234         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
236 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
238         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
239         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
240         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
242         * string/strpbrk.c (strpbrk): Rewrite function.
243         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
244         (__strpbrk_c2): Likewise.
245         (__strpbrk_c3): Likewise.
246         * string/string-inlines.c
247         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
248         Likewise.
249         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
250         Likewise.
252         * string/strspn.c (strcspn): Rewrite function.
253         * string/bits/string2.h (strspn): Use __builtin_strcspn.
254         (__strspn_c1): Remove inline function.
255         (__strspn_c2): Likewise.
256         (__strspn_c3): Likewise.
257         * string/string-inlines.c
258         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
259         compatibility symbol.
260         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
261         Likewise.
262         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
263         Likewise.
264         * string/string-inlines.c: Include generic version.
266 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
267             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
269         * string/Version (libc): Add GLIBC_2.24.
270         * string/strcspn.c (strcspn): Rewrite function.
271         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
272         (__strcspn_c1): Remove inline function.
273         (__strcspn_c2): Likewise.
274         (__strcspn_c3): Likewise.
275         * string/string-inline.c
276         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
277         compatibility symbol.
278         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
279         Likewise.
280         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
281         Likewise.
282         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
284 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
286         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
287         Use ahi instead of aghi to adjust stack pointer.
289 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
291         [BZ #19853]
292         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
293         TEST to take significant digits as second parameter.
294         [TEST]: Redefine in terms of TEST_N taking 30
295         significant digits.
296         (do_test): Add test case to demonstrate precision
297         failure in the ldbl-128ibm printf.
298         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
299         (__mpn_extract_long_double): Carry 7 extra intermediate
300         bits of precision to aide computing difference when
301         signs differ.
303 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
305         [BZ #19881]
306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
307         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
308         memset-avx512-unaligned-erms.
309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
310         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
311         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
312         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
313         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
314         __memset_sse2_unaligned_erms, __memset_erms,
315         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
316         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
317         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
318         file.
319         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
320         Likewise.
321         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
322         Likewise.
323         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
324         Likewise.
326 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
328         [BZ #19776]
329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
330         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
331         memmove-avx512-unaligned-erms.
332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
333         (__libc_ifunc_impl_list): Test
334         __memmove_chk_avx512_unaligned_2,
335         __memmove_chk_avx512_unaligned_erms,
336         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
337         __memmove_chk_sse2_unaligned_2,
338         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
339         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
340         __memmove_avx512_unaligned_erms, __memmove_erms,
341         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
342         __memcpy_chk_avx512_unaligned_2,
343         __memcpy_chk_avx512_unaligned_erms,
344         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
345         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
346         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
347         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
348         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
349         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
350         __mempcpy_chk_avx512_unaligned_erms,
351         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
352         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
353         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
354         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
355         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
356         __mempcpy_erms.
357         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
358         file.
359         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
360         Likwise.
361         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
362         Likwise.
363         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
364         Likwise.
366 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
368         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
369         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
370         (La_s390_64_regs): Likewise.
371         (La_s390_32_retval): Append vector register lrv_v24.
372         (La_s390_64_retval): Likeweise.
373         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
374         Handle extended structs La_s390_32_regs and La_s390_32_retval.
375         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
376         Handle extended structs La_s390_64_regs and La_s390_64_retval.
378 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
380         [BZ #19916]
381         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
382         to create a non-vector/vector version for _dl_runtime_resolve and
383         _dl_runtime_profile. Move implementation to ...
384         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
385         (_dl_runtime_resolve) Save and restore fpr/vrs.
386         (_dl_runtime_profile) Save and restore vrs and fix some issues
387         if _dl_call_pltexit is called.
388         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
389         Choose the correct resolver function if running on a machine with vx.
390         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
391         to create a non-vector/vector version for _dl_runtime_resolve and
392         _dl_runtime_profile. Move implementation to ...
393         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
394         (_dl_runtime_resolve) Save and restore fpr/vrs.
395         (_dl_runtime_profile) Save and restore vrs and fix some issues
396         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
397         Choose the correct resolver function if running on a machine with vx.
399 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
401         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
403 2016-03-31  Florian Weimer  <fweimer@redhat.com>
405         [BZ #19509]
406         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
407         skip_map != NULL.
408         * elf/tst-dlsym-error.c: New file.
409         * elf/Makefile (tests): Add tst-dlsym-error.
410         (tst-dlsym-error): Link against libdl.
412 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
414         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
415         (__ASSUME_FUTIMESAT): Remove macro.
416         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
418 2016-03-29  Florian Weimer  <fweimer@redhat.com>
420         [BZ #19879]
421         CVE-2016-3075
422         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
423         copy name.
425 2016-03-29  Florian Weimer  <fweimer@redhat.com>
427         [BZ #19837]
428         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
429         error if parse_line fails.
431 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
433         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
434         (index_cpu_ERMS): Likewise.
435         (reg_ERMS): Likewise.
437 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
439         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
440         PER_LINUX_FDPIC): Add.
442 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
445         memcpy-avx512-no-vzeroupper.
446         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
447         to ...
448         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
449         (MEMCPY): Don't define.
450         (MEMCPY_CHK): Likewise.
451         (MEMPCPY): Likewise.
452         (MEMPCPY_CHK): Likewise.
453         (MEMPCPY_CHK): Renamed to ...
454         (__mempcpy_chk_avx512_no_vzeroupper): This.
455         (MEMPCPY_CHK): Renamed to ...
456         (__mempcpy_chk_avx512_no_vzeroupper): This.
457         (MEMCPY_CHK): Renamed to ...
458         (__memmove_chk_avx512_no_vzeroupper): This.
459         (MEMCPY): Renamed to ...
460         (__memmove_avx512_no_vzeroupper): This.
461         (__memcpy_avx512_no_vzeroupper): New alias.
462         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
464 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
466         [BZ #18858]
467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
468         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
469         and mempcpy-avx512-no-vzeroupper.
470         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
471         New.
472         (MEMPCPY): Likewise.
473         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
474         (MEMPCPY_CHK): New.
475         (MEMPCPY): Likewise.
476         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
477         (MEMPCPY): Likewise.
478         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
479         (MEMPCPY): Likewise.
480         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
481         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
482         Likewise.
483         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
484         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
486 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
487              Amit Pawar  <Amit.Pawar@amd.com>
489         [BZ #19583]
490         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
491         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
492         processors.  Set Fast_Copy_Backward for AMD Excavator
493         processors.
494         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
495         New.
496         (index_arch_Fast_Unaligned_Copy): Likewise.
497         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
498         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
500 2016-03-25  Florian Weimer  <fweimer@redhat.com>
502         [BZ #19791]
503         * resolv/res_send.c (close_and_return_error): New function.
504         (send_dg): Initialize *resplen2 after reopen failure.  Call
505         close_and_return_error for error returns.  On error paths without
506         __res_iclose, initialze *resplen2 explicitly.  Update comment for
507         successful return.
509 2016-03-25  Florian Weimer  <fweimer@redhat.com>
511         [BZ# 19860]
512         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
513         zero if the compiler does not provide the AVX512F bit.
515 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
517         [BZ #19848]
518         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
519         from 8 to 4.
520         (__ieee754_powl): Compare integer exponent against 4 not 8.
521         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
522         from 8 to 4.
523         (__ieee754_powl): Compare integer exponent against 4 not 8.
524         * math/auto-libm-test-in: Add more tests of pow.
525         * math/auto-libm-test-out: Regenerated.
526         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
531         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
532         Make code unconditional.
533         [!__NR_utimensat]: Remove conditional code.
534         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
535         Make code unconditional.
536         [!__NR_utimensat]: Remove conditional code.
537         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
538         Make code unconditional.
539         [!__NR_utimensat]: Remove conditional code.
541 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
543         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
544         Make code unconditional.
546 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
548         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
549         call-clobbered %eax on retry path.
550         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
552 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
555         Don't set %rcx twice before "rep movsb".
557 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
559         [BZ #19583]
560         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
561         inline.  Check family before setting family, model and
562         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
563         bits here.
564         (init_cpu_features): Replace HAS_CPU_FEATURE and
565         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
566         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
567         for Intel processors with usable AVX2.  Call get_common_indeces
568         for other processors with family == NULL.
569         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
570         (CPU_FEATURES_ARCH_P): Likewise.
571         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
572         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
574 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
576         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
577         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
578         $(shared-thread-library) instead of hardcoding the path to libpthread.
580 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
582         * sysdeps/unix/sysv/linux/kernel-features.h
583         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
584         * sysdeps/unix/sysv/linux/getdents.c
585         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
586         [!have_no_getdents64_defined]: Likewise.
587         (__GETDENTS): Remove __have_no_getdents64 conditional.
589 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
592         Remove macro.
593         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
594         <kernel-features.h>.
595         (signalfd) [__NR_signalfd4]: Make code unconditional.
596         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
598 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
600         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
601         style.
603 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
605         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
606         (__pthread_enable_asynccancel): Use JUMPTARGET to call
607         __pthread_unwind.
608         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
609         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
611         (__condvar_cleanup1): Likewise.
613 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
615         [BZ #19822]
616         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
617         move it to the final $@ location.
619 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
621         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
622         access where posix_spawn success and pid argument is null.
623         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
624         success case.
626 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
628         * sysdeps/mach/hurd/i386/c++-types.data: New file.
630         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
632         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
633         and __fcntl.
634         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
635         __fcntl only.
636         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
637         adding attribute_hidden to __open and __fcntl.
639         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
640         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
641         depend on libc-modules.h,
642         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
644 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
646         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
647         Remove macro.
648         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
649         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
650         entry.
652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
653         Remove macro.
654         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
655         include <kernel-features.h>.
656         [!__ASSUME_FALLOCATE]: Remove conditional code.
657         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
659 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
662         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
664         (_ZGVdN4v_cos_avx2): Likewise.
665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
666         (_ZGVdN4v_cos): Likewise.
667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
668         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
670         (_ZGVdN4v_exp_avx2): Likewise.
671         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
672         (_ZGVdN4v_exp): Likewise.
673         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
674         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
675         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
676         (_ZGVdN4v_log_avx2): Likewise.
677         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
678         (_ZGVdN4v_log): Likewise.
679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
680         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
681         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
682         (_ZGVdN4vv_pow_avx2): Likewise.
683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
684         (_ZGVdN4vv_pow): Likewise.
685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
686         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
687         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
688         (_ZGVdN4v_sin_avx2): Likewise.
689         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
690         (_ZGVdN4v_sin): Likewise.
691         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
692         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
694         (_ZGVdN4vvv_sincos_avx2): Likewise.
695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
696         (_ZGVdN4vvv_sincos): Likewise.
697         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
698         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
700         (_ZGVbN4v_cosf_sse4): Likewise.
701         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
702         (_ZGVdN8v_cosf_avx2): Likewise.
703         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
704         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
705         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
706         (_ZGVbN4v_expf_sse4): Likewise.
707         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
708         (_ZGVdN8v_expf_avx2): Likewise.
709         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
710         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
711         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
712         (_ZGVbN4v_logf_sse4): Likewise.
713         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
714         (_ZGVdN8v_logf_avx2): Likewise.
715         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
716         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
717         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
718         (_ZGVbN4vv_powf_sse4): Likewise.
719         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
720         (_ZGVdN8vv_powf_avx2): Likewise.
721         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
722         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
724         (_ZGVbN4vvv_sincosf_sse4): Likewise.
725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
726         (_ZGVdN8vvv_sincosf_avx2): Likewise.
727         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
728         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
730         (_ZGVbN4v_sinf_sse4): Likewise.
731         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
732         (_ZGVdN8v_sinf_avx2): Likewise.
733         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
734         Use JUMPTARGET to call callee.
735         (WRAPPER_IMPL_SSE2_ff): Likewise.
736         (WRAPPER_IMPL_SSE2_fFF): Likewise.
737         (WRAPPER_IMPL_AVX): Likewise.
738         (WRAPPER_IMPL_AVX_ff): Likewise.
739         (WRAPPER_IMPL_AVX_fFF): Likewise.
740         (WRAPPER_IMPL_AVX512): Likewise.
741         (WRAPPER_IMPL_AVX512_ff): Likewise.
742         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
743         Likewise.
744         (WRAPPER_IMPL_SSE2_ff): Likewise.
745         (WRAPPER_IMPL_SSE2_fFF): Likewise.
746         (WRAPPER_IMPL_AVX): Likewise.
747         (WRAPPER_IMPL_AVX_ff): Likewise.
748         (WRAPPER_IMPL_AVX_fFF): Likewise.
749         (WRAPPER_IMPL_AVX512): Likewise.
750         (WRAPPER_IMPL_AVX512_ff): Likewise.
751         (WRAPPER_IMPL_AVX512_fFF): Likewise.
753 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
755         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
756         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
757         qualifier.
758         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
759         internal_function qualifiers.
761 2016-03-15  Carlos O'Donell <carlos@redhat.com>
763         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
764         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
765         * math/atest-exp.c (exp_mpn): Mark chk unused.
766         * math/atest-exp2.c (exp_mpn): Likwise.
767         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
768         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
770 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
773         Remove macro.
774         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
775         <kernel-features.h>.
776         [__NR_ppoll]: Make code unconditional.
777         [!__ASSUME_PPOLL]: Remove conditional code.
779         * sysdeps/unix/sysv/linux/kernel-features.h
780         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
781         (__ASSUME_ACCEPT4): Likewise.
782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
783         Define.
784         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
785         Likewise.
786         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
787         Likewise.
788         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
789         Likewise.
790         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
791         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
793         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
794         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
795         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
796         * sysdeps/unix/sysv/linux/arm/kernel-features.h
797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
800         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
801         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
804         * sysdeps/unix/sysv/linux/i386/kernel-features.h
805         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
806         Likewise.
807         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
808         Likewise.
809         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
810         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
811         0x040300].
812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
813         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
814         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
815         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
816         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
817         0x030300].
818         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
820         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
821         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
822         0x040300].
823         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
824         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
825         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
826         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
827         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
828         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
829         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
830         0x030300].
831         * sysdeps/unix/sysv/linux/mips/kernel-features.h
832         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
835         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
836         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
837         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
839         * sysdeps/unix/sysv/linux/s390/kernel-features.h
840         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
841         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
842         0x040300].
843         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
844         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
845         * sysdeps/unix/sysv/linux/sh/kernel-features.h
846         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
847         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
848         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
849         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
850         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
851         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
854         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
856         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
857         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
858         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
860         Likewise.
861         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
862         Likewise.
864 2016-03-15  Andreas Schwab  <schwab@suse.de>
866         [BZ #19257]
867         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
868         statp->_u._ext.nscount as loop count.
870 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
872         * math/test-signgam-finite-c99.c: Also #undef
873         __LIBC_INTERNAL_MATH_INLINES.
874         * math/test-signgam-main.c: Likewise.
876 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
878         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
879         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
880         (MADV_FREE): Likewise.
881         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
882         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
883         EPOLLEXCLUSIVE.
885 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
887         * timezone/README: Remove mention of checktab.awk. Mention wiki
888         SharedSourceFiles.
890 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
892         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
893         WUNTRACED.
895 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
897         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
898         order to match the type of p when calling atomic_exchange_acq().
900 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
902         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
903         cfi_offset calls.
904         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
905         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
906         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
907         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
908         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
910 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
912         * timezone/checktab.awk: Removed.
914 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
916         * manual/math.texi (Errors in Math Functions): Document relaxed
917         accuracy goals for IBM long double.
918         * math/libm-test.inc (test_exceptions): Always allow spurious
919         "underflow" and "inexact" exceptions for IBM long double.
921 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
923         [BZ #19762]
924         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
925         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
926         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
927         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
928         (bit_arch_*): This for feature array.
929         (bit_*): Renamed to ...
930         (bit_cpu_*): This for cpu array.
931         (index_*): Renamed to ...
932         (index_arch_*): This for feature array.
933         (index_*): Renamed to ...
934         (index_cpu_*): This for cpu array.
935         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
936         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
937         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
938         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
939         bit_##name with index_cpu_##name and bit_cpu_##name.
940         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
941         bit_##name with index_arch_##name and bit_arch_##name.
943 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
945         [BZ #19792]
946         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
947         Terminate FDE before return label.
949 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
951         [BZ #19790]
952         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
953         (rintl): Define as macro.
954         [USE_AS_NEARBYINTL] (__rintl): Likewise.
955         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
956         of fesetround.  Ensure results are evaluated before end of scope.
957         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
958         USE_AS_NEARBYINTL and include s_rintl.c.
959         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
960         Disable exception traps in new environment.
961         (libc_feholdsetround_ppc_ctx): Likewise.
963 2016-03-08  Roland McGrath  <roland@hack.frob.com>
965         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
966         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
967         (tst_audit10_aux) [__AVX512F__]: ... here.
969 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
971         * include/sys/auxv.h: New file.
973 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
975         [BZ #19759]
976         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
978 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
980         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
981         operand modifier.
982         (feclearexcept): Likewise.
984 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
986         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
987         to reflect the entire 32-bit HWCAP.
988         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
989         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
991 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
993         [BZ #19783]
994         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
995         $(test-via-rtld-prefix).
996         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
998 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1000         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1001         union wait.  Report any non-zero exit status as error.
1003 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1005         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1006         configured with --enable-hardcoded-path-in-tests.
1008 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1010         [BZ #19677]
1011         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1012         (__ieee754_remainderl): Put zero low parts in canonical form.
1013         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1014         file.  Based on
1015         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1016         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1017         with wrapper round test-fmodrem-ldbl-128ibm.c.
1018         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1019         file.
1020         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1021         Likewise.
1022         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1023         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1025 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1027         [BZ #19610]
1028         * elf/ldconfig.c (opt_link): Update comment.
1029         (options): Update help string for option -X.
1030         (search_dir): Unlink stale symbolic link only if updating symbolic
1031         links.
1032         * elf/tst-ldconfig-X.sh: New file.
1033         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1034         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1036 2016-03-07  Andreas Schwab  <schwab@suse.de>
1038         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1039         needed arguments.
1041 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1043         [BZ #15333]
1044         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1045         to lstat64.
1047 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1049         * libio/filedoalloc.c (isatty): Remove.
1050         (local_isatty): Add comment.  Call __isatty directly.
1051         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1052         * libio/wfiledoalloc.c (isatty): Remove.
1053         (_IO_wfile_doallocate): Update comment.
1055 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1057         [BZ #19269]
1058         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1059         tst-audit4-aux.o.
1060         (tst-audit10): Depend on tst-audit10-aux.o.
1061         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1062         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1063         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1064         instead of inline AVX code.
1065         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1066         instead of inline AVX512 code.
1067         * sysdeps/x86_64/tst-audit4-aux.c: New file
1068         * sysdeps/x86_64/tst-audit10-aux.c: New file
1070         [BZ #19648]
1071         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1073 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1075         [BZ #14750]
1076         [BZ #10354]
1077         [BZ #18433]
1078         * include/sched.h (__clone): Add hidden prototype.
1079         (__clone2): Likewise.
1080         * include/unistd.h (__dup): Likewise.
1081         * posix/Makefile (tests): Add tst-spawn2.
1082         * posix/tst-spawn2.c: New file.
1083         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1084         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1085         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1086         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1087         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1088         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1089         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1090         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1091         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1092         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1093         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1095         Likewise.
1096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1097         Likewise.
1098         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1099         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1100         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1101         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1102         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1103         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1104         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1105         * sysdeps/unix/sysv/linux/nptl-signals.h
1106         (____nptl_is_internal_signal): New function.
1107         * sysdeps/unix/sysv/linux/spawni.c: New file.
1109         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1110         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1111         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1112         * posix/tst-execvp2.c (do_test): Likewise.
1113         * posix/tst-execvp3.c (do_test): Likewise.
1114         * posix/tst-execvp4.c (do_test): Likewise.
1115         * posix/tst-execvpe1.c: New file.
1116         * posix/tst-execvpe2.c: Likewise.
1117         * posix/tst-execvpe3.c: Likewise.
1118         * posix/tst-execvpe4.c: Likewise.
1119         * posix/tst-execvpe5.c: Likewise.
1120         * posix/tst-execvpe6.c: Likewise.
1122         [BZ #19534]
1123         * posix/execl.c (execl): Remove dynamic memory allocation.
1124         * posix/execle.c (execle): Likewise.
1125         * posix/execlp.c (execlp): Likewise.
1127 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1129         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1130         Replace .text with .text.avx512.
1131         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1132         Likewise.
1134 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1136         * sysdeps/generic/libnsl.abilist: New file.
1137         * sysdeps/generic/libutil.abilist: New file.
1139 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1141         [BZ #19762]
1142         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1143         HAS_ARCH_FEATURE with Fast_Rep_String.
1144         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1145         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1146         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1147         Likewise.
1148         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1149         Likewise.
1150         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1151         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1152         Likewise.
1153         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1154         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1155         Likewise.
1157 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1159         [BZ #19745]
1160         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1161         with *%rax in call.
1163 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1165         [BZ #19745]
1166         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1167         with *__libc_start_main@GOTPCREL(%rip) in call.
1169 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1171         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1172         inside conditional for nonempty $(CXX).
1174         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1175         nonempty.
1177         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1178         to test for empty $(CXX) rather than $(CXX) of "no".
1180 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1182         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1184 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1185             H.J. Lu  <hongjiu.lu@intel.com>
1187         [BZ #18880]
1188         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1189         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1190         enable __memcpy_ssse3_back.
1192 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1194         [BZ #19758]
1195         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1196         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1198 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1200         [BZ #19490]
1201         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1202         (__fentry__): Likewise.
1204 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1206         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1207         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1209 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1211         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1212         __mcount_internal directly.
1213         (C_LABEL(__fentry__)): Likewise.
1214         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1215         directly.
1217 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1219         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1220         (__start_context): Call __setcontext directly.
1222 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1225         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1226         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1227         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1228         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1229         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1230         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1231         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1232         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1233         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1234         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1235         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1236         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1237         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1238         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1239         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1240         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1242         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1243         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1244         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1246         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1247         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1248         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1249         Remove conditional code.
1250         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1251         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1252         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1253         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1254         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1255         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1256         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1257         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1258         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1259         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1261         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1263 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1265         * NEWS (2.23): Fix typo in bug 19048 text.
1267 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1269         [BZ #14259]
1270         * Makeconfig: Rename msgcatdir to localedir.
1271         Rename inst_msgcatdir to inst_localedir.
1272         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1273         * config.make.in: Add localedir.
1274         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1275         (ldd-rewrite): Likewise.
1276         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1277         (install-others): Use inst_localedir.
1278         (CPPFLAGS): Use localedir.
1279         * locale/Makefile (locale-CPPFLAGS): Likewise.
1280         * po/Makefile (mo-installed): Use inst_localedir.
1282         [BZ #19575]
1283         * localedata/charmaps/GB18030: Update comments regarding PAU to
1284         non-PUA mappings.
1286 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1289         test for header.
1290         * sysdeps/unix/sysv/linux/configure: Regenerated.
1291         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1292         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1293         Remove conditional code.
1294         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1296         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1297         Define to 3.2.0.
1298         (arch_minimum_kernel): Likewise.
1299         * sysdeps/unix/sysv/linux/configure: Regenerated.
1300         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1301         Define to 2.6.32.
1302         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1303         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1304         (arch_minimum_kernel): Define to 2.6.32.
1305         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1306         * README: Document Linux 3.2 requirement.
1307         * manual/install.texi (Linux): Document Linux 3.2 headers
1308         requirement.
1309         * INSTALL: Regenerated.
1311 2016-02-24  Andreas Schwab  <schwab@suse.de>
1313         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1314         if !NO_LONG_DOUBLE.
1316 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1318         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1319         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1321 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1323         [BZ #19512]
1324         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1326 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1328         * posix/tst-dir.c: Include libc-internal.h.
1330 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1332         [BZ #19056]
1333         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1334         * manual/filesys.texi (Reading/Closing Directory): Mention
1335         deprecaion.
1336         * posix/tst-dir.c (main): Disable deprecation warning in test.
1338 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1340         [BZ #19679]
1341         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1342         Renamed to ...
1343         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1344         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1345         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1346         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1347         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1348         * sysdeps/x86_64/dl-trampoline.h
1349         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1350         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1352 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1354         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1356 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1358         * elf/elf.h (R_386_GOT32X): New.
1359         (R_386_NUM): Update.
1360         (R_X86_64_GOTPCRELX: New.
1361         (R_X86_64_REX_GOTPCRELX): New.
1362         (R_X86_64_NUM): Update.
1364 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1366         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1368 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1370         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1371         assign attr->stackaddr to it, and adjust it down when
1372         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1373         [_STACK_GROWS_UP]: Delete assert.
1374         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1375         Implement stack grows up logic.
1376         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1377         stack grows up logic.
1379 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1381         * NEWS: Update with 2.24 template.
1383 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1385         [BZ #19678]
1386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1387         Ensure +0.0 is returned when taking the next value below the least
1388         positive value.
1390 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1392         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1393         available.  Do not define NO_THREADS.
1394         * malloc/malloc.c: Do not check NO_THREADS.
1395         * malloc/arena.c: Likewise.
1397 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1399         * malloc/malloc.c (__libc_mallinfo): Update comment.
1400         (struct malloc_par): Remove max_total_mem member, it was always 0.
1401         (int_mallinfo): Store 0 into usmblks (no functional change).
1402         * malloc/hooks.c (struct malloc_state): Document that
1403         max_total_mem is always 0.
1404         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1405         always 0.
1406         * manual/memory.texi (Statistics of Malloc): Likewise.
1408 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1410         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1411         * malloc/arena.c (arena_max): Remove.
1412         (heap_trim, _int_new_arena): Do not update arena_max.
1414 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1416         * resolv/res_init.c (res_ninit): Update comment.
1418 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1420         [BZ #19505]
1421         * posix/spawn_int.h: Add headers and include guard.
1422         (__spawn_valid_fd): New function.
1423         * posix/spawn_faction_addopen.c
1424         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1425         * posix/spawn_faction_addclose.c
1426         (posix_spawn_file_actions_addclose): Likewise.
1427         * posix/spawn_faction_adddup2.c
1428         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1429         second file descriptor.
1430         * posix/spawn_valid_fd.c: New file.
1431         * posix/tst-posix_spawn-fd.c: New file.
1432         * posix/Makefile (routines): Add spawn_valid_fd.
1433         (tests): Add tst-posix_spawn-fd.
1435 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1437         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1438         (do_test): Limit the number of arenas, so that we can use fewer
1439         outer threads.  Limit timeout to 3 seconds, in preparation for a
1440         larger TIMEOUT value.
1442 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1444         [BZ #19674]
1445         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1446         sign in overflowing and underflowing results when overflow or
1447         underflow is detected early.  Include sign in result before rather
1448         than after scaling.
1450         [BZ #19603]
1451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1452         (__ieee754_remainderl): Adjust sign of integer version of low part
1453         when taking absolute value of high part.
1454         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1455         * math/libm-test.inc (remainder_test_data): Add another test.
1456         (remquo_test_data): Likewise.
1458 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #19602]
1461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1462         equal high parts and both low parts zero specially.
1463         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1464         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1465         Add test-fmodl-ldbl-128ibm.
1467         [BZ #19595]
1468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1469         common logic for all cases of shifting subnormal results.  Do not
1470         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1471         exponent to ldbl_insert_mantissa in subnormal case.
1473         [BZ #19594]
1474         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1475         on high and low parts then adjust result and use
1476         ldbl_canonicalize_int if needed.
1478         [BZ #19593]
1479         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1480         on high part and __floor or __ceil on low part then use
1481         ldbl_canonicalize_int if needed.
1483         [BZ #19592]
1484         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1485         high and low parts then use ldbl_canonicalize_int if needed.
1487         [BZ #17899]
1488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1489         New function.
1490         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1491         on high and low parts then use ldbl_canonicalize_int if needed.
1493 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1495         * configure: Regenerated.
1497         * po/libc.pot: Regenerated.
1499         * po/be.po: Updated translation.
1500         * po/bg.po: Likewise.
1501         * po/ca.po: Likewise.
1502         * po/cs.po: Likewise.
1503         * po/da.po: Likewise.
1504         * po/el.po: Likewise.
1505         * po/eo.po: Likewise.
1506         * po/es.po: Likewise.
1507         * po/fi.po: Likewise.
1508         * po/fr.po: Likewise.
1509         * po/gl.po: Likewise.
1510         * po/hr.po: Likewise.
1511         * po/hu.po: Likewise.
1512         * po/ia.po: Likewise.
1513         * po/id.po: Likewise.
1514         * po/it.po: Likewise.
1515         * po/ja.po: Likewise.
1516         * po/lt.po: Likewise.
1517         * po/nb.po: Likewise.
1518         * po/nl.po: Likewise.
1519         * po/pt_BR.po: Likewise.
1520         * po/rw.po: Likewise.
1521         * po/sk.po: Likewise.
1522         * po/sl.po: Likewise.
1523         * po/sv.po: Likewise.
1524         * po/tr.po: Likewise.
1525         * po/zh_CN.po: Likewise.
1526         * po/zh_TW.po: Likewise.
1528         * version.h (RELEAES): Set to "development".
1529         (VERSION): Set to 2.23.90.
1531         * version.h (RELEASE): Set to "stable".
1532         (VERSION): Set to 2.23.
1533         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1535         * NEWS: Updated fixed bugs.
1537 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1538             Wilco Dijkstra  <wdijkstr@arm.com>
1540         [BZ #19462]
1541         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1542         (_STRING_INLINE_unaligned): This.
1543         * include/string.h: Include <string_private.h>.
1544         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1545         _STRING_INLINE_unaligned.
1546         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1547         (_STRING_INLINE_unaligned): New.
1548         * sysdeps/aarch64/string_private.h: New file.
1549         * sysdeps/generic/string_private.h: Likewise.
1550         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1551         * sysdeps/s390/string_private.h: Likewise.
1552         * sysdeps/x86/string_private.h: Likewise.
1553         * sysdeps/m68k/m680x0/m68020/bits/string.h
1554         (_STRING_ARCH_unaligned): Renamed to ...
1555         (_STRING_INLINE_unaligned): This.
1556         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1557         to ...
1558         (_STRING_INLINE_unaligned): This.
1559         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1560         to ...
1561         (_STRING_INLINE_unaligned): This.
1562         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1563         to ...
1564         (_STRING_INLINE_unaligned): This.
1566 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1567             H.J. Lu  <hongjiu.lu@intel.com>
1569         [BZ #19590]
1570         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1571         relocation.
1573 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1575         [BZ #18665]
1576         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1577         *herrno_p.
1578         (gaih_getanswer): Document functional behviour. Return tryagain
1579         if any result is tryagain.
1580         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1581         when freed.
1582         * resolv/res_send.c: Add copyright text.
1583         (__libc_res_nsend): Document that MAXPACKET is expected.
1584         (send_vc): Document. Remove buffer reuse.
1585         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1586         size of the buffer. Add Dprint for truncated UDP buffer.
1588 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1590         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1591         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1592         * INSTALL: Regenerate.
1594 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1595             Jonathan Wakely  <jwakely@redhat.com>
1596             Carlos O'Donell  <carlos@redhat.com>
1598         [BZ 19439]
1599         * math/Makefile (tests): Add test-math-isinff.
1600         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1601         * math/bits/mathcalls.h [__USE_MISC]: Use
1602         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1603         functions not in C++11 and which don't conflict e.g. isinff,
1604         isinfl etc.
1605         * math/test-math-isinff.cc: New file.
1607 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1609         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1611 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1613         [BZ #19529]
1614         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1616 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1618         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1620 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1622         [BZ #19550]
1623         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1624         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1625         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1626         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1627         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1628         New syscall entry.
1629         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1630         New syscall entry.
1631         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1632         syscall entry.
1634 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1636         [BZ #18240]
1637         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1638         unsigned int wraparound.
1640 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1642         [BZ #18240]
1643         * misc/bug18240.c: New test.
1644         * misc/Makefile (tests): Add it.
1646 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1647             Joseph Myers  <joseph@codesourcery.com>
1649         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1650         load in branch delay slot when less than a word of input left.
1652 2016-01-27  Andreas Schwab  <schwab@suse.de>
1654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1655         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1656         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1657         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1659 2016-01-26  David S. Miller  <davem@davemloft.net>
1661         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1663 2016-01-25  David S. Miller  <davem@davemloft.net>
1665         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1666         __sqrtl_finite.
1667         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1668         instead using versioned_symbol.
1669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1670         of entries.
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1673         __sqrtl_finite to GLIBC_2.23
1675 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1677         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1679 2016-01-25  Andreas Schwab  <schwab@suse.de>
1681         [BZ #17514]
1682         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1683         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1684         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1685         * nptl/tst-mutex-errorcheck.c: New file.
1687 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1689         [BZ #18560]
1690         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1691         (IPCOP_semop): Likewise.
1692         (IPCOP_semget): Likewise.
1693         (IPCOP_semctl): Likewise.
1694         (IPCOP_msgsnd): Likewise.
1695         (IPCOP_msgrcv): Likewise.
1696         (IPCOP_msgget): Likewise.
1697         (IPCOP_msgctl): Likewise.
1698         (IPCOP_shmat): Likewise.
1699         (IPCOP_shmdt): Likewise.
1700         (IPCOP_shmget): Likewise.
1701         (IPCOP_shmctl): Likewise.
1703 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705         * string/tst-endian.c: Include <libc-internal.h>.
1706         (do_test): Ignore tautological-compare warnings around
1707         "htobeXX (beXXtoh (i)) != i" and
1708         "htoleXX (leXXtoh (i)) != i" if-statements.
1710 2016-01-24  David S. Miller  <davem@davemloft.net>
1712         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1713         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1714         alias.
1715         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1716         __sqrtl_finite.
1718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1720 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1722         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1723         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1724         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1726 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1728         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1729         (thread_func): Use new function to simplify barrier check.
1730         (do_test): Use new function to simplify checking barrier exit
1731         code, and actually join the child thread.
1733 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1735         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1736         semicolon.
1737         (__libc_tend): Likewise.
1738         (__libc_tabort): Likewise.
1740 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1742         * sysdeps/nios2/libm-test-ulps: Update.
1743         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1744         (__gtsf2): Likewise.
1745         (__unorddf2): Likewise.
1746         (__unordsf2): Likewise.
1747         (__ledf2): Likewise.
1749 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1751         * nis/nis_table.c (__follow_path): Disable diagnostic for
1752         uninitialized variable that is a false positive for gcc 4.7.
1753         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1755 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1757         * sysdeps/nacl/lowlevellock-futex.h
1758         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1759         Always evaluate PRIVATE argument.
1761 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1763         [BZ #19490]
1764         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1765         (pthread_cond_broadcast): Use ENTRY/END
1766         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1767         (pthread_cond_signal): Likewise.
1768         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1769         Likewise.
1770         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1771         Likewise.
1772         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1773         Likewise.
1775 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1777         * sysdeps/ieee754/dbl-64/s_finite.c
1778         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1779         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1780         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1781         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1782         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1785         (__gtsf2): Add as optional for libc.so.
1786         (__unordsf2): Likewise.
1787         (__signbit): Remove for libc.so.
1788         (__signbitl): Likewise.
1790 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1792         * iconvdata/bug-iconv11.c (test_ibm93x):
1793         Use %zu printf format specifier for size_t argument.
1795 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1797         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1798         already-recorded ulps.
1799         * sysdeps/arm/libm-test-ulps: Regenerated.
1800         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1802         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1804 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1805             Paul Pluzhnikov  <ppluzhnikov@google.com>
1807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1808         assembler not supporting AVX-512.
1810 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1812         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1814 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1816         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1817         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1819         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1821         * sysdeps/arm/libm-test-ulps: Regenerated.
1823 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1825         [BZ #19451]
1826         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1828 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1830         [BZ #19486]
1831         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1832         * sysdeps/generic/fix-fp-int-convert-overflow.h
1833         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1834         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1835         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1836         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1837         Likewise.
1838         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1839         Avoid conversions to long int where inexact exceptions
1840         could be raised.
1841         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1842         Likewise.
1843         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1844         Avoid conversions to long long int where inexact exceptions
1845         could be raised.
1846         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1847         Likewise.
1849 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1851         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1852         * configure: Regenerated.
1854 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1856         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1858 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1860         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1861         outside of comment.
1863 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1865         * nptl/tst-barrier1.c: Add description on first line.
1866         * nptl/tst-barrier2.c: Likewise.
1867         * nptl/tst-barrier3.c: Likewise.
1868         * nptl/tst-barrier4.c: Likewise.
1869         * nptl/tst-barrier5.c: Likewise.
1871 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1873         [BZ #18868]
1874         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1876 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1880         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1881         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1882         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1883         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1884         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1885         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1886         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1887         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1890 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1892         [BZ #13065]
1893         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1894         new implementation.
1895         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1896         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1897         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1898         (BARRIER_IN_THRESHOLD): New macro.
1899         * nptl/pthread_barrierattr_setpshared.c
1900         (pthread_barrierattr_setpshared): Clean up.
1901         * nptl/tst-barrier4.c: Correct comment.
1902         * nptl/tst-barrier5.c: New file.
1903         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1904         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1905         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1906         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1907         * nptl/lowlevelbarrier.sym: Remove.
1908         * nptl/DESIGN-barrier.txt: Remove.
1909         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1910         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1911         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1912         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1913         error.
1914         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1915         implementation.
1917 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1919         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1920         (do_child): Mask SIGRTMIN while thr is running.
1922 2016-01-15  Martin Sebor  <msebor@redhat.com>
1924         [BZ #19432]
1925         * iconvdata/Makefile: Add bug-iconv11.
1926         * iconvdata/bug-iconv11.c: New test.
1927         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1928         * iconvdata/ibm933.c: Same.
1929         * iconvdata/ibm935.c: Same.
1930         * iconvdata/ibm937.c: Same.
1931         * iconvdata/ibm939.c: Same.
1933 2016-01-15  Martin Sebor  <msebor@redhat.com>
1935         [BZ #19443]
1936         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1937         [DEBUG] (_ufc_set_bits): Declare used.
1938         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1939         [DEBUG] (print_all): Declare used.
1940         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1941         operands of the ternary ?: expression to target type.
1942         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1943         calling the undeclared abort.
1944         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1946 2016-01-15  Martin Sebor  <msebor@redhat.com>
1948         [BZ #18755]
1949         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1950         warnings.
1951         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1952         (__gai_create_helper_thread): Same.
1953         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1954         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1955         to suppress -Wmaybe-uninitialized warnings.
1957 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1959         [BZ #19465]
1960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1961         inside if.
1962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1963         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1966 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1968         [BZ #19466]
1969         * time/tst-mktime2.c (time_t_max): Removed.
1970         (time_t_min): Likewise.
1971         (TYPE_SIGNED): New.
1972         (TYPE_MINIMUM): Likewise.
1973         (TYPE_MAXIMUM): Likewise.
1974         (TIME_T_MIN): Likewise.
1975         (TIME_T_MAX): Likewise.
1976         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1977         and TIME_T_MIN.
1978         (do_test): Likewise.
1980 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1982         [BZ #19467]
1983         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1984         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1986 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1988         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1990 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1992         * benchtests/Makefile (PYTHON): Define.
1993         (bench-func): Use $(PYTHON) to run python scripts.
1994         ($(objpfx)bench-%.c): Likewise.
1996 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1998         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1999         leading slash when `file_name' is "/".
2001 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2003         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2004         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2005         Likewise.
2006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2007         Likewise.
2008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2009         Likewise.
2010         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2011         enum constant and macro.
2012         (PTRACE_SETSIGMASK): Likewise.
2013         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2014         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2015         (PTRACE_GETSIGMASK): Likewise.
2016         (PTRACE_SETSIGMASK): Likewise.
2017         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2018         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2019         Likewise.
2020         (PTRACE_SETSIGMASK): Likewise.
2021         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2022         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2023         (PTRACE_GETSIGMASK): Likewise.
2024         (PTRACE_SETSIGMASK): Likewise.
2025         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2026         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2027         Likewise.
2028         (PTRACE_SETSIGMASK): Likewise.
2029         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2030         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2031         Likewise.
2032         (PTRACE_SETSIGMASK): Likewise.
2033         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2034         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2035         Likewise.
2036         (PTRACE_SETSIGMASK): Likewise.
2037         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2039 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2040             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2042         [BZ #19439]
2043         * math/bits/mathcalls.h
2044         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2045         prototype.
2046         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2048 2016-01-11  Andreas Schwab  <schwab@suse.de>
2050         [BZ #19253]
2051         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2052         cache when TZDEFRULES was used.
2053         * time/tst-tzname.c: New file.
2054         * time/Makefile (test): Add tst-tzname.
2055         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2056         * timezone/Makefile (test-zones): Add $(posixrules-file).
2057         ($(testdata)/$(posixrules-file)): New rule.
2059 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2061         Fix doc quoting problems with Texinfo 5
2062         Without this change, in the info file output, Texinfo 5 quotes code
2063         in text with undirected single quotes 'like this' and generates
2064         code examples that with many PDF readers cannot be cut out of PDFs
2065         and pasted into code.
2066         * manual/libc.texinfo: Configure the libc manual like the GNU
2067         Emacs manual, by using @documentencoding and setting
2068         txicodequoteundirected and txicodequotebacktick.  This way,
2069         Texinfo 5 quotes code in text with directed single quotes ‘like
2070         this’ and produces examples that can be cut out of PDFs.  This
2071         change causes Texinfo 5 to generate info files that contain UTF-8
2072         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2073         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2075 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2077         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2078         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2079         barriers to their respective compiler built-ins.
2080         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2081         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2082         * sysdeps/powerpc/sysdep.h: Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2087 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2089         * scripts/config.guess: Revert previous shebang change.
2090         * scripts/config.sub: Likewise.
2091         * scripts/mkinstalldirs: Likewise.
2093 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2095         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2096         PPC_FEATURE2_HAS_IEEE128.
2097         * sysdeps/powerpc/dl-procinfo.c:
2098         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2100 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2102         [BZ #19415]
2103         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2104         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2105         (_dl_lookup_address): Rewrite using function resolver trampoline.
2106         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2107         two bits in address.
2109 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2111         * longlong.h: Change !__SHMEDIA__ to
2112         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2113         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2115 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2116             Joseph Myers  <joseph@codesourcery.com>
2117             Mark Shinwell  <shinwell@codesourcery.com>
2118             Andrew Stubbs  <ams@codesourcery.com>
2119             Rich Felker <dalias@libc.org>
2121         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2123 2016-01-07  Richard Henderson  <rth@redhat.com>
2125         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2127 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2129         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2130         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2131         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2132         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2133         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2135 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2136             Joseph Myers  <joseph@codesourcery.com>
2138         * timezone/private.h: Update from tzcode 2015g.
2139         * timezone/tzfile.h: Likewise.
2140         * timezone/tzselect.ksh: Likewise.
2141         * timezone/zdump.c: Likewise.
2142         * timezone/zic.c: Likewise.
2143         * timezone/ialloc.c: Remove file.
2144         * timezone/scheck.c: Likewise.
2145         * timezone/Makefile (extra-objs): Remove variable.
2146         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2147         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2148         -Wno-maybe-uninitialized.
2149         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2150         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2151         (CFLAGS-ialloc.c): Remove variable.
2152         (CFLAGS-scheck.c): Likewise.
2153         * timezone/README: Update list of files from tzcode.
2155 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2157         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2158         instead of __fxprintf when _LIBC is undefined.
2160 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2162         * catgets/test-gencat.sh: Remove space after shebang.
2163         * conform/GlibcConform.pm: Likewise.
2164         * conform/check-header-lists.sh: Likewise.
2165         * conform/conformtest.pl: Likewise.
2166         * conform/linknamespace.pl: Likewise.
2167         * conform/list-header-symbols.pl: Likewise.
2168         * debug/catchsegv.sh: Likewise.
2169         * elf/genrtldtbl.awk: Likewise.
2170         * elf/tst-pathopt.sh: Likewise.
2171         * elf/tst-rtld-load-self.sh: Likewise.
2172         * grp/tst_fgetgrent.sh: Likewise.
2173         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2174         * iconvdata/gen-8bit-gap.sh: Likewise.
2175         * iconvdata/gen-8bit.sh: Likewise.
2176         * iconvdata/run-iconv-test.sh: Likewise.
2177         * intl/tst-gettext.sh: Likewise.
2178         * intl/tst-gettext2.sh: Likewise.
2179         * intl/tst-gettext4.sh: Likewise.
2180         * intl/tst-gettext6.sh: Likewise.
2181         * intl/tst-translit.sh: Likewise.
2182         * io/ftwtest-sh: Likewise.
2183         * libio/test-freopen.sh: Likewise.
2184         * locale/gen-translit.pl: Likewise.
2185         * malloc/tst-mtrace.sh: Likewise.
2186         * manual/check-safety.sh: Likewise.
2187         * manual/libc-texinfo.sh: Likewise.
2188         * manual/tsort.awk: Likewise.
2189         * manual/xtract-typefun.awk: Likewise.
2190         * nptl/tst-cancel-wrappers.sh: Likewise.
2191         * nptl/tst-tls6.sh: Likewise.
2192         * posix/globtest.sh: Likewise.
2193         * posix/tst-getconf.sh: Likewise.
2194         * posix/wordexp-tst.sh: Likewise.
2195         * scripts/check-c++-types.sh: Likewise.
2196         * scripts/check-local-headers.sh: Likewise.
2197         * scripts/config.guess: Likewise.
2198         * scripts/config.sub: Likewise.
2199         * scripts/cpp: Likewise.
2200         * scripts/cross-test-ssh.sh: Likewise.
2201         * scripts/documented.sh: Likewise.
2202         * scripts/evaluate-test.sh: Likewise.
2203         * scripts/gen-libc-abis: Likewise.
2204         * scripts/gen-sorted.awk: Likewise.
2205         * scripts/list-fixed-bugs.py: Likewise.
2206         * scripts/merge-test-results.sh: Likewise.
2207         * scripts/mkinstalldirs: Likewise.
2208         * scripts/rellns-sh: Likewise.
2209         * scripts/test-installation.pl: Likewise.
2210         * scripts/update-copyrights: Likewise.
2211         * stdio-common/tst-printf.sh: Likewise.
2212         * stdio-common/tst-unbputc.sh: Likewise.
2213         * stdlib/tst-fmtmsg.sh: Likewise.
2214         * stdlib/tst-setcontext3.sh: Likewise.
2215         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2216         * sysdeps/unix/make-syscalls.sh: Likewise.
2218 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2220         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2221         asm stw with atomic_exchange_rel.  Add explanatory comment.
2222         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2223         Likewise.
2225 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2227         [BZ #19122]
2228         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2229         * sysdeps/generic/dl-unistd.h: New file.
2230         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2232 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2234          [BZ #19122]
2235          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2236          * sysdeps/generic/dl-mman.h: New file.
2237          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2239 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2241         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2242         trailing whitespace removed.
2243         * scripts/config.guess: Update to version 2016-01-01.
2244         * scripts/config.sub: Update to version 2016-01-01.
2245         * scripts/move-if-change: Update from gnulib.
2247 2016-01-04  Anton Blanchard  <anton@samba.org>
2249         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2250         for array indices.
2251         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2253 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2255         * NEWS: Update copyright dates.
2256         * catgets/gencat.c (print_version): Likewise.
2257         * csu/version.c (banner): Likewise.
2258         * debug/catchsegv.sh: Likewise.
2259         * debug/pcprofiledump.c (print_version): Likewise.
2260         * debug/xtrace.sh (do_version): Likewise.
2261         * elf/ldconfig.c (print_version): Likewise.
2262         * elf/ldd.bash.in: Likewise.
2263         * elf/pldd.c (print_version): Likewise.
2264         * elf/sotruss.sh: Likewise.
2265         * elf/sprof.c (print_version): Likewise.
2266         * iconv/iconv_prog.c (print_version): Likewise.
2267         * iconv/iconvconfig.c (print_version): Likewise.
2268         * locale/programs/locale.c (print_version): Likewise.
2269         * locale/programs/localedef.c (print_version): Likewise.
2270         * login/programs/pt_chown.c (print_version): Likewise.
2271         * malloc/memusage.sh (do_version): Likewise.
2272         * malloc/memusagestat.c (print_version): Likewise.
2273         * malloc/mtrace.pl: Likewise.
2274         * manual/libc.texinfo: Likewise.
2275         * nptl/version.c (banner): Likewise.
2276         * nscd/nscd.c (print_version): Likewise.
2277         * nss/getent.c (print_version): Likewise.
2278         * nss/makedb.c (print_version): Likewise.
2279         * posix/getconf.c (main): Likewise.
2280         * scripts/test-installation.pl: Likewise.
2281         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2283         * All files with FSF copyright notices: Update copyright dates
2284         using scripts/update-copyrights.
2285         * intl/plural.c: Regenerated.
2286         * locale/programs/charmap-kw.h: Likewise.
2287         * locale/programs/locfile-kw.h: Likewise.
2289 2016-01-02  Helge Deller  <deller@gmx.de>
2291         [BZ #19285]
2292         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2293         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2294         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2295         (MADV_xxK_PAGES): Remove.
2297 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2299         [BZ #15421]
2300         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2301         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2302         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2303         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2305 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2307         [BZ #19408]
2308         * sysdeps/unix/sysv/linux/personality.c: New file.
2309         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2310         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2311         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2312         (sysdep_routines): Add personality.
2313         (tests): Add tst-personality.
2314         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2316         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2317         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2318         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2319         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2320         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2325         Likewise.
2326         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2327         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2328         Likewise.
2330 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2332         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2333         (PATH_ARM_SYSTYPE): Remove.
2334         (PATH_CPUINFO): Likewise.
2335         (IO_BASE_FOOTBRIDGE): Likewise.
2336         (IO_SHIFT_FOOTBRIDGE): Likewise.
2337         (struct platform): Likewise.
2338         (init_iosys): Remove compatibility code for 2.4 kernels.
2339         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2341 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2343         * malloc/tst-malloc-thread-fail.c: New file.
2344         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2345         (tst-malloc-thread-fail): Link against libpthread.
2347 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2349         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2350         (get_parser): New function.
2351         (main): New function.
2353 2015-12-29  Rob Wu  <rob@robwu.nl>
2355         [BZ #19369]
2356         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2358 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2360         [BZ #19270]
2361         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2363 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2365         [BZ #15421]
2366         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2368 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2370         [BZ #13690]
2371         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2372         after releasing it.
2373         (__lll_robust_unlock): Likewise.
2374         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2375         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2376         (lll_robust_unlock): Likewise.
2377         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2378         Prevent warnings in callers.
2380 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2382         * malloc/arena.c (list_lock): Update comment.
2384 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2386         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2387         __parse_hwcap_and_convert_at_platform to libc.a.
2389 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2391         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2392         platform and feature support for POWER9.
2393         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2394         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2395         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2396         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2397         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2398         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2399         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2400         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2402 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2404         Harmonize generic stdio-lock support with nptl
2406         This fixes build when _IO_funlockfile is a macro, fixes build where
2407         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2408         stack unwind.
2410         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2411         _IO_release_lock ): Use cleanup attribute on new
2412         _IO_acquire_lock_file variable instead of assuming that
2413         _IO_release_lock will be called.
2414         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2415         _IO_acquire_lock_needs_exceptions_enabled.
2416         (_IO_acquire_lock_clear_flags2): New macro.
2418 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2420         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2422 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2424         [BZ #19182]
2425         * malloc/arena.c (list_lock): Document lock ordering requirements.
2426         (free_list_lock): New lock.
2427         (ptmalloc_lock_all): Comment on free_list_lock.
2428         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2429         (detach_arena): Update comment.  free_list_lock is now needed.
2430         (_int_new_arena): Use free_list_lock around detach_arena call.
2431         Acquire arena lock after list_lock.  Add comment, including FIXME
2432         about incorrect synchronization.
2433         (get_free_list): Switch to free_list_lock.
2434         (reused_arena): Acquire free_list_lock around detach_arena call
2435         and attached threads counter update.  Add two FIXMEs about
2436         incorrect synchronization.
2437         (arena_thread_freeres): Switch to free_list_lock.
2438         * malloc/malloc.c (struct malloc_state): Update comments to
2439         mention free_list_lock.
2441 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2443         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2444         Remove functions.
2445         (sloww, sloww1): Accept argument to offset quadrant.
2446         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2447         quadrant.
2448         (__sin, __cos): Consolidate common code into new functions.
2449         (reduce_sincos_1, do_sincos_1): New functions.
2450         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2453         code to new functions.
2454         (reduce_sincos_2, do_sincos_2): New functions.
2455         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2458         common code for sincos.
2459         (__cos) [!IN_SINCOS]: Likewise.
2460         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2461         New function.
2462         (__sincos): Use it.
2464 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2466         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2467         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2468         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2470 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2472         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2475         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2476         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2477         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2478         index_Prefer_No_VZEROUPPER): New feature.
2479         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2480         Prefer_No_VZEROUPPER for Knights Landing.
2482 015-12-18  Torvald Riegel  <triegel@redhat.com>
2484         * math/atest-exp2.c (mp_exp_m1): Remove.
2486 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2488         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2489         syscalls.
2490         (__SYSCALL0): New macro.
2491         (__SYSCALL1): Likewise.
2492         (__SYSCALL2): Likewise.
2493         (__SYSCALL3): Likewise.
2494         (__SYSCALL4): Likewise.
2495         (__SYSCALL5): Likewise.
2496         (__SYSCALL6): Likewise.
2497         (__SYSCALL_CONCAT_X): Likewise.
2498         (__SYSCALL_CONCAT): Likewise.
2499         (__SYSCALL_DIST): Likewise.
2500         (__SYSCALL_CALL): Likewise.
2502 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2504         [BZ #19363]
2505         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2507 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2509         [BZ #19375]
2510         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2511         negative subnormals.
2513 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2516         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2517         (INTERNAL_SYSCALL_NCS): Use it.
2518         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2520 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2522         [BZ #19243]
2523         * malloc/arena.c (get_free_list): Remove assert and adjust
2524         reference count handling.  Add comment about reused_arena
2525         interaction.
2526         (reused_arena): Add comments abount get_free_list interaction.
2527         * malloc/tst-malloc-thread-exit.c: New file.
2528         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2529         (tst-malloc-thread-exit): Link against libpthread.
2531 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2533         [BZ #19367]
2534         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2535         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2536         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2537         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2538         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2540 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2542         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2543         Silvermont optimizations for Knights Landing.
2545 2015-12-15  Andreas Schwab  <schwab@suse.de>
2547         [BZ #17197]
2548         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2549         immediately after emitting SI.
2550         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2551         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2552         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2553         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2554         * iconvdata/bug-iconv10.c: New file.
2555         * iconvdata/Makefile (tests): Add bug-iconv10.
2556         ($(objpfx)bug-iconv10.out): New rule.
2558 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2560         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2561         aliasing violation.
2563 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2565         [BZ #18472]
2566         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2567         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2568         conditionals for them.
2569         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2570         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2572         sys/kdaemon.h.
2573         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2574         compat-only syscall, obsoleted in glibc 2.23.
2575         (create_module): Likewise.
2576         (get_kernel_syms): Likewise.
2577         (query_module): Likewise.
2578         (uselib): Likewise.
2579         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2581 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2583         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2584         <linux/version.h>.
2585         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2586         conditional code.
2587         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2588         and ioshift_name initialization.
2590 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2592         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2593         Fix indentation.
2595 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2597         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2599 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2601         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2603 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2604             Jakub Wilk  <jwilk@debian.org>
2606         [BZ #19347]
2607         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2608         to change the group of the device to the tty group.
2610 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2612         Split large string section; add truncation advice
2613         * manual/examples/strncat.c: Remove.
2614         This example was misleading, as the code would have undefined
2615         behavior if "hello" was longer than SIZE.  Anyway, the manual
2616         shouldn't encourage strncpy+strncat for this sort of thing.
2617         * manual/string.texi (Copying Strings and Arrays): Split into
2618         three sections Copying Strings and Arrays, Concatenating Strings,
2619         and Truncating Strings, as this section was way too long.  All
2620         cross-referenced changed.  Add advice about string-truncation
2621         functions.  Remove misleading strncat example.
2623 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2625         * manual/nss.texi (NSS Modules Interface): Document
2626         NSS_STATUS_NOTFOUND and SUCCESS.
2628 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2630         [BZ 18568]
2631         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2632         201505L, for Unicode 8.
2634 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2636         * locale/C-translit.h: Regenerate.
2638 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2640         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2641         and U+0153.
2643 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2645         [BZ #19351]
2646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2647         expanding log(1+z), compare z rather than its square with epsilon
2648         to determine when to avoid evaluating the expansion.
2650         [BZ #19350]
2651         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2652         Increase overflow threshold.
2654         [BZ #19349]
2655         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2656         when small.
2658         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2659         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2660         New macro.
2661         [__LINUX_KERNEL_VERSION >= 0x040300]
2662         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2663         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2664         Likewise.
2665         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2666         Likewise.
2667         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2668         Likewise.
2669         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2670         Likewise.
2671         [__LINUX_KERNEL_VERSION >= 0x040300]
2672         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2673         [__LINUX_KERNEL_VERSION >= 0x040300]
2674         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2675         [__LINUX_KERNEL_VERSION >= 0x040300]
2676         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2677         [__LINUX_KERNEL_VERSION >= 0x040300]
2678         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2679         [__LINUX_KERNEL_VERSION >= 0x040300]
2680         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2682         Likewise.
2683         [__LINUX_KERNEL_VERSION >= 0x040300]
2684         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2686         Likewise.
2687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2688         Likewise.
2689         [__LINUX_KERNEL_VERSION >= 0x040300]
2690         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2692         Likewise.
2693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2694         Likewise.
2695         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2697         Likewise.
2698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2699         Likewise.
2700         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2701         Likewise.
2702         [__LINUX_KERNEL_VERSION >= 0x040300]
2703         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2705         Likewise.
2706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2707         Likewise.
2708         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2709         Likewise.
2710         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2711         Likewise.
2712         [__LINUX_KERNEL_VERSION >= 0x040300]
2713         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2714         [__LINUX_KERNEL_VERSION >= 0x040300]
2715         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2716         [__LINUX_KERNEL_VERSION >= 0x040300]
2717         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2718         [__LINUX_KERNEL_VERSION >= 0x040300]
2719         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2720         [__LINUX_KERNEL_VERSION >= 0x040300]
2721         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2723         Likewise.
2724         [__LINUX_KERNEL_VERSION >= 0x040300]
2725         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2727         Likewise.
2728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2729         Likewise.
2730         [__LINUX_KERNEL_VERSION >= 0x040300]
2731         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2732         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2733         Likewise.
2734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2737         (__ASSUME_SOCKET_SYSCALL): Likewise.
2738         (__ASSUME_BIND_SYSCALL): Likewise.
2739         (__ASSUME_CONNECT_SYSCALL): Likewise.
2740         (__ASSUME_LISTEN_SYSCALL): Likewise.
2741         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2742         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2743         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2744         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2745         (__ASSUME_SEND_SYSCALL): Likewise.
2746         (__ASSUME_SENDTO_SYSCALL): Likewise.
2747         (__ASSUME_RECV_SYSCALL): Likewise.
2748         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2749         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2750         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2751         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2752         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2753         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2754         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2755         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2756         Likewise.
2757         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2758         Likewise.
2759         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2760         Likewise.
2761         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2762         Likewise.
2763         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2764         Likewise.
2765         [__LINUX_KERNEL_VERSION >= 0x020625]
2766         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2767         [__LINUX_KERNEL_VERSION >= 0x020625]
2768         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2769         [__LINUX_KERNEL_VERSION >= 0x020625]
2770         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2771         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2772         Likewise.
2773         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2774         Likewise.
2775         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2776         Likewise.
2777         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2778         Likewise.
2779         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2780         Likewise.
2781         [__LINUX_KERNEL_VERSION >= 0x020625]
2782         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2783         [__LINUX_KERNEL_VERSION >= 0x020625]
2784         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2785         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2786         Likewise.
2787         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2788         Likewise.
2790 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2792         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2793         record the current if the current ABI and CPU support the FP64
2794         extension.
2795         (has-modd-spreg): Define to record the current if the current ABI and
2796         CPU support 32-bit floating point values in odd FPU registers.
2797         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2798         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2799         $(has-modd-spreg) equals yes.
2800         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2801         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2802         $(has-modd-spreg) equal yes.
2804 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2806         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2807         basename.
2809 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2811         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2812         (bench-string): ... here.
2813         (bench): Add bench-string.
2814         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2815         to *-benchset to reflect what they are.
2816         (benchset): Adjust.
2818         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2819         cos-inputs.
2821 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2823         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2824         __attribute__ ((__simd__)) for vector math function declarations.
2826 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2828         Fix typo in strncat, wcsncat manual entries
2829         * manual/string.texi (Copying and Concatenation): Fix typos in
2830         sample implementations of strncat and wcsncat, by having them use
2831         the old value of the destination length, not the new one.
2833 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2835         [BZ #16961]
2836         [BZ #16962]
2837         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2838         string on the stack for strtod.
2839         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2840         a string on the stack for strtof.
2841         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2842         constructing a string on the stack for strtold.
2843         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2844         __strtold_nan to GLIBC_PRIVATE.
2845         * math/test-nan-overflow.c: New file.
2846         * math/test-nan-payload.c: Likewise.
2847         * math/Makefile (tests): Add test-nan-overflow and
2848         test-nan-payload.
2850 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2852         Consistency about byte vs character in string.texi
2853         * manual/string.texi (String and Array Utilities):
2854         Distinguish more carefully among bytes, multibyte characters,
2855         and wide characters.  Use "byte" when talking about C 'char',
2856         to distinguish it more clearly from multibyte characters.
2857         Say "wide character" or "multibyte character" instead of
2858         "character", when a wide or multibyte character is intended.
2859         Similarly for "multibyte string" versus "string".
2860         Define these terms more carefully.
2862 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2864         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2865         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2866         Likewise.
2867         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2868         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2869         * sysdeps/sh/math_private.h: New file.
2870         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2871         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2872         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2873         long double function name.
2874         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2875         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2877         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2878         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2880         Remove __finitel, __isinfl, and __isnanl.
2881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2885         Remove __finitel.
2886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2887         Likewise.
2888         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2890 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2892         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2893         installed libmvec_nonshared.a.
2895 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2897         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2898         (sysdep_routines): Likewise.
2899         (sysdep-rtld-routines): Likewise.
2900         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2901         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2902         * sysdeps/powerpc/Versions: Added new
2903         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2904         * sysdeps/powerpc/hwcapinfo.c: New file.
2905         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2906         and parse hwcap, hwcap2 and platform number information.
2907         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2908         to store HWCAP+HWCAP2 and platform number.
2909         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2910         for HWCAP+HWCAP2 and platform number in the TCB.
2911         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2912         the HWCAP, HWCAP2 and platform number in the TCB.
2913         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2914         (TLS_INIT_TP): Included calls to add the hwcap and
2915         at_platform values in the TCB in TP initialization.
2916         (TLS_DEFINE_INIT_TP): Likewise.
2917         (THREAD_GET_HWCAP): New macro.
2918         (THREAD_SET_HWCAP): Likewise.
2919         (THREAD_GET_AT_PLATFORM): Likewise.
2920         (THREAD_SET_AT_PLATFORM): Likewise.
2921         * sysdeps/powerpc/powerpc32/dl-machine.h:
2922         (dl_platform_init): New function that calls
2923         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2924         powerpc32.
2925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2926         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2927         this functionality, static linking case.
2928         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2929         linking case.
2930         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2931         __parse_hwcap_and_convert_at_platform for the static linking case.
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2933         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2934         ABI list for GLIBC 2.23.
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2936         Likewise.
2937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2938         Likewise.
2940 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2942         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2943         * configure: Regenerate.
2944         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2945         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2947 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2949         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2950         * iconvdata/ibm933.c: Likewise.
2951         * iconvdata/ibm935.c: Likewise.
2952         * iconvdata/ibm937.c: Likewise.
2953         * iconvdata/ibm939.c: Likewise.
2955 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2957         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2958         pthread_join.
2959         * nptl/tst-cancel21.c (tf): Likewise.
2961 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2963         [BZ #19313]
2964         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2965         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2966         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2967         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2968         Likewise.
2969         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2970         Likewise.
2971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2972         Likewise.
2973         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2974         Likewise.
2975         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2976         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2977         unsigned long int with __CPU_MASK_TYPE.
2979 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2981         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2983 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2986         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2987         t512.x.
2988         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2990 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2992         [BZ #19214]
2993         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2994         argument to return extended model.  Update family and model
2995         with extended family and model when family == 0x0f.
2996         (init_cpu_features): Updated.
2998 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3000         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3001         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3003         * sysdeps/mach/hurd/mmap64.c: New file.
3005 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3007         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3008         rights for its main user thread in NEWTASK.
3010 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3012         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3013         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3015 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3017         [BZ #14259]
3018         * Makeconfig: Rename localedir to complocaledir.
3019         Rename inst_localedir to inst_complocaledir.
3020         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3021         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3022         * configure.ac: Use libc_cv_complocaledir.
3023         * configure: Regenerate.
3024         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3025         -DCOMPLOCALEDIR.
3026         * locale/findlocale.c: Use COMPLOCALEDIR.
3027         * locale/loadarchive.c: Likewise.
3028         * locale/programs/locale.c: Likewise.
3029         * locale/programs/localedef.c: Likewise.
3030         * locale/programs/locarchive.c: Likewise.
3031         * localedata/Makefile: Use inst_complocaledir.
3032         * sysdeps/gnu/configure: Regenerate.
3033         * sysdeps/hppa/configure: Regenerate.
3034         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3035         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3037         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3038         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3039         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3040         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3042 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3044         [BZ #19058]
3045         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3046         AS_NEEDED.
3047         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3048         workaround.
3049         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3050         libmvec-static-only-routines): Added new file.
3051         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3053 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3055         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3056         of interrupted RPC instead of restoring it.
3058         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3059         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3060         libc_hidden_def.
3061         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3062         into initialized data instead of common. Define rtld_hidden_data_def.
3063         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3064         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3065         libc_hidden_def.
3066         (if_freenameindex): Add libc_hidden_weak.
3067         (if_nameindex): Add libc_hidden_weak.
3068         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3069         __open64.
3070         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3071         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3072         * sysdeps/mach/nanosleep.c: Include <time.h>
3073         (__nanosleep): Rename to __libc_nanosleep.
3074         (__nanosleep): Add weak_alias.
3075         (nanosleep): Update alias.
3077 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3079         * stdlib/strtod_nan.c: New file.
3080         * stdlib/strtod_nan_double.h: Likewise.
3081         * stdlib/strtod_nan_float.h: Likewise.
3082         * stdlib/strtod_nan_main.c: Likewise.
3083         * stdlib/strtod_nan_narrow.h: Likewise.
3084         * stdlib/strtod_nan_wide.h: Likewise.
3085         * stdlib/strtof_nan.c: Likewise.
3086         * stdlib/strtold_nan.c: Likewise.
3087         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3088         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3089         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3090         * wcsmbs/wcstod_nan.c: Likewise.
3091         * wcsmbs/wcstof_nan.c: Likewise.
3092         * wcsmbs/wcstold_nan.c: Likewise.
3093         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3094         strtold_nan.
3095         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3096         wcstof_nan.
3097         * include/stdlib.h (__strtof_nan): Declare and use
3098         libc_hidden_proto.
3099         (__strtod_nan): Likewise.
3100         (__strtold_nan): Likewise.
3101         (__wcstof_nan): Likewise.
3102         (__wcstod_nan): Likewise.
3103         (__wcstold_nan): Likewise.
3104         * include/wchar.h (____wcstoull_l_internal): Declare.
3105         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3106         (____strtoull_l_internal): Remove declaration.
3107         (STRTOF_NAN): Define macro.
3108         (SET_MANTISSA): Remove macro.
3109         (STRTOULL): Likewise.
3110         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3111         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3112         (STRTOF_NAN): Define macro.
3113         (SET_MANTISSA): Remove macro.
3114         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3115         (SET_MANTISSA): Remove macro.
3116         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3117         macro.
3118         (SET_MANTISSA): Remove macro.
3119         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3120         macro.
3121         (SET_MANTISSA): Remove macro.
3122         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3123         (SET_MANTISSA): Remove macro.
3124         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3125         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3126         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3128         [BZ #19266]
3129         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3130         upper case and lower case letters inside NAN(), not using TOLOWER.
3131         * stdlib/tst-strtod-nan-locale-main.c: New file.
3132         * stdlib/tst-strtod-nan-locale.c: Likewise.
3133         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3134         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3135         Depend on $(gen-locales).
3136         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3137         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3138         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3139         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3140         Depend on $(gen-locales).
3141         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3143 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3145         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3147         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3149         __finitel, __isinfl, and __isnanl.
3150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3151         Likewise.
3152         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3154         __finitel.
3155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3156         Likewise.
3157         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3159 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3161         * malloc/memusage.c (me): Remove redundant getenv call.
3163 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3165         [BZ #19143]
3166         [BZ #19164]
3167         * nptl/check-cpuset.h: Remove.
3168         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3169         Remove CPU set size check.
3170         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3171         Likewise.
3172         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3173         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3174         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3175         (__pthread_setaffinity_new): Remove CPU set size check.
3176         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3177         (__kernel_cpumask_size): Remove.
3178         (__sched_setaffinity_new): Remove CPU set size check.
3179         * manual/threads.texi (Default Thread Attributes): Remove stale
3180         reference to check_cpuset_attr, determine_cpumask_size in comment.
3181         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3182         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3183         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3184         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3185         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3186         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3187         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3188         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3189         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3190         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3191         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3192         skeleton test file.
3193         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3194         tst-affinity-pid.
3196 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3198         * scripts/update-abilist.sh: New file.
3199         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3200         * Makerules (update-all-abi-%, update-all-abi)
3201         (subdir_update-all-abi): New targets.
3202         * elf/Makefile (update-all-abi): New target.
3204 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3206         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3207         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3208         (__libc_lock_define_initialized): Use it.
3209         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3210         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3211         * malloc/malloc.c (main_arena): Likewise.
3212         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3213         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3215 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3217         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3218         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3219         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3220         (PTRACE_O_MASK): Update value.
3221         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3222         New value in enum __ptrace_setoptions.
3223         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3224         (PTRACE_O_MASK): Update value.
3225         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3226         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3227         (PTRACE_O_MASK): Update value.
3228         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3229         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3230         (PTRACE_O_MASK): Update value.
3231         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3232         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3233         (PTRACE_O_MASK): Update value.
3234         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3235         New value in enum __ptrace_setoptions.
3236         (PTRACE_O_MASK): Update value.
3237         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3238         New value in enum __ptrace_setoptions.
3239         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3240         (PTRACE_O_MASK): Update value.
3242         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3243         New macro.
3244         (PACKET_AUXDATA): Likewise.
3245         (PACKET_ORIGDEV): Likewise.
3246         (PACKET_VERSION): Likewise.
3247         (PACKET_HDRLEN): Likewise.
3248         (PACKET_RESERVE): Likewise.
3249         (PACKET_TX_RING): Likewise.
3250         (PACKET_LOSS): Likewise.
3251         (PACKET_VNET_HDR): Likewise.
3252         (PACKET_TX_TIMESTAMP): Likewise.
3253         (PACKET_TIMESTAMP): Likewise.
3254         (PACKET_FANOUT): Likewise.
3255         (PACKET_TX_HAS_OFF): Likewise.
3256         (PACKET_QDISC_BYPASS): Likewise.
3257         (PACKET_ROLLOVER_STATS): Likewise.
3258         (PACKET_FANOUT_DATA): Likewise.
3259         (PACKET_MR_UNICAST): Likewise.
3261         [BZ #19242]
3262         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3263         (TOUPPER): Likewise.
3264         * stdlib/tst-strtol-locale-main.c: New file.
3265         * stdlib/tst-strtol-locale.c: Likewise.
3266         * stdlib/Makefile (tests): Add tst-strtol-locale.
3267         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3268         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3269         Depend on $(gen-locales).
3270         * wcsmbs/tst-wcstol-locale.c: New file.
3271         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3272         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3273         tr_TR.ISO-8859-9.
3274         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3275         Depend on $(gen-locales).
3277 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3279         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3280         __glibc_likely instead of __builtin_expect.  After falling back to
3281         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3282         system interface to register the code pages as occupied.
3284 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3286         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3287         [!ARM_MATH_PRIVATE_H].
3288         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3289         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3290         [!HPPA_MATH_PRIVATE_H].
3291         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3292         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3293         to [!I386_MATH_PRIVATE_H].
3294         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3295         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3296         Change guard to [!M68K_MATH_PRIVATE_H].
3297         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3298         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3299         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3300         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3301         macro.
3302         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3303         [!MIPS_MATH_PRIVATE_H].
3304         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3305         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3306         [!NIO2_MATH_PRIVATE_H].
3307         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3308         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3309         [!TILE_MATH_PRIVATE_H].
3310         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3312         [BZ #15421]
3313         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3314         initialize with 0 and define as weak alias of __signgam.
3315         * include/math.h [!_ISOMAC] (__signgam): Declare.
3316         * math/Makefile (libm-calls): Add w_lgamma_compat.
3317         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3318         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3319         test-signgam-ullong-init.
3320         (tests-static): Add test-signgam-uchar-static,
3321         test-signgam-uchar-init-static, test-signgam-uint-static,
3322         test-signgam-uint-init-static, test-signgam-ullong-static and
3323         test-signgam-ullong-init-static.
3324         (CFLAGS-test-signgam-uchar.c): New variable.
3325         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3326         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3327         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3328         (CFLAGS-test-signgam-uint.c): Likewise.
3329         (CFLAGS-test-signgam-uint-init.c): Likewise.
3330         (CFLAGS-test-signgam-uint-static.c): Likewise.
3331         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3332         (CFLAGS-test-signgam-ullong.c): Likewise.
3333         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3334         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3335         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3336         * math/Versions (libm): Add GLIBC_2.23.
3337         * math/lgamma-compat.h: New file.
3338         * math/test-signgam-main.c: Likewise.
3339         * math/test-signgam-uchar-init-static.c: Likewise.
3340         * math/test-signgam-uchar-init.c: Likewise.
3341         * math/test-signgam-uchar-static.c: Likewise.
3342         * math/test-signgam-uchar.c: Likewise.
3343         * math/test-signgam-uint-init-static.c: Likewise.
3344         * math/test-signgam-uint-init.c: Likewise.
3345         * math/test-signgam-uint-static.c: Likewise.
3346         * math/test-signgam-uint.c: Likewise.
3347         * math/test-signgam-ullong-init-static.c: Likewise.
3348         * math/test-signgam-ullong-init.c: Likewise.
3349         * math/test-signgam-ullong-static.c: Likewise.
3350         * math/test-signgam-ullong.c: Likewise.
3351         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3352         wrapper of w_lgamma_main.c.
3353         * math/w_lgamma_compat.c: New file.
3354         * math/w_lgamma_compatf.c: Likewise.
3355         * math/w_lgamma_compatl.c: Likewise.
3356         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3357         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3358         defining compatibility symbols.
3359         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3360         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3361         wrapper of w_lgammaf_main.c.
3362         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3363         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3364         defining compatibility symbols.
3365         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3366         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3367         wrapper of w_lgammal_main.c.
3368         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3369         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3370         defining compatibility symbols.
3371         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3372         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3373         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3374         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3375         <lgamma-compat.h>.
3376         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3377         (__ieee754_gamma): Define as alias.
3378         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3379         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3380         <lgamma-compat.h>.
3381         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3382         (__ieee754_gammaf): Define as alias.
3383         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3384         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3385         <lgamma-compat.h>.
3386         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3387         (__ieee754_gammal): Define as alias.
3388         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3389         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3390         <math/w_lgamma_compat.c>.
3391         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3392         Define as alias of __lgamma_compat and use in defining lgammal.
3393         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3394         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3395         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3396         (USE_AS_COMPAT): New macro.
3397         (LGAMMA_OLD_VER): Undefine and redefine.
3398         (lgammal): Do not define here.
3399         (gammal): Only define here if [GAMMA_ALIAS].
3400         * conform/linknamespace.pl (@whitelist): Remove signgam.
3401         * sysdeps/nacl/libm.abilist: Update.
3402         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3403         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3404         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3405         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3406         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3407         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3408         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3409         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3410         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3411         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3412         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3413         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3415         Likewise.
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3417         Likewise.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3419         Likewise.
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3421         Likewise.
3422         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3424         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3425         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3428         Likewise.
3429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3430         Likewise.
3431         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3432         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3433         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3435 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3437         [BZ #16364]
3438         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3439         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3441 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3443         * sysdeps/s390/fpu/bits/mathinline.h:
3444         Use __asm__ [__volatile__] instead of asm [volatile].
3445         * sysdeps/s390/abort-instr.h: Likewise.
3446         * sysdeps/s390/atomic-machine.h: Likewise.
3447         * sysdeps/s390/bits/string.h: Likewise.
3448         * sysdeps/s390/dl-tls.h: Likewise.
3449         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3450         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3451         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3452         * sysdeps/s390/fpu/fesetround.c: Likewise.
3453         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3454         * sysdeps/s390/fpu/s_fma.c: Likewise.
3455         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3456         * sysdeps/s390/memusage.h: Likewise.
3457         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3458         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3459         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3460         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3461         * sysdeps/s390/nptl/tls.h: Likewise.
3462         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3463         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3464         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3465         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3466         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3467         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3468         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3469         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3470         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3471         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3472         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3473         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3474         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3475         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3476         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3477         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3478         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3479         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3480         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3482         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3484         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3486 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3487             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3489         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3490         Add lwarx hint, and use macro for acquire instruction.
3491         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3492         Likewise.
3493         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3494         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3495         update to use new atomic macros.
3497 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3499         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3500         (__lll_trylock_elision): Fix setting of adapt_count.
3501         * sysdeps/unix/sysv/linux/powerpc/htm.h
3502         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3503         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3504         (_ABORT_SYSCALL): Renumber, and clarify definition.
3505         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3507 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3509         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3510         after system headers to prevent MIN/MAX redefinition.  Define
3511         HAVE_ALLOCA to preserve builtin alloca usage.
3513 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3516         static and don't set or restore rounding.
3517         (__cos)[IN_SINCOS]: Likewise.
3518         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3519         (__sincos): Set and restore rounding mode.  Remove check for infinite
3520         or NaN input.
3522         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3524         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3525         as used.
3527 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3529         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3531 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3533         * config.make.in (have-glob-dat-reloc): New.
3534         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3535         target supports GLOB_DAT relocaton. AC_SUBST.
3536         * configure: Regenerated.
3537         * elf/Makefile (tests): Add tst-prelink.
3538         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3539         (tst-prelink-ENV): New.
3540         ($(objpfx)tst-prelink-conflict.out): Likewise.
3541         ($(objpfx)tst-prelink-cmp.out): Likewise.
3542         * sysdeps/x86/tst-prelink.c: Moved to ...
3543         * elf/tst-prelink.c: Here.
3544         * sysdeps/x86/tst-prelink.exp: Moved to ...
3545         * elf/tst-prelink.exp: Here.
3546         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3547         (tst-prelink-ENV): Removed.
3548         ($(objpfx)tst-prelink-conflict.out): Likewise.
3549         ($(objpfx)tst-prelink-cmp.out): Likewise.
3550         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3552 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3554         [BZ #14551]
3555         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3556         (__mpn_construct_long_double): If high part overflows to infinity,
3557         set errno and recompute overflowed result of the correct sign.
3558         * sysdeps/ieee754/ldbl-128ibm/Makefile
3559         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3560         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3561         $(libm).
3562         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3564 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3566         [BZ #15479]
3567         [BZ #19238]
3568         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3569         floating-point state after first operation on input.  Restore full
3570         state rather than just rounding mode.
3571         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3572         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3573         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3575         [BZ #19235]
3576         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3577         add 0.5 to integer arguments.
3578         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3579         Likewise.
3580         (.LC2): New object.
3582 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3584         * scripts/pylintrc (reports): Set to no.
3586 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3588         * elf/dl-load.c (open_verify): Take new argument FD.
3589         Skip __open call if passed FD is not -1.
3590         (_dl_map_object, open_path): Update callers.
3591         * elf/dl-sysdep-open.h: New file.
3592         * elf/dl-load.c: Include it.
3593         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3594         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3595         * sysdeps/nacl/dl-sysdep-open.h: New file.
3596         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3597         from libc to rtld.
3599 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3601         [BZ #19228]
3602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3603         and restore full floating-point state.
3604         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3605         Likewise.
3606         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3607         Likewise.
3608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3609         Likewise.
3610         * math/test-nearbyint-except-2.c: New file.
3611         * math/Makefile (tests): Add test-nearbyint-except-2.
3613 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3615         [BZ #19178]
3616         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3617         (tst-prelink-ENV): New.
3618         ($(objpfx)tst-prelink-conflict.out): Likewise.
3619         ($(objpfx)tst-prelink-cmp.out): Likewise.
3620         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3621         * sysdeps/x86/tst-prelink.c: New file.
3622         * sysdeps/x86/tst-prelink.exp: Likewise.
3624 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3626         * math/auto-libm-test-in: Add another test of pow.
3627         * math/auto-libm-test-out: Regenerated.
3628         * math/libm-test.inc (pow_test_data): Add another test.
3630 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3632         [BZ #19219]
3633         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3634         weak_alias to nearbyintl.
3636 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3638         * sysdeps/aarch64/bits/string.h: New file.
3639         (_STRING_ARCH_unaligned): Define.
3641 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3643         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3644         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3645         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3646         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3649 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3651         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3652         for original name of the DSO.  Add it to the name list of the DSO
3653         if it is actually given.
3654         (_dl_map_object): Keep track of whether an audit module rewrote
3655         the file name.  If yes, pass the original name to
3656         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3657         debugging is enabled, log the change of the file name.
3658         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3659         _dl_map_object_from_fd.
3660         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3661         * elf/tst-audit11.c: New file
3662         * elf/tst-auditmod11.c: New file.
3663         * elf/tst-audit11mod1.c: New file.
3664         * elf/tst-audit11mod2.c: New file.
3665         * elf/tst-audit11mod2.map: New file.
3666         * elf/tst-audit12.c: New file
3667         * elf/tst-auditmod12.c: New file.
3668         * elf/tst-audit12mod1.c: New file.
3669         * elf/tst-audit12mod2.c: New file.
3670         * elf/tst-audit12mod2.map: New file.
3671         * elf/tst-audit12mod3.c: New file.
3673 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3675         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3676         Don't create weak aliases,
3677         because versioned symbols are created later.
3678         * sysdeps/s390/s390-32/setjmp.S
3679         (setjmp, _setjmp): Remove weak and rename to an unique name
3680         in SHARED case due to existing versioned symbols.
3681         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3682         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3683         (getcontext): Create weak alias only in non SHARED case.
3684         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3686 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3688         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3689         (__ASSUME_*_SYSCALL) Define new macros.
3690         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3691         Remove socketcall syscalls.
3692         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3693         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3694         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3695         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3696         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3697         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3699 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3701         [BZ #12926]
3702         Terminate process on invalid netlink response.
3703         * sysdeps/unix/sysv/linux/netlinkaccess.h
3704         (__netlink_assert_response): Declare.
3705         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3706         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3707         (sysdep_routines): Add netlink_assert_response.
3708         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3709         __netlink_assert_response.
3710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3711         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3712         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3713         __netlink_assert_response.
3715 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3717         [BZ #19178]
3718         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3719         (RTYPE_CLASS_PLT): Likewise.
3720         (RTYPE_CLASS_COPY): Likewise.
3721         (RTYPE_CLASS_TLS): Likewise.
3722         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3723         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3724         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3725         DL_DEBUG_PRELINK.
3727 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3729         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3730         calls with argument -0.5.
3731         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3733         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3734         (libc_cv_z_nodlopen): Likewise.
3735         (libc_cv_z_initfirst): Likewise.
3736         * configure: Regenerated.
3738 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3740         Simplify abilist format to be line-based.
3741         * scripts/abilist.awk: Collect descriptors in the descs variable.
3742         (emit): Write descs variable and sort it
3743         externally, with sort.
3744         * sysdeps/**/*.abilist: Convert to new format.
3746 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3748         [BZ #11460]
3749         * io/Makefile (routines): Add fts64.
3750         (tests): Add tst-fts and tst-fts-lfs.
3751         (CFLAGS-fts64.c): New.
3752         * io/Versions (GLIBC_2.23): New.
3753         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3754         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3755         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3756         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3757         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3758         (FTSENT64): Likewise.
3759         (fts64_children): Likewise.
3760         (fts64_close): Likewise.
3761         (fts64_open): Likewise.
3762         (fts64_read): Likewise.
3763         (fts64_set): Likewise.
3764         * io/fts64.c: New file.
3765         * io/tst-fts.c: New test.
3766         * io/tst-fts-lfs.c: Likewise.
3767         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3768         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3769         fts64_set.
3770         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3771         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3772         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3773         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3774         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3775         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3776         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3777         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3778         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3779         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3780         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3781         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3782         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3784         Likewise.
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3786         Likewise.
3787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3789         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3790         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3791         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3792         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3793         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3796         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3797         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3799         * sysdeps/wordsize-64/fts.c: New file.
3800         * sysdeps/wordsize-64/fts64.c: Likewise.
3801         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3802         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3803         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3804         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3806 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3808         * math/libm-test.inc (NON_FINITE): New macro.
3809         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3810         * math/gen-libm-test.pl (show_exceptions): Add argument
3811         $non_finite.
3812         (parse_args): Update call to show_exceptions.
3813         * math/test-math-finite.h: New file.
3814         * math/test-math-no-finite.h: Likewise.
3815         * math/test-double-finite.c: Likewise.
3816         * math/test-float-finite.c: Likewise.
3817         * math/test-ldouble-finite.c: Likewise.
3818         * math/test-double.c: Include "test-math-no-finite.h".
3819         * math/test-float.c: Include "test-math-no-finite.h".
3820         * math/test-ldouble.c: Include "test-math-no-finite.h".
3821         * math/test-math-inline.h (TEST_FINITE): New macro.
3822         * math/test-math-vector.h (TEST_FINITE): Likewise.
3823         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3824         (libm-tests): Add test-float-finite and test-double-finite.
3825         ($(objpfx)test-float-finite.o): New dependency on
3826         $(objpfx)libm-test.stmp.
3827         ($(objpfx)test-double-finite.o): Likewise.
3828         ($(objpfx)test-ldouble-finite.o): Likewise.
3829         (libm-test-no-inline-cflags): New variable.
3830         (libm-test-finite-cflags): Likewise.
3831         (CFLAGS-test-float-finite.c): Likewise.
3832         (CFLAGS-test-double-finite.c): Likewise.
3833         (CFLAGS-test-ldouble-finite.c): Likewise.
3834         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3835         (CFLAGS-test-double.c): Likewise.
3836         (CFLAGS-test-ldouble.c): Likewise.
3838 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3840         * io/fcntl.c (__fcntl): Add ... to prototype.
3841         * misc/ioctl.c (__ioctl): Likewise.
3842         * misc/syscall.c (syscall): Likewise.
3844 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3846         * scripts/list-fixed-bugs.py: New file.
3848         [BZ #19213]
3849         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3850         returned for argument 1.
3851         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3852         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3853         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3854         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3855         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3856         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3858         [BZ #19211]
3859         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3860         __USE_XOPEN], not if [!__USE_ISOC99].
3861         (lgammaf): Likewise.
3862         (lgammal): Likewise.
3863         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3864         (gammaf): Likewise.
3865         (gammal): Likewise.
3866         * math/test-signgam-finite-c11.c: New file.
3867         * math/test-signgam-finite-c99.c: Likewise.
3868         * math/test-signgam-finite.c: Likewise.
3869         * math/Makefile (tests): Add test-signgam-finite,
3870         test-signgam-finite-c99 and test-signgam-finite-c11.
3871         (CFLAGS-test-signgam-finite.c): New variable.
3872         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3873         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3875         [BZ #19212]
3876         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3877         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3878         500].
3879         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3880         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3881         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3882         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3883         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3884         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3885         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3886         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3887         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3888         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3890         [BZ #19209]
3891         * math/bits/math-finite.h (ldexp): Remove declaration.
3892         (ldexpf): Likewise.
3893         (ldexpl): Likewise.
3895         [BZ #19205]
3896         * math/bits/math-finite.h (acosf): Condition declaration on
3897         [__USE_ISOC99].
3898         (acosl): Likewise.
3899         (acoshf): Likewise.
3900         (acoshl): Likewise.
3901         (asinf): Likewise.
3902         (asinl): Likewise.
3903         (atan2f): Likewise.
3904         (atan2l): Likewise.
3905         (atanhf): Likewise.
3906         (atanhl): Likewise.
3907         (coshf): Likewise.
3908         (coshl): Likewise.
3909         (expf): Likewise.
3910         (expl): Likewise.
3911         (fmodf): Likewise.
3912         (fmodl): Likewise.
3913         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3914         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3915         (j0l): Likewise.
3916         (y0f): Likewise.
3917         (y0l): Likewise.
3918         (j1f): Likewise.
3919         (j1l): Likewise.
3920         (y1f): Likewise.
3921         (y1l): Likewise.
3922         (jnf): Likewise.
3923         (jnl): Likewise.
3924         (ynf): Likewise.
3925         (ynl): Likewise.
3926         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3927         (lgammal_r): Likewise.
3928         (__lgamma_r_finite): New declaration.
3929         (__lgammaf_r_finite): Likewise.
3930         (__lgammal_r_finite): Likewise.
3931         (lgamma): Use __lgamma_r_finite.
3932         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3933         __lgammaf_r_finite.
3934         (lgammal): Condition definition on [__USE_ISOC99].  Use
3935         __lgammal_r_finite.
3936         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3937         __lgamma_r_finite.
3938         (gammaf): Condition definition on [__USE_ISOC99].  Use
3939         __lgammaf_r_finite.
3940         (gammal): Condition definition on [__USE_ISOC99].  Use
3941         __lgammal_r_finite.
3942         (logf): Condition declaration on [__USE_ISOC99].
3943         (logl): Likewise.
3944         (log10f): Likewise.
3945         (log10l): Likewise.
3946         (ldexpf): Likewise.
3947         (ldexpl): Likewise.
3948         (powf): Likewise.
3949         (powl): Likewise.
3950         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3951         __USE_ISOC99].
3952         (remainderf): Condition declaration on [__USE_ISOC99].
3953         (remainderl): Likewise.
3954         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3955         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3956         (scalbl): Likewise.
3957         (sinhf): Condition declaration on [__USE_ISOC99].
3958         (sinhl): Likewise.
3959         (sqrtf): Likewise.
3960         (sqrtl): Likewise.
3962 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3964         * sysdeps/arm/atomic-machine.h
3965         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3966         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3967         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3968         Remove conditional code.
3969         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3970         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3971         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3972         Change conditional to [__ASSEMBLER__].
3973         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3974         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3975         [!__ASSEMBLER__].
3976         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3977         code.
3978         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3979         conditional macro definitions.
3980         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3981         (__arch_compare_and_exchange_val_16_acq): Likewise.
3982         (__arch_compare_and_exchange_val_32_acq): Likewise.
3983         (atomic_exchange_and_add): Likewise.
3984         (atomic_add): Likewise.
3985         (atomic_add_negative): Likewise.
3986         (atomic_add_zero): Likewise.
3987         (atomic_bit_set): Likewise.
3988         (atomic_bit_test_set): Likewise.
3989         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3990         code unconditional.
3991         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3993         * math/test-math-errno.h: New file.
3994         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3995         empty.
3996         (TEST_ERRNO): New macro.
3997         (TEST_EXCEPTIONS): Likewise.
3998         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3999         (TEST_EXCEPTIONS): Likewise.
4000         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4001         * math/test-double.c: Include "test-math-errno.h".
4002         * math/test-float.c: Likewise.
4003         * math/test-ldouble.c: Likewise.
4004         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4005         code unconditional.
4006         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4007         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4008         unconditional.
4009         (test_errno): Only run code if TEST_ERRNO.
4010         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4012 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4014         * nptl/tst-once5.cc: Remove attribution.
4016 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4018         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4019         sqrt, tan, tanh, y0, y1 and yn.
4020         * math/auto-libm-test-out: Regenerated.
4021         * math/libm-test.inc (scalb_test_data): Add more tests.
4022         (scalbn_test_data): Likewise.
4023         (scalbln_test_data): Likewise.
4024         (signbit_test_data): Likewise.
4025         (sin_test_data): Likewise.
4026         (sincos_test_data): Likewise.
4027         (sinh_test_data): Likewise.
4028         (sqrt_test_data): Likewise.
4029         (tan_test_data): Likewise.
4030         (tanh_test_data): Likewise.
4031         (tgamma_test_data): Likewise.
4032         (y0_test_data): Likewise.
4033         (y1_test_data): Likewise.
4034         (yn_test_data): Likewise.
4035         (significand_test_data): Likewise.
4036         * sysdeps/i386/fpu/libm-test-ulps: Update.
4038 2015-11-03  David Kastrup  <dak@gnu.org>
4040         [BZ #18604]
4041         * assert/assert.h (assert): Don't macro-expand failed assertion
4042         expression in error message.
4043         * malloc/malloc.c (assert): Likewise.
4045 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4047         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4048         test.
4049         * configure: Regenerated.
4051 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4053         * math/libm-test.inc (modf_test_data): Add more tests.
4054         (nearbyint_test_data): Likewise.
4055         (nextafter_test_data): Likewise.
4056         (nexttoward_test_data): Likewise.
4057         (pow_test_data): Likewise.
4058         (remainder_test_data): Likewise.
4059         (remquo_test_data): Likewise.
4060         (rint_test_data): Likewise.
4062         [BZ #19201]
4063         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4064         Check for zero remainder in case of large exponents and ensure
4065         correct sign of result in that case.
4066         * math/libm-test.inc (remainder_test_data): Add more tests.
4068         [BZ #6799]
4069         * math/s_nextafter.c: Include <errno.h>.
4070         (__nextafter): Set errno on overflow and underflow.
4071         * math/s_nexttowardf.c: Include <errno.h>.
4072         (__nexttowardf): Set errno on overflow and underflow.
4073         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4074         (__nextafterl): Set errno on overflow and underflow.
4075         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4076         (__nexttoward): Set errno on overflow and underflow.
4077         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4078         (__nexttowardf): Set errno on overflow and underflow.
4079         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4080         (__nextafterf): Set errno on overflow and underflow.
4081         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4082         (__nextafterl): Set errno on overflow and underflow.
4083         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4084         (__nexttoward): Set errno on overflow and underflow.
4085         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4086         (__nexttowardf): Set errno on overflow and underflow.
4087         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4088         (__nextafterl): Set errno on overflow and underflow.
4089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4090         (__nexttoward): Set errno on overflow and underflow.
4091         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4092         (__nexttowardf): Set errno on overflow and underflow.
4093         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4094         (__nexttoward): Set errno on overflow and underflow.
4095         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4096         (__nexttowardf): Set errno on overflow and underflow.
4097         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4098         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4099         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4100         (__nextafterl): Set errno on overflow and underflow.
4101         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4102         setting to be missing on overflow.  Add more tests.
4103         (nexttoward_test_data): Likewise.
4105         * configure.ac (libc_cv_initfini_array): Remove configure test.
4106         * configure: Regenerated.
4108 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4110         [BZ #19189]
4111         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4112         non-finite argument handle arguments with negative sign.
4114         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4115         result from infinite argument.
4116         (j1_test_data): Likewise.
4117         (jn_test_data): Likewise.
4118         (y0_test_data): Likewise.
4119         (y1_test_data): Likewise.
4120         (yn_test_data): Likewise.
4122         [BZ #16171]
4123         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4124         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4125         * math/w_remainderf.c (dremf): Define as weak alias of
4126         __remainderf.
4127         * math/w_remainderl.c (dreml): Define as weak alias of
4128         __remainderl.
4129         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4130         __remainder.
4131         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4132         __remainderf.
4133         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4134         __remainderl.
4135         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4136         weak alias of remainderl.
4137         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4138         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4139         alias of __remainder.
4140         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4141         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4142         strong alias of __remainderl.
4143         (dreml): Use long_double_symbol.
4144         * math/Makefile (libm-calls): Remove w_drem.
4145         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4146         (CFLAGS-nldbl-drem.c): Remove variable.
4147         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4148         * math/w_drem.c: Remove file.
4149         * math/w_dremf.c: Likewise.
4150         * math/w_dreml.c: Likewise.
4151         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4152         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4153         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4155         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4156         * sysdeps/i386/configure: Regenerated.
4157         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4158         * sysdeps/x86_64/configure: Regenerated.
4160         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4161         test.
4162         (libc_cv_visibility_attribute): Likewise.
4163         (libc_cv_protected_data): Test unconditionally.
4164         (libc_cv_broken_visibility_attribute): Remove configure test.
4165         (libc_cv_have_sdata_section): Test unconditionally.
4166         * configure: Regenerated.
4168         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4169         * include/scratch_buffer.h: Include <stddef.h> instead of
4170         <libc-internal.h>.
4171         (struct scratch_buffer): Use max_align_t instead of
4172         libc_max_align_t.
4174 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4176         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4177         instead of extend_alloca.  Change control flow to avoid a goto.
4178         Remove assert which is trivially always true.
4180 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4182         [BZ #16068]
4183         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4184         (FE_ALL_EXCEPT_X86): New macro.
4185         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4186         FE_ALL_EXCEPT.  Ensure precision control is included in
4187         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4188         handle "denormal operand exception" and clear FZ and DAZ bits.
4189         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4190         (FE_ALL_EXCEPT_X86): New macro.
4191         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4192         FE_ALL_EXCEPT.  Ensure precision control is included in
4193         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4194         handle "denormal operand exception" and clear FZ and DAZ bits.
4195         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4196         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4197         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4198         test-fenv-x87 and test-fenv-sse-2.
4199         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4201         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4202         * math/test-double.h (BUILD_COMPLEX): New macro.
4203         * math/test-float.h (BUILD_COMPLEX): Likewise.
4204         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4206         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4207         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4208         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4210         instead of DBL_DENORM_MIN in comment.
4211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4212         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4214         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4216         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4218 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4220         [BZ# 19048]
4221         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4222         attached_threads member.
4223         (main_arena): Initialize attached_threads.
4224         * malloc/arena.c (list_lock): Update comment.
4225         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4226         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4227         (deattach_arena): New function.
4228         (_int_new_arena): Initialize arena reference count and deattach
4229         replaced arena.
4230         (get_free_list, reused_arena): Update reference count and deattach
4231         replaced arena.
4232         (arena_thread_freeres): Update arena reference count and only put
4233         unreferenced arenas on the free list.
4235 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4237         [BZ #19181]
4238         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4239         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4240         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4241         * math/test-fenv-clear-main.c: New file.
4242         * math/test-fenv-clear.c: Likewise.
4243         * math/Makefile (tests): Add test-fenv-clear.
4244         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4245         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4246         test-fenv-clear-sse.
4247         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4249         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4250         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4251         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4253 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4255         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4256         static libc.
4258 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4260         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4261         test.
4262         * sysdeps/i386/configure: Regenerated.
4263         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4264         test.
4265         * sysdeps/x86_64/configure: Regenerated.
4266         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4268         memset-avx2 unconditionally instead of conditionally on
4269         [$(config-cflags-avx2) = yes].
4270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4271         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4272         unconditional.
4273         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4274         * sysdeps/x86_64/multiarch/memset_chk.S
4275         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4276         to [IS_IN (libc) && SHARED].
4278 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4280         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4281         configure test.
4282         * sysdeps/arm/configure: Regenerated.
4283         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4284         Define variable if not already defined.
4286         [BZ #17404]
4287         * sysdeps/mips/atomic-machine.h
4288         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4289         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4290         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4292         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4293         unconditional.
4294         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4295         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4296         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4297         unconditional.
4298         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4299         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4300         unconditional.
4301         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4302         * stdlib/setenv.c
4303         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4304         code unconditional.
4305         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4306         Remove conditional code.
4307         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4308         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4309         unconditional.
4310         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4311         code.
4312         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4313         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4314         unconditional.
4315         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4316         code.
4317         * sysdeps/ieee754/ldbl-128/k_tanl.c
4318         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4319         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4320         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4321         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4322         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4323         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4324         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4325         unconditional.
4326         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4327         code.
4328         * sysdeps/ieee754/ldbl-96/k_tanl.c
4329         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4330         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4332         * nptl/tst-initializers1-c11.c: New file.
4333         * nptl/tst-initializers1-gnu11.c: Likewise.
4334         * nptl/Makefile (tests): Add these new tests.
4335         (CFLAGS-tst-initializers1-c11.c): New variable.
4336         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4338         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4339         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4340         instead of -std=gnu99.
4341         * configure.ac (systemtap): Test with -std=gnu11 instead of
4342         -std=gnu99.
4343         * configure: Regenerated.
4344         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4345         in compilation command in comment.
4347         * sysdeps/nptl/configure.ac: Remove file.
4348         * sysdeps/nptl/configure: Remove generated file.
4349         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4350         * configure: Regenerated.
4351         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4352         * config.make.in (have-forced-unwind): Remove variable.
4353         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4354         unconditional.
4355         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4356         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4357         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4358         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4359         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4360         unconditional.
4362 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4364         [BZ #19174]
4365         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4366         .skip_lock_out_of_tbegin_retries.
4367         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4368         (__lll_lock_elision): Likewise, and respect a value of
4369         try_tbegin <= 0.
4371 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4373         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4374         statement.
4376 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4378         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4379         variable.
4380         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4381         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4383         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4384         of -std=c1x -D_ISOC11_SOURCE.
4386         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4387         * configure: Regenerated.
4388         * manual/install.texi (Tools for Compilation): Document
4389         requirement for GCC 4.7 or later.
4390         * INSTALL: Regenerated.
4392 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4394         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4395         on CNT to a conditional jump to 'puntdata'.
4397 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4399         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4400         (libc_cv_gcc_tls_model_attr): Likewise.
4401         * configure: Regenerated.
4403         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4404         * configure: Regenerated.
4405         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4407 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4409         * configure.ac (old_glibc_headers): Remove configure test.
4410         * configure: Regenerated.
4411         * config.make.in (old-glibc-headers): Remove variable.
4412         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4413         (install): Remove dependency on remove-old-headers.
4414         (headers2_0): Remove variable.
4415         (remove-old-headers): Remove rule.
4417         * configure.ac (libc_cv_dot_text): Remove configure test.
4418         (libc_cv_asm_set_directive): Use .text instead of
4419         ${libc_cv_dot_text} in configure test.
4420         * configure: Regenerated.
4422 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4424         [BZ #19168]
4425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4427 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4429         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4430         not support static linking.
4431         * configure: Regenerate.
4433 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4435         * math/libm-test.inc (check_float_internal): Do not special-case
4436         errors up to 0.5 ulp.
4438         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4439         log2.
4440         * math/auto-libm-test-out: Regenerated.
4441         * math/libm-test.inc (MAX_EXP): New macro.
4442         (ilogb_test_data): Add more tests.
4443         (isfinite_test_data): Likewise.
4444         (isgreater_test_data): Likewise.
4445         (isgreaterequal_test_data): Likewise.
4446         (isinf_test_data): Likewise.
4447         (isless_test_data): Likewise.
4448         (islessequal_test_data): Likewise.
4449         (islessgreater_test_data): Likewise.
4450         (isnan_test_data): Likewise.
4451         (isnormal_test_data): Likewise.
4452         (issignaling_test_data): Likewise.
4453         (isunordered_test_data): Likewise.
4454         (j0_test_data): Likewise.
4455         (j1_test_data): Likewise.
4456         (jn_test_data): Likewise.
4457         (lgamma_test_data): Likewise.
4458         (log_test_data): Likewise.
4459         (log10_test_data): Likewise.
4460         (log1p_test_data): Likewise.
4461         (log2_test_data): Likewise.
4462         (logb_test_data): Likewise.
4463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4465         [BZ #18611]
4466         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4467         avoid excess range and precision on underflow.
4468         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4469         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4470         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4471         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4472         underflow.
4473         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4475         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4477         * math/auto-libm-test-in: Do not allow missing errno setting for
4478         tests of j1 and jn.
4479         * math/auto-libm-test-out: Regenerated.
4481 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #15491]
4484         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4485         floating-point environment instead of clearing all exceptions.
4486         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4487         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4488         merging in "invalid" exceptions from frndint.
4489         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4490         * math/test-nearbyint-except.c: New file.
4491         * math/Makefile (tests): Add test-nearbyint-except.
4493 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4495         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4497         * sysdeps/tile/libm-test-ulps: Regenerated.
4499 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4502         (__NR_sync_file_range2): Assume it is always defined.
4503         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4504         (__NR_sync_file_range): Assume it is always defined.
4506 2015-10-22  Andreas Schwab  <schwab@suse.de>
4508         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4509         INTERNAL_SYSCALL_ERRNO.
4510         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4511         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4512         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4513         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4517 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4519         * io/tst-fcntl.c (fd): New static variable.
4520         (do_prepare): Open temporary file here....
4521         (do_test): ...not here.
4523         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4525 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4527         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4528         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4529         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4530         Moved before "#ifdef __ASSEMBLER__".
4532 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4534         [BZ #19156]
4535         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4536         arguments very close to 0.
4538 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4540         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4541         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4543 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4545         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4546         New.  Defined for GCC 5 and above when not compiling for
4547         profiling.
4548         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4550         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4551         Renamed to ...
4552         (CFLAGS-epoll_pwait.o): This.
4553         (CFLAGS-mmap.c): Renamed to ...
4554         (CFLAGS-mmap.o): This.
4555         (CFLAGS-mmap64.c): Renamed to ...
4556         (CFLAGS-mmap64.o): This.
4557         (CFLAGS-epoll_pwait.os): New.
4558         (CFLAGS-mmap.os): Likewise.
4559         (CFLAGS-mmap64.os): Likewise.
4560         (CFLAGS-semtimedop.os): Likewise.
4561         (CFLAGS-semtimedop.c): Renamed to ...
4562         (CFLAGS-semtimedop.o): This.
4564 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4566         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4567         warning message.
4569 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4571         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4572         * Makefile ($(objpfx)c++-types-check.out): Filter out
4573         $(+gccwarn-c) instead of -Wstrict-prototypes.
4575         * io/fts.c (fts_open): Convert to prototype-style function
4576         definition.
4577         * malloc/mcheck.c (mcheck): Likewise.
4578         (mcheck_pedantic): Likewise.
4579         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4580         internal_function.
4581         (re_search_internal): Likewise.
4582         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4583         prototype-style function definition.
4584         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4585         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4586         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4587         (xdr_utmpptr): Likewise.
4588         (xdr_utmparr): Likewise.
4589         (xdr_utmpidle): Likewise.
4590         (xdr_utmpidleptr): Likewise.
4591         (xdr_utmpidlearr): Likewise.
4593         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4594         log, log10 and log2.
4595         * math/auto-libm-test-out: Regenerated.
4596         * math/libm-test.inc (fmod_test_data): Add more tests.
4597         (fpclassify_test_data): Likewise.
4598         (frexp_test_data): Likewise.
4599         (hypot_test_data): Likewise.
4600         (ilogb_test_data): Likewise.
4602 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4604         * debug/fortify_fail.c (__fortify_fail): Convert to
4605         prototype-style function definition.  Use internal_function.
4606         * libio/genops.c (save_for_backup): Convert to prototype-style
4607         function definition.
4608         * libio/wgenops.c (save_for_wbackup): Likewise.
4609         * login/grantpt.c (grantpt): Likewise.
4610         * login/ptsname.c (ptsname): Likewise.
4611         (__ptsname_r): Likewise.
4612         * login/unlockpt.c (unlockpt): Likewise.
4613         * mach/msgserver.c (__mach_msg_server): Likewise.
4614         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4615         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4616         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4617         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4618         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4619         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4620         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4621         Likewise.
4622         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4623         internal_function.
4624         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4625         prototype-style function definition.
4626         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4627         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4628         (__pthread_create_2_0): Likewise.
4629         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4630         * nptl/register-atfork.c (__register_atfork): Likewise.
4631         * posix/glob.c (glob): Likewise.
4632         * posix/regcomp.c (re_comp): Likewise.
4633         * posix/regexec.c (re_exec): Likewise.
4634         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4635         [!__STDC__]: Remove conditional code.
4636         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4637         [!__STDC__]: Remove conditional code.
4638         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4639         [!__STDC__]: Remove conditional code.
4640         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4641         [!__STDC__]: Remove conditional code.
4642         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4643         [!__STDC__]: Remove conditional code.
4644         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4645         [!__STDC__]: Remove conditional code.
4646         * stdlib/mul.c [__STDC__]: Make code unconditional.
4647         [!__STDC__]: Remove conditional code.
4648         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4649         [!__STDC__]: Remove conditional code.
4650         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4651         [!__STDC__]: Remove conditional code.
4652         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4653         function definition.
4654         (STRTOF): Likewise.
4655         * stdlib/strtod_l.c (__STRTOF): Likewise.
4656         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4657         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4658         (__strtol_l): Likewise.
4659         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4660         [!__STDC__]: Remove conditional code.
4661         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4662         definition.
4663         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4664         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4665         type.
4666         (__strcasecmp): Convert to prototype-style function definition.
4667         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4668         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4669         type.
4670         (__strncasecmp): Convert to prototype-style function definition.
4671         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4672         * sunrpc/xdr.c (xdr_union): Likewise.
4673         * sunrpc/xdr_array.c (xdr_array): Likewise.
4674         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4675         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4676         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4677         Likewise.
4678         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4679         Likewise.
4680         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4681         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4682         Likewise.
4683         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4684         (LOCALE_PARAM_PROTO): Likewise.
4685         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4686         argument type.
4687         (ut_argument_spec): Remove macro.
4688         (ut_argument_spec_iso): Rename to ut_argument_spec.
4689         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4690         prototype-style function definition.
4691         (memcpy_uppcase): Likewise.
4692         (__strftime_internal): Likewise.
4693         (my_strftime): Likewise.
4694         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4695         (LOCALE_PARAM_DECL): Likewise.
4696         [_LIBC] (LOCALE_PARAM): Include argument type.
4697         (__strptime_internal): Convert to prototype-style function
4698         definition.
4699         (strptime): Likewise.
4700         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4701         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4702         type.
4703         (__wcscasecmp): Convert to prototype-style function definition.
4704         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4705         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4706         type.
4707         (__wcsncasecmp): Convert to prototype-style function definition.
4709         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4710         function definition.
4711         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4712         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4713         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4714         * elf/dl-minimal.c (_itoa): Likewise.
4715         * hurd/hurdmalloc.c (malloc): Likewise.
4716         (free): Likewise.
4717         (realloc): Likewise.
4718         * inet/inet6_option.c (inet6_option_space): Likewise.
4719         (inet6_option_init): Likewise.
4720         (inet6_option_append): Likewise.
4721         (inet6_option_alloc): Likewise.
4722         (inet6_option_next): Likewise.
4723         (inet6_option_find): Likewise.
4724         * io/ftw.c (FTW_NAME): Likewise.
4725         (NFTW_NAME): Likewise.
4726         (NFTW_NEW_NAME): Likewise.
4727         (NFTW_OLD_NAME): Likewise.
4728         * libio/iofwide.c (_IO_fwide): Likewise.
4729         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4730         (_IO_str_init_static): Likewise.
4731         (_IO_str_init_readonly): Likewise.
4732         (_IO_str_overflow): Likewise.
4733         (_IO_str_underflow): Likewise.
4734         (_IO_str_count): Likewise.
4735         (_IO_str_seekoff): Likewise.
4736         (_IO_str_pbackfail): Likewise.
4737         (_IO_str_finish): Likewise.
4738         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4739         (_IO_wstr_overflow): Likewise.
4740         (_IO_wstr_underflow): Likewise.
4741         (_IO_wstr_count): Likewise.
4742         (_IO_wstr_seekoff): Likewise.
4743         (_IO_wstr_pbackfail): Likewise.
4744         (_IO_wstr_finish): Likewise.
4745         * locale/programs/localedef.c (normalize_codeset): Likewise.
4746         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4747         (add_locales_to_archive): Likewise.
4748         (delete_locales_from_archive): Likewise.
4749         * malloc/malloc.c (__libc_mallinfo): Likewise.
4750         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4751         * misc/tsearch.c (__tfind): Likewise.
4752         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4753         * nptl/pthread_attr_getdetachstate.c
4754         (__pthread_attr_getdetachstate): Likewise.
4755         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4756         Likewise.
4757         * nptl/pthread_attr_getinheritsched.c
4758         (__pthread_attr_getinheritsched): Likewise.
4759         * nptl/pthread_attr_getschedparam.c
4760         (__pthread_attr_getschedparam): Likewise.
4761         * nptl/pthread_attr_getschedpolicy.c
4762         (__pthread_attr_getschedpolicy): Likewise.
4763         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4764         Likewise.
4765         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4766         Likewise.
4767         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4768         Likewise.
4769         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4770         Likewise.
4771         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4772         (__pthread_attr_init_2_0): Likewise.
4773         * nptl/pthread_attr_setdetachstate.c
4774         (__pthread_attr_setdetachstate): Likewise.
4775         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4776         Likewise.
4777         * nptl/pthread_attr_setinheritsched.c
4778         (__pthread_attr_setinheritsched): Likewise.
4779         * nptl/pthread_attr_setschedparam.c
4780         (__pthread_attr_setschedparam): Likewise.
4781         * nptl/pthread_attr_setschedpolicy.c
4782         (__pthread_attr_setschedpolicy): Likewise.
4783         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4784         Likewise.
4785         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4786         Likewise.
4787         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4788         Likewise.
4789         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4790         Likewise.
4791         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4792         Likewise.
4793         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4794         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4795         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4796         use internal_function.
4797         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4798         prototype-style function definition.
4799         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4800         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4801         internal_function.
4802         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4803         Convert to prototype-style function definition.
4804         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4805         Likewise.
4806         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4807         Likewise.
4808         (__pthread_mutex_unlock): Likewise.
4809         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4810         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4811         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4812         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4813         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4814         * nss/makedb.c (process_input): Likewise.
4815         * posix/fnmatch.c (__strchrnul): Likewise.
4816         (__wcschrnul): Likewise.
4817         (fnmatch): Likewise.
4818         * posix/fnmatch_loop.c (FCT): Likewise.
4819         * posix/glob.c (globfree): Likewise.
4820         (__glob_pattern_type): Likewise.
4821         (__glob_pattern_p): Likewise.
4822         * posix/regcomp.c (re_compile_pattern): Likewise.
4823         (re_set_syntax): Likewise.
4824         (re_compile_fastmap): Likewise.
4825         (regcomp): Likewise.
4826         (regerror): Likewise.
4827         (regfree): Likewise.
4828         * posix/regexec.c (regexec): Likewise.
4829         (re_match): Likewise.
4830         (re_search): Likewise.
4831         (re_match_2): Likewise.
4832         (re_search_2): Likewise.
4833         (re_search_stub): Likewise.  Use internal_function
4834         (re_copy_regs): Likewise.
4835         (re_set_registers): Convert to prototype-style function
4836         definition.
4837         (prune_impossible_nodes): Likewise.  Use internal_function.
4838         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4839         prototype-style function definition.
4840         (inet_net_pton_ipv4): Likewise.
4841         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4842         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4843         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4844         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4845         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4846         Make variadic.
4847         * time/strptime_l.c (localtime_r): Convert to prototype-style
4848         function definition.
4849         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4850         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4851         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4852         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4854         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4855         definition.
4856         (_ufc_doit_r): Likewise.
4857         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4858         (_ufc_output_conversion_r): Likewise.
4859         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4860         * inet/rcmd.c (rcmd_af): Likewise.
4861         (rcmd): Likewise.
4862         (ruserok_af): Likewise.
4863         (ruserok): Likewise.
4864         (ruserok2_sa): Likewise.
4865         (ruserok_sa): Likewise.
4866         (iruserok_af): Likewise.
4867         (iruserok): Likewise.
4868         (__ivaliduser): Likewise.
4869         (__validuser2_sa): Likewise.
4870         * inet/rexec.c (rexec_af): Likewise.
4871         (rexec): Likewise.
4872         * inet/ruserpass.c (ruserpass): Likewise.
4873         * locale/programs/xmalloc.c (xcalloc): Likewise.
4874         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4875         * math/w_drem.c (__drem): Likewise.
4876         * math/w_dremf.c (__dremf): Likewise.
4877         * math/w_dreml.c (__dreml): Likewise.
4878         * misc/daemon.c (daemon): Likewise.
4879         * resolv/res_debug.c (p_fqnname): Likewise.
4880         * stdlib/div.c (div): Likewise.
4881         * string/memcmp.c (memcmp_bytes): Likewise.
4882         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4883         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4885         * crypt/cert.c (main): Convert to prototype-style function
4886         definition.
4887         * io/pipe.c (__pipe): Likewise.
4888         * io/pipe2.c (__pipe2): Likewise.
4889         * misc/futimesat.c (futimesat): Likewise.
4890         * misc/utimes.c (__utimes): Likewise.
4891         * posix/execve.c (__execve): Likewise.
4892         * posix/execvp.c (execvp): Likewise.
4893         * posix/execvpe.c (__execvpe): Likewise.
4894         * posix/fexecve.c (fexecve): Likewise.
4895         * socket/socketpair.c (socketpair): Likewise.
4896         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4897         * stdlib/erand48.c (erand48): Likewise.
4898         * stdlib/erand48_r.c (__erand48_r): Likewise.
4899         * stdlib/jrand48.c (jrand48): Likewise.
4900         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4901         * stdlib/lcong48.c (lcong48): Likewise.
4902         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4903         * stdlib/nrand48.c (nrand48): Likewise.
4904         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4905         * stdlib/seed48.c (seed48): Likewise.
4906         * stdlib/seed48_r.c (__seed48_r): Likewise.
4907         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4908         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4909         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4911 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4913         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4914         * configure: Regenerated.
4915         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4916         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4917         unconditional.
4918         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4919         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4920         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4921         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4922         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4923         unconditional.
4924         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4926         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4927         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4929         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4930         function definition.
4931         * crypt/crypt_util.c (__encrypt_r): Likewise.
4932         * libio/genops.c (_IO_no_init): Likewise.
4933         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4934         (_IO_old_fopencookie): Likewise.
4935         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4936         * libio/iogetline.c (_IO_getline): Likewise.
4937         (_IO_getline_info): Likewise.
4938         * libio/iogetwline.c (_IO_getwline): Likewise.
4939         (_IO_getwline_info): Likewise.
4940         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4941         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4942         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4943         (find_entry): Likewise.
4944         (iterate_table): Likewise.
4945         (lookup): Likewise.
4946         * login/forkpty.c (forkpty): Likewise.
4947         * misc/hsearch_r.c (__hsearch_r): Likewise.
4948         * misc/select.c (__select): Likewise.
4949         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4950         Likewise.
4951         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4952         Likewise.
4953         * nptl/old_pthread_cond_timedwait.c
4954         (__pthread_cond_timedwait_2_0): Likewise.
4955         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4956         * nptl/pthread_barrierattr_getpshared.c
4957         (pthread_barrierattr_getpshared): Likewise.
4958         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4959         Likewise.
4960         * nptl/pthread_mutex_setprioceiling.c
4961         (pthread_mutex_setprioceiling): Likewise.
4962         * nptl/pthread_mutexattr_getprioceiling.c
4963         (pthread_mutexattr_getprioceiling): Likewise.
4964         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4965         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4966         Likewise.
4967         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4968         Likewise.
4969         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4970         Likewise.
4971         * socket/recvfrom.c (__recvfrom): Likewise.
4972         * socket/sendto.c (__sendto): Likewise.
4973         * socket/setsockopt.c (__setsockopt): Likewise.
4974         * stdio-common/_itoa.c (_itoa): Likewise.
4975         * stdio-common/_itowa.c (_itowa): Likewise.
4976         * stdio-common/reg-printf.c (__register_printf_specifier):
4977         Likewise.
4978         (__register_printf_function): Likewise.
4979         * stdio-common/tempname.c (__path_search): Likewise.
4980         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4981         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4982         * stdlib/random_r.c (__initstate_r): Likewise.
4983         * stdlib/setenv.c (__add_to_environ): Likewise.
4984         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4985         * streams/getpmsg.c (getpmsg): Likewise.
4986         * streams/putmsg.c (putmsg): Likewise.
4987         * streams/putpmsg.c (putpmsg): Likewise.
4988         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4989         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4990         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4991         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4992         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4993         * sunrpc/svc_udp.c (cache_get): Likewise.
4994         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4995         * sysdeps/mach/hurd/getcwd.c
4996         (__canonicalize_directory_name_internal): Likewise.
4997         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4998         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4999         * sysdeps/mach/hurd/select.c (__select): Likewise.
5000         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5001         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5002         * sysdeps/sparc/nptl/pthread_barrier_init.c
5003         (__pthread_barrier_init): Likewise.
5004         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5005         (__pthread_cond_timedwait): Likewise.
5006         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5007         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5008         Likewise.
5009         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5010         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5011         Likewise.
5012         * sysvipc/semtimedop.c (semtimedop): Likewise.
5013         * time/setitimer.c (__setitimer): Likewise.
5014         * time/strftime_l.c (emacs_strftime): Likewise.
5016 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5018         * config.make.in (have-ssp): Delete.
5019         (stack-protector): New variable.
5020         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5021         cache test for -fstack-protector-strong.  Export stack_protector to
5022         the best ssp flag.
5023         * configure: Regenerated.
5024         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5025         * nscd/Makefile (CFLAGS-nscd): Likewise.
5026         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5028 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5030         [BZ #19122]
5031         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5032         attribute_hidden.
5034 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5036         [BZ #18743]
5037         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5038         code to...
5039         (ELIDE_LOCK): ...here.
5040         (__get_new_count): New function with part of the code from
5041         __elide_lock that updates the value of adapt_count after a
5042         transaction abort.
5043         (__elided_trylock): Moved this code to...
5044         (ELIDE_TRYLOCK): ...here.
5046 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5048         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5049         * configure: Regenerate.
5050         * INSTALL: Regenerate.
5051         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5052         and tweak grammar.
5054 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5056         * login/programs/pt_chown.c: Include signal.h
5057         (main): Clear any signal mask from the parent process.
5059 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5061         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5062         * configure: Regenerated.
5063         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5064         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5065         $(gnu89-inline-CFLAGS).
5067         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5068         test.
5069         (libc_cv_asm_weakext_directive): Likewise.
5070         * configure: Regenerated.
5071         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5072         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5073         * include/libc-symbols.h
5074         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5075         #error.
5076         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5077         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5079         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5080         prototype-style function definition.
5081         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5082         * sysdeps/i386/ffs.c (__ffs): Likewise.
5083         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5084         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5085         Likewise.
5086         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5087         Likewise.
5088         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5089         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5090         Likewise.
5091         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5092         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5093         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5094         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5095         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5096         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5097         * sysdeps/mach/hurd/access.c (__access): Likewise.
5098         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5099         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5100         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5101         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5102         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5103         (cthread_getspecific): Likewise.
5104         (cthread_setspecific): Likewise.
5105         (__libc_getspecific): Likewise.
5106         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5107         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5108         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5109         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5110         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5111         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5112         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5113         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5114         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5115         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5116         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5117         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5118         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5119         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5120         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5121         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5122         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5123         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5124         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5125         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5126         * sysdeps/mach/hurd/link.c (__link): Likewise.
5127         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5128         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5129         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5130         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5131         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5132         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5133         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5134         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5135         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5136         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5137         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5138         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5139         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5140         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5141         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5142         * sysdeps/mach/hurd/send.c (__send): Likewise.
5143         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5144         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5145         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5146         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5147         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5148         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5149         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5150         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5151         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5152         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5153         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5154         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5155         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5156         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5157         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5158         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5159         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5160         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5161         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5162         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5163         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5164         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5165         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5166         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5167         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5168         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5169         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5170         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5171         * sysdeps/posix/alarm.c (alarm): Likewise.
5172         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5173         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5174         * sysdeps/posix/dup.c (__dup): Likewise.
5175         * sysdeps/posix/dup2.c (__dup2): Likewise.
5176         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5177         (main): Likewise.
5178         * sysdeps/posix/flock.c (__flock): Likewise.
5179         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5180         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5181         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5182         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5183         * sysdeps/posix/isatty.c (__isatty): Likewise.
5184         * sysdeps/posix/killpg.c (killpg): Likewise.
5185         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5186         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5187         * sysdeps/posix/raise.c (raise): Likewise.
5188         * sysdeps/posix/remove.c (remove): Likewise.
5189         * sysdeps/posix/rename.c (rename): Likewise.
5190         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5191         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5192         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5193         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5194         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5195         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5196         * sysdeps/posix/sigset.c (sigset): Likewise.
5197         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5198         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5199         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5200         * sysdeps/posix/time.c (time): Likewise.
5201         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5202         (ttyname): Likewise.
5203         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5204         * sysdeps/posix/utime.c (utime): Likewise.
5205         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5206         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5207         Likewise.
5208         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5209         (pthread_spin_trylock): Likewise.
5210         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5211         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5212         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5213         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5214         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5215         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5216         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5217         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5218         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5219         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5220         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5221         * sysdeps/s390/ffs.c (__ffs): Likewise.
5222         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5223         Likewise.
5224         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5225         Likewise.
5226         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5227         Likewise.
5228         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5229         (pthread_barrier_destroy): Likewise.
5230         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5231         (__pthread_barrier_wait): Likewise.
5232         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5233         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5234         (__pthread_barrier_wait): Likewise.
5235         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5236         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5237         (memcmp_not_common_alignment): Likewise.
5238         (MEMCMP): Likewise.
5239         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5240         (_wordcopy_fwd_dest_aligned): Likewise.
5241         (_wordcopy_bwd_aligned): Likewise.
5242         (_wordcopy_bwd_dest_aligned): Likewise.
5243         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5244         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5245         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5246         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5247         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5248         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5249         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5250         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5251         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5252         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5253         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5254         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5255         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5256         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5257         * sysdeps/unix/stime.c (stime): Likewise.
5258         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5259         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5260         Likewise.  Use internal_function.
5261         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5262         Convert to prototype-style function definition.
5263         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5264         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5266         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5267         Likewise.  Use internal_function.
5268         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5269         prototype-style function definition
5270         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5271         Likewise.
5272         (__getlogin_r): Likewise.
5273         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5275         (__pthread_cond_broadcast): Likewise.
5276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5277         (__pthread_cond_destroy): Likewise.
5278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5279         (__pthread_cond_init): Likewise.
5280         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5281         (__pthread_cond_signal): Likewise.
5282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5283         (__pthread_cond_wait): Likewise.
5284         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5285         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5286         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5287         Likewise.
5288         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5289         Likewise.
5290         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5291         Likewise.
5292         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5293         Likewise.
5294         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5296         (__ftruncate64): Likewise.
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5298         (truncate64): Likewise.
5299         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5300         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5301         (pthread_getcpuclockid): Likewise.
5302         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5303         Likewise.
5304         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5305         Likewise.
5306         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5307         Likewise.
5308         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5309         Likewise.
5310         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5311         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5312         (__libc_sigaction): Likewise.
5313         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5314         Likewise.
5315         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5316         (__sigprocmask): Likewise.
5317         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5318         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5319         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5320         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5321         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5322         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5323         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5326         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5327         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5328         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5329         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5332         (__sigprocmask): Likewise.
5333         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5334         (cfgetispeed): Likewise.
5335         (cfsetospeed): Likewise.
5336         (cfsetispeed): Likewise.
5337         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5338         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5339         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5340         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5341         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5342         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5343         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5344         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5345         Likewise.
5346         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5349         Likewise.
5350         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5351         Likewise.
5352         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5354 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5356         sunrpc: Rewrite with explicit TLS access using __thread.
5357         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5358         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5359         directly.
5360         (__rpc_thread_variables): Access thread_rpc_vars directly.
5361         Eliminate redundant assignment of the tvp variable.
5363 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5365         malloc: Rewrite with explicit TLS access using __thread.
5366         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5367         (tsd_setspecific, tsd_getspecific): Remove.
5368         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5369         (tsd_setspecific, tsd_getspecific): Likewise.
5370         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5371         (tsd_setspecific, tsd_getspecific): Likewise.
5372         * malloc/arena.c (thread_arena): New TLS variable.
5373         (arena_key): Remove variable.
5374         (arena_get): Use thread_arena.
5375         (arena_lookup): Remove macro.
5376         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5377         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5378         (_int_new_arena, get_free_list, reused_arena)
5379         (arena_thread_freeres): Use thread_arena.
5380         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5381         tsd_getspecific, tsd_setspecific from safety annotations.
5382         (Allocating Cleared Space): Remove arena_lookup from safety
5383         annotations.
5385 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5387         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5388         struct scratch_buffer instead of extend_alloca.
5390 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5392         * sysdeps/unix/sysv/linux/kernel-features.h
5393         (__ASSUME_SOCK_CLOEXEC): Remove.
5394         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5395         (__have_paccept): Remove unused macro.
5396         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5397         * misc/syslog.c (openlog_internal): Remove fallback code for
5398         !__ASSUME_SOCK_CLOEXEC.
5399         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5400         missing SOCK_CLOEXEC.
5401         * nscd/connections.c (have_sock_cloexec): Remove definition.
5402         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5403         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5404         !__ASSUME_SOCK_CLOEXEC.
5405         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5406         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5407         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5408         definition.
5409         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5410         code for !__ASSUME_SOCK_CLOEXEC.
5412 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5414         [BZ #18982]
5415         * manual/stdio.texi (Variable Arguments Output): Add portability
5416         note, explaining that vfprintf clobbers the va_list pointer.
5418 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5420         * math/libm-test.inc (fabs_test_data): Add more tests.
5421         (fdim_test_data): Likewise.
5422         (fma_test_data): Likewise.
5423         (fmax_test_data): Likewise.
5424         (fmin_test_data): Likewise.
5425         (fmod_test_data): Likewise.
5427 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5429         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5430         data.
5432 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5434         * math/libm-test.inc (ceil_test_data): Add more tests and more
5435         expectations for "inexact".
5436         (floor_test_data): Add more tests.
5437         (round_test_data): Likewise.
5438         (trunc_test_data): Likewise.
5440         * crypt/cert.c (good_bye): Convert to prototype-style function
5441         definition.
5442         (get8): Likewise.
5443         (put8): Likewise.
5444         * crypt/crypt-entry.c (crypt): Likewise.
5445         (__fcrypt): Likewise.
5446         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5447         (_ufc_set_bits): Likewise.
5448         (_ufc_clearmem): Likewise.
5449         (__init_des_r): Likewise.
5450         (shuffle_sb): Likewise.
5451         (shuffle_sb): Likewise.
5452         (_ufc_setup_salt_r): Likewise.
5453         (_ufc_mk_keytab_r): Likewise.
5454         (_ufc_dofinalperm_r): Likewise.
5455         (encrypt): Likewise.
5456         (__setkey_r): Likewise.
5457         (setkey): Likewise.
5458         * crypt/md5.c (md5_init_ctx): Likewise.
5459         (md5_read_ctx): Likewise.
5460         (md5_finish_ctx): Likewise.
5461         (md5_stream): Likewise.
5462         (md5_buffer): Likewise.
5463         (md5_process_bytes): Likewise.
5464         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5465         (__sha256_finish_ctx): Likewise.
5466         (__sha256_process_bytes): Likewise.
5467         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5468         (__sha512_finish_ctx): Likewise.
5469         (__sha512_process_bytes): Likewise.
5470         * ctype/isctype.c (__isctype): Likewise.
5471         * debug/backtrace.c (__backtrace): Likewise.
5472         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5473         * debug/fgets_chk.c (__fgets_chk): Likewise.
5474         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5475         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5476         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5477         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5478         * debug/memset_chk.c (__memset_chk): Likewise.
5479         * debug/strcat_chk.c (__strcat_chk): Likewise.
5480         * debug/strncat_chk.c (__strncat_chk): Likewise.
5481         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5482         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5483         * dirent/dirfd.c (dirfd): Likewise.
5484         * dirent/getdents.c (__getdirentries): Likewise.
5485         * dirent/getdents64.c (getdirentries64): Likewise.
5486         * dirent/rewinddir.c (__rewinddir): Likewise.
5487         * dirent/seekdir.c (seekdir): Likewise.
5488         * dirent/telldir.c (telldir): Likewise.
5489         * elf/sln.c (makesymlinks): Likewise.
5490         (makesymlink): Likewise.
5491         * gmon/gmon.c (__moncontrol): Likewise.
5492         (__monstartup): Likewise.
5493         (write_hist): Likewise.
5494         (write_call_graph): Likewise.
5495         (write_bb_counts): Likewise.
5496         * grp/setgroups.c (setgroups): Likewise.
5497         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5498         * inet/inet_net.c (inet_network): Likewise.
5499         * inet/inet_netof.c (inet_netof): Likewise.
5500         * inet/rcmd.c (rresvport_af): Likewise.
5501         (rresvport): Likewise.
5502         * io/access.c (__access): Likewise.
5503         * io/chdir.c (__chdir): Likewise.
5504         * io/chmod.c (__chmod): Likewise.
5505         * io/chown.c (__chown): Likewise.
5506         * io/close.c (__close): Likewise.
5507         * io/creat.c (creat): Likewise.
5508         * io/creat64.c (creat64): Likewise.
5509         * io/dup.c (__dup): Likewise.
5510         * io/dup2.c (__dup2): Likewise.
5511         * io/dup3.c (__dup3): Likewise.
5512         * io/euidaccess.c (__euidaccess): Likewise.
5513         * io/faccessat.c (faccessat): Likewise.
5514         * io/fchmod.c (__fchmod): Likewise.
5515         * io/fchmodat.c (fchmodat): Likewise.
5516         * io/fchown.c (__fchown): Likewise.
5517         * io/fchownat.c (fchownat): Likewise.
5518         * io/fcntl.c (__fcntl): Likewise.
5519         * io/flock.c (__flock): Likewise.
5520         * io/fts.c (fts_load): Likewise.
5521         (fts_close): Likewise.
5522         (fts_read): Likewise.
5523         (fts_set): Likewise.
5524         (fts_children): Likewise.
5525         (fts_build): Likewise.
5526         (fts_stat): Likewise.
5527         (fts_sort): Likewise.
5528         (fts_alloc): Likewise.
5529         (fts_lfree): Likewise.
5530         (fts_palloc): Likewise.
5531         (fts_padjust): Likewise.
5532         (fts_maxarglen): Likewise.
5533         (fts_safe_changedir): Likewise.
5534         * io/getwd.c (getwd): Likewise.
5535         * io/isatty.c (__isatty): Likewise.
5536         * io/lchown.c (__lchown): Likewise.
5537         * io/link.c (__link): Likewise.
5538         * io/linkat.c (linkat): Likewise.
5539         * io/lseek.c (__libc_lseek): Likewise.
5540         * io/mkdir.c (__mkdir): Likewise.
5541         * io/mkdirat.c (mkdirat): Likewise.
5542         * io/mkfifo.c (mkfifo): Likewise.
5543         * io/mkfifoat.c (mkfifoat): Likewise.
5544         * io/open.c (__libc_open): Likewise.
5545         * io/open64.c (__libc_open64): Likewise.
5546         * io/readlink.c (__readlink): Likewise.
5547         * io/readlinkat.c (readlinkat): Likewise.
5548         * io/rmdir.c (__rmdir): Likewise.
5549         * io/symlink.c (__symlink): Likewise.
5550         * io/symlinkat.c (symlinkat): Likewise.
5551         * io/ttyname.c (ttyname): Likewise.
5552         * io/ttyname_r.c (__ttyname_r): Likewise.
5553         * io/umask.c (__umask): Likewise.
5554         * io/unlink.c (__unlink): Likewise.
5555         * io/unlinkat.c (unlinkat): Likewise.
5556         * io/utime.c (utime): Likewise.
5557         * libio/clearerr.c (clearerr): Likewise.
5558         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5559         * libio/feof.c (_IO_feof): Likewise.
5560         * libio/feof_u.c (feof_unlocked): Likewise.
5561         * libio/ferror.c (_IO_ferror): Likewise.
5562         * libio/ferror_u.c (ferror_unlocked): Likewise.
5563         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5564         * libio/fileno.c (__fileno): Likewise.
5565         * libio/fputc.c (fputc): Likewise.
5566         * libio/fputc_u.c (fputc_unlocked): Likewise.
5567         * libio/fputwc.c (fputwc): Likewise.
5568         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5569         * libio/freopen.c (freopen): Likewise.
5570         * libio/freopen64.c (freopen64): Likewise.
5571         * libio/fseek.c (fseek): Likewise.
5572         * libio/fseeko.c (fseeko): Likewise.
5573         * libio/fseeko64.c (fseeko64): Likewise.
5574         * libio/ftello.c (__ftello): Likewise.
5575         * libio/ftello64.c (ftello64): Likewise.
5576         * libio/fwide.c (fwide): Likewise.
5577         * libio/genops.c (_IO_un_link): Likewise.
5578         (_IO_link_in): Likewise.
5579         (_IO_least_marker): Likewise.
5580         (_IO_switch_to_main_get_area): Likewise.
5581         (_IO_switch_to_backup_area): Likewise.
5582         (_IO_switch_to_get_mode): Likewise.
5583         (_IO_free_backup_area): Likewise.
5584         (_IO_switch_to_put_mode): Likewise.
5585         (__overflow): Likewise.
5586         (__underflow): Likewise.
5587         (__uflow): Likewise.
5588         (_IO_setb): Likewise.
5589         (_IO_doallocbuf): Likewise.
5590         (_IO_default_underflow): Likewise.
5591         (_IO_default_uflow): Likewise.
5592         (_IO_default_xsputn): Likewise.
5593         (_IO_sgetn): Likewise.
5594         (_IO_default_xsgetn): Likewise.
5595         (_IO_sync): Likewise.
5596         (_IO_default_setbuf): Likewise.
5597         (_IO_default_seekpos): Likewise.
5598         (_IO_default_doallocate): Likewise.
5599         (_IO_init): Likewise.
5600         (_IO_old_init): Likewise.
5601         (_IO_default_sync): Likewise.
5602         (_IO_default_finish): Likewise.
5603         (_IO_default_seekoff): Likewise.
5604         (_IO_sputbackc): Likewise.
5605         (_IO_sungetc): Likewise.
5606         (_IO_set_column): Likewise.
5607         (_IO_set_column): Likewise.
5608         (_IO_adjust_column): Likewise.
5609         (_IO_get_column): Likewise.
5610         (_IO_init_marker): Likewise.
5611         (_IO_remove_marker): Likewise.
5612         (_IO_marker_difference): Likewise.
5613         (_IO_marker_delta): Likewise.
5614         (_IO_seekmark): Likewise.
5615         (_IO_unsave_markers): Likewise.
5616         (_IO_nobackup_pbackfail): Likewise.
5617         (_IO_default_pbackfail): Likewise.
5618         (_IO_default_seek): Likewise.
5619         (_IO_default_stat): Likewise.
5620         (_IO_default_read): Likewise.
5621         (_IO_default_write): Likewise.
5622         (_IO_default_showmanyc): Likewise.
5623         (_IO_default_imbue): Likewise.
5624         (_IO_iter_next): Likewise.
5625         (_IO_iter_file): Likewise.
5626         * libio/getc.c (_IO_getc): Likewise.
5627         * libio/getwc.c (_IO_getwc): Likewise.
5628         * libio/iofclose.c (_IO_new_fclose): Likewise.
5629         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5630         * libio/iofflush.c (_IO_fflush): Likewise.
5631         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5632         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5633         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5634         * libio/iofgets.c (_IO_fgets): Likewise.
5635         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5636         * libio/iofgetws.c (fgetws): Likewise.
5637         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5638         * libio/iofopen64.c (_IO_fopen64): Likewise.
5639         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5640         (_IO_cookie_write): Likewise.
5641         (_IO_cookie_seek): Likewise.
5642         (_IO_cookie_close): Likewise.
5643         (_IO_cookie_seekoff): Likewise.
5644         (_IO_old_cookie_seek): Likewise.
5645         * libio/iofputs.c (_IO_fputs): Likewise.
5646         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5647         * libio/iofputws.c (fputws): Likewise.
5648         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5649         * libio/iofread.c (_IO_fread): Likewise.
5650         * libio/iofread_u.c (__fread_unlocked): Likewise.
5651         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5652         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5653         * libio/ioftell.c (_IO_ftell): Likewise.
5654         * libio/iofwrite.c (_IO_fwrite): Likewise.
5655         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5656         * libio/iogets.c (_IO_gets): Likewise.
5657         * libio/iopadn.c (_IO_padn): Likewise.
5658         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5659         (_IO_new_popen): Likewise.
5660         (_IO_new_proc_close): Likewise.
5661         * libio/ioputs.c (_IO_puts): Likewise.
5662         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5663         (_IO_seekoff): Likewise.
5664         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5665         (_IO_seekpos): Likewise.
5666         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5667         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5668         * libio/ioungetc.c (_IO_ungetc): Likewise.
5669         * libio/ioungetwc.c (ungetwc): Likewise.
5670         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5671         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5672         * libio/iowpadn.c (_IO_wpadn): Likewise.
5673         * libio/libc_fatal.c (__libc_fatal): Likewise.
5674         * libio/memstream.c (__open_memstream): Likewise.
5675         (_IO_mem_sync): Likewise.
5676         (_IO_mem_finish): Likewise.
5677         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5678         (_IO_old_file_close_it): Likewise.
5679         (_IO_old_file_finish): Likewise.
5680         (_IO_old_file_fopen): Likewise.
5681         (_IO_old_file_attach): Likewise.
5682         (_IO_old_file_setbuf): Likewise.
5683         (_IO_old_do_write): Likewise.
5684         (old_do_write): Likewise.
5685         (_IO_old_file_underflow): Likewise.
5686         (_IO_old_file_overflow): Likewise.
5687         (_IO_old_file_sync): Likewise.
5688         (_IO_old_file_seekoff): Likewise.
5689         (_IO_old_file_write): Likewise.
5690         (_IO_old_file_xsputn): Likewise.
5691         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5692         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5693         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5694         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5695         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5696         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5697         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5698         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5699         (_IO_old_popen): Likewise.
5700         (_IO_old_proc_close): Likewise.
5701         * libio/oldpclose.c (__old_pclose): Likewise.
5702         * libio/pclose.c (__new_pclose): Likewise.
5703         * libio/peekc.c (_IO_peekc_locked): Likewise.
5704         * libio/putc.c (_IO_putc): Likewise.
5705         * libio/putc_u.c (putc_unlocked): Likewise.
5706         * libio/putchar.c (putchar): Likewise.
5707         * libio/putchar_u.c (putchar_unlocked): Likewise.
5708         * libio/putwc.c (putwc): Likewise.
5709         * libio/putwc_u.c (putwc_unlocked): Likewise.
5710         * libio/putwchar.c (putwchar): Likewise.
5711         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5712         * libio/rewind.c (rewind): Likewise.
5713         * libio/setbuf.c (setbuf): Likewise.
5714         * libio/setlinebuf.c (setlinebuf): Likewise.
5715         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5716         * libio/vscanf.c (_IO_vscanf): Likewise.
5717         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5718         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5719         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5720         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5721         (_IO_switch_to_main_wget_area): Likewise.
5722         (_IO_switch_to_wbackup_area): Likewise.
5723         (_IO_wsetb): Likewise.
5724         (_IO_wdefault_pbackfail): Likewise.
5725         (_IO_wdefault_finish): Likewise.
5726         (_IO_wdefault_uflow): Likewise.
5727         (__woverflow): Likewise.
5728         (__wuflow): Likewise.
5729         (__wunderflow): Likewise.
5730         (_IO_wdefault_xsputn): Likewise.
5731         (_IO_wdefault_xsgetn): Likewise.
5732         (_IO_wdoallocbuf): Likewise.
5733         (_IO_wdefault_doallocate): Likewise.
5734         (_IO_switch_to_wget_mode): Likewise.
5735         (_IO_free_wbackup_area): Likewise.
5736         (_IO_switch_to_wput_mode): Likewise.
5737         (_IO_sputbackwc): Likewise.
5738         (_IO_sungetwc): Likewise.
5739         (_IO_adjust_wcolumn): Likewise.
5740         (_IO_init_wmarker): Likewise.
5741         (_IO_wmarker_delta): Likewise.
5742         (_IO_seekwmark): Likewise.
5743         (_IO_unsave_wmarkers): Likewise.
5744         * libio/wmemstream.c (open_wmemstream): Likewise.
5745         (_IO_wmem_sync): Likewise.
5746         (_IO_wmem_finish): Likewise.
5747         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5748         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5749         * locale/programs/simple-hash.c (init_hash): Likewise.
5750         (delete_hash): Likewise.
5751         (insert_entry): Likewise.
5752         (set_entry): Likewise.
5753         (next_prime): Likewise.
5754         (is_prime): Likewise.
5755         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5756         (xmalloc): Likewise.
5757         (xrealloc): Likewise.
5758         * locale/programs/xstrdup.c (xstrdup): Likewise.
5759         * localedata/collate-test.c (xstrcoll): Likewise.
5760         * localedata/xfrm-test.c (xstrcmp): Likewise.
5761         * login/getlogin_r.c (__getlogin_r): Likewise.
5762         * login/getpt.c (__posix_openpt): Likewise.
5763         * login/login_tty.c (login_tty): Likewise.
5764         * login/setlogin.c (setlogin): Likewise.
5765         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5766         (mach_msg_destroy_port): Likewise.
5767         (mach_msg_destroy_memory): Likewise.
5768         * malloc/mcheck.c (flood): Likewise.
5769         * misc/acct.c (acct): Likewise.
5770         * misc/brk.c (__brk): Likewise.
5771         * misc/chflags.c (chflags): Likewise.
5772         * misc/chroot.c (chroot): Likewise.
5773         * misc/fchflags.c (fchflags): Likewise.
5774         * misc/fstab.c (getfsspec): Likewise.
5775         (getfsfile): Likewise.
5776         * misc/fsync.c (fsync): Likewise.
5777         * misc/ftruncate.c (__ftruncate): Likewise.
5778         * misc/ftruncate64.c (__ftruncate64): Likewise.
5779         * misc/getdomain.c (getdomainname): Likewise.
5780         (getdomainname): Likewise.
5781         * misc/gethostname.c (__gethostname): Likewise.
5782         * misc/getpass.c (getpass): Likewise.
5783         * misc/getttyent.c (skip): Likewise.
5784         (value): Likewise.
5785         * misc/gtty.c (gtty): Likewise.
5786         * misc/hsearch.c (hsearch): Likewise.
5787         (hcreate): Likewise.
5788         * misc/hsearch_r.c (__hcreate_r): Likewise.
5789         (__hdestroy_r): Likewise.
5790         * misc/ioctl.c (__ioctl): Likewise.
5791         * misc/mkdtemp.c (mkdtemp): Likewise.
5792         * misc/mkostemp.c (mkostemp): Likewise.
5793         * misc/mkostemp64.c (mkostemp64): Likewise.
5794         * misc/mkostemps.c (mkostemps): Likewise.
5795         * misc/mkostemps64.c (mkostemps64): Likewise.
5796         * misc/mkstemp.c (mkstemp): Likewise.
5797         * misc/mkstemp64.c (mkstemp64): Likewise.
5798         * misc/mkstemps.c (mkstemps): Likewise.
5799         * misc/mkstemps64.c (mkstemps64): Likewise.
5800         * misc/mktemp.c (__mktemp): Likewise.
5801         * misc/preadv.c (preadv): Likewise.
5802         * misc/preadv64.c (preadv64): Likewise.
5803         * misc/pwritev.c (pwritev): Likewise.
5804         * misc/pwritev64.c (pwritev64): Likewise.
5805         * misc/readv.c (__readv): Likewise.
5806         * misc/revoke.c (revoke): Likewise.
5807         * misc/setdomain.c (setdomainname): Likewise.
5808         * misc/setegid.c (setegid): Likewise.
5809         * misc/seteuid.c (seteuid): Likewise.
5810         * misc/sethostid.c (sethostid): Likewise.
5811         * misc/sethostname.c (sethostname): Likewise.
5812         * misc/setregid.c (__setregid): Likewise.
5813         * misc/setreuid.c (__setreuid): Likewise.
5814         * misc/sstk.c (sstk): Likewise.
5815         * misc/stty.c (stty): Likewise.
5816         * misc/syscall.c (syscall): Likewise.
5817         * misc/syslog.c (setlogmask): Likewise.
5818         * misc/truncate.c (__truncate): Likewise.
5819         * misc/truncate64.c (truncate64): Likewise.
5820         * misc/ualarm.c (ualarm): Likewise.
5821         * misc/usleep.c (usleep): Likewise.
5822         * misc/ustat.c (ustat): Likewise.
5823         * misc/writev.c (__writev): Likewise.
5824         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5825         * nptl/old_pthread_cond_broadcast.c
5826         (__pthread_cond_broadcast_2_0): Likewise.
5827         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5828         Likewise.
5829         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5830         Likewise.
5831         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5832         Likewise.
5833         * nptl/pt-raise.c (raise): Likewise.
5834         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5835         Likewise.
5836         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5837         * nptl/pthread_barrierattr_destroy.c
5838         (pthread_barrierattr_destroy): Likewise.
5839         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5840         Likewise.
5841         * nptl/pthread_barrierattr_setpshared.c
5842         (pthread_barrierattr_setpshared): Likewise.
5843         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5844         Likewise.
5845         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5846         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5847         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5848         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5849         Likewise.
5850         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5851         Likewise.
5852         * nptl/pthread_condattr_getpshared.c
5853         (pthread_condattr_getpshared): Likewise.
5854         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5855         Likewise.
5856         * nptl/pthread_condattr_setpshared.c
5857         (pthread_condattr_setpshared): Likewise.
5858         * nptl/pthread_detach.c (pthread_detach): Likewise.
5859         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5860         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5861         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5862         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5863         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5864         Likewise.
5865         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5866         Likewise.
5867         * nptl/pthread_mutex_getprioceiling.c
5868         (pthread_mutex_getprioceiling): Likewise.
5869         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5870         Likewise.
5871         * nptl/pthread_mutexattr_getprotocol.c
5872         (pthread_mutexattr_getprotocol): Likewise.
5873         * nptl/pthread_mutexattr_getpshared.c
5874         (pthread_mutexattr_getpshared): Likewise.
5875         * nptl/pthread_mutexattr_getrobust.c
5876         (pthread_mutexattr_getrobust): Likewise.
5877         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5878         Likewise.
5879         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5880         Likewise.
5881         * nptl/pthread_mutexattr_setprioceiling.c
5882         (pthread_mutexattr_setprioceiling): Likewise.
5883         * nptl/pthread_mutexattr_setprotocol.c
5884         (pthread_mutexattr_setprotocol): Likewise.
5885         * nptl/pthread_mutexattr_setpshared.c
5886         (pthread_mutexattr_setpshared): Likewise.
5887         * nptl/pthread_mutexattr_setrobust.c
5888         (pthread_mutexattr_setrobust): Likewise.
5889         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5890         Likewise.
5891         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5892         Likewise.
5893         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5894         Likewise.
5895         * nptl/pthread_rwlockattr_getkind_np.c
5896         (pthread_rwlockattr_getkind_np): Likewise.
5897         * nptl/pthread_rwlockattr_getpshared.c
5898         (pthread_rwlockattr_getpshared): Likewise.
5899         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5900         Likewise.
5901         * nptl/pthread_rwlockattr_setkind_np.c
5902         (pthread_rwlockattr_setkind_np): Likewise.
5903         * nptl/pthread_rwlockattr_setpshared.c
5904         (pthread_rwlockattr_setpshared): Likewise.
5905         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5906         Likewise.
5907         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5908         Likewise.
5909         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5910         Likewise.
5911         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5912         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5913         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5914         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5915         * nptl/sem_close.c (sem_close): Likewise.
5916         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5917         * nptl/sem_init.c (__old_sem_init): Likewise.
5918         * nptl/sigaction.c (__sigaction): Likewise.
5919         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5920         * posix/_exit.c (_exit): Likewise.
5921         * posix/alarm.c (alarm): Likewise.
5922         * posix/confstr.c (confstr): Likewise.
5923         * posix/fpathconf.c (__fpathconf): Likewise.
5924         * posix/getgroups.c (__getgroups): Likewise.
5925         * posix/getpgid.c (__getpgid): Likewise.
5926         * posix/group_member.c (__group_member): Likewise.
5927         * posix/pathconf.c (__pathconf): Likewise.
5928         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5929         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5930         * posix/setgid.c (__setgid): Likewise.
5931         * posix/setpgid.c (__setpgid): Likewise.
5932         * posix/setuid.c (__setuid): Likewise.
5933         * posix/sleep.c (__sleep): Likewise.
5934         * posix/sysconf.c (__sysconf): Likewise.
5935         * posix/times.c (__times): Likewise.
5936         * posix/uname.c (__uname): Likewise.
5937         * posix/waitid.c (__waitid): Likewise.
5938         * pwd/getpw.c (__getpw): Likewise.
5939         * resolv/base64.c (b64_pton): Likewise.
5940         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5941         * resolv/gethnamaddr.c (Dprintf): Likewise.
5942         (gethostbyname): Likewise.
5943         (gethostbyname2): Likewise.
5944         (gethostbyaddr): Likewise.
5945         (_sethtent): Likewise.
5946         (_gethtbyname): Likewise.
5947         (_gethtbyname2): Likewise.
5948         (_gethtbyaddr): Likewise.
5949         (map_v4v6_address): Likewise.
5950         (map_v4v6_hostent): Likewise.
5951         (addrsort): Likewise.
5952         (ht_sethostent): Likewise.
5953         (ht_gethostbyname): Likewise.
5954         (ht_gethostbyaddr): Likewise.
5955         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5956         (inet_net_ntop_ipv4): Likewise.
5957         * resolv/inet_neta.c (inet_neta): Likewise.
5958         * resolv/inet_ntop.c (inet_ntop): Likewise.
5959         (inet_ntop4): Likewise.
5960         (inet_ntop6): Likewise.
5961         * resolv/inet_pton.c (__inet_pton): Likewise.
5962         (inet_pton4): Likewise.
5963         (inet_pton6): Likewise.
5964         * resolv/res_debug.c (loc_aton): Likewise.
5965         (loc_ntoa): Likewise.
5966         * resource/getpriority.c (__getpriority): Likewise.
5967         * resource/getrusage.c (__getrusage): Likewise.
5968         * resource/nice.c (nice): Likewise.
5969         * resource/setpriority.c (__setpriority): Likewise.
5970         * resource/setrlimit64.c (setrlimit64): Likewise.
5971         * resource/vlimit.c (vlimit): Likewise.
5972         * resource/vtimes.c (vtimes): Likewise.
5973         * rt/aio_error.c (aio_error): Likewise.
5974         * rt/aio_return.c (aio_return): Likewise.
5975         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5976         * signal/kill.c (__kill): Likewise.
5977         * signal/killpg.c (killpg): Likewise.
5978         * signal/raise.c (raise): Likewise.
5979         * signal/sigaction.c (__sigaction): Likewise.
5980         * signal/sigaddset.c (sigaddset): Likewise.
5981         * signal/sigaltstack.c (sigaltstack): Likewise.
5982         * signal/sigandset.c (sigandset): Likewise.
5983         * signal/sigblock.c (__sigblock): Likewise.
5984         * signal/sigdelset.c (sigdelset): Likewise.
5985         * signal/sigempty.c (sigemptyset): Likewise.
5986         * signal/sigfillset.c (sigfillset): Likewise.
5987         * signal/sighold.c (sighold): Likewise.
5988         * signal/sigignore.c (sigignore): Likewise.
5989         * signal/sigintr.c (siginterrupt): Likewise.
5990         * signal/sigisempty.c (sigisemptyset): Likewise.
5991         * signal/sigismem.c (sigismember): Likewise.
5992         * signal/signal.c (signal): Likewise.
5993         * signal/sigorset.c (sigorset): Likewise.
5994         * signal/sigpause.c (__sigpause): Likewise.
5995         * signal/sigpending.c (sigpending): Likewise.
5996         * signal/sigprocmask.c (__sigprocmask): Likewise.
5997         * signal/sigrelse.c (sigrelse): Likewise.
5998         * signal/sigreturn.c (__sigreturn): Likewise.
5999         * signal/sigset.c (sigset): Likewise.
6000         * signal/sigsetmask.c (__sigsetmask): Likewise.
6001         * signal/sigstack.c (sigstack): Likewise.
6002         * signal/sigsuspend.c (__sigsuspend): Likewise.
6003         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6004         * signal/sysv_signal.c (__sysv_signal): Likewise.
6005         * socket/accept.c (accept): Likewise.
6006         * socket/accept4.c (__libc_accept4): Likewise.
6007         * socket/bind.c (__bind): Likewise.
6008         * socket/connect.c (__connect): Likewise.
6009         * socket/getpeername.c (getpeername): Likewise.
6010         * socket/getsockname.c (__getsockname): Likewise.
6011         * socket/getsockopt.c (getsockopt): Likewise.
6012         * socket/listen.c (__listen): Likewise.
6013         * socket/recv.c (__recv): Likewise.
6014         * socket/recvmsg.c (__recvmsg): Likewise.
6015         * socket/send.c (__send): Likewise.
6016         * socket/sendmsg.c (__sendmsg): Likewise.
6017         * socket/shutdown.c (shutdown): Likewise.
6018         * socket/sockatmark.c (sockatmark): Likewise.
6019         * socket/socket.c (__socket): Likewise.
6020         * stdio-common/ctermid.c (ctermid): Likewise.
6021         * stdio-common/cuserid.c (cuserid): Likewise.
6022         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6023         * stdio-common/remove.c (remove): Likewise.
6024         * stdio-common/rename.c (rename): Likewise.
6025         * stdio-common/renameat.c (renameat): Likewise.
6026         * stdio-common/tempname.c (__gen_tempname): Likewise.
6027         * stdio-common/xbug.c (InitBuffer): Likewise.
6028         (AppendToBuffer): Likewise.
6029         (ReadFile): Likewise.
6030         * stdlib/a64l.c (a64l): Likewise.
6031         * stdlib/drand48_r.c (drand48_r): Likewise.
6032         * stdlib/getcontext.c (getcontext): Likewise.
6033         * stdlib/getenv.c (getenv): Likewise.
6034         * stdlib/l64a.c (l64a): Likewise.
6035         * stdlib/llabs.c (llabs): Likewise.
6036         * stdlib/lldiv.c (lldiv): Likewise.
6037         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6038         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6039         * stdlib/putenv.c (putenv): Likewise.
6040         * stdlib/random.c (__srandom): Likewise.
6041         (__initstate): Likewise.
6042         (__setstate): Likewise.
6043         * stdlib/random_r.c (__srandom_r): Likewise.
6044         (__setstate_r): Likewise.
6045         (__random_r): Likewise.
6046         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6047         * stdlib/setcontext.c (setcontext): Likewise.
6048         * stdlib/setenv.c (setenv): Likewise.
6049         (unsetenv): Likewise.
6050         * stdlib/srand48.c (srand48): Likewise.
6051         * stdlib/srand48_r.c (__srand48_r): Likewise.
6052         * stdlib/swapcontext.c (swapcontext): Likewise.
6053         * stdlib/system.c (__libc_system): Likewise.
6054         * stdlib/tst-strtod.c (expand): Likewise.
6055         * stdlib/tst-strtol.c (expand): Likewise.
6056         * stdlib/tst-strtoll.c (expand): Likewise.
6057         * streams/fattach.c (fattach): Likewise.
6058         * streams/fdetach.c (fdetach): Likewise.
6059         * streams/getmsg.c (getmsg): Likewise.
6060         * streams/isastream.c (isastream): Likewise.
6061         * string/ffs.c (__ffs): Likewise.
6062         * string/ffsll.c (ffsll): Likewise.
6063         * string/memcmp.c (memcmp_common_alignment): Likewise.
6064         (memcmp_not_common_alignment): Likewise.
6065         (MEMCMP): Likewise.
6066         * string/memcpy.c (memcpy): Likewise.
6067         * string/memmove.c (MEMMOVE): Likewise.
6068         * string/memset.c (memset): Likewise.
6069         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6070         * string/strchrnul.c (STRCHRNUL): Likewise.
6071         * string/strerror.c (strerror): Likewise.
6072         * string/strndup.c (__strndup): Likewise.
6073         * string/strverscmp.c (__strverscmp): Likewise.
6074         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6075         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6076         (clnttcp_freeres): Likewise.
6077         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6078         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6079         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6080         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6081         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6082         (xdr_callhdr): Likewise.
6083         * sunrpc/rpcinfo.c (udpping): Likewise.
6084         (tcpping): Likewise.
6085         (pstatus): Likewise.
6086         (pmapdump): Likewise.
6087         (brdcst): Likewise.
6088         (deletereg): Likewise.
6089         (getprognum): Likewise.
6090         (getvers): Likewise.
6091         (get_inet_address): Likewise.
6092         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6093         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6094         (svcudp_stat): Likewise.
6095         (svcudp_recv): Likewise.
6096         (svcudp_reply): Likewise.
6097         (svcudp_getargs): Likewise.
6098         (svcudp_freeargs): Likewise.
6099         (svcudp_destroy): Likewise.
6100         * sunrpc/xdr.c (xdr_bytes): Likewise.
6101         (xdr_netobj): Likewise.
6102         (xdr_string): Likewise.
6103         (xdr_wrapstring): Likewise.
6104         * sunrpc/xdr_float.c (xdr_float): Likewise.
6105         (xdr_double): Likewise.
6106         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6107         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6108         * sysvipc/ftok.c (ftok): Likewise.
6109         * sysvipc/msgctl.c (msgctl): Likewise.
6110         * sysvipc/msgget.c (msgget): Likewise.
6111         * sysvipc/msgrcv.c (msgrcv): Likewise.
6112         * sysvipc/msgsnd.c (msgsnd): Likewise.
6113         * sysvipc/semget.c (semget): Likewise.
6114         * sysvipc/semop.c (semop): Likewise.
6115         * sysvipc/shmat.c (shmat): Likewise.
6116         * sysvipc/shmctl.c (shmctl): Likewise.
6117         * sysvipc/shmdt.c (shmdt): Likewise.
6118         * sysvipc/shmget.c (shmget): Likewise.
6119         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6120         * termios/speed.c (cfgetospeed): Likewise.
6121         (cfgetispeed): Likewise.
6122         (cfsetospeed): Likewise.
6123         (cfsetispeed): Likewise.
6124         * termios/tcflow.c (tcflow): Likewise.
6125         * termios/tcflush.c (tcflush): Likewise.
6126         * termios/tcgetattr.c (__tcgetattr): Likewise.
6127         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6128         * termios/tcgetsid.c (tcgetsid): Likewise.
6129         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6130         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6131         * time/adjtime.c (__adjtime): Likewise.
6132         * time/dysize.c (dysize): Likewise.
6133         * time/ftime.c (ftime): Likewise.
6134         * time/getitimer.c (__getitimer): Likewise.
6135         * time/gettimeofday.c (__gettimeofday): Likewise.
6136         * time/gmtime.c (__gmtime_r): Likewise.
6137         (gmtime): Likewise.
6138         * time/localtime.c (__localtime_r): Likewise.
6139         (localtime): Likewise.
6140         * time/offtime.c (__offtime): Likewise.
6141         * time/settimeofday.c (__settimeofday): Likewise.
6142         * time/stime.c (stime): Likewise.
6143         * time/strftime_l.c (tm_diff): Likewise.
6144         (iso_week_days): Likewise.
6145         * time/strptime.c (strptime): Likewise.
6146         * time/time.c (time): Likewise.
6147         * time/timespec_get.c (timespec_get): Likewise.
6148         * time/tzset.c (tzset_internal): Likewise.
6149         (compute_change): Likewise.
6150         (__tz_compute): Likewise.
6151         * wcsmbs/btowc.c (__btowc): Likewise.
6152         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6153         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6154         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6155         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6156         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6157         * wcsmbs/wcscat.c (__wcscat): Likewise.
6158         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6159         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6160         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6161         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6162         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6163         * wcsmbs/wcslen.c (__wcslen): Likewise.
6164         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6165         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6166         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6167         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6168         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6169         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6170         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6171         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6172         * wcsmbs/wcstok.c (wcstok): Likewise.
6173         * wcsmbs/wctob.c (wctob): Likewise.
6174         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6175         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6176         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6177         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6178         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6179         * wcsmbs/wmemset.c (__wmemset): Likewise.
6180         * wctype/wcfuncs.c (__towlower): Likewise.
6181         (__towupper): Likewise.
6183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6184         (lll_unlock_elision): Add adapt_count parameter.
6186 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6188         * sysdeps/nptl/configure.ac: Do not give errors based on the
6189         results of top-level configure tests.
6190         * sysdeps/nptl/configure: Regenerated.
6192         * configure.ac (libc_cv_Bgroup): Remove configure test.
6193         * configure: Regenerated.
6194         * config.make.in (have-Bgroup): Remove variable.
6196         * configure.ac (sizeof_long_double): Remove configure test.
6197         * configure: Regenerated.
6198         * config.make.in (sizeof-long-double): Remove variable.
6200         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6201         * configure: Regenerated.
6202         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6203         variable.
6204         (exceptions): Likewise.
6205         * sysdeps/arm/configure: Regenerated.
6206         * config.make.in (exceptions): Remove variable.
6207         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6208         $(exceptions).
6209         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6210         (CFLAGS-vdprintf_chk.c): Likewise.
6211         (CFLAGS-printf_chk.c): Likewise.
6212         (CFLAGS-fprintf_chk.c): Likewise.
6213         (CFLAGS-vprintf_chk.c): Likewise.
6214         (CFLAGS-vfprintf_chk.c): Likewise.
6215         (CFLAGS-gets_chk.c): Likewise.
6216         (CFLAGS-fgets_chk.c): Likewise.
6217         (CFLAGS-fgets_u_chk.c): Likewise.
6218         (CFLAGS-fread_chk.c): Likewise.
6219         (CFLAGS-fread_u_chk.c): Likewise.
6220         (CFLAGS-wprintf_chk.c): Likewise.
6221         (CFLAGS-fwprintf_chk.c): Likewise.
6222         (CFLAGS-vwprintf_chk.c): Likewise.
6223         (CFLAGS-vfwprintf_chk.c): Likewise.
6224         (CFLAGS-fgetws_chk.c): Likewise.
6225         (CFLAGS-fgetws_u_chk.c): Likewise.
6226         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6227         (CFLAGS-fputc.c): Likewise.
6228         (CFLAGS-fputwc.c): Likewise.
6229         (CFLAGS-freopen64.c): Likewise.
6230         (CFLAGS-freopen.c): Likewise.
6231         (CFLAGS-fseek.c): Likewise.
6232         (CFLAGS-fseeko64.c): Likewise.
6233         (CFLAGS-fseeko.c): Likewise.
6234         (CFLAGS-ftello64.c): Likewise.
6235         (CFLAGS-ftello.c): Likewise.
6236         (CFLAGS-fwide.c): Likewise.
6237         (CFLAGS-genops.c): Likewise.
6238         (CFLAGS-getc.c): Likewise.
6239         (CFLAGS-getchar.c): Likewise.
6240         (CFLAGS-getwc.c): Likewise.
6241         (CFLAGS-getwchar.c): Likewise.
6242         (CFLAGS-iofclose.c): Likewise.
6243         (CFLAGS-iofflush.c): Likewise.
6244         (CFLAGS-iofgetpos64.c): Likewise.
6245         (CFLAGS-iofgetpos.c): Likewise.
6246         (CFLAGS-iofgets.c): Likewise.
6247         (CFLAGS-iofgetws.c): Likewise.
6248         (CFLAGS-iofputs.c): Likewise.
6249         (CFLAGS-iofputws.c): Likewise.
6250         (CFLAGS-iofread.c): Likewise.
6251         (CFLAGS-iofsetpos64.c): Likewise.
6252         (CFLAGS-iofsetpos.c): Likewise.
6253         (CFLAGS-ioftell.c): Likewise.
6254         (CFLAGS-iofwrite.c): Likewise.
6255         (CFLAGS-iogetdelim.c): Likewise.
6256         (CFLAGS-iogetline.c): Likewise.
6257         (CFLAGS-iogets.c): Likewise.
6258         (CFLAGS-iogetwline.c): Likewise.
6259         (CFLAGS-ioputs.c): Likewise.
6260         (CFLAGS-ioseekoff.c): Likewise.
6261         (CFLAGS-ioseekpos.c): Likewise.
6262         (CFLAGS-iosetbuffer.c): Likewise.
6263         (CFLAGS-iosetvbuf.c): Likewise.
6264         (CFLAGS-ioungetc.c): Likewise.
6265         (CFLAGS-ioungetwc.c): Likewise.
6266         (CFLAGS-oldfileops.c): Likewise.
6267         (CFLAGS-oldiofclose.c): Likewise.
6268         (CFLAGS-oldiofgetpos64.c): Likewise.
6269         (CFLAGS-oldiofgetpos.c): Likewise.
6270         (CFLAGS-oldiofsetpos64.c): Likewise.
6271         (CFLAGS-oldiofsetpos.c): Likewise.
6272         (CFLAGS-peekc.c): Likewise.
6273         (CFLAGS-putc.c): Likewise.
6274         (CFLAGS-putchar.c): Likewise.
6275         (CFLAGS-putwc.c): Likewise.
6276         (CFLAGS-putwchar.c): Likewise.
6277         (CFLAGS-rewind.c): Likewise.
6278         (CFLAGS-wfileops.c): Likewise.
6279         (CFLAGS-wgenops.c): Likewise.
6280         (CFLAGS-oldiofopen.c): Likewise.
6281         (CFLAGS-iofopen.c): Likewise.
6282         (CFLAGS-iofopen64.c): Likewise.
6283         (CFLAGS-oldtmpfile.c): Likewise.
6284         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6285         (CFLAGS-fprintf.c): Likewise.
6286         (CFLAGS-printf.c): Likewise.
6287         (CFLAGS-vfwprintf.c): Likewise.
6288         (CFLAGS-vfscanf.c): Likewise.
6289         (CFLAGS-vfwscanf.c): Likewise.
6290         (CFLAGS-fscanf.c): Likewise.
6291         (CFLAGS-scanf.c): Likewise.
6292         (CFLAGS-isoc99_vfscanf.c): Likewise.
6293         (CFLAGS-isoc99_vscanf.c): Likewise.
6294         (CFLAGS-isoc99_fscanf.c): Likewise.
6295         (CFLAGS-isoc99_scanf.c): Likewise.
6296         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6297         (CFLAGS-isoc99_fwscanf.c): Likewise.
6298         (CFLAGS-isoc99_vwscanf.c): Likewise.
6299         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6301         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6302         after mkstemp64.
6303         * login/tst-utmp.c (do_prepare): Likewise.
6304         * rt/tst-aio.c (do_prepare): Likewise.
6305         * rt/tst-aio64.c (do_prepare): Likewise.
6307 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6309         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6310         (__lll_lock_elision): Remove adapt_count decrement...
6311         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6312         (__lll_trylock_elision): Likewise.
6313         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6314         (__lll_unlock_elision): ... to here. And utilize
6315         new adapt_count parameter.
6316         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6317         (__lll_unlock_elision): Update to include adapt_count
6318         parameter.
6319         (lll_unlock_elision): Pass pointer to adapt_count
6320         variable.
6322 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6324         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6325         Add elision adapt_count parameter to list of arguments.
6326         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6327         (lll_unlock_elision): Update with new parameter list
6328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6329         (lll_unlock_elision): Likewise.
6330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6331         (lll_unlock_elision): Likewise.
6333 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6335         [BZ #19122]
6336         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6337         attribute_hidden.
6339         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6340         attribute_hidden.
6341         [IS_IN (rtld)] (__strdup): Likewise.
6342         [IS_IN (rtld)] (__strerror_r): Likewise.
6343         [IS_IN (rtld)] (__strsep_g): Likewise.
6344         [IS_IN (rtld)] (memchr): Likewise.
6345         [IS_IN (rtld)] (memcmp): Likewise.
6346         [IS_IN (rtld)] (memcpy): Likewise.
6347         [IS_IN (rtld)] (memmove): Likewise.
6348         [IS_IN (rtld)] (memset): Likewise.
6349         [IS_IN (rtld)] (rawmemchr): Likewise.
6350         [IS_IN (rtld)] (stpcpy): Likewise.
6351         [IS_IN (rtld)] (strchr): Likewise.
6352         [IS_IN (rtld)] (strcmp): Likewise.
6353         [IS_IN (rtld)] (strlen): Likewise.
6354         [IS_IN (rtld)] (strnlen): Likewise.
6355         [IS_IN (rtld)] (strsep): Likewise.
6357         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6358         attribute_hidden.
6359         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6361         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6362         attribute_hidden.
6363         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6365         * include/setjmp.h (__longjmp): Add attribute_hidden.
6366         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6368         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6369         Add attribute_hidden.
6371         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6372         [IS_IN (rtld)] (__open): Likewise.
6373         [IS_IN (rtld)] (__fcntl): Likewise.
6375         * include/dirent.h (__opendirat): Add attribute_hidden.
6376         (__getdents): Likewise.
6377         (__getdents64): Likewise.
6378         (__alloc_dir): Likewise.
6379         [IS_IN (rtld)] (__closedir): Likewise.
6380         [IS_IN (rtld)] (__fdopendir): Likewise.
6381         [IS_IN (rtld)] (__readdir): Likewise.
6382         [IS_IN (rtld)] (__readdir64): Likewise.
6383         [IS_IN (rtld)] (__rewinddir): Likewise.
6385         * include/dlfcn.h (_dl_catch_error): Moved to ...
6386         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6387         attribute_hidden.
6389         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6390         (_itoa_word): Likewise.
6392         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6393         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6394         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6395         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6396         (_dl_higher_prime_number): Likewise.
6397         (_dl_debug_printf_c): Likewise.
6398         (_dl_signal_cerror): Likewise.
6399         (_dl_receive_error): Likewise.
6400         (_dl_reloc_bad_type): Likewise.
6401         (_dl_resolve_conflicts): Likewise.
6402         (_dl_check_all_versions): Likewise.
6403         (_dl_check_map_versions): Likewise.
6404         (_dl_sort_fini): Likewise.
6405         (_dl_debug_initialize): Likewise.
6406         (_dl_init_paths): Likewise.
6407         (_dl_show_auxv): Likewise.
6408         (_dl_next_ld_env_entry): Likewise.
6409         (_dl_important_hwcaps): Likewise.
6410         (_dl_load_cache_lookup): Likewise.
6411         (_dl_update_slotinfo): Likewise.
6412         (_dl_show_scope): Likewise.
6414         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6415         attribute_hidden.
6416         (_wordcopy_fwd_dest_aligned): Likewise.
6417         (_wordcopy_bwd_aligned): Likewise.
6418         (_wordcopy_bwd_dest_aligned): Likewise.
6420         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6421         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6422         Likewise.
6423         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6424         Likewise.
6425         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6427 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6430         GCC 5 requirement.
6432 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6434         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6435         test.
6436         * sysdeps/i386/configure: Regenerated.
6437         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6438         code unconditional.
6440         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6441         test.
6442         (libc_cv_asm_popsection_directive): Likewise.
6443         * configure: Regenerated.
6444         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6445         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6446         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6447         (__make_section_unallocated): Make definition unconditional.
6448         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6449         Remove conditional definition.
6450         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6451         (__make_section_unallocated): Likewise.
6453         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6454         * configure: Regenerated.
6455         * config.make.in (static-libgcc): Remove variable.
6456         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6457         $(static-libgcc).
6458         (build-module-helper): Likewise.
6460         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6461         * configure: Regenerated.
6463 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6465         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6466         (struct char_buffer): New type.
6467         (char_buffer_start, char_buffer_size, char_buffer_error)
6468         (char_buffer_rewind, char_buffer_add): New functions.
6469         (ADDW): Remove macro, replaced by the char_buffer_add function.
6470         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6471         of extend_alloca.  Make control flow more explicit.
6473 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6475         [BZ #19137]
6476         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6477         Add -fomit-frame-pointer.
6478         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6480 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6482         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6483         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6485         only if !__GNUC_PREREQ (5,0).
6486         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6487         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6488         (INTERNAL_SYSCALL_NCS): Likewise.
6489         (LOADREGS_0): New macro for GCC 5.
6490         (ASMARGS_0): Likewise.
6491         (LOADREGS_1): Likewise.
6492         (ASMARGS_1): Likewise.
6493         (LOADREGS_2): Likewise.
6494         (ASMARGS_2): Likewise.
6495         (LOADREGS_3): Likewise.
6496         (ASMARGS_3): Likewise.
6497         (LOADREGS_4): Likewise.
6498         (ASMARGS_4): Likewise.
6499         (LOADREGS_5): Likewise.
6500         (ASMARGS_5): Likewise.
6501         (LOADREGS_6): Likewise.
6502         (ASMARGS_6): Likewise.
6504 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6506         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6507         -fomit-frame-pointer.
6508         (CFLAGS-mmap64.c): Likewise.
6509         (CFLAGS-semtimedop.c): Likewise.
6510         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6511         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6512         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6513         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6515 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6517         [BZ #18928]
6518         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6519         _dl_pointer_guard member.
6520         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6521         initializer.
6522         (security_init): Always set up pointer guard.
6523         (process_envvars): Do not process LD_POINTER_GUARD.
6525 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6527         [BZ #19134]
6528         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6529         (.LC2): Likewise.
6530         (.LC3): Likewise.
6531         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6533 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6535         [BZ #19129]
6536         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6537         r0 and r1.
6539 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6541         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6543 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6545         * include/stap-probe.h: Fix macro definition formatting.
6547 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6549         [BZ #19074]
6550         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6551         load and store num_ifs.
6553 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6555         [BZ #18822]
6556         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6557         (__sched_getaffinity_new): Add libc_hidden_proto and
6558         libc_hidden_def.
6560 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6562         [BZ #19007]
6563         * scripts/localplt.awk: Also allow GOT references.
6564         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6565         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6566         with "+ REL R_386_GLOB_DAT".
6567         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6568         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6570 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6572         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6573         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6574         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6577         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6578         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6579         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6580         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6581         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6582         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6583         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6587 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6589         [BZ #19125]
6590         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6591         <math_private.h> and <stdint.h>.
6592         (__llround): Avoid conversions to and from long long int, and
6593         subtractions, where those might raise spurious exceptions.
6594         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6595         <math_private.h> and <stdint.h>.
6596         (__llroundf): Avoid conversions to and from long long int, and
6597         subtractions, where those might raise spurious exceptions.
6599 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6601         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6602         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6603         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6604         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6605         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6606         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6607         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6608         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6609         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6610         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6612         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6613         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6614         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6615         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6616         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6617         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6618         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6619         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6620         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6621         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6622         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6623         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6624         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6625         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6626         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6627         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6628         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6629         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6630         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6631         (__xstat64_conv): Likewise.
6632         (__xstat32_conv): Likewise.
6634 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6636         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6637         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6638         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6639         <sysdeps/unix/sysv/linux/sysdep.h>.
6640         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6641         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6642         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6643         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6644         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6645         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6646         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6647         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6648         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6654         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6656         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6657         (sysdep-dl-routines): Add sysdep.
6658         [$(subdir) == nptl] (libpthread-routines): Likewise.
6659         [$(subdir) == rt] (librt-routines): Likewise.
6660         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6661         PIC when branching to SYSCALL_ERROR_LABEL.
6662         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6663         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6664         <sysdeps/unix/sysv/linux/sysdep.h>.
6665         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6666         (SYSCALL_ERROR_ERRNO): Removed.
6667         (SYSCALL_ERROR_HANDLER): Changed to empty.
6668         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6669         (__syscall_error): New prototype.
6670         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6671         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6673 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6675         [BZ #19124]
6676         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6677         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6678         _dl_runtime_resolve_avx.
6679         (_dl_runtime_profile_avx512): Make it a hidden alias of
6680         _dl_runtime_profile_avx.
6682 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6684         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6685         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6686         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6687         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6689         [BZ #16422]
6690         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6691         New configure test.
6692         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6693         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6694         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6695         <math_private.h> and <stdint.h>.
6696         (__llrint): Avoid conversions to long long int where those might
6697         raise spurious exceptions.
6698         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6699         <math_private.h> and <stdint.h>.
6700         (__llrintf): Avoid conversions to long long int where those might
6701         raise spurious exceptions.
6703 2015-10-12  Andreas Schwab  <schwab@suse.de>
6705         [BZ #18969]
6706         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6707         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6708         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6709         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6710         $(gen-locales).
6711         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6712         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6713         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6714         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6715         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6716         $(gen-locales).
6717         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6718         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6719         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6720         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6721         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6722         ($(objpfx)tst-ftell-active-handler.out)
6723         ($(objpfx)tst-ftell-append.out)
6724         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6725         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6726         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6727         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6728         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6729         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6730         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6731         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6732         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6733         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6734         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6735         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6736         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6737         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6738         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6739         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6740         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6741         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6742         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6743         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6744         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6745         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6746         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6747         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6748         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6749         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6750         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6751         $(gen-locales).
6752         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6753         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6754         $(gen-locales).
6755         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6756         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6757         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6758         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6759         $(gen-locales).
6760         * libio/tst_wprintf2.c (main): Use explicit locale.
6761         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6763 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6765         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6766         __msg_sig_post.
6767         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6769 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6771         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6772         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6774         * sysdeps/arm/libm-test-ulps: Regenerated.
6776         [BZ #15470]
6777         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6779         [BZ #16399]
6780         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6781         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6782         and <fix-fp-int-convert-overflow.h>.
6783         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6784         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6785         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6786         and <fix-fp-int-convert-overflow.h>.
6787         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6788         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6789         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6790         <fix-fp-int-convert-overflow.h>.
6791         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6792         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6793         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6794         <fix-fp-int-convert-overflow.h>.
6795         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6796         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6797         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6798         and <fix-fp-int-convert-overflow.h>.
6799         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6800         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6801         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6802         <limits.h> and <fix-fp-int-convert-overflow.h>.
6803         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6804         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6805         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6806         and <fix-fp-int-convert-overflow.h>.
6807         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6808         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6809         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6810         and <fix-fp-int-convert-overflow.h>.
6811         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6812         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6813         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6815 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6817         [BZ #18589]
6818         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6819         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6820         $(gen-locales).
6822 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6823             Phil Blundell <pb@pbcl.net>
6825         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6826         * nptl/tst-cancel26.c: New file.
6827         * nptl/tst-cancel27.c: Likewise.
6829 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6831         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6832         __ILP32__ isn't defined.
6833         (lrint): Likewise.
6834         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6835         (lrintf): Likewise.
6836         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6837         (lrintl): Likewise.
6838         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6839         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6840         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6842 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6847         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6848         file.
6849         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6850         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6852 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6854         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6855         configure test.
6856         * sysdeps/i386/configure: Regenerated.
6857         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6858         configure test.
6859         * sysdeps/x86_64/configure: Regenerated.
6860         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6861         Make code unconditional.
6863         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6864         test.
6865         * sysdeps/i386/configure: Regenerated.
6866         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6867         test.
6868         * sysdeps/x86_64/configure: Regenerated.
6869         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6870         Make code unconditional.
6871         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6872         Likewise.
6873         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6874         Likewise.
6875         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6876         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6877         code unconditional.
6878         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6879         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6880         code unconditional.
6881         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6882         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6883         code unconditional.
6884         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6885         code unconditional.
6886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6887         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6888         code unconditional.
6889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6890         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6891         code unconditional.
6892         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6893         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6894         code unconditional.
6895         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6896         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6897         code unconditional.
6898         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6899         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6901         [BZ #19095]
6902         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6903         mantissa to long int before shifting left.
6905 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6907         [BZ #19094]
6908         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6909         <limits.h>.
6910         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6911         when result overflows but exception would not result from cast.
6912         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6913         <limits.h>.
6914         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6915         when result overflows but exception would not result from cast.
6916         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6917         <limits.h>.
6918         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6919         when result overflows but exception would not result from cast.
6920         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6921         <limits.h>.
6922         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6923         when result overflows but exception would not result from cast.
6924         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6925         <limits.h>.
6926         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6927         when result overflows but exception would not result from cast.
6928         * math/libm-test.inc (lrint_test_data): Add more tests.
6929         (llrint_test_data): Likewise.
6931 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6933         [BZ #18872]
6934         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6935         Move out from under [$(run-built-tests) = yes] conditional.
6936         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6937         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6939 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6941         [BZ #18589]
6942         * string/Makefile (tests): Add bug-strcoll2.
6943         (LOCALES): Add cs_CZ.UTF-8.
6944         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6946         [BZ #18589]
6947         * string/bug-strcoll2.c: New file.
6948         * locale/categories.def: Revert commit
6949         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6950         * locale/langinfo.h: Likewise.
6951         * locale/localeinfo.h: Likewise.
6952         * locale/C-collate.c: Likewise.
6953         * locale/programs/ld-collate.c (collate_output): Likewise.
6954         * string/strcoll_l.c (STRDIFF): Likewise.
6955         (STRCOLL): Likewise.
6956         * wcsmbs/wcscoll_l.c: Likewise.
6958 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6960         * math/libm-test.inc (lround_test_data): Do not expect the absence
6961         of "inexact" for some tests with non-integer arguments.
6962         (llround_test_data): Likewise.
6964         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6965         test.
6966         (libc_cv_cc_sse2avx): Likewise.
6967         * sysdeps/i386/configure: Regenerated.
6968         * sysdeps/i386/i686/multiarch/Makefile
6969         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6970         [$(subdir) = math].
6971         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6972         code unconditional.
6973         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6974         Likewise.
6975         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6976         Likewise.
6977         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6978         Likewise.
6979         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6980         test.
6981         (libc_cv_cc_sse2avx): Likewise.
6982         * sysdeps/x86_64/configure: Regenerated.
6983         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6984         unconditional.
6985         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6986         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6987         unconditional.
6988         (_dl_runtime_profile)
6989         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6990         conditional code.
6991         * sysdeps/x86_64/fpu/multiarch/Makefile
6992         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6993         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6994         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6995         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6996         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6997         * sysdeps/x86_64/fpu/multiarch/e_log.c
6998         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6999         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7000         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7001         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7002         Likewise.
7003         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7004         Likewise.
7005         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7006         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7007         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7008         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7009         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7010         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7011         (HAVE_SSE2AVX_SUPPORT): Likewise.
7013 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7015         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7016         instead of #pragma optimize.
7018 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7020         [BZ #17195]
7021         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7022         as is similarly done in systrim and _int_free already.
7024 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7026         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7028 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7030         [BZ #19088]
7031         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7032         <limits.h>.
7033         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7034         overflows but exception would not result from cast.
7035         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7036         and <limits.h>.
7037         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7038         overflows but exception would not result from cast.
7039         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7040         <limits.h>.
7041         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7042         overflows but exception would not result from cast.
7043         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7044         <limits.h>.
7045         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7046         overflows but exception would not result from cast.
7047         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7048         <limits.h>.
7049         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7050         overflows but exception would not result from cast.
7051         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7052         <limits.h>.
7053         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7054         overflows but exception would not result from cast.
7055         * math/libm-test.inc (lround_test_data): Add more tests.
7056         (llround_test_data): Likewise.
7058 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7060         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7061         (CFLAGS-ialloc.c): Ditto.
7062         (CFLAGS-scheck.c): Ditto.
7064 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7066         [BZ #19086]
7067         * manual/filesys.texi (Storage Allocation): Fix argument order for
7068         posix_fallocate64.
7070 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7072         [BZ #19085]
7073         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7074         exponent below 48 inside case for non-overflowing exponent.
7075         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7077 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7079         * iconvdata/cp737.h (from_idx): Add const.
7080         * iconvdata/cp775.h (from_idx): Likewise.
7082 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7084         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7085         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7086         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7088         [BZ #19079]
7089         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7090         file, conditioned on [!_LP64].
7091         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7092         [!_LP64] (__lround): Do not define as function or alias.
7093         [!_LP64] (lround): Likewise.
7094         [!_LP64] (__lroundl): Likewise.
7095         [!_LP64] (lroundl): Likewise.
7096         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7097         macro.
7098         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7099         Likewise.
7101 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7103         * math/libm-test.inc (lrint_test_data): Add more tests.
7104         (llrint_test_data): Likewise.
7105         (lround_test_data): Likewise.
7106         (llround_test_data): Likewise.
7108         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7109         (llrint_test_data): Add tests used for lrint.
7111         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7112         test.
7113         * sysdeps/i386/configure: Regenerated.
7114         * sysdeps/i386/i686/multiarch/Makefile
7115         [$(config-cflags-sse4) = yes]: Make code unconditional.
7116         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7117         Likewise.
7118         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7119         Likewise.
7120         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7121         test.
7122         * sysdeps/x86_64/configure: Regenerated.
7123         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7124         Make code unconditional.
7125         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7126         Likewise.
7127         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7128         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7130         * scripts/rpm2dynsym.sh: Remove file.
7132 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7134         * configure.ac (libc_cv_cxx_thread_local): Define.
7135         * configure: Regenerate.
7136         * config.make.in (have-cxx-thread_local): Define.
7137         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7138         (LDLIBS-tst-thread_local1): Define.
7139         (tests): Add tst-thread_local1.
7140         [have-cxx-thread_local != yes] (tests-unsupported): Add
7141         tst-thread_local1.
7142         * nptl/tst-thread_local1.cc: New file.
7144 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7146         [BZ #19078]
7147         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7148         (u_thres): Likewise.
7149         (__expl): Determine whether to call __kernel_standard_l based on
7150         value of result, not argument.
7152         * math/libm-test.inc (scalb_test_data): Add more expectations for
7153         the "inexact" exception.
7155         [BZ #19077]
7156         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7157         0.0L for argument 1.0L.
7159         [BZ #19076]
7160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7161         constant 0.0L when computing infinite result.
7163 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7165         [BZ #10432]
7166         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7167         malloc_usable_size.
7169 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7171         [BZ #19018]
7172         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7173         Mangle function pointer before storing it.
7174         (__call_tls_dtors): Demangle function pointer before calling it.
7176 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7178         [BZ #19012]
7179         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7180         Clean up on failure.
7182 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7184         [BZ #19071]
7185         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7186         long int variable to store possibly incremented high part of
7187         mantissa.
7188         * math/libm-test.inc (lround_test_data): Add tests used for
7189         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7190         for tests requiring 64-bit long.  Do not condition tests on
7191         [TEST_FLOAT] unnecessarily.
7192         (llround_test_data): Add tests used for lround.  Add another
7193         expectation for the "inexact" exception.  Do not condition tests
7194         on [TEST_FLOAT] unnecessarily.
7196         [BZ #887]
7197         [BZ #19049]
7198         [BZ #19050]
7199         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7200         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7201         <fix-int-fp-convert-zero.h>.
7202         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7203         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7204         <fix-int-fp-convert-zero.h>.
7205         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7206         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7207         <fix-int-fp-convert-zero.h>.
7208         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7209         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7210         <fix-int-fp-convert-zero.h>.
7211         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7212         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7213         <fix-int-fp-convert-zero.h>.
7214         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7215         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7216         <fix-int-fp-convert-zero.h>.
7217         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7218         * sysdeps/ieee754/flt-32/s_erff.c: Include
7219         <fix-int-fp-convert-zero.h>.
7220         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7221         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7222         <fix-int-fp-convert-zero.h>.
7223         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7225         <fix-int-fp-convert-zero.h>.
7226         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7227         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7228         <fix-int-fp-convert-zero.h>.
7229         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7230         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7231         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7232         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7233         file.
7234         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7236 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7238         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7240 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7242         [BZ #19059]
7243         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7244         overflowing computation.
7245         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7246         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7247         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7248         Likewise.
7249         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7250         Likewise.
7251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7252         Likewise.
7253         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7254         Likewise.
7255         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7256         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7257         Likewise.
7258         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7259         Likewise.
7260         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7262         * nss/rewrite_field.c (__nss_rewrite_field): Use
7263         internal_function.
7264         * nss/valid_field.c (__nss_valid_field): Likewise.
7265         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7267 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7269         [BZ #18724]
7270         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7271         (__nss_invalid_field_characters, __nss_valid_field)
7272         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7273         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7274         tst-field.c: New file.
7275         * nss/Makefile (routines): Add valid_field, rewrite_field.
7276         (tests-static): Define unconditionally.
7277         (tests): Include tests-static.
7278         [build-static-nss] (tests-static): Use append.
7279         [build-static-nss] (tests): Remove modification.
7280         * nss/getent.c (print_group): Call putgrent.  Report error.
7281         (print_gshadow): Call putsgent.  Report error.
7282         (print_passwd): Call putpwent.  Report error.
7283         (print_shadow): Call putspent.  Report error.
7284         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7285         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7286         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7287         name, password, directory, shell fields for valid syntax.  Rewrite
7288         GECOS field to match syntax.
7289         * pwd/Makefile (tests): Add tst-putpwent.
7290         * pwd/tst-putpwent.c: New file.
7291         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7292         Check grName, grpasswd, gr_mem fields for valid syntax.
7293         Change loop variable i to size_t.
7294         * grp/Makefile (tests): Add tst-putgrent.
7295         * grp/tst-putgrent.c: New file.
7296         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7297         valid syntax.
7298         * shadow/Makefile (tests): Add tst-putspent.
7299         * shadow/tst-putspent.c: New file.
7300         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7301         sg_mem fields for valid syntax.
7302         * gshadow/Makefile (tests): Add tst-putsgent.
7303         * gshadow/tst-putsgent.c: New file.
7305 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7307         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7308         assembly instructions.
7310 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7312         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7313         prefix from operands.
7315 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7317         [BZ #16347]
7318         [BZ #19046]
7319         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7320         <libc-internal.h>.
7321         (MAXLGM): Do not use diagnostic control macros.
7322         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7323         threshold for ldbl-128ibm.
7324         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7325         instead of multiplying by log then subtracting.
7326         * math/auto-libm-test-in: Add more tests of lgamma.
7327         * math/auto-libm-test-out: Regenerated.
7329         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7330         (TYPE_HEX_DIG): Likewise.
7331         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7332         precisions when printing floating-point numbers.
7333         (check_float_internal): Likewise.
7335 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7337         [BZ #16620]
7338         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7339         of log (10) rounded downward to 48 bits.
7340         (log10_low): Use corresponding low part of log (10).
7342         [BZ #19032]
7343         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7344         compute result as (x - x) / (x - x) not as 0 / 0.
7345         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7346         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7348         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7349         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7350         and expm1.
7351         * math/auto-libm-test-out: Regenerated.
7352         * math/libm-test.inc (acos_test_data): Add more tests.
7353         (asin_test_data): Likewise.
7354         (asinh_test_data): Likewise.
7355         (atan_test_data): Likewise.
7356         (atanh_test_data): Likewise.
7357         (atan2_test_data): Likewise.
7358         (cbrt_test_data): Likewise.
7359         (ceil_test_data): Likewise.
7360         (copysign_test_data): Likewise.
7361         (cos_test_data): Likewise.
7362         (cosh_test_data): Likewise.
7363         (erf_test_data): Likewise.
7364         (erfc_test_data): Likewise.
7365         (exp_test_data): Likewise.
7366         (exp10_test_data): Likewise.
7367         (exp2_test_data): Likewise.
7368         (expm1_test_data): Likewise.
7369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7371 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7373         [BZ #19006]
7374         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7375         to ...
7376         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7377         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7378         to ...
7379         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7380         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7381         to ...
7382         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7383         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7384         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7385         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7386         to ...
7387         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7388         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7389         Moved to ...
7390         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7391         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7392         Moved to ...
7393         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7395         to ...
7396         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7398         Moved to ...
7399         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7401         to ...
7402         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7403         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7404         Removed.
7405         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7406         Likewise.
7407         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7408         Likewise.
7409         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7410         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7411         Likewise.
7412         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7413         Likewise.
7414         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7415         Likewise.
7416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7417         Likewise.
7418         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7419         Likewise.
7420         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7421         Likewise.
7422         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7423         Likewise.
7424         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7425         Likewise.
7426         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7427         Likewise.
7428         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7429         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7430         Likewise.
7431         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7432         Likewise.
7433         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7434         Likewise.
7435         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7436         Likewise.
7437         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7440         Replace ../i486/pthread_cond_timedwait.S with
7441         ../pthread_cond_timedwait.S.
7443 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7445         * math/libm-test.inc (acos_test_data): Refine expectations for
7446         errno and "inexact" exceptions.
7447         (acosh_test_data): Likewise.
7448         (asin_test_data): Likewise.
7449         (asinh_test_data): Likewise.
7450         (atan_test_data): Likewise.
7451         (atanh_test_data): Likewise.
7452         (atan2_test_data): Likewise.
7453         (cbrt_test_data): Likewise.
7454         (ceil_test_data): Likewise.
7455         (copysign_test_data): Likewise.
7456         (cosh_test_data): Likewise.
7457         (erf_test_data): Likewise.
7458         (erfc_test_data): Likewise.
7459         (exp_test_data): Likewise.
7460         (exp10_test_data): Likewise.
7461         (exp2_test_data): Likewise.
7462         (expm1_test_data): Likewise.
7463         (fabs_test_data): Likewise.
7464         (floor_test_data): Likewise.
7465         (fma_test_data): Likewise.
7466         (fmax_test_data): Likewise.
7467         (fmin_test_data): Likewise.
7468         (fmod_test_data): Likewise.
7469         (fpclassify_test_data): Likewise.
7470         (frexp_test_data): Likewise.
7471         (hypot_test_data): Likewise.
7472         (ilogb_test_data): Likewise.
7473         (isgreater_test_data): Likewise.
7474         (isgreaterequal_test_data): Likewise.
7475         (isinf_test_data): Likewise.
7476         (isless_test_data): Likewise.
7477         (islessequal_test_data): Likewise.
7478         (islessgreater_test_data): Likewise.
7479         (isnan_test_data): Likewise.
7480         (isnormal_test_data): Likewise.
7481         (issignaling_test_data): Likewise.
7482         (isunordered_test_data): Likewise.
7483         (j0_test_data): Likewise.
7484         (j1_test_data): Likewise.
7485         (jn_test_data): Likewise.
7486         (lgamma_test_data): Likewise.
7487         (lrint_test_data): Likewise.
7488         (llrint_test_data): Likewise.
7489         (log_test_data): Likewise.
7490         (log10_test_data): Likewise.
7491         (log1p_test_data): Likewise.
7492         (log2_test_data): Likewise.
7493         (logb_test_data): Likewise.
7494         (lround_test_data): Likewise.
7495         (llround_test_data): Likewise.
7496         (modf_test_data): Likewise.
7497         (nearbyint_test_data): Likewise.
7498         (nextafter_test_data): Likewise.
7499         (nexttoward_test_data): Likewise.
7500         (pow_test_data): Likewise.
7501         (remainder_test_data): Likewise.
7502         (remquo_test_data): Likewise.
7503         (rint_test_data): Likewise.
7504         (round_test_data): Likewise.
7505         (signbit_test_data): Likewise.
7506         (sinh_test_data): Likewise.
7507         (sqrt_test_data): Likewise.
7508         (tanh_test_data): Likewise.
7509         (tgamma_test_data): Likewise.
7510         (trunc_test_data): Likewise.
7511         (y0_test_data): Likewise.
7512         (y1_test_data): Likewise.
7513         (yn_test_data): Likewise.
7514         (significand_test_data): Likewise.
7516 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7518         * manual/filesys.texi (Storage Allocation): Document that
7519         posix_fallocate emulation fails when fd is open with O_WRONLY.
7521 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7523         [BZ #19016]
7524         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7525         allow more cases with X^2 + Y^2 >= 0.5.
7526         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7527         normal element in sum instead of special-casing based on values of
7528         arguments.
7529         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7530         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7531         -1 as normal element in sum instead of special-casing based on
7532         values of arguments.
7533         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7534         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7535         (__x2y2m1): Update comment.
7536         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7537         as normal element in sum instead of special-casing based on values
7538         of arguments.
7539         * math/s_clog.c (__clog): Handle more cases using log1p without
7540         hypot.
7541         * math/s_clog10.c (__clog10): Likewise.
7542         * math/s_clog10f.c (__clog10f): Likewise.
7543         * math/s_clog10l.c (__clog10l): Likewise.
7544         * math/s_clogf.c (__clogf): Likewise.
7545         * math/s_clogl.c (__clogl): Likewise.
7546         * math/auto-libm-test-in: Add more tests of clog and clog10.
7547         * math/auto-libm-test-out: Regenerated.
7548         * sysdeps/i386/fpu/libm-test-ulps: Update.
7549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551 2015-09-28  Martin Sebor  <msebor@redhat.com>
7553         [BZ #18969]
7554         * string/Makefile (LOCALES): Define.
7555         (gen-locales.mk): Include.
7556         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7557         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7558         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7559         on setlocale failure.
7561 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7563         [BZ #18985]
7564         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7565         (__strftime_internal): Likewise.
7566         * time/tst-strftime.c (do_bz18985): New test.
7567         (do_test): Call it.
7569 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7571         [BZ #18956]
7572         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7573         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7574         extracting high part.
7575         * math/auto-libm-test-in: Add another test of pow.
7576         * math/auto-libm-test-out: Regenerated.
7577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7579 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #18825]
7582         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7583         New macro.
7584         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7585         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7586         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7587         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7588         DBL_NARROW_EVAL, reloading the PIC register as needed.
7589         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7590         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7591         FLT_NARROW_EVAL.  Use separate return path for case when first
7592         argument is NaN.
7593         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7594         DEFINE_LDBL_MIN.
7595         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7596         PIC register.
7597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7598         math_check_force_underflow_nonneg.
7599         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7600         underflow for subnormal result.
7601         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7602         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7603         math_check_force_underflow_nonneg.
7604         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7605         math_check_force_underflow.
7606         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7607         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7608         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7609         DEFINE_LDBL_MIN.
7610         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7611         * math/auto-libm-test-in: Add more tests of pow.
7612         * math/auto-libm-test-out: Regenerated.
7614 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7616         * nss/bug17079.c (init_test_items): Add diagnostic for
7617         inconsistent entries.
7618         (test_buffer_size): Skip inconsistent entries.
7620 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #13304]
7623         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7624         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7625         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7627         [BZ #13304]
7628         * sysdeps/microblaze/s_fma.c: New file.
7629         * sysdeps/microblaze/s_fmaf.c: Likewise.
7630         * sysdeps/microblaze/sfp-machine.h: Likewise.
7632 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7634         [BZ #17250]
7635         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7636         member.
7638 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7640         [BZ #18803]
7641         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7642         (MO): New macro.
7643         (__ieee754_hypot) [PIC]: Load PIC register.
7644         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7645         DBL_NARROW_EVAL.
7646         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7647         math_check_force_underflow_nonneg in case where result might be
7648         tiny.
7649         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7650         Likewise.
7651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7652         Likewise.
7653         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7654         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7655         * math/auto-libm-test-in: Add more tests of hypot.
7656         * math/auto-libm-test-out: Regenerated.
7658 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7660         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7662 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7664         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7665         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7666         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7667         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7668         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7669         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7670         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7672         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7673         LOAD_PIC_REG.
7675         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7676         (FLT_CHECK_FORCE_UFLOW): Likewise.
7677         (DBL_CHECK_FORCE_UFLOW): Likewise.
7678         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7679         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7680         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7681         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7682         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7683         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7684         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7685         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7686         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7687         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7688         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7689         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7690         (flt_min): Replace with use of DEFINE_FLT_MIN.
7691         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7692         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7693         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7694         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7695         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7696         (flt_min): Replace with use of DEFINE_FLT_MIN.
7697         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7698         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7699         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7700         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7701         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7702         (flt_min): Replace with use of DEFINE_FLT_MIN.
7703         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7704         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7705         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7706         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7707         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7708         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7709         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7710         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7711         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7712         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7713         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7714         (flt_min): Replace with use of DEFINE_FLT_MIN.
7715         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7716         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7717         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7718         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7719         main computation.
7720         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7721         (flt_min): Replace with use of DEFINE_FLT_MIN.
7722         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7723         main computation.
7724         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7725         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7726         (MO): New macro.
7727         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7728         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7729         (flt_min): Replace with use of DEFINE_FLT_MIN.
7730         (MO): New macro.
7731         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7732         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7733         (__log1pl): Use MO.
7735         [BZ #19003]
7736         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7737         $(config-cflags-nofma).
7739 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7741         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7743 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7745         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7746         (TWO127): Likewise.
7748         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7749         (min_of_type): Likewise.
7750         (math_check_force_underflow): Likewise.
7751         (math_check_force_underflow_nonneg): Likewise.
7752         (math_check_force_underflow_complex): Likewise.
7753         * math/e_exp2l.c (__ieee754_exp2l): Use
7754         math_check_force_underflow_nonneg.
7755         * math/k_casinh.c (__kernel_casinh): Likewise.
7756         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7757         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7758         * math/s_catan.c (__catan): Use
7759         math_check_force_underflow_complex.
7760         * math/s_catanf.c (__catanf): Likewise.
7761         * math/s_catanh.c (__catanh): Likewise.
7762         * math/s_catanhf.c (__catanhf): Likewise.
7763         * math/s_catanhl.c (__catanhl): Likewise.
7764         * math/s_catanl.c (__catanl): Likewise.
7765         * math/s_ccosh.c (__ccosh): Likewise.
7766         * math/s_ccoshf.c (__ccoshf): Likewise.
7767         * math/s_ccoshl.c (__ccoshl): Likewise.
7768         * math/s_cexp.c (__cexp): Likewise.
7769         * math/s_cexpf.c (__cexpf): Likewise.
7770         * math/s_cexpl.c (__cexpl): Likewise.
7771         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7772         * math/s_clog10.c (__clog10): Likewise.
7773         * math/s_clog10f.c (__clog10f): Likewise.
7774         * math/s_clog10l.c (__clog10l): Likewise.
7775         * math/s_clogf.c (__clogf): Likewise.
7776         * math/s_clogl.c (__clogl): Likewise.
7777         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7778         * math/s_csinf.c (__csinf): Likewise.
7779         * math/s_csinh.c (__csinh): Likewise.
7780         * math/s_csinhf.c (__csinhf): Likewise.
7781         * math/s_csinhl.c (__csinhl): Likewise.
7782         * math/s_csinl.c (__csinl): Likewise.
7783         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7784         * math/s_csqrtf.c (__csqrtf): Likewise.
7785         * math/s_csqrtl.c (__csqrtl): Likewise.
7786         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7787         * math/s_ctanf.c (__ctanf): Likewise.
7788         * math/s_ctanh.c (__ctanh): Likewise.
7789         * math/s_ctanhf.c (__ctanhf): Likewise.
7790         * math/s_ctanhl.c (__ctanhl): Likewise.
7791         * math/s_ctanl.c (__ctanl): Likewise.
7792         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7793         instead of volatile.
7794         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7795         math_check_force_underflow.
7796         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7797         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7798         volatile when forcing underflow.
7799         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7800         math_check_force_underflow_nonneg.
7801         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7802         Likewise.
7803         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7804         math_check_force_underflow.
7805         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7806         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7807         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7808         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7809         math_check_force_underflow_nonneg.
7810         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7811         math_check_force_underflow.
7812         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7814         instead of volatile.
7815         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7816         math_check_force_underflow.
7817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7818         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7819         math_check_force_underflow_nonneg.
7820         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7821         math_check_force_underflow.
7822         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7823         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7824         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7825         math_check_force_underflow_nonneg.
7826         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7827         Likewise.
7828         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7829         math_check_force_underflow.
7830         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7831         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7832         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7833         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7834         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7835         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7836         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7837         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7838         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7839         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7840         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7841         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7842         Likewise.
7843         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7844         math_check_force_underflow_nonneg.
7845         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7846         Likewise.
7847         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7848         math_check_force_underflow.
7849         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7850         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7851         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7852         Likewise.
7853         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7854         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7855         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7856         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7857         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7858         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7860         instead of volatile.
7861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7862         math_check_force_underflow.
7863         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7864         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7865         math_check_force_underflow.
7866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7867         Likewise.
7868         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7869         Use math_check_force_underflow_nonneg.
7870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7871         math_check_force_underflow.
7872         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7873         Likewise.
7874         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7875         Likewise.
7876         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7877         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7878         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7879         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7882         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7883         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7884         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7885         math_check_force_underflow_nonneg.
7886         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7887         math_check_force_underflow.
7888         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7889         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7890         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7891         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7892         math_check_force_underflow_nonneg.
7893         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7894         math_check_force_underflow.
7895         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7897         instead of volatile.
7898         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7899         math_check_force_underflow.
7901         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7902         * stdlib/strtod_l.c: Include <math_private.h>.
7903         (overflow_value): Use math_narrow_eval.
7904         (underflow_value): Likewise.
7905         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7906         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7907         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7908         (__ieee754_gamma_r): Likewise.
7909         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7910         Likewise.
7911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7912         Likewise.
7913         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7914         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7915         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7916         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7917         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7918         (__ieee754_gammaf_r): Likewise.
7919         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7920         Likewise.
7921         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7922         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7923         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7924         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7925         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7926         volatile.
7927         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7928         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7929         math_narrow_eval.
7930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7931         Likewise.
7932         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7933         Likewise.
7934         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7935         Likewise.
7936         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7937         volatile.
7938         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7939         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7940         math_narrow_eval.
7941         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7942         Likewise.
7943         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7944         Likewise.
7946 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7948         * nptl/Versions: Remove ignored symbols.
7950 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7952         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7953         * nss/Makefile (tests): Update.
7955 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7957         * nss/bug18287.c: New file.
7958         * nss/Makefile (tests): Add bug18287.
7960 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7962         * mach/Versions (__mach_host_self_): Add symbol.
7964 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7966         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7967         vm_page_size.
7969 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7971         Really fix sysdeps/i386/fpu/s_scalbn.S build
7973         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7974         (libc: GLIBC_2_22): Remove unused version set.
7976 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7978         * config.make.in (enable-timezone-tools): New variable.
7979         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7980         (enable_timezone_tools): Export to generated files.
7981         * configure: Regenerate.
7982         * INSTALL: Regenerate.
7983         * manual/install.texi (--disable-timezone-tools): Document new flag.
7984         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7985         ifeq ($(enable-timezone-tools),yes) check.
7987 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7989         * timezone/Makefile: Revert previous change.
7991         [BZ #18980]
7992         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7993         (DEFINE_DBL_MIN): Likewise.
7994         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7995         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7996         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7997         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7998         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7999         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8000         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8001         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8002         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8003         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8004         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8005         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8006         (flt_min): Replace with use of DEFINE_FLT_MIN.
8007         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8008         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8009         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8010         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8011         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8012         (flt_min): Replace with use of DEFINE_FLT_MIN.
8013         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8014         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8015         (flt_min): Replace with use of DEFINE_FLT_MIN.
8016         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8017         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8018         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8019         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8020         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8021         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8022         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8023         (__ieee754_pow): Use DBL_NARROW_EVAL.
8024         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8025         (__ieee754_powf): Use FLT_NARROW_EVAL.
8026         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8027         (__ieee754_expf_sse2): Convert double-precision result to single
8028         precision.
8029         * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8033         * timezone/Makefile: Ignore unused variable errors due to private.h
8034         (time_t_min) and (time_t_max).
8035         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8036         Likewise.
8038 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8040         [BZ #18981]
8041         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8042         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8043         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8044         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8045         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8046         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8047         (__scalbn): Use DBL_NARROW_EVAL.
8048         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8049         (__scalbnf): Use FLT_NARROW_EVAL.
8051 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8053         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8054         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8055         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8056         * stdio-common/printf_fp.c (___printf_fp):
8057         Use signbit to get the sign. Use isinf macro to allow inlining.
8058         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8059         * stdio-common/printf_size.c (__printf_size): Likewise.
8061 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8063         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8065 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8067         [BZ #18980]
8068         * sysdeps/generic/math_private.h: Include <float.h>.
8069         (math_narrow_eval): New macro.
8070         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8071         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8072         math_narrow_eval on overflowing return value.
8073         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8074         Likewise.
8075         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8076         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8077         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8078         Likewise.
8079         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8081 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8083         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8084         * math/Makefile: Remove isinf_ns.c.
8085         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8086         * math/multc3.c (__multc3): Likewise.
8087         * math/s_casin.c (__casin): Likewise.
8088         * math/s_casinf.c (__casinf): Likewise.
8089         * math/s_casinl.c (__casinl): Likewise.
8090         * math/s_cproj.c (__cproj): Likewise.
8091         * math/s_cprojf.c (__cprojf): Likewise.
8092         * math/s_cprojl.c (__cprofl): Likewise.
8093         * math/s_ctan.c (__ctan): Likewise.
8094         * math/s_ctanf.c (__ctanf): Likewise.
8095         * math/s_ctanh.c (__ctanh): Likewise.
8096         * math/s_ctanhf.c (__ctanhf): Likewise.
8097         * math/s_ctanhl.c (__ctanhl): Likewise.
8098         * math/s_ctanl.c (__ctanl): Likewise.
8099         * math/w_fmod.c (__fmod): Likewise.
8100         * math/w_fmodf.c (__fmodf): Likewise.
8101         * math/w_fmodl.c (_fmodl): Likewise.
8102         * math/w_remainder.c (__remainder): Likewise.
8103         * math/w_remainderf.c (__remainderf): Likewise.
8104         * math/w_remainderl.c (__remainderl): Likewise.
8105         * math/w_scalb.c (__scalb): Likewise.
8106         * math/w_scalbf.c (__scalbf): Likewise.
8107         * math/w_scalbl.c (__scalbl): Likewise.
8108         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8109         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8110         with isinf.
8111         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8113         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8114         __isinf_nsf with isinf.
8115         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8117         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8118         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8119         with isinf.
8120         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8121         __isinf_nsl with isinf.
8122         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8123         with isinf.
8124         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8126         __isinf_nsl with isinf.
8127         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8128         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8129         with isinf.
8131 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8133         * resolv/base64.c (rcsid): Remove unused static.
8134         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8135         static.  (tqpi1): Likewise.
8136         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8137         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8138         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8139         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8141         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8142         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8143         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8144         Likewise.
8146 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8148         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8149         <nptl/pthreadP.h>.
8150         (_longjmp_unwind): Use __libc_ptf_call.
8151         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8153 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8155         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8156         * sysdeps/arm/__longjmp.S: Likewise.
8158 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8160         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8161         Use __builtin_signbit.
8162         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8163         Use __builtin_signbitf.
8164         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8165         Use __builtin_signbitl.
8166         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8167         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8169 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8171         [BZ #15367]
8172         [BZ #17441]
8174         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8175         * math/math.h (fpclassify): Use __builtin_fpclassify when
8176         available.  (signbit): Use __builtin_signbit(f/l).
8177         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8178         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8179         (isinf): Use __builtin_isinf_sign.
8181 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8183         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8184         * benchtests/bench-math-inlines.c: New benchmark.
8185         * benchtests/bench-util.h: New file.
8186         * benchtests/bench-util.c: New file.
8187         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8189 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8191         * elf/tst-dlmopen1.c: Define TEST_SO.
8192         (do_test): Use TEST_SO.
8194         * elf/dl-load.c: Include libc-internal.h.
8195         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8197 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8199         [BZ #17887]
8200         * time/strptime_l.c (__strptime_internal): Make %z accept
8201         [+-]HH:MM time zones.
8203 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8205         [BZ #17886]
8206         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8207         valid time zone.
8209 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8211         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8212         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8214         (__ASSUME_FDATASYNC): Delete.
8216 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8218         * conform/linknamespace.pl: Require weak undefined symbols to be
8219         in the standard namespace.
8220         (%strong_syms): Rename to %seen_syms.
8221         (%strong_seen): Rename to %seen_where.
8223 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8225         [BZ #18970]
8226         * misc/error.c (error): Replace pthread_setcancelstate with
8227         __pthread_setcancelstate.
8228         (error_at_line): Likewise.
8229         * posix/wordexp.c (parse_comm): Likewise.
8230         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8231         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8232         (__pthread_setcancelstate): This.
8233         (pthread_setcancelstate): Add an alias.
8234         * nptl/nptl-init.c (pthread_functions): Replace
8235         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8236         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8237         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8238         hidden_proto.
8239         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8240         it with hidden_def.
8241         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8242         (pthread_setcancelstate): Renamed to ...
8243         (__pthread_setcancelstate): This.
8244         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8245         __libc_ptf_call with __pthread_setcancelstate.
8247 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8248             Andreas Schwab  <schwab@suse.de>
8250         [BZ #17118]
8251         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8252         result when imaginary part of argument is infinite using sine and
8253         cosine.
8254         * math/s_ctanf.c (__ctanf): Likewise.
8255         * math/s_ctanl.c (__ctanl): Likewise.
8256         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8257         of result when real part of argument is infinite using sine and
8258         cosine.
8259         * math/s_ctanhf.c (__ctanhf): Likewise.
8260         * math/s_ctanhl.c (__ctanhl): Likewise.
8261         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8262         (ctanh_test_data): Add more tests of ctanh.
8264 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8266         [BZ #15384]
8267         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8268         bit-mask as in subtraction.
8269         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8270         Likewise.
8271         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8272         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8275         [BZ #18951]
8276         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8277         underflow exception for small results.
8278         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8279         Likewise.
8280         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8281         Likewise.
8282         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8283         Likewise.
8284         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8285         Likewise.
8286         * math/auto-libm-test-in: Add more tests of tgamma.
8287         * math/auto-libm-test-out: Regenerated.
8289 2015-09-17  Andreas Schwab  <schwab@suse.de>
8291         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8293 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8295         [BZ #18977]
8296         * math/bits/mathcalls.h
8297         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8298         not declare.
8299         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8300         Likewise.
8301         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8302         Likewise.
8303         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8304         Likewise.
8305         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8306         Likewise.
8307         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8308         Likewise.
8309         * conform/data/math.h-data
8310         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8311         function.
8312         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8314         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8316         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8320         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8322         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8324         [BZ #6803]
8325         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8326         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8327         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8328         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8329         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8330         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8331         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8332         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8333         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8335         Likewise.
8336         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8337         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8338         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8340         long_double_symbol calls.
8341         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8342         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8343         strong alias of __ldexpl.
8344         (scalbnl): Define using long_double_symbol.
8345         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8346         Remove alias.
8347         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8348         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8349         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8350         (scalbln_test_data): Add more errno expectations.
8352 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8354         Cache the host port like we cache the task port.  This way we do not
8355         need to call the kernel just to get the port.  Furthermore, we no
8356         longer increase the reference count on every invocation of
8357         `mach_host_self'.
8359         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8360         Protect declarations against the macro expansion.
8361         * mach/mach_init.c (__mach_host_self_): New variable.
8362         (mach_init): Initialize `__mach_host_self_'.
8363         * mach/mach_init.h (__mach_host_self_): New declaration.
8364         (__mach_host_self, mach_host_self): New macros.
8365         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8366         Release reference.
8368 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8370         [BZ #4404]
8371         * po/de.po: Update from Translation Project.
8373         [BZ #16415]
8374         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8375         (__expm1l): Remove code to handle positive infinity and overflow.
8376         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8377         variable.
8378         (__expm1l): Remove code to handle positive infinity and overflow.
8380 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8381             Paul Pluzhnikov  <ppluzhnikov@google.com>
8383         [BZ #18872]
8384         * stdio-common/Makefile (tst-printf-bz18872): New test.
8385         (tst-printf-bz18872-mem.out): Likewise.
8386         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8387         * stdio-common/vfprintf.c: Fix memory leaks.
8389 2015-09-16  Andreas Schwab  <schwab@suse.de>
8391         [BZ #17244]
8392         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8393         Remove extra va_start/va_end calls.
8395         [BZ #17243]
8396         * posix/execl.c (execl): Add missing va_end.
8397         * posix/execle.c (execle): Likewise.
8398         * posix/execlp.c (execlp): Likewise.
8400 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8402         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8403         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8405 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8407         [BZ #18967]
8408         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8409         undefine around includes of <bits/mathcalls.h>.
8410         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8411         not declare function.
8412         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8413         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8414         (scalb): Likewise.
8415         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8416         not define macro.
8417         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8418         variable.
8419         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8420         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8421         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8423         [BZ #18857]
8424         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8425         return non-finite argument without doing ordered comparisons on
8426         it.
8428         [BZ #16296]
8429         * math/fenv.h (fegetround): Use __attribute_pure__.
8430         * include/fenv.h (__fegetround): Likewise.
8432         [BZ #18595]
8433         * math/s_ctan.c (__ctan): Force underflow exception for results
8434         whose real or imaginary part has small absolute value.
8435         * math/s_ctanf.c (__ctanf): Likewise.
8436         * math/s_ctanh.c (__ctanh): Likewise.
8437         * math/s_ctanhf.c (__ctanhf): Likewise.
8438         * math/s_ctanhl.c (__ctanhl): Likewise.
8439         * math/s_ctanl.c (__ctanl): Likewise.
8440         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8441         and ctanh.  Add more tests of ctan and ctanh.
8443         [BZ #15918]
8444         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8445         handling of cases where one argument is an infinity.
8447         [BZ #18875]
8448         [BZ #18966]
8449         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8450         (MO): New macro.
8451         (__ieee754_exp10): For small results, force underflow exception
8452         and remove excess range and precision from return value.
8453         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8454         (MO): New macro.
8455         (__ieee754_exp10f): For small results, force underflow exception
8456         and remove excess range and precision from return value.
8457         * math/auto-libm-test-in: Add more tests of exp10.
8458         * math/auto-libm-test-out: Regenerated.
8460 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8462         [BZ #18875]
8463         [BZ #18961]
8464         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8465         (MO): New macro.
8466         (__ieee754_exp): For small results, force underflow exception and
8467         remove excess range and precision from return value.
8468         (__exp_finite): Likewise.
8469         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8470         (MO): New macro.
8471         (__ieee754_expf): For small results, force underflow exception and
8472         remove excess range and precision from return value.
8473         (__expf_finite): Likewise.
8474         * math/auto-libm-test-in: Add more tests of exp.
8475         * math/auto-libm-test-out: Regenerated.
8477         [BZ #16521]
8478         [BZ #18875]
8479         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8480         small results.
8481         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8482         (MO): New macro.
8483         (__ieee754_exp2): For small results, force underflow exception and
8484         remove excess range and precision from return value.
8485         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8486         (MO): New macro.
8487         (__ieee754_exp2f): For small results, force underflow exception
8488         and remove excess range and precision from return value.
8489         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8490         (MO): New macro.
8491         (__ieee754_exp2l): Force underflow exception for small results.
8492         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8493         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8494         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8495         (MO): New macro.
8496         (__ieee754_exp2l): Force underflow exception for small results.
8497         * math/auto-libm-test-in: Add more tests or exp2.
8498         * math/auto-libm-test-out: Regenerated.
8500 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8502         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8504         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8505         /dev/null.
8507 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8509         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8510         io fs process)): Drop spurious backslash.
8512 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8514         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8515         Use sysinfo system call instead of parsing /proc/meminfo.
8516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8517         Likewise.
8519 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8521         [BZ #16985]
8522         * programs/localedef.c (main): Display argv[remaining] when
8523         output_path is NULL.
8525 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8527         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8528         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8529         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8530         tanh.
8531         * math/auto-libm-test-out: Regenerated.
8532         * sysdeps/i386/fpu/libm-test-ulps: Update.
8533         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8534         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8537 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8539         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8540         Use 'override' keyword to freeze the value here, preventing
8541         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8543 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8545         [BZ #14912]
8546         * sysdeps/aarch64/bits/atomic.h: Move to ...
8547         * sysdeps/aarch64/atomic-machine.h: ...here.
8548         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8549         _AARCH64_ATOMIC_MACHINE_H.
8550         * sysdeps/alpha/bits/atomic.h: Move to ...
8551         * sysdeps/alpha/atomic-machine.h: ...here.
8552         * sysdeps/arm/bits/atomic.h: Move to ...
8553         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8554         * bits/atomic.h: Move to ...
8555         * sysdeps/generic/atomic-machine.h: ...here.
8556         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8557         * sysdeps/i386/bits/atomic.h: Move to ...
8558         * sysdeps/i386/atomic-machine.h: ...here.
8559         * sysdeps/ia64/bits/atomic.h: Move to ...
8560         * sysdeps/ia64/atomic-machine.h: ...here.
8561         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8562         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8563         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8564         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8565         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8566         * sysdeps/microblaze/bits/atomic.h: Move to ...
8567         * sysdeps/microblaze/atomic-machine.h: ...here.
8568         * sysdeps/mips/bits/atomic.h: Move to ...
8569         * sysdeps/mips/atomic-machine.h: ...here.
8570         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8571         * sysdeps/powerpc/bits/atomic.h: Move to ...
8572         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8573         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8574         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8575         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8576         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8577         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8578         <atomic-machine.h> instead of <bits/atomic.h>.
8579         * sysdeps/s390/bits/atomic.h: Move to ...
8580         * sysdeps/s390/atomic-machine.h: ...here.
8581         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8582         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8583         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8584         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8585         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8586         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8587         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8588         * sysdeps/tile/bits/atomic.h: Move to ...
8589         * sysdeps/tile/atomic-machine.h: ...here.
8590         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8591         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8592         <sysdeps/tile/atomic-machine.h> instead of
8593         <sysdeps/tile/bits/atomic.h>.
8594         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8595         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8596         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8597         <sysdeps/tile/atomic-machine.h> instead of
8598         <sysdeps/tile/bits/atomic.h>.
8599         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8600         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8601         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8602         <sysdeps/arm/atomic-machine.h> instead of
8603         <sysdeps/arm/bits/atomic.h>.
8604         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8605         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8606         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8607         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8608         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8609         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8610         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8611         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8612         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8613         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8614         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8615         * sysdeps/x86_64/bits/atomic.h: Move to ...
8616         * sysdeps/x86_64/atomic-machine.h: ...here.
8617         * include/atomic.h: Include <atomic-machine.h> instead of
8618         <bits/atomic.h>.
8620         * sysdeps/mips/mips32/libm-test-ulps: Update.
8621         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8623         [BZ #18952]
8624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8625         not convert non-integer negative arguments to int to determine the
8626         value of signgam.
8627         * math/auto-libm-test-in: Add more tests of lgamma.
8628         * math/auto-libm-test-out: Regenerated.
8630         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8631         cosh, csqrt, erfc, expm1 and lgamma.
8632         * math/auto-libm-test-out: Regenerated.
8633         * sysdeps/i386/fpu/libm-test-ulps: Update.
8634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8636 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #2542]
8639         [BZ #2543]
8640         [BZ #2558]
8641         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8642         __lgamma_neg for arguments from -28.0 to -2.0.
8643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8644         __lgamma_negf for arguments from -15.0 to -2.0.
8645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8646         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8647         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8648         Call __lgamma_negl for arguments from -33.0 to -2.0.
8649         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8650         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8651         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8652         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8654         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8655         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8656         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8657         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8659         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8660         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8661         (__lgamma_neg): Likewise.
8662         (__lgamma_negl): Likewise.
8663         (__lgamma_product): Likewise.
8664         (__lgamma_productl): Likewise.
8665         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8666         * math/auto-libm-test-in: Add more tests of lgamma.
8667         * math/auto-libm-test-out: Regenerated.
8668         * sysdeps/i386/fpu/libm-test-ulps: Update.
8669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8671 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8673         [BZ #18675]
8674         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8676 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8678         [BZ #14912]
8679         * bits/libc-lock.h: Move to ...
8680         * sysdeps/generic/libc-lock.h: ...here.
8681         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8682         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8683         * sysdeps/mach/hurd/libc-lock.h: ...here.
8684         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8685         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8686         * sysdeps/mach/bits/libc-lock.h: Move to ...
8687         * sysdeps/mach/libc-lock.h: ...here.
8688         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8689         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8690         * sysdeps/nptl/libc-lock.h: ...here.
8691         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8692         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8693         * sysdeps/nptl/libc-lockP.h: ...here.
8694         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8695         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8696         <bits/libc-lock.h>.
8697         * dirent/scandir-tail.c: Likewise.
8698         * dlfcn/dlerror.c: Likewise.
8699         * elf/dl-close.c: Likewise.
8700         * elf/dl-iteratephdr.c: Likewise.
8701         * elf/dl-lookup.c: Likewise.
8702         * elf/dl-open.c: Likewise.
8703         * elf/dl-support.c: Likewise.
8704         * elf/dl-writev.h: Likewise.
8705         * elf/rtld.c: Likewise.
8706         * grp/fgetgrent.c: Likewise.
8707         * gshadow/fgetsgent.c: Likewise.
8708         * gshadow/sgetsgent.c: Likewise.
8709         * iconv/gconv_conf.c: Likewise.
8710         * iconv/gconv_db.c: Likewise.
8711         * iconv/gconv_dl.c: Likewise.
8712         * iconv/gconv_int.h: Likewise.
8713         * iconv/gconv_trans.c: Likewise.
8714         * include/link.h: Likewise.
8715         * inet/getnameinfo.c: Likewise.
8716         * inet/getnetgrent.c: Likewise.
8717         * inet/getnetgrent_r.c: Likewise.
8718         * intl/bindtextdom.c: Likewise.
8719         * intl/dcigettext.c: Likewise.
8720         * intl/finddomain.c: Likewise.
8721         * intl/gettextP.h: Likewise.
8722         * intl/loadmsgcat.c: Likewise.
8723         * intl/localealias.c: Likewise.
8724         * intl/textdomain.c: Likewise.
8725         * libidn/idn-stub.c: Likewise.
8726         * libio/libioP.h: Likewise.
8727         * locale/duplocale.c: Likewise.
8728         * locale/freelocale.c: Likewise.
8729         * locale/newlocale.c: Likewise.
8730         * locale/setlocale.c: Likewise.
8731         * login/getutent_r.c: Likewise.
8732         * login/getutid_r.c: Likewise.
8733         * login/getutline_r.c: Likewise.
8734         * login/utmp-private.h: Likewise.
8735         * login/utmpname.c: Likewise.
8736         * malloc/mtrace.c: Likewise.
8737         * misc/efgcvt.c: Likewise.
8738         * misc/error.c: Likewise.
8739         * misc/fstab.c: Likewise.
8740         * misc/getpass.c: Likewise.
8741         * misc/mntent.c: Likewise.
8742         * misc/syslog.c: Likewise.
8743         * nis/nis_call.c: Likewise.
8744         * nis/nis_callback.c: Likewise.
8745         * nis/nss-default.c: Likewise.
8746         * nis/nss_compat/compat-grp.c: Likewise.
8747         * nis/nss_compat/compat-initgroups.c: Likewise.
8748         * nis/nss_compat/compat-pwd.c: Likewise.
8749         * nis/nss_compat/compat-spwd.c: Likewise.
8750         * nis/nss_nis/nis-alias.c: Likewise.
8751         * nis/nss_nis/nis-ethers.c: Likewise.
8752         * nis/nss_nis/nis-grp.c: Likewise.
8753         * nis/nss_nis/nis-hosts.c: Likewise.
8754         * nis/nss_nis/nis-network.c: Likewise.
8755         * nis/nss_nis/nis-proto.c: Likewise.
8756         * nis/nss_nis/nis-pwd.c: Likewise.
8757         * nis/nss_nis/nis-rpc.c: Likewise.
8758         * nis/nss_nis/nis-service.c: Likewise.
8759         * nis/nss_nis/nis-spwd.c: Likewise.
8760         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8761         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8762         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8763         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8764         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8765         * nis/nss_nisplus/nisplus-network.c: Likewise.
8766         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8767         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8768         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8769         * nis/nss_nisplus/nisplus-service.c: Likewise.
8770         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8771         * nis/ypclnt.c: Likewise.
8772         * nptl/libc_pthread_init.c: Likewise.
8773         * nss/getXXbyYY.c: Likewise.
8774         * nss/getXXent.c: Likewise.
8775         * nss/getXXent_r.c: Likewise.
8776         * nss/nss_db/db-XXX.c: Likewise.
8777         * nss/nss_db/db-netgrp.c: Likewise.
8778         * nss/nss_db/nss_db.h: Likewise.
8779         * nss/nss_files/files-XXX.c: Likewise.
8780         * nss/nss_files/files-alias.c: Likewise.
8781         * nss/nsswitch.c: Likewise.
8782         * posix/regex_internal.h: Likewise.
8783         * posix/wordexp.c: Likewise.
8784         * pwd/fgetpwent.c: Likewise.
8785         * resolv/res_hconf.c: Likewise.
8786         * resolv/res_libc.c: Likewise.
8787         * shadow/fgetspent.c: Likewise.
8788         * shadow/lckpwdf.c: Likewise.
8789         * shadow/sgetspent.c: Likewise.
8790         * socket/opensock.c: Likewise.
8791         * stdio-common/reg-modifier.c: Likewise.
8792         * stdio-common/reg-printf.c: Likewise.
8793         * stdio-common/reg-type.c: Likewise.
8794         * stdio-common/vfprintf.c: Likewise.
8795         * stdio-common/vfscanf.c: Likewise.
8796         * stdlib/abort.c: Likewise.
8797         * stdlib/cxa_atexit.c: Likewise.
8798         * stdlib/fmtmsg.c: Likewise.
8799         * stdlib/random.c: Likewise.
8800         * stdlib/setenv.c: Likewise.
8801         * string/strsignal.c: Likewise.
8802         * sunrpc/auth_none.c: Likewise.
8803         * sunrpc/bindrsvprt.c: Likewise.
8804         * sunrpc/create_xid.c: Likewise.
8805         * sunrpc/key_call.c: Likewise.
8806         * sunrpc/rpc_thread.c: Likewise.
8807         * sysdeps/arm/backtrace.c: Likewise.
8808         * sysdeps/generic/ldsodefs.h: Likewise.
8809         * sysdeps/generic/stdio-lock.h: Likewise.
8810         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8811         * sysdeps/i386/backtrace.c: Likewise.
8812         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8813         * sysdeps/m68k/backtrace.c: Likewise.
8814         * sysdeps/mach/hurd/cthreads.c: Likewise.
8815         * sysdeps/mach/hurd/dirstream.h: Likewise.
8816         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8817         * sysdeps/nptl/malloc-machine.h: Likewise.
8818         * sysdeps/nptl/stdio-lock.h: Likewise.
8819         * sysdeps/posix/dirstream.h: Likewise.
8820         * sysdeps/posix/getaddrinfo.c: Likewise.
8821         * sysdeps/posix/system.c: Likewise.
8822         * sysdeps/pthread/aio_suspend.c: Likewise.
8823         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8824         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8825         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8826         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8827         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8828         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8829         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8830         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8831         * sysdeps/unix/sysv/linux/system.c: Likewise.
8832         * sysdeps/x86_64/backtrace.c: Likewise.
8833         * time/alt_digit.c: Likewise.
8834         * time/era.c: Likewise.
8835         * time/tzset.c: Likewise.
8836         * wcsmbs/wcsmbsload.c: Likewise.
8837         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8838         instead of <bits/libc-lock.h> in comment.
8840 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8842         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8843         Only use .set mips2 if the current ISA is below mips2.
8844         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8845         Likewise.
8846         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8847         mips32r2 if the current ISA is below mips32r2.
8848         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8849         (TLS_IE): Updated to use the TLD_RDHWR macro.
8850         (TLS_LE): Likewise.
8851         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8852         __ASSEMBLER__ condition.
8854 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8856         Fix parallel build of before-compile targets.
8858         * sysdeps/mach/Makefile ($(patsubst
8859         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8860         mach-before-compile target.
8861         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8862         io fs process)): Move rule to dedicated hurd-before-compile target.
8864 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8866         Fix rules generating headers in hurd/ and mach/ when initial make call
8867         has subdir= explicitly set.
8869         * sysdeps/mach/Makefile ($(patsubst
8870         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8871         calling $(MAKE).
8872         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8873         io fs process)): Force subdir to hurd when calling $(MAKE).
8874         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8875         subdir to mach when calling $(MAKE).
8877 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8879         Check sysheaders when looking for Mach and Hurd headers
8881         * sysdeps/mach/configure.ac: Add sysheaders check.
8882         * sysdeps/mach/configure: Regenerate.
8883         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8884         * sysdeps/mach/hurd/configure: Regenerate.
8886 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8888         [BZ #18921]
8889         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8890         Fix inverted sense of test of 'o_directory_works' value.
8891         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8892         Bernhard Voelker <mail@bernhard-voelker.de>.
8894 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8896         [BZ #14912]
8897         * bits/linkmap.h: Move to ...
8898         * sysdeps/generic/linkmap.h: ...here.
8899         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8900         * sysdeps/aarch64/linkmap.h: ...here.
8901         * sysdeps/arm/bits/linkmap.h: Move to ...
8902         * sysdeps/arm/linkmap.h: ...here.
8903         * sysdeps/hppa/bits/linkmap.h: Move to ...
8904         * sysdeps/hppa/linkmap.h: ...here.
8905         * sysdeps/ia64/bits/linkmap.h: Move to ...
8906         * sysdeps/ia64/linkmap.h: ...here.
8907         * sysdeps/mips/bits/linkmap.h: Move to ...
8908         * sysdeps/mips/linkmap.h: ...here.
8909         * sysdeps/s390/bits/linkmap.h: Move to ...
8910         * sysdeps/s390/linkmap.h: ...here.
8911         * sysdeps/sh/bits/linkmap.h: Move to ...
8912         * sysdeps/sh/linkmap.h: ...here.
8913         * sysdeps/x86/bits/linkmap.h: Move to ...
8914         * sysdeps/x86/linkmap.h: ...here.
8915         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8917 2015-09-04  Andreas Schwab  <schwab@suse.de>
8919         [BZ #18635]
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8921         (__makecontext): Terminate FDE before return label.
8922         (__novec_makecontext): Likewise.
8924 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8926         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8927         first member of struct sv in syscall macro.
8929 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8931         [BZ #14912]
8932         * bits/stdio-lock.h: Move to ...
8933         * sysdeps/generic/stdio-lock.h: ...here.
8934         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8935         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8936         * sysdeps/nptl/stdio-lock.h: ...here.
8937         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8938         * include/libio.h: Include <stdio-lock.h> instead of
8939         <bits/stdio-lock.h>.
8940         * sysdeps/nptl/fork.c: Likewise.
8941         * sysdeps/pthread/flockfile.c: Likewise.
8942         * sysdeps/pthread/ftrylockfile.c: Likewise.
8943         * sysdeps/pthread/funlockfile.c: Likewise.
8945         [BZ #14912]
8946         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8947         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8948         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8949         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8950         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8951         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8952         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8954 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8956         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8957         (test-xfail-tst-protected1b): New variable.
8959 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8961         [BZ #14912]
8962         * bits/libc-tsd.h: Move to ...
8963         * sysdeps/generic/libc-tsd.h: ...here.
8964         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8965         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8966         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8967         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8968         * include/ctype.h: Include <libc-tsd.h> instead of
8969         <bits/libc-tsd.h>.
8970         * include/rpc/rpc.h: Likewise.
8971         * locale/localeinfo.h: Likewise.
8972         * sunrpc/rpc_thread.c: Likewise.
8973         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8974         * sysdeps/nptl/malloc-machine.h: Likewise.
8976         * Makefile (headers): Remove bits/libc-lock.h.
8977         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8979         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8980         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8981         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8982         <bits/stdio-lock.h>.
8983         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8984         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8986 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8988         [BZ #18757]
8989         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8990         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8991         BZ #18757.
8993 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8995         * malloc/mtrace.pl: Filter out NULL entries.
8997 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8999         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9000         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9001         macro.
9003         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9004         (TCP_CC_INFO): Likewise.
9005         (TCP_SAVE_SYN): Likewise.
9006         (TCP_SAVED_SYN): Likewise.
9008 2015-08-31  Brett Neumeier <brett@neumeier.us>
9010         [BZ #18870]
9011         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9013 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9015         [BZ #18873]
9016         Fix broken overflow check in posix_fallocate
9017         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9018         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9019         Fix parenthesization typo.
9021 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9023         [BZ #18887]
9024         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9025         tst-mntent-blank-passno.
9026         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9027         * misc/tst-mntent-blank-corrupt.c: New test.
9028         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9029         * misc/tst-mntent.c (do_test): ... here.
9031 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9033         [BZ #4404]
9034         * po/de.po: Fix SIGALRM typo.
9036 2015-08-28  James Perkins  <james@loowit.net>
9038         * time/tst-strptime2.c (tests): Replace short list of test
9039         strings for strptime %z specifier with code which exhaustively
9040         tests every combination of sign and 0 to 5 digits. Tests for
9041         rejection of invalid strings.
9043 2015-08-28  James Perkins  <james@loowit.net>
9045         [BZ #16141]
9046         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9047         calculation, removing incorrect decimal time rounding, so that
9048         all minute values result in a valid seconds value.
9049         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9050         offset range limits to UTC-99:59 through UTC+99:59 to parse
9051         current and historical use cases.
9052         * time/tst-strptime2.c (tests): Modify and add tests for the
9053         strptime %z input field descriptor, specifically conversion of
9054         minutes to seconds and validating an offset range of -9959 to
9055         +9959.
9057 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9058             Dmitry V. Levin  <ldv@altlinux.org>
9060         [BZ #18877]
9061         * posix/Makefile (tests): Add tst-mmap-offset.
9062         * posix/tst-mmap.c: New file.
9063         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9064         offset calculation for negative values.
9066 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9068         * sysdeps/i386/init-arch.h: New file.
9069         * sysdeps/i386/i586/init-arch.h: Likewise.
9070         * sysdeps/i386/i686/init-arch.h: Likewise.
9071         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9072         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9073         * sysdeps/x86/cpu-features.h (bit_I586): New.
9074         (bit_I686): Likewise.
9075         (bit_CX8): Likewise.
9076         (bit_CMOV): Likewise.
9077         (index_CX8): Likewise.
9078         (index_CMOV): Likewise.
9079         (index_I586): Likewise.
9080         (index_I686): Likewise.
9081         (reg_CX8): Likewise.
9082         (reg_CMOV): Likewise.
9083         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9084         available at compile-time.
9085         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9086         available at compile-time.
9087         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9088         (USE_I686): Likewise.
9090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9092         * sysdeps/i386/bcopy.S: New file.
9093         * sysdeps/i386/bzero.S: Likewise.
9094         * sysdeps/i386/memcpy.S: Likewise.
9095         * sysdeps/i386/memmove.S: Likewise.
9096         * sysdeps/i386/mempcpy.S: Likewise.
9097         * sysdeps/i386/memset.S: Likewise.
9098         * sysdeps/i386/bzero.c: Removed.
9099         * sysdeps/i386/memset.c: Likewise.
9100         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9101         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9102         * sysdeps/i386/i586/memset_chk.S: Likewise.
9103         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9104         * sysdeps/i386/memcpy_chk.S: Here.
9105         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9106         * sysdeps/i386/memmove_chk.S: Here.
9107         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9108         * sysdeps/i386/mempcpy_chk.S: Likewise.
9109         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9110         * sysdeps/i386/memset_chk.S: Likewise.
9112 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9114         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9115         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9116         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9117         * soft-fp/fmadf4.c: Ditto.
9118         * soft-fp/fmatf4.c: Ditto.
9120 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9122         * sysdeps/i386/i586/Implies: Removed.
9123         * sysdeps/i386/i686/Implies: Likewise.
9125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9127         * sysdeps/i386/i486/strlen.S: Moved to ...
9128         * sysdeps/i386/strlen.S: Here.
9130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9132         * sysdeps/i386/i486/strcat.S: Moved to ...
9133         * sysdeps/i386/strcat.S: Here.
9135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9137         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9138         * sysdeps/i386/pthread_spin_trylock.S: Here.
9139         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9140         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9142 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9144         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9145         * sysdeps/i386/string-inlines.c: Here.
9147 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9149         * sysdeps/i386/i486/htonl.S: Moved ...
9150         * sysdeps/i386/htonl.S: here.
9152 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9154         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9155         * sysdeps/i386/bits/atomic.h: Here.
9157 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9159         * sysdeps/i386/i486/Versions: Removed.
9161 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9163         [BZ #2898]
9164         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9165         Based on patch by Aurelien Jarno.
9167 2015-08-26  Stan Shebs  <stanshebs@google.com>
9169         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9170         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9172 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9174         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9175         * sysdeps/powerpc/dl-procinfo.c:
9176         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9177         feature so it shows when LD_SHOW_AUXV=1.
9179 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9181         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9182         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9183         definition.  ISA 2.07B no longer requires full sync.
9185 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9187         [BZ #18863]
9188         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9189         (si_call_addr): Define.
9190         (si_syscall): Define.
9191         (si_arch): Define.
9193 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9195         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9196         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9197         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9198         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9199         (__memset_zero_constant_len_parameter): New.
9200         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9201         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9202         (__memset_zero_constant_len_parameter): Don't define if
9203         __memset_chk or USE_AS_BZERO are defined.
9205         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9206         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9207         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9209         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9210         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9211         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9212         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9213         comments.
9214         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9215         -mno-mmx for $(all-rtld-routines).
9216         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9217         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9218         i386.
9220 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9222         * sysdeps/generic/unwind.h
9223         (_Unwind_Word): Use __mode__(__unwind_word__)
9224         instead of __mode__(__word__).
9225         (_Unwind_Sword): Likewise.
9227         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9228         (MAX_NEEDED_INPUT): New define.
9229         (MAX_NEEDED_OUTPUT): New define.
9231         * NEWS: New item for IBM z13 string optimizations.
9233         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9234         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9235         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9236         * sysdeps/s390/multiarch/Makefile
9237         (sysdep_routines): Add memrchr functions.
9238         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9239         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9241         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9242         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9243         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9244         * sysdeps/s390/multiarch/Makefile
9245         (sysdep_routines): Add wmemcmp functions.
9246         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9247         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9248         * benchtests/bench-wmemcmp.c: New File.
9249         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9251         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9252         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9253         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9254         * sysdeps/s390/multiarch/Makefile
9255         (sysdep_routines): Add wmemset functions.
9256         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9257         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9258         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9259         * string/test-memset.c: Add wmemset support.
9260         * wcsmbs/test-wmemset.c: New File.
9261         * wcsmbs/Makefile (strop-tests): Add wmemset.
9262         * benchtests/bench-memset.c: Add wmemset support.
9263         * benchtests/bench-wmemset.c: New File.
9264         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9266         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9267         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9268         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9269         * sysdeps/s390/multiarch/Makefile
9270         (sysdep_routines): Add memccpy functions.
9271         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9272         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9273         * string/memccpy.c: Use MEMCCPY if defined.
9275         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9276         * sysdeps/s390/multiarch/memchr.c: Likewise.
9277         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9278         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9279         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9280         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9281         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9282         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9283         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9284         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9286         and rawmemchr functions.
9287         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9288         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9289         and wmemchr.
9290         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9291         * string/test-memchr.c: Add wmemchr support.
9292         * wcsmbs/test-wmemchr.c: New File.
9293         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9294         * benchtests/bench-memchr.c: Add wmemchr support.
9295         * benchtests/bench-wmemchr.c: New File.
9296         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9298         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9299         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9300         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9301         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9302         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9303         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9304         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9305         wcscspn functions.
9306         * sysdeps/s390/multiarch/ifunc-impl-list.c
9307         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9308         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9309         * string/test-strcspn.c: Add wcscspn support.
9310         * wcsmbs/test-wcscspn.c: New File.
9311         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9312         * benchtests/bench-strcspn.c: Add wcscspn support.
9313         * benchtests/bench-wcscspn.c: New File.
9314         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9316         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9317         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9318         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9319         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9320         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9321         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9322         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9323         wcspbrk functions.
9324         * sysdeps/s390/multiarch/ifunc-impl-list.c
9325         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9326         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9327         * string/test-strpbrk.c: Add wcspbrk support.
9328         * wcsmbs/test-wcspbrk.c: New File.
9329         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9330         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9331         * benchtests/bench-wcspbrk.c: New File.
9332         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9334         * sysdeps/s390/multiarch/strspn-c.c: New File.
9335         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9336         * sysdeps/s390/multiarch/strspn.c: Likewise.
9337         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9338         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9339         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9340         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9342         wcsspn functions.
9343         * sysdeps/s390/multiarch/ifunc-impl-list.c
9344         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9345         * string/test-strspn.c: Add wcsspn support.
9346         * wcsmbs/test-wcsspn.c: New File.
9347         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9348         * benchtests/bench-strspn.c: Add wcsspn support.
9349         * benchtests/bench-wcsspn.c: New File.
9350         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9352         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9353         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9354         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9355         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9356         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9357         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9358         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9359         wcsrchr functions.
9360         * sysdeps/s390/multiarch/ifunc-impl-list.c
9361         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9362         * benchtests/bench-wcsrchr.c: New File.
9363         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9365         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9366         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9367         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9368         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9369         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9370         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9372         wcschrnul functions.
9373         * sysdeps/s390/multiarch/ifunc-impl-list.c
9374         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9375         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9376         * string/test-strchr.c: Add wcschrnul support.
9377         * wcsmbs/test-wcschrnul.c: New File.
9378         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9379         * benchtests/bench-strchr.c: Add wcschrnul support.
9380         * benchtests/bench-wcschrnul.c: New File.
9381         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9383         * sysdeps/s390/multiarch/strchr-c.c: New File.
9384         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9385         * sysdeps/s390/multiarch/strchr.c: Likewise.
9386         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9387         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9388         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9390         wcschr functions.
9391         * sysdeps/s390/multiarch/ifunc-impl-list.c
9392         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9393         * string/strchr.c (STRCHR): Define and use macro.
9394         * benchtests/bench-wcschr.c: New File.
9395         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9397         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9398         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9399         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9400         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9401         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9402         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9404         wcsncmp functions.
9405         * sysdeps/s390/multiarch/ifunc-impl-list.c
9406         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9407         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9408         * benchtests/bench-strncmp.c: Add wcsncmp support.
9409         * benchtests/bench-wcsncmp.c: New File.
9410         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9412         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9413         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9414         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9415         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9416         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9417         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9418         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9419         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9420         wcscmp functions.
9421         * sysdeps/s390/multiarch/ifunc-impl-list.c
9422         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9423         * string/strcmp.c (STRCMP): Define and use macro.
9424         * benchtests/bench-wcscmp.c: New File.
9425         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9426         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9427         instead of _HAVE_STRING_ARCH_memchr.
9429         * sysdeps/s390/multiarch/strncat-c.c: New File.
9430         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9431         * sysdeps/s390/multiarch/strncat.c: Likewise.
9432         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9433         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9434         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9436         wcsncat functions.
9437         * sysdeps/s390/multiarch/ifunc-impl-list.c
9438         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9439         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9440         * string/test-strncat.c: Add wcsncat support.
9441         * wcsmbs/test-wcsncat.c: New File.
9442         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9443         * benchtests/bench-strncat.c: Add wcsncat support.
9444         * benchtests/bench-wcsncat.c: New File.
9445         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9447         * sysdeps/s390/multiarch/strcat-c.c: New File.
9448         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9449         * sysdeps/s390/multiarch/strcat.c: Likewise.
9450         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9451         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9452         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9454         wcscat functions.
9455         * sysdeps/s390/multiarch/ifunc-impl-list.c
9456         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9457         * string/strcat.c (STRCAT): Define and use macro.
9458         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9459         * string/test-strcat.c: Add wcscat support.
9460         * wcsmbs/test-wcscat.c: New File.
9461         * wcsmbs/Makefile (strop-tests): Add wcscat.
9462         * benchtests/bench-strcat.c: Add wcscat support.
9463         * benchtests/bench-wcscat.c: New File.
9464         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9466         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9467         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9468         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9469         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9470         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9471         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9473         wcpncpy functions.
9474         * sysdeps/s390/multiarch/ifunc-impl-list.c
9475         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9476         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9477         * string/test-stpncpy.c: Add wcpncpy support.
9478         * wcsmbs/test-wcpncpy.c: New File.
9479         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9480         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9481         * benchtests/bench-wcpncpy.c: New File.
9482         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9484         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9485         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9486         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9487         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9488         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9489         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9490         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9491         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9492         wcsncpy functions.
9493         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9494         * sysdeps/s390/multiarch/ifunc-impl-list.c
9495         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9496         * string/test-strncpy.c: Add wcsncpy support.
9497         * wcsmbs/test-wcsncpy.c: New File.
9498         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9499         * benchtests/bench-strncpy.c: Add wcsncpy support.
9500         * benchtests/bench-wcsncpy.c: New File.
9501         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9503         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9504         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9505         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9506         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9507         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9508         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9510         wcpcpy functions.
9511         * string/stpcpy.c: Use STPCPY if defined.
9512         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9513         * sysdeps/s390/multiarch/ifunc-impl-list.c
9514         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9515         * string/test-stpcpy.c: Add wcpcpy support.
9516         * wcsmbs/test-wcpcpy.c: New File.
9517         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9518         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9519         * benchtests/bench-wcpcpy.c: New File.
9520         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9522         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9523         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9524         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9525         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9526         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9527         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9528         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9529         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9530         wcscpy functions.
9531         * sysdeps/s390/multiarch/ifunc-impl-list.c
9532         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9533         * benchtests/bench-wcscpy.c: New File.
9534         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9536         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9537         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9538         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9539         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9540         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9541         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9542         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9543         wcsnlen functions.
9544         * sysdeps/s390/multiarch/ifunc-impl-list.c
9545         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9546         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9547         * string/test-strnlen.c: Add wcsnlen support.
9548         * wcsmbs/test-wcsnlen.c: New File.
9549         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9550         * benchtests/bench-strnlen.c: Add wcsnlen support.
9551         * benchtests/bench-wcsnlen.c: New File.
9552         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9554         * sysdeps/s390/multiarch/Makefile: New File.
9555         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9556         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9557         * sysdeps/s390/multiarch/strlen.c: Likewise.
9558         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9559         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9560         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9561         * string/strlen.c (STRLEN): Define and use macro.
9562         * sysdeps/s390/multiarch/ifunc-impl-list.c
9563         (IFUNC_VX_IMPL): New macro function.
9564         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9565         * benchtests/Makefile (wcsmbs-bench): New variable.
9566         (string-bench-all): Added wcsmbs-bench.
9567         * benchtests/bench-wcslen.c: New File.
9569         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9570         s390_vx_libc_ifunc2): New macro function.
9572         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9573         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9574         assembler support.
9575         * sysdeps/s390/configure: Regenerated.
9577         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9578         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9580         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9581         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9582         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9584         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9585         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9586         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9587         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9588         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9589         (memcmp, bcmp): Use __memcmp_default as alias source.
9590         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9591         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9592         Rename to __memcmp_default.
9593         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9594         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9595         (memcpy): Use __memcpy_default as alias source.
9596         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9597         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9598         Rename to __memcpy_default.
9599         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9600         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9601         (memset): Use __memset_default as alias source.
9602         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9603         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9604         Rename to __memset_default.
9605         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9606         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9607         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9608         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9609         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9610         (memcmp, bcmp): Use __memcmp_default as alias source.
9611         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9612         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9613         Rename to __memcmp_default.
9614         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9615         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9616         (memcpy): Use __memcpy_default as alias source.
9617         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9618         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9619         Rename to __memcpy_default.
9620         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9621         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9622         (memset): Use __memset_default as alias source.
9623         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9624         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9625         Rename to __memset_default.
9626         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9627         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9629         [BZ #18610]
9630         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9631         __ieee_instruction_pointer to __unused.
9632         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9633         __ieee_instruction_pointer.
9634         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9635         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9636         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9637         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9638         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9639         Mark dxc-field as reserved.
9641 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9643         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9644         if the weak reference is not null.
9646 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9648         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9650         [BZ #11214]
9651         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9653 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9655         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9656         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9657         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9658         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9659         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9660         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9661         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9662         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9663         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9664         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9665         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9666         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9667         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9668         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9669         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9670         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9671         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9672         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9674 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9676         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9677         register other than r0 for tabort, it has special meaning.
9678         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9679         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9680         transaction before starting syscall.
9682 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9684         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9686 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9688         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9690         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9691         * sysdeps/x86_64/rtld-memset.S: Likewise.
9692         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9693         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9694         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9695         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9697         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9699 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9701         * debug/strcpy_chk.c: Improve performance.
9702         * debug/stpcpy_chk.c: Likewise.
9703         * sysdeps/x86_64/strcpy_chk.S: Remove.
9704         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9706         [BZ #18240]
9707         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9709 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9711         [BZ #15128]
9712         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9713         ifuncmain8.
9714         (modules-names): Add ifuncmod8.
9715         ($(objpfx)ifuncmain8): New rule.
9716         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9717         <cpuid.h>.
9718         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9719         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9720         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9721         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9722         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9723         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9724         * sysdeps/x86_64/ifuncmain8.c: New file.
9725         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9726         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9727         Removed.
9728         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9729         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9730         Change rtld_savespace_sse to __glibc_unused2.
9731         (RTLD_CHECK_FOREIGN_CALL): Removed.
9732         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9733         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9734         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9736 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9738         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9740 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9742         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9743         Unconditionally set __fpcr to avoid uninialized warning.
9744         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9746 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9748         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9749         is corrupt.
9751         * malloc/arena.c (arena_get2): Drop unused argument.
9752         (arena_lock): Adjust.
9753         (arena_get_retry): Likewise.
9755 2015-08-24  Andreas Schwab  <schwab@suse.de>
9757         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9758         Don't define.
9759         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9760         (__ASSUME_IPC64): Don't undef.
9761         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9762         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9763         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9764         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9765         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9766         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9767         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9768         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9769         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9770         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9771         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9772         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9773         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9774         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9775         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9776         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9777         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9778         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9779         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9780         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9781         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9783 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9785         * manual/Makefile (install): Only build manual when perl is available.
9787 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9789         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9790         '#undef memcpy' by '#undef memchr'.
9792 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9794         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9795         memchr not point to the internal __GI_memchr implementation.
9797 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9799         * timezone/Makefile (CFLAGS-zdump.c): Remove
9800         -Wno-strict-prototypes.
9801         (CFLAGS-zic.c): Likewise.
9802         (CFLAGS-ialloc.c): Likewise.
9803         (CFLAGS-scheck.c): Likewise.
9805         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9806         -Wno-error=undef.
9808 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9810         * i386/i686/multiarch/strcasestr-c.c: Removed.
9811         * x86_64/multiarch/strcasestr.c: Likewise.
9812         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9813         Remove strcasestr.
9815 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9817         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9819         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9820         variables for high and low parts before possibly modifying them.
9822 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9824         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9825         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9826         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9827         of "multiarch/init-arch.h".
9828         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9829         * sysdeps/x86/init-arch.h: This.
9831 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9833         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9834         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9836 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9838         [BZ #17787]
9839         * manual/macros.texi: Add twoexp macro.
9840         * manual/filesys.texi: Fix exponents.
9841         * manual/llio.texi: Likewise.
9842         * manual/stdio.texi: Likewise.
9844 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9846         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9847         incorrect use.
9849 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9851         [BZ #18370]
9852         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9853         whose real or imaginary part has small absolute value.
9854         * math/s_csqrtf.c (__csqrtf): Likewise.
9855         * math/s_csqrtl.c (__csqrtl): Likewise.
9856         * math/auto-libm-test-in: Add more tests of csqrt.
9857         * math/auto-libm-test-out: Regenerated.
9858         * sysdeps/i386/fpu/libm-test-ulps: Update.
9860 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9862         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9863         __ppc_set_ppr_very_low): New functions.
9864         * manual/platform.texi: Add documentation about
9865         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9867 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9869         * string/stpncpy.c (stpncpy): Improve performance using
9870         __strnlen/memcpy/memset.
9872 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9874         [BZ #18796]
9875         * scripts/test-installation.pl: Don't add -lmvec to build options if
9876         libmvec wasn't built.
9878 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9880         [BZ #14341]
9881         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9882         case when there is a gap between DT_REL and DT_JMPREL sections.
9883         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9884         (LDFLAGS-tst-split-dynreloc): New.
9885         (tst-split-dynreloc-ENV): Likewise.
9886         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9887         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9889 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9891         [BZ #18822]
9892         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9893         attribute_hidden.
9894         (__xstat64_conv): Likewise.
9895         (__xstat32_conv): Likewise.
9897 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9899         [BZ #18822]
9900         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9901         Don't load %ebx when calling __setcontext.  Call __setcontext
9902         with HIDDEN_JUMPTARGET.
9903         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9904         libc_hidden_def.
9906 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9908         * sysdeps/i386/i686/Makefile
9909         [$(subdir) == string] (sysdep_routines): Moved to ...
9910         * sysdeps/i386/Makefile: Here.
9911         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9912         * sysdeps/i386/cacheinfo.c: Here.
9913         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9914         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9915         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9916         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9918 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9920         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9921         __i586__ is defined.
9922         (HAS_I686): Defined to 1 if __i686__ is defined.
9924 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9926         * elf/Makefile [$(have-z-execstack) = yes]
9927         (CPPFLAGS-tst-execstack.c): New variable.
9929         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9930         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9931         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9932         UTMPX || _HAVE_UT_TV].
9933         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9934         UTMPX || _HAVE_UT_TV - 0].
9936 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9938         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9939         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9940         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9942 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9944         * sysdeps/powerpc/dl-procinfo.c:
9945         (_dl_powerpc_cap_flags): Added missing strings for some
9946         hwcap features.
9947         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9949 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9951         Port the 0x7efe...feff pattern to GCC 6.
9952         See Steve Ellcey's bug report in:
9953         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9954         * string/memrchr.c (MEMRCHR):
9955         * string/rawmemchr.c (RAWMEMCHR):
9956         * string/strchr.c (strchr):
9957         * string/strchrnul.c (STRCHRNUL):
9958         Rewrite code to avoid issues with signed shift overflow.
9960 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9962         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9963         whether cpuid is available only if HAS_CPUID is 0.
9964         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9965         (HAS_I586): Likewise.
9966         (HAS_I686): Likewise.
9968 2015-08-18  Zack Weinberg  <zackw@panix.com>
9970         * misc/Versions (libc): Add GLIBC_2.23.
9972 2015-08-18  Alan Modra  <amodra@gmail.com>
9974         [BZ #18421]
9975         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9976         .Lp__global.
9977         (_start): Load %dp via .Lp__global.
9978         [!SHARED]: Use .section .rodata.
9980 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9982         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9983         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9985 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9987         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9988         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9990 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9992         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9993         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9995 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9997         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9998         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10000 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10002         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10003         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10005 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10007         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10008         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10010 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10012         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10014 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10016         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10017         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10018         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10019         (__ASSUME_LWS_CAS): Delete.
10021 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10023         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10024         * sysdeps/hppa/configure: Regenerated.
10025         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10026         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10027         * sysdeps/hppa/nptl/tls.h: Likewise.
10029 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #18823]
10032         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10033         for scaling up small arguments.
10034         * math/s_csqrtf.c (__csqrtf): Likewise.
10035         * math/s_csqrtl.c (__csqrtl): Likewise.
10036         * math/auto-libm-test-in: Add more tests of csqrt.
10037         * math/auto-libm-test-out: Regenerated.
10039 2015-08-17  Andreas Schwab  <schwab@suse.de>
10041         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10042         version set GLIBC_2.19.
10044 2015-08-16  Zack Weinberg  <zackw@panix.com>
10046         [BZ #18681]
10047         * misc/regexp.h: This interface is no longer supported.
10048         Remove all contents, leaving only an #error directive.
10049         * misc/regexp.c (loc1, loc2, locs, step, advance):
10050         Demote to compatibility symbols.
10052 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10054         [BZ #18084]
10055         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10056         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10057         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10058         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10059         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10060         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10061         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10062         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10063         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10065 2015-08-15  Zack Weinberg  <zackw@panix.com>
10067         [BZ #18795]
10068         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10069         buffer length is known to be too large, not if it's known to be
10070         small enough.
10071         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10072         overflow at runtime, involving a length parameter, twice: once
10073         with a compile-time constant length parameter, once without.
10075 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10077         [BZ #18824]
10078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10079         scaling x * y up instead of down.
10080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10082         * math/auto-libm-test-in: Add more tests of fma.
10083         * math/auto-libm-test-out: Regenerated.
10085 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10089 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10091         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10092         unnecessary movq.
10093         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10094         Likewise.
10096 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10098         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10099         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10100         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10101         and tgamma.
10102         * math/auto-libm-test-out: Regenerated.
10103         * sysdeps/i386/fpu/libm-test-ulps: Update.
10104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10106         [BZ #16520]
10107         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10108         (__tanh): Force underflow exception for arguments with small
10109         absolute value.
10110         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10111         (__tanhf): Force underflow exception for arguments with small
10112         absolute value.
10113         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10114         (__tanhl): Force underflow exception for arguments with small
10115         absolute value.
10116         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10117         (__tanhl): Force underflow exception for arguments with small
10118         absolute value.
10119         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10120         (__tanhl): Force underflow exception for arguments with small
10121         absolute value.
10122         * math/auto-libm-test-in: Add more tests of tanh.
10123         * math/auto-libm-test-out: Regenerated.
10124         * sysdeps/i386/fpu/libm-test-ulps: Update.
10126 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10128         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10129         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10131 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10133         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10134         <cpuid.h>.
10136 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10138         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10139         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10141 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10143         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10144         Remove $(objpfx)init-arch.o.
10145         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10146         init-arch.
10147         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10148         (INIT_ARCH_EXT): Defined as empty.
10149         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10151         __init_cpu_features call.  Replace HAS_XXX with
10152         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10154         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10156         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10157         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10158         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10159         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10160         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10163         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10170         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10172         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10173         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10174         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10175         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10177         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10178         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10179         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10180         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10181         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10189 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10191         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10192         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10193         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10194         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10195         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10196         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10197         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10198         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10199         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10200         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10201         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10202         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10203         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10204         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10205         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10206         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10207         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10208         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10209         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10210         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10211         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10212         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10213         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10214         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10215         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10216         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10217         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10218         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10219         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10221         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10222         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10223         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10225         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10226         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10227         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10228         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10229         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10230         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10231         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10232         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10233         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10235 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10238         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10240         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10241         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10242         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10243         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10244         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10245         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10246         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10247         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10248         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10249         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10250         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10251         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10252         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10253         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10254         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10255         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10256         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10258         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10259         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10260         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10261         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10262         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10263         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10264         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10265         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10266         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10267         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10268         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10269         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10270         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10272         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10273         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10274         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10275         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10276         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10277         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10278         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10279         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10281 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10283         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10284         (dl_platform_init): Call init_cpu_features.
10285         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10286         * sysdeps/i386/i686/cacheinfo.c
10287         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10288         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10289         * sysdeps/i386/i686/multiarch/Versions: Removed.
10290         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10291         Removed.
10292         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10293         * sysdeps/unix/sysv/linux/x86/Makefile
10294         (libpthread-sysdep_routines): Remove init-arch.
10295         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10296         <sysdeps/x86_64/dl-procinfo.c> instead of
10297         sysdeps/generic/dl-procinfo.c>.
10298         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10299         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10300         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10301         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10302         [$(subdir) == elf] (tests-static): Add
10303         tst-get-cpu-features-static.
10304         * sysdeps/x86/Versions: New file.
10305         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10306         * sysdeps/x86/cpu-features.c: Likewise.
10307         * sysdeps/x86/cpu-features.h: Likewise.
10308         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10309         * sysdeps/x86/libc-start.c: Likewise.
10310         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10311         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10312         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10313         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10314         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10315         Assume USE_MULTIARCH is defined and don't check it.
10316         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10317         (is_amd): Likewise.
10318         (max_cpuid): Likewise.
10319         (intel_check_word): Likewise.
10320         (__cache_sysconf): Don't call __init_cpu_features.
10321         (__x86_preferred_memory_instruction): Removed.
10322         (init_cacheinfo): Don't call __init_cpu_features. Replace
10323         __cpu_features with GLRO(dl_x86_cpu_features).
10324         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10325         (dl_platform_init): Call init_cpu_features.
10326         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10327         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10328         * sysdeps/x86_64/multiarch/Versions: Removed.
10329         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10330         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10331         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10332         Removed.
10333         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10335 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10337         [BZ #18820]
10338         * libio/Makefile (test-fmemopen-mem): New test.
10339         * libio/test-fmemopen.c (do_bz18820): New test.
10340         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10341         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10343 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10345         [BZ #16734]
10346         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10347         (FREE_BUF): Delete.
10348         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10349         * libio/genops.c (_IO_setb): Use malloc and free directly.
10350         (_IO_default_doallocate, _IO_default_finish): Likewise.
10351         ( _IO_unbuffer_all): Likewise.
10352         ( libc_freeres_fn): Likewise.
10353         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10354         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10355         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10356         (_IO_wdefault_doallocate): Likewise.
10358 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10360         [BZ #18086]
10361         * sysdeps/posix/nice.c (nice): Restore old errno.
10362         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10364 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10368 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10370         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10371         __bcopy and add a weak_alias to bcopy.
10372         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10373         for static build.
10375         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10376         cleanup macro usage.
10377         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10381         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10382         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10383         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10384         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10385         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10386         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10388         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10390         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10391         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10393         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10394         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10395         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10397         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10398         libc_hidden_def.
10399         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10401         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10402         (sysdep_routines): Add strstr-ppc64.
10403         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10405 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10407         [BZ #18778]
10408         * elf/Makefile (tests): Add Add tst-nodelete2.
10409         (modules-names): Add tst-nodelete2mod.
10410         (tst-nodelete2mod.so-no-z-defs): New.
10411         ($(objpfx)tst-nodelete2): Likewise.
10412         ($(objpfx)tst-nodelete2.out): Likewise.
10413         (LDFLAGS-tst-nodelete2): Likewise.
10414         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10415         out of loop through all loaded libraries.
10416         * elf/tst-nodelete2.c: New file.
10417         * elf/tst-nodelete2mod.c: Likewise.
10418         * elf/tst-znodelete-zlib.cc: Delete.
10420 2015-08-11  Andreas Schwab  <schwab@suse.de>
10422         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10423         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10424         (__openat64_nocancel): Likewise.
10426 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10428         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10429         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10430         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10431         * math/auto-libm-test-out: Regenerated.
10432         * sysdeps/i386/fpu/libm-test-ulps: Update.
10433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10435 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10437         [BZ #18790]
10438         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10439         threshold for returning +/- 1.
10440         * math/auto-libm-test-in: Add more tests of tanh.
10441         * math/auto-libm-test-out: Regenerated.
10442         * sysdeps/i386/fpu/libm-test-ulps: Update.
10444 2015-08-10  Andreas Schwab  <schwab@suse.de>
10446         [BZ #18781]
10447         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10448         MORE_OFLAGS to oflag.
10449         * io/test-lfs.c (do_test): Test openat64.
10451 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10453         [BZ #18789]
10454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10455         smaller threshold for returning the argument.
10456         * math/auto-libm-test-in: Add more tests of sinh.
10457         * math/auto-libm-test-out: Regenerated.
10458         * sysdeps/i386/fpu/libm-test-ulps: Update.
10460 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10462         [BZ #18674]
10463         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10464         break.
10466 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10468         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10469         (generated): Don't add $(addprefix z.,$(tzfiles)).
10471 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10473         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10474         * scripts/sysd-rules.awk: Likewise.
10476 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10478         * iconvdata/tst-tables.sh: Change echo -n to printf.
10479         * nss/db-Makefile: Likewise.
10480         * posix/tst-getconf.sh: Likewise.
10481         * stdio-common/tst-unbputc.sh: Likewise.
10483 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10485         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10486         MADV_*_PAGES defines behind this feature check.
10488 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10490         [BZ #18480]
10491         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10492         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10493         Define.
10494         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10495         LOAD_REGS_5, LOAD_REGS_6): Update.
10496         (INTERNAL_SYSCALL): Update using new LOAD defines.
10497         (INTERNAL_SYSCALL_NCS): Likewise.
10498         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10500 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10502         [BZ #16734]
10503         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10505 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10507         [BZ #17905]
10508         * catgets/Makefile (tst-catgets-mem): New test.
10509         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10510         * catgets/open_catalog.c (__open_catalog): Likewise.
10511         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10513 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10515         [BZ #18787]
10516         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10517         clobber registers.
10518         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10519         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10520         Cast return to __typeof (oldval).
10522 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10524         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10525         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10526         and delete sys/syscall.h include.
10528 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10530         [BZ #16517]
10531         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10532         (tan): Force underflow exception for arguments with small absolute
10533         value.
10534         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10535         (__kernel_tanf): Force underflow exception for arguments with
10536         small absolute value.
10537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10538         (__kernel_tanl): Force underflow exception for arguments with
10539         small absolute value.
10540         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10541         (__kernel_tanl): Force underflow exception for arguments with
10542         small absolute value.
10543         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10544         (__kernel_tanl): Force underflow exception for arguments with
10545         small absolute value.
10546         * math/auto-libm-test-in: Add more tests of tan.
10547         * math/auto-libm-test-out: Regenerated.
10549 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10551         Fix sysdeps/i386/fpu/s_scalbn.S build
10553         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10555 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10557         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10559 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10561         Fix gcrt0.o compilation
10563         When static-start-installed-name is different from
10564         start-installed-name, we must not use the shared objects.
10566         * csu/Makefile
10567         (extra-objs): Add gmon-start.o when building shared library and
10568         $(static-start-installed-name) is different from
10569         $(start-installed-name).
10570         $(objpfx)g$(static-start-installed-name): When building shared
10571         library and $(static-start-installed-name) is different from
10572         $(static-start-installed-name), revert to non-shared rule,
10573         i.e. using $(objpfx)% and gmon-start.o.
10575 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10577         [BZ #16519]
10578         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10579         (__ieee754_sinh): Force underflow exception for arguments with
10580         small absolute value.
10581         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10582         (__ieee754_sinhf): Force underflow exception for arguments with
10583         small absolute value.
10584         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10585         (__ieee754_sinhl): Force underflow exception for arguments with
10586         small absolute value.
10587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10588         (__ieee754_sinhl): Force underflow exception for arguments with
10589         small absolute value.
10590         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10591         (__ieee754_sinhl): Force underflow exception for arguments with
10592         small absolute value.
10593         * math/auto-libm-test-in: Add more tests of sinh.
10594         * math/auto-libm-test-out: Regenerated.
10595         * sysdeps/i386/fpu/libm-test-ulps: Update.
10597 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10599         * libio/oldfileops.c: Include unistd.h.
10601 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10603         * stdlib/isomac.c: Include ctype.h.
10605 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10607         * dirent/tst-seekdir.c (main): Converted to ...
10608         (do_test): ... this.
10609         (TEST_FUNCTION): New macro.
10610         Include test-skeleton.c.
10611         * elf/tst-dlmodcount.c (main): Converted to ...
10612         (do_test): ... this.
10613         (TEST_FUNCTION): New macro.
10614         Include test-skeleton.c.
10615         * elf/tst-order-main.c (main): Converted to ...
10616         (do_test): ... this.
10617         (TEST_FUNCTION): New macro.
10618         Include test-skeleton.c.
10619         * elf/tst-pie2.c (main): Converted to ...
10620         (do_test): ... this.
10621         (TEST_FUNCTION): New macro.
10622         Include test-skeleton.c.
10623         * inet/tst-ether_aton.c (main): Converted to ...
10624         (do_test): ... this.
10625         (TEST_FUNCTION): New macro.
10626         Include test-skeleton.c.
10627         * misc/tst-mntent.c (main): Converted to ...
10628         (do_test): ... this.
10629         (TEST_FUNCTION): New macro.
10630         Include test-skeleton.c.
10631         * misc/tst-tsearch.c (main): Converted to ...
10632         (do_test): ... this.
10633         (TEST_FUNCTION): New macro.
10634         Include test-skeleton.c.
10635         * posix/tst-regexloc.c (main): Converted to ...
10636         (do_test): ... this.
10637         (TEST_FUNCTION): New macro.
10638         Include test-skeleton.c.
10639         * resolv/tst-aton.c (main): Converted to ...
10640         (do_test): ... this.
10641         (TEST_FUNCTION): New macro.
10642         Include test-skeleton.c.
10643         * stdio-common/test-fwrite.c (main): Converted to ...
10644         (do_test): ... this.
10645         (TEST_FUNCTION): New macro.
10646         Include test-skeleton.c.
10647         * stdio-common/tst-ferror.c (main): Converted to ...
10648         (do_test): ... this.
10649         (TEST_FUNCTION): New macro.
10650         Include test-skeleton.c.
10651         * stdio-common/tst-printf.c (main): Converted to ...
10652         (do_test): ... this.
10653         (TEST_FUNCTION): New macro.
10654         Include test-skeleton.c.
10655         * stdio-common/tst-printfsz.c (main): Converted to ...
10656         (do_test): ... this.
10657         (TEST_FUNCTION): New macro.
10658         Include test-skeleton.c.
10659         * stdlib/tst-strtod.c (main): Converted to ...
10660         (do_test): ... this.
10661         (TEST_FUNCTION): New macro.
10662         Include test-skeleton.c.
10663         * string/tst-strlen.c (main): Converted to ...
10664         (do_test): ... this.
10665         (TEST_FUNCTION): New macro.
10666         Include test-skeleton.c.
10667         * string/tst-svc.c (main): Converted to ...
10668         (do_test): ... this.
10669         (TEST_FUNCTION): New macro.
10670         Include test-skeleton.c.
10671         * time/tst-strptime.c (main): Converted to ...
10672         (do_test): ... this.
10673         (TEST_FUNCTION): New macro.
10674         Include test-skeleton.c.
10675         * timezone/tst-timezone.c (main): Converted to ...
10676         (do_test): ... this.
10677         (TEST_FUNCTION): New macro.
10678         Include test-skeleton.c.
10680 2015-08-05  Zack Weinberg  <zackw@panix.com>
10682         * misc/regexp.h: Update comments.
10684 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10686         [BZ #18635]
10687         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10688         before return label.
10690 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10692         [BZ #18661]
10693         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10694         when calling __errno_location.
10695         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10696         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10698 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10700         [BZ #18661]
10701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10702         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10703         __gettimeofday.
10705 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10707         [BZ #18661]
10708         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10709         (__start_context): Don't use pop to restore %rdi so that stack
10710         is aligned to 16 bytes when calling __setcontext.
10712 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10714         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10715         only for libc.
10716         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10718 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10720         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10721         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10722         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10724 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10726         * string/memccpy.c (memccpy):
10727         Improve performance by using memchr/memcpy/__mempcpy.
10729 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10731         * string/strncpy.c (strncpy):
10732         Improve performance by using __strnlen/memcpy.
10734 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10736         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10737         Optimize to avoid an unnecessary FPCR read.
10739 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10741         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10742         Optimize to reduce FPCR/FPSR accesses.
10744 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10746         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10747         dead->data[category] != NULL.
10749 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10751         [BZ #18647]
10752         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10753         and |x| close to 1, use absolute value of x when computing log.
10754         * math/auto-libm-test-in: Add more tests of pow.
10755         * math/auto-libm-test-out: Regenerated.
10757 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10759         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10760         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10761         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10763 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10765         [BZ #18525]
10766         * locales/km_KH: Remove timezone definition.
10767         * locales/lo_LA: Likewise.
10768         * locales/my_MM: Likewise.
10769         * locales/nan_TW@latin: Likewise.
10770         * locales/th_TH: Likewise.
10771         * locales/uk_UA: Likewise.
10773 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10775         [BZ #18265]
10776         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10777         (wcsncat): Likewise.
10778         (wcscmp): Likewise.
10779         (wcsncmp): Likewise.
10781 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10783         * test-skeleton.c (usage): New function.
10784         (main): Call usage when opt is '?'.
10786 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10788         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10789         before first use.
10791 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10793         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10794         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10795         in there too.
10797 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10799         * version.h (RELEASE): Set to "development".
10800         (VERSION): Set to "2.22.90"
10802         * version.h (RELEASE): Set to "stable".
10803         (VERSION): Set to "2.22"
10804         * include/features.h (__GLIBC_MINOR__): Set to 22.
10806 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10808         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10809         Restructure macro to avoid "value computed is not used" warning.
10810         (atomic_compare_and_exchange_val_acq): Likewise.
10812 2015-08-04  Andreas Schwab  <schwab@suse.de>
10814         [BZ #18635]
10815         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10816         ret.
10817         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10819 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10821         * po/pl.po: Updated translation.
10822         * po/uk.po: Likewise.
10823         * po/fi.po: Likewise.
10824         * po/ko.po: Likewise.
10825         * po/ru.po: Likewise.
10826         * po/vi.po: Likewise.
10828 2015-07-31  Zack Weinberg  <zackw@panix.com>
10830         [BZ #18681]
10831         * regexp.h: Add unconditional #warning stating that this header
10832         will be removed soon.  Revise banner comment to match.
10833         (compile): Consistently use ERROR instead of RETURN to report
10834         errors (partial fix for bz#18681).
10835         * regexp.c: Don't include regexp.h. Remove some unnecessary
10836         declarations.
10838 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10840         * po/libc.pot: Regenerated.
10842 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10844         [BZ #18740]
10845         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10846         float-vlen4-arch-ext-cflags): Removed.
10847         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10848         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10850 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10852         [BZ #14113]
10853         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10854         aligned to __aligned__.
10855         (pthread_cond_t, pthread_rwlock_t): Likewise.
10857 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10859         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10861 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10863         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10864         (struct sigaction): Change sa_flags from a long to an int, and add
10865         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10867 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10869         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10870         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10871         sysdeps/generic/sysdep.h include.
10872         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10873         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10874         sysdeps/hppa/sysdep.h.
10875         (ENTRY, PSEUDO): Undefine before defining.
10877 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10879         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10880         from scratch to use INTERNAL_SYSCALL.
10882 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10884         [BZ #18078]
10885         * scripts/check-localplt.awk: Support alternate relocations.
10886         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10887         sections.
10888         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10889         malloc entries with + REL R_386_GLOB_DAT.
10890         * sysdeps/x86_64/localplt.data: New file.
10892 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10894         [BZ #18731]
10895         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10896         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10897         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10899 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10901         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10903 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10905         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10906         directly in terms of __sync_fetch_and_add and delete (int) cast.
10908 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10910         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10911         the -D_ASM_IA64_CURRENT_H flag.
10913 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10915         [BZ #18641]
10916         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10918 2015-07-27  Andreas Schwab  <schwab@suse.de>
10920         * conform/conformtest.pl (checknamespace): Filter out string
10921         literals while tokenizing.
10923 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10925         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10926         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10927         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10929 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10931         * nptl/tst-join7mod.c: Add #include <string.h>.
10933 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10935         * sysdeps/nios2/libm-test-ulps: Update.
10937 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10939         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10940         Fix order of arguments to the rt_sigprocmask syscall.
10941         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10942         Likewise.
10944 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10946         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10948 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10950         [BZ #18457]
10951         * nptl/Makefile (tests): New test case tst-join7.
10952         (modules-names): New test case module tst-join7mod.
10953         * nptl/tst-join7.c: New file.
10954         * nptl/tst-join7mod.c: New file.
10955         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10956         all translation units in libc.so, libpthread.so and rtld.
10958 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10962 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10964         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10966         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10967         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10969         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10970         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10976         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10977         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10979         implementation.
10981 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10983         [BZ #17711]
10984         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10985         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10986         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10987         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10988         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10989         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10991 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10993         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10994         instead of just saying load lock in the comments.
10996 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10998         * sysdeps/unix/Subdirs: Moved ...
10999         * sysdeps/posix/Subdirs: ... here.
11000         * login/pty.h (struct termios, struct winsize): Add forward decls.
11001         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11002         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11003         * sysdeps/arm/nacl/libc.abilist: Updated.
11004         * sysdeps/nacl/libutil.abilist: New file.
11006         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11007         (SIGWINCH): New macro.
11009         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11010         * sysdeps/arm/nacl/libc.abilist: Add it.
11012 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11014         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11016 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11018         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11019         Swap __glibc_reserved0 and sa_flags order.
11021 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11023         [BZ #18657]
11024         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11025         are pending TLS destructor calls.
11026         * include/link.h (struct link_map): Add concurrency note for
11027         L_TLS_DTOR_COUNT.
11028         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11029         Don't touch the link map flag.  Atomically increment
11030         l_tls_dtor_count.
11031         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11032         Avoid taking the load lock and don't touch the link map flag.
11033         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11034         * stdlib/Makefile (tests): Use it.
11035         * stdlib/tst-tls-atexit.c (do_test): dlopen
11036         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11037         to allow tst-tls-atexit-nodelete test case to use it.
11039 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11041         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11042         to bits/types.h.
11043         (msgqnum_t): New typedef.
11044         (msglen_t): Likewise.
11045         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11046         and msg_qbytes type to msglen_t.
11048 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11050         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11051         pad0 to __glibc_reserved0.
11052         (struct stat64): Likewise.
11054 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11056         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11057         Change sa_flags from a long to an int and add __glibc_reserved0 before
11058         it for padding.
11060 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11062         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11063         anonymous by deleting "siginfo" name.
11065 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11067         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11068         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11069         rather than __nacl_irt_filename.
11070         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11072         * NEWS: New item for arm-nacl port.
11073         * sysdeps/arm/nacl/libc.abilist: New file.
11074         * sysdeps/nacl/ld.abilist: New file.
11075         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11076         * sysdeps/nacl/libanl.abilist: New file.
11077         * sysdeps/nacl/libcrypt.abilist: New file.
11078         * sysdeps/nacl/libdl.abilist: New file.
11079         * sysdeps/nacl/libm.abilist: New file.
11080         * sysdeps/nacl/libpthread.abilist: New file.
11081         * sysdeps/nacl/libresolv.abilist: New file.
11082         * sysdeps/nacl/librt.abilist: New file.
11084 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11086         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11087         __startcontext to initialize the new context.
11088         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11089         up CFI directive to forbid further backtracing.
11091 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11093         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11094         reference.
11095         * charmaps/ANSI_X3.4-1968: Likewise.
11096         * charmaps/BS_4730: Likewise.
11097         * charmaps/BS_VIEWDATA: Likewise.
11098         * charmaps/CP1250: Likewise.
11099         * charmaps/CP1251: Likewise.
11100         * charmaps/CP1252: Likewise.
11101         * charmaps/CP1253: Likewise.
11102         * charmaps/CP1254: Likewise.
11103         * charmaps/CP1255: Likewise.
11104         * charmaps/CP1256: Likewise.
11105         * charmaps/CSN_369103: Likewise.
11106         * charmaps/EBCDIC-DK-NO: Likewise.
11107         * charmaps/GB_1988-80: Likewise.
11108         * charmaps/GREEK-CCITT: Likewise.
11109         * charmaps/GREEK7: Likewise.
11110         * charmaps/INIS-8: Likewise.
11111         * charmaps/ISIRI-3342: Likewise.
11112         * charmaps/ISO_2033-1983: Likewise.
11113         * charmaps/ISO_5427-EXT: Likewise.
11114         * locales/POSIX: Likewise.
11115         * locales/ar_SA: Likewise.
11116         * locales/be_BY: Likewise.
11117         * locales/be_BY@latin: Likewise.
11118         * locales/ca_ES: Likewise.
11119         * locales/cs_CZ: Likewise.
11120         * locales/da_DK: Likewise.
11121         * locales/de_BE: Likewise.
11122         * locales/de_CH: Likewise.
11123         * locales/de_LU: Likewise.
11124         * locales/en_AU: Likewise.
11125         * locales/en_BW: Likewise.
11126         * locales/en_CA: Likewise.
11127         * locales/en_DK: Likewise.
11128         * locales/en_GB: Likewise.
11129         * locales/en_IE: Likewise.
11130         * locales/en_NZ: Likewise.
11131         * locales/en_ZA: Likewise.
11132         * locales/en_ZW: Likewise.
11133         * locales/es_AR: Likewise.
11134         * locales/es_BO: Likewise.
11135         * locales/es_CL: Likewise.
11136         * locales/es_CO: Likewise.
11137         * locales/es_DO: Likewise.
11138         * locales/es_EC: Likewise.
11139         * locales/es_ES: Likewise.
11140         * locales/es_HN: Likewise.
11141         * locales/es_MX: Likewise.
11142         * locales/es_PA: Likewise.
11143         * locales/es_PE: Likewise.
11144         * locales/es_PY: Likewise.
11145         * locales/es_SV: Likewise.
11146         * locales/es_US: Likewise.
11147         * locales/es_UY: Likewise.
11148         * locales/es_VE: Likewise.
11149         * locales/et_EE: Likewise.
11150         * locales/fa_IR: Likewise.
11151         * locales/fo_FO: Likewise.
11152         * locales/fr_CA: Likewise.
11153         * locales/fr_CH: Likewise.
11154         * locales/gv_GB: Likewise.
11155         * locales/he_IL: Likewise.
11156         * locales/hr_HR: Likewise.
11157         * locales/id_ID: Likewise.
11158         * locales/is_IS: Likewise.
11159         * locales/it_CH: Likewise.
11160         * locales/iw_IL: Likewise.
11161         * locales/kl_GL: Likewise.
11162         * locales/ko_KR: Likewise.
11163         * locales/kw_GB: Likewise.
11164         * locales/lg_UG: Likewise.
11165         * locales/lt_LT: Likewise.
11166         * locales/lv_LV: Likewise.
11167         * locales/mi_NZ: Likewise.
11168         * locales/nhn_MX: Likewise.
11169         * locales/nl_BE: Likewise.
11170         * locales/pl_PL: Likewise.
11171         * locales/sk_SK: Likewise.
11172         * locales/sl_SI: Likewise.
11173         * locales/sv_FI: Likewise.
11174         * locales/tl_PH: Likewise.
11175         * locales/tr_TR: Likewise.
11176         * locales/vi_VN: Likewise.
11178 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11180         [BZ #17475]
11181         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11182         of tu_IN and bh_IN.
11184 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11186         [BZ #18694]
11187         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11188         bits/wordsize.h.
11189         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11191 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11193         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11194         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11195         (spawn_thread): New function.
11196         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11197         (do_test): ... here.  Use IS_LOADED to test for its
11198         availability.
11200 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11204 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11206         [BZ #18696]
11207         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11208         si_addr_bnd.
11209         (si_lower): New.
11210         (si_upper): Likewise.
11212 2015-07-16  David S. Miller  <davem@davemloft.net>
11214         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11216 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11218         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11219         buffer.
11220         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11221         fail output information.
11223 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11226         and strstr-ppc64..
11227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11228         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11229         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11230         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11231         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11233 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11235         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11236         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11237         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11238         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11240 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11242         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11243         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11244         rtld_hidden_proto.
11245         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11247 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11249         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11250         the test can fail.
11252         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11254         [BZ #18676]
11255         * elf/tst-nodelete-opened.c: New test case.
11256         * elf/tst-nodelete-opened-lib.c: New test case module.
11257         * elf/Makefile (tests, modules-names): Use them.
11258         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11259         early.
11261 2015-07-15  David S. Miller  <davem@davemloft.net>
11263         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11264         futex-intenal.h
11265         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11266         * sysdeps/sparc/sparc64/Makefile: Likewise.
11267         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11268         Remove space from macro define.
11269         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11271 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11273         [BZ #17475]
11274         * locale/iso-639.def: Update Bhili and Tulu language codes as
11275         per iso639-3.
11277 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11279         * elf/tst-leaks1.c (main): Converted to ...
11280         (do_test): ... this.
11281         (TEST_FUNCTION): New macro.
11282         Include test-skeleton.c.
11283         * localedata/tst-langinfo.c (main): Converted to ...
11284         (do_test): ... this.
11285         (TEST_FUNCTION): New macro.
11286         Include test-skeleton.c.
11287         * math/test-fpucw.c (main): Converted to ...
11288         (do_test): ... this.
11289         (TEST_FUNCTION): New macro.
11290         Include test-skeleton.c.
11291         * math/test-tgmath.c (main): Converted to ...
11292         (do_test): ... this.
11293         (TEST_FUNCTION): New macro.
11294         Include test-skeleton.c.
11295         * math/test-tgmath2.c (main): Converted to ...
11296         (do_test): ... this.
11297         (TEST_FUNCTION): New macro.
11298         Include test-skeleton.c.
11299         * setjmp/tst-setjmp.c (main): Converted to ...
11300         (do_test): ... this.
11301         (TEST_FUNCTION): New macro.
11302         Include test-skeleton.c.
11303         * stdio-common/tst-sscanf.c (main): Converted to ...
11304         (do_test): ... this.
11305         (TEST_FUNCTION): New macro.
11306         Include test-skeleton.c.
11307         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11308         (do_test): ... this.
11309         (TEST_FUNCTION): New macro.
11310         Include test-skeleton.c.
11312         * elf/tst-audit9.c (main): Converted to ...
11313         (do_test): ... this.
11314         (TEST_FUNCTION): New macro.
11315         Include test-skeleton.c.
11317 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11319         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11321 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11323         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11324         New variable.
11326 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11328         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11330 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11332         * sysdeps/generic/dl-fileid.h: New file.
11333         * sysdeps/posix/dl-fileid.h: New file.
11334         * sysdeps/nacl/dl-fileid.h: New file.
11335         * include/link.h: Include <dl-fileid.h>.
11336         (struct link_map): Replace l_dev and l_ino with l_file_id.
11337         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11338         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11339         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11341 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11343         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11345 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11347         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11348         Add iff $CXX is set.
11349         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11350         Likewise.
11351         (tst-nodelete-zmodiff): Likewise.
11352         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11354 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11356         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11358 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11360         * sysdeps/aarch64/fpu/math_private.h
11361         (define math_opt_barrier): Add AArch64 version.
11362         (math_force_eval): Likewise.
11364 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11366         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11368 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11370         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11371         %ld with %jd and cast to intmax_t.
11372         (do_test_length_zero): Likewise.
11374 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11376         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11378 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11380         * sysdeps/tile/libm-test-ulps: Regenerated.
11382         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11383         Comment out the whole function, not just its body.
11385 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11387         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11388         locks.
11390         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11392 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11394         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11395         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11397 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11399         * sysdeps/nptl/futex-internal.h: New file.
11400         * sysdeps/nacl/futex-internal.h: New file.
11401         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11402         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11403         error checking.
11404         (setxid_unmark_thread): Likewise.
11405         (__nptl_setxid): Likewise.
11406         (__wait_lookup_done): Likewise.
11407         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11408         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11409         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11410         * nptl/pthread_once.c (clear_once_control): Likewise.
11411         (__pthread_once_slow): Likewise.
11412         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11413         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11414         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11415         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11416         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11417         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11418         Likewise.
11419         (__pthread_rwlock_rdlock): Likewise.
11420         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11421         Likewise.
11422         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11423         Likewise.
11424         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11425         Likewise.
11426         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11427         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11428         Likewise.
11429         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11430         __ASSUME_PRIVATE_FUTEX check.
11431         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11432         Check that shared futexes are supported.
11433         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11434         wrappers with error checking.
11435         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11436         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11437         * nptl/pthread_barrierattr_setpshared.c
11438         (pthread_barrierattr_setpshared): Check that shared futexes are
11439         supported.
11440         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11441         Likewise.
11442         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11443         Likewise.
11444         * nptl/sem_init.c (futex_private_if_supported): Remove.
11445         (__new_sem_init): Adapt and check that shared futexes are supported.
11446         * nptl/sem_open.c (sem_open): Likewise.
11447         * nptl/sem_post.c (futex_wake): Remove.
11448         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11449         (do_futex_wait): Use futex wrappers with error checking.
11450         * nptl/sem_wait.c: Include lowlevellock.h.
11451         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11452         Use futex_supports_pshared.
11453         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11454         Use futex wrappers with error checking.
11455         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11456         Likewise.
11457         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11458         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11459         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11460         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11461         (futex_wake): Likewise.
11462         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11463         (do_futex_wait): Use futex wrappers with error checking.
11464         (__new_sem_wait_slow): Update EINTR handling.
11465         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11467 2015-07-09  Martin Sebor  <msebor@redhat.com>
11469         [BZ #18435]
11470         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11471         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11472         * nptl/Makefile (test-xfail-tst-once5): Define.
11474 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11476         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11477         * elf/dl-minimal.c: For readability, reorder some definitions and
11478         introduce more page breaks.  Include <stdio.h>.
11479         (__libc_fatal): New function.
11481         * include/unistd.h: Add rtld_hidden_proto for _exit.
11482         * posix/_exit.c: Add rtld_hidden_def.
11483         * sysdeps/mach/hurd/_exit.c: Likewise.
11484         * sysdeps/nacl/_exit.c: Likewise.
11485         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11486         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11488 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11491         bndmov encoding with zero displacement.
11493 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11494             H.J. Lu  <hongjiu.lu@intel.com>
11496         [BZ #18134]
11497         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11498         * sysdeps/i386/configure: Regenerated.
11499         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11500         (_dl_runtime_profile): Save and restore Intel MPX return bound
11501         registers when calling _dl_call_pltexit.  Add
11502         PRESERVE_BND_REGS_PREFIX before return.
11503         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11504         (LRV_BND1_OFFSET): Likewise.
11505         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11506         lrv_bnd1.
11507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11508         typo in bndmov encoding.
11509         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11510         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11511         branch instructions to preserve bounds.
11513 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11516         [GLIBC_2.22]: Add fmemopen.
11518 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11520         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11521         returns an error, also try to use host port from __mach_host_self for
11522         the __vm_wire call.
11523         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11525 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11527         [BZ #18400]
11528         [BZ #18648]
11529         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11530         Fix pr_uid and pr_gid members.
11531         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11532         definition to elf_greg_t.
11534 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11536         [BZ #18383]
11537         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11538         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11539         * sysdeps/arm/configure: Regenerated.
11540         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11541         (test-xfail-tst-tlsalign-static): Variable removed.
11543         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11544         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11545         rather than explicit 'ln -s'.
11547         * resolv/rpc/netdb.h: New file.
11548         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11550 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11552         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11553         length buffers.
11554         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11555         test-skeleton.c.
11557         [BZ #6544]
11558         [BZ #11216]
11559         [BZ #12836]
11560         [BZ #13151]
11561         [BZ #13152]
11562         [BZ #14292]
11563         * include/stdio.h (fmemopen): Remove hidden prototype.
11564         (__fmemopen): Add new hidden prototype.
11565         * libio/Makefile: Add oldfmemopen object.
11566         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11567         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11568         compliance.
11569         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11570         symbol compatibility.
11571         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11572         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11573         fmemopen.
11574         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11575         on append and read mode.
11576         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11577         fmemopen.
11578         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11579         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11580         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11581         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11582         Likewise.
11583         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11584         [GLIBC_2.22]: Likewise.
11585         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11586         Likewise.
11587         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11590         [GLIBC_2.22]: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11592         [GLIBC_2.22]: Likewise.
11593         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11594         [GLIBC_2.22]: Likewise.
11595         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11596         [GLIBC_2.22]: Likewise.
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11598         [GLIBC_2.22]: Likewise.
11599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11600         [GLIBC_2.22]: Likewise.
11601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11602         [GLIBC_2.22]: Likewise.
11603         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11604         Likewise.
11605         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11606         Likewise.
11607         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11608         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11609         [GLIBC_2.22]: Likewise.
11610         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11611         [GLIBC_2.22]: Likewise.
11612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11613         [GLIBC_2.22]: Likewise.
11614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11615         [GLIBC_2.22]: Likewise.
11616         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11617         Likewise.
11618         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11619         Likewise.
11620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11621         Likewise.
11622         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11623         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11625 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11627         [BZ #18643]
11628         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11629         IPV6_PATHMTU, and IPV6_DONTFRAG.
11631 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11633         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11634         and _IO_UNBUFFERED.
11635         * libio/oldfileops.c: Likewise.
11636         * libio/wfileops.c: Likewise.
11638 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11640         * nscd/selinux.c: Delete selinux/flask.h include.
11642 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11644         [BZ #18641]
11645         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11646         (putpwent): Likewise.
11647         (getpwnam): Likewise.
11648         (getpwent_r): Likewise.
11649         (getpwuid_r): Likewise.
11650         (getpwnam_r): Likewise.
11651         (fgetpwent_r): Likewise.
11653 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11655         [BZ #18557]
11656         * inet/rcmd.c (__validuser2_sa): Check user first to
11657         short-circuit host check.
11659 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11660             Mikhail Ilin  <m.ilin@samsung.com>
11662         [BZ #17833]
11663         * elf/Makefile (tests): Add tst-nodelete.
11664         (modules-names): Add tst-nodelete-uniquemod.
11665         (tst-nodelete-uniquemod.so-no-z-defs): New.
11666         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11667         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11668         ($(objpfx)tst-nodelete): Likewise.
11669         ($(objpfx)tst-nodelete.out): Likewise.
11670         (LDFLAGS-tst-nodelete): Likewise.
11671         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11672         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11673         implement forced object deletion.
11674         (_dl_close): Pass false to _dl_close_worker.
11675         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11676         * elf/tst-nodelete.cc: New file.
11677         * elf/tst-nodeletelib.cc: Likewise.
11678         * elf/tst-znodeletelib.cc: Likewise.
11679         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11681 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11683         [BZ #18508]
11684         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11685         Depend on $(libdl).
11686         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11687         is not called infinitely times.
11688         (backtrace_helper): New function.
11689         (trace_arg): New struct.
11690         (st1): Enlarge stack size.
11691         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11692         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11693         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11694         Likewise.
11696 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11698         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11700 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11702         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11703         Include sys/types.h instead of bits/types.h.
11704         Remove inclusion of bits/wordsize.h.
11706 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11708         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11709         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11710         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11711         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11712         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11713         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11715 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11717         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11718         link-defines.sym.
11719         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11720         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11721         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11722         and LR_SIZE.
11723         * sysdeps/i386/link-defines.sym: New file.
11725 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11727         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11728         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11729         ($(objpfx)tst-audit3): New rule.
11730         ($(objpfx)tst-audit3.out): Likewise.
11731         * sysdeps/i386/tst-audit3.c: New file.
11732         * sysdeps/i386/tst-audit3.h: Likewise.
11733         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11734         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11736 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11738         [BZ #18633]
11739         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11740         pointer in C code.
11741         (__strcat_c): Likewise.
11742         (__strcat_g): Likewise.
11744 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11746         [BZ #18592]
11747         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11749 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11751         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11752         New function.  (__ieee754_sqrtf): New function.
11753         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11754         New function.
11755         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11756         New function.
11758 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11760         * sysdeps/ieee754/support.c: Remove unused file.
11762 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11764         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11765         registers instead of d ones so the layout is kernel abi compatible.
11766         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11767         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11768         Likewise.
11770 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11772         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11774 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11776         [BZ #18619]
11777         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11778         and return argument in case of subnormal argument.
11780 2015-07-01  Martin Sebor  <msebor@redhat.com>
11782         [BZ #18435]
11783         * nptl/Makefile: Add tst-once5.cc.
11784         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11785         Remove macro redefinitions.
11786         * nptl/tst-once5.cc: New test.
11788 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11790         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11792         * sysdeps/arm/libm-test-ulps: Regenerated.
11794         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11795         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11797 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11799         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11800         lll_lock_wait_private and lll_futex_wake probes.
11802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11803         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11804         Likewise.
11805         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11806         atomic_spin_nop.
11807         * sysdeps/x86_64/bits/atomic.h: Likewise.
11808         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11809         to atomic_spin_nop and move ...
11810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11811         ... here and ...
11812         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11813         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11814         atomic_spin_nop instead of BUSY_WAIT_NOP.
11815         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11816         Likewise.
11817         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11818         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11819         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11820         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11821         instead of atomic_delay.
11823 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11825         [BZ #18613]
11826         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11827         X_ADJ not X when adjusting exponent.
11828         (__ieee754_gamma_r): Do intermediate computations in
11829         round-to-nearest then adjust overflowing and underflowing results
11830         as needed.
11831         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11832         of X_ADJ not X when adjusting exponent.
11833         (__ieee754_gammaf_r): Do intermediate computations in
11834         round-to-nearest then adjust overflowing and underflowing results
11835         as needed.
11836         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11837         log of X_ADJ not X when adjusting exponent.
11838         (__ieee754_gammal_r): Do intermediate computations in
11839         round-to-nearest then adjust overflowing and underflowing results
11840         as needed.  Use 1.0L not 1.0f as numerator of division.
11841         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11842         log of X_ADJ not X when adjusting exponent.
11843         (__ieee754_gammal_r): Do intermediate computations in
11844         round-to-nearest then adjust overflowing and underflowing results
11845         as needed.  Use 1.0L not 1.0f as numerator of division.
11846         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11847         of X_ADJ not X when adjusting exponent.
11848         (__ieee754_gammal_r): Do intermediate computations in
11849         round-to-nearest then adjust overflowing and underflowing results
11850         as needed.  Use 1.0L not 1.0f as numerator of division.
11851         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11852         to auto-libm-test-in.
11853         (tgamma_test): Use ALL_RM_TEST.
11854         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11855         tests of tgamma with spurious-overflow.
11856         * math/auto-libm-test-out: Regenerated.
11857         * math/gen-libm-have-vector-test.sh: Do not check for START.
11858         * sysdeps/i386/fpu/libm-test-ulps: Update.
11859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861         [BZ #18612]
11862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11863         arguments, just return 0.5 times the argument, with underflow
11864         forced as needed.
11865         * math/auto-libm-test-in: Add more tests of j1.
11866         * math/auto-libm-test-out: Regenerated.
11868         [BZ #16559]
11869         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11870         (__ieee754_j1): Force underflow exception for small results.
11871         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11872         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11873         (__ieee754_j1f): Force underflow exception for small results.
11874         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11875         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11877         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11878         (__ieee754_j1l): Force underflow exception for small results.
11879         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11880         * math/auto-libm-test-in: Add more tests of j1 and jn.
11881         * math/auto-libm-test-out: Regenerated.
11883         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11884         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11885         (PF_MPLS): Likewise.
11886         (AF_IB): Likewise.
11887         (AF_MPLS): Likewise.
11888         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11889         value and macro.
11890         (MS_RMT_MASK): Include MS_LAZYTIME.
11892 2015-06-26  Mel Gorman  <mgorman@suse.de>
11894         [BZ #18502]
11895         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11896         already minimal.
11898 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11900         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11901         (DT_MIPS_NUM): Update.
11902         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11903         DT_MIPS_RLD_MAP_REL.
11905 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11907         [BZ #16559]
11908         [BZ #18602]
11909         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11910         round-to-nearest internally then recompute results that
11911         underflowed to zero in the original rounding mode.
11912         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11913         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11914         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11915         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11916         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11917         * sysdeps/i386/fpu/libm-test-ulps: Update.
11918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11920 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11922         * NEWS: Fixed description of link with vector math library.
11924 2015-06-25  Andreas Schwab  <schwab@suse.de>
11926         [BZ #18549]
11927         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11928         * libio/test-fmemopen.c (do_test): Add test for it.
11930 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11932         [BZ #17841]
11933         * Makeconfig (no-pie-ldflag): New.
11934         (+link): Set to $(+link-pie) if default to PIE.
11935         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11936         * config.make.in (build-pie-default): New.
11937         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11938         is default.  AC_SUBST.
11939         * configure: Regenerated.
11940         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11942 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11944         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11945         to 'unsigned int'.
11947         * resolv/gai_misc.h (struct waitlist): Change type of field
11948         counterp to 'volatile unsigned int *'.
11949         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11950         FUTEXADDR and OLDVAL.
11951         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11952         Give local variable TOTAL type 'volatile unsigned int'.
11953         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11954         * resolv/gai_suspend.c (gai_suspend):
11955         Give local variable CNTR type 'unsigned int'.
11957         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11958         counterp to 'volatile unsigned int *'.
11959         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11960         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11961         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11962         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11963         Give local variable TOTAL type 'volatile unsigned int'.
11964         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11966 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11968         [BZ #18383]
11969         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11970         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11971         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11972         comment for i386/x86-64.
11973         (test-xfail-tst-tlsalign-extern-static): Removed.
11975 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11977         * math/test-double.h: New file.
11978         * math/test-float.h: Likewise.
11979         * math/test-ldouble.h: Likewise.
11980         * math/test-math-inline.h: Likewise.
11981         * math/test-math-no-inline.h: Likewise.
11982         * math/test-math-scalar.h: Likewise.
11983         * math/test-math-vector.h: Likewise.
11984         * math/test-vec-loop.h: Remove file.  Contents moved into
11985         test-math-vector.h.
11986         * math/libm-test.inc (MATHCONST): Do not document macro.
11987         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11988         and test-math-scalar.h.
11989         (FUNC): Remove macro.
11990         (FUNC_TEST): Likewise.
11991         (FLOAT): Likewise.
11992         (MATHCONST): Likewise.
11993         (PRINTF_EXPR): Likewise.
11994         (PRINTF_XEXPR): Likewise.
11995         (PRINTF_NEXPR): Likewise.
11996         (TEST_DOUBLE): Likewise.
11997         (TEST_MATHVEC): Likewise.
11998         (__NO_MATH_INLINES): Likewise.
11999         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12000         and test-math-scalar.h.
12001         (FUNC): Remove macro.
12002         (FUNC_TEST): Likewise.
12003         (FLOAT): Likewise.
12004         (MATHCONST): Likewise.
12005         (PRINTF_EXPR): Likewise.
12006         (PRINTF_XEXPR): Likewise.
12007         (PRINTF_NEXPR): Likewise.
12008         (TEST_FLOAT): Likewise.
12009         (TEST_MATHVEC): Likewise.
12010         (__NO_MATH_INLINES): Likewise.
12011         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12012         and test-math-scalar.h.
12013         (FUNC): Remove macro.
12014         (FUNC_TEST): Likewise.
12015         (FLOAT): Likewise.
12016         (MATHCONST): Likewise.
12017         (PRINTF_EXPR): Likewise.
12018         (PRINTF_XEXPR): Likewise.
12019         (PRINTF_NEXPR): Likewise.
12020         (TEST_DOUBLE): Likewise.
12021         (TEST_MATHVEC): Likewise.
12022         (TEST_INLINE): Likewise.
12023         (__NO_MATH_INLINES): Likewise.
12024         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12025         test-math-scalar.h.
12026         (FUNC): Remove macro.
12027         (FUNC_TEST): Likewise.
12028         (FLOAT): Likewise.
12029         (MATHCONST): Likewise.
12030         (PRINTF_EXPR): Likewise.
12031         (PRINTF_XEXPR): Likewise.
12032         (PRINTF_NEXPR): Likewise.
12033         (TEST_FLOAT): Likewise.
12034         (TEST_MATHVEC): Likewise.
12035         (TEST_INLINE): Likewise.
12036         (__NO_MATH_INLINES): Likewise.
12037         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12038         and test-math-scalar.h.
12039         (FUNC): Remove macro.
12040         (FUNC_TEST): Likewise.
12041         (FLOAT): Likewise.
12042         (MATHCONST): Likewise.
12043         (PRINTF_EXPR): Likewise.
12044         (PRINTF_XEXPR): Likewise.
12045         (PRINTF_NEXPR): Likewise.
12046         (TEST_LDOUBLE): Likewise.
12047         (TEST_MATHVEC): Likewise.
12048         (TEST_INLINE): Likewise.
12049         (__NO_MATH_INLINES): Likewise.
12050         * math/test-ldouble.c: Include test-ldouble.h,
12051         test-math-no-inline.h and test-math-scalar.h.
12052         (FUNC): Remove macro.
12053         (FUNC_TEST): Likewise.
12054         (FLOAT): Likewise.
12055         (MATHCONST): Likewise.
12056         (PRINTF_EXPR): Likewise.
12057         (PRINTF_XEXPR): Likewise.
12058         (PRINTF_NEXPR): Likewise.
12059         (TEST_LDOUBLE): Likewise.
12060         (TEST_MATHVEC): Likewise.
12061         (__NO_MATH_INLINES): Likewise.
12062         * math/test-double-vlen2.h: Include test-double.h,
12063         test-math-no-inline.h and test-math-vector.h.
12064         (FLOAT): Remove macro.
12065         (FUNC): Likewise.
12066         (MATHCONST): Likewise.
12067         (PRINTF_EXPR): Likewise.
12068         (PRINTF_XEXPR): Likewise.
12069         (PRINTF_NEXPR): Likewise.
12070         (TEST_DOUBLE): Likewise.
12071         (TEST_MATHVEC): Likewise.
12072         (__NO_MATH_INLINES): Likewise.
12073         (CNCT): Likewise.
12074         (CONCAT): Likewise.
12075         (WRAPPER_NAME): Likewise.
12076         (WRAPPER_DECL): Likewise.
12077         (WRAPPER_DECL_ff): Likewise.
12078         (WRAPPER_DECL_fFF): Likewise.
12079         (VECTOR_WRAPPER): Likewise.
12080         (VECTOR_WRAPPER_ff): Likewise.
12081         (VECTOR_WRAPPER_fFF): Likewise.
12082         (VEC_LEN): New macro.
12083         * math/test-double-vlen4.h: Include test-double.h,
12084         test-math-no-inline.h and test-math-vector.h.
12085         (FLOAT): Remove macro.
12086         (FUNC): Likewise.
12087         (MATHCONST): Likewise.
12088         (PRINTF_EXPR): Likewise.
12089         (PRINTF_XEXPR): Likewise.
12090         (PRINTF_NEXPR): Likewise.
12091         (TEST_DOUBLE): Likewise.
12092         (TEST_MATHVEC): Likewise.
12093         (__NO_MATH_INLINES): Likewise.
12094         (CNCT): Likewise.
12095         (CONCAT): Likewise.
12096         (WRAPPER_NAME): Likewise.
12097         (WRAPPER_DECL): Likewise.
12098         (WRAPPER_DECL_ff): Likewise.
12099         (WRAPPER_DECL_fFF): Likewise.
12100         (VECTOR_WRAPPER): Likewise.
12101         (VECTOR_WRAPPER_ff): Likewise.
12102         (VECTOR_WRAPPER_fFF): Likewise.
12103         (VEC_LEN): New macro.
12104         * math/test-double-vlen8.h: Include test-double.h,
12105         test-math-no-inline.h and test-math-vector.h.
12106         (FLOAT): Remove macro.
12107         (FUNC): Likewise.
12108         (MATHCONST): Likewise.
12109         (PRINTF_EXPR): Likewise.
12110         (PRINTF_XEXPR): Likewise.
12111         (PRINTF_NEXPR): Likewise.
12112         (TEST_DOUBLE): Likewise.
12113         (TEST_MATHVEC): Likewise.
12114         (__NO_MATH_INLINES): Likewise.
12115         (CNCT): Likewise.
12116         (CONCAT): Likewise.
12117         (WRAPPER_NAME): Likewise.
12118         (WRAPPER_DECL): Likewise.
12119         (WRAPPER_DECL_ff): Likewise.
12120         (WRAPPER_DECL_fFF): Likewise.
12121         (VECTOR_WRAPPER): Likewise.
12122         (VECTOR_WRAPPER_ff): Likewise.
12123         (VECTOR_WRAPPER_fFF): Likewise.
12124         (VEC_LEN): New macro.
12125         * math/test-float-vlen4.h: Include test-float.h,
12126         test-math-no-inline.h and test-math-vector.h.
12127         (FLOAT): Remove macro.
12128         (FUNC): Likewise.
12129         (MATHCONST): Likewise.
12130         (PRINTF_EXPR): Likewise.
12131         (PRINTF_XEXPR): Likewise.
12132         (PRINTF_NEXPR): Likewise.
12133         (TEST_FLOAT): Likewise.
12134         (TEST_MATHVEC): Likewise.
12135         (__NO_MATH_INLINES): Likewise.
12136         (CNCT): Likewise.
12137         (CONCAT): Likewise.
12138         (WRAPPER_NAME): Likewise.
12139         (WRAPPER_DECL): Likewise.
12140         (WRAPPER_DECL_ff): Likewise.
12141         (WRAPPER_DECL_fFF): Likewise.
12142         (VECTOR_WRAPPER): Likewise.
12143         (VECTOR_WRAPPER_ff): Likewise.
12144         (VECTOR_WRAPPER_fFF): Likewise.
12145         (VEC_LEN): New macro.
12146         * math/test-float-vlen8.h: Include test-float.h,
12147         test-math-no-inline.h and test-math-vector.h.
12148         (FLOAT): Remove macro.
12149         (FUNC): Likewise.
12150         (MATHCONST): Likewise.
12151         (PRINTF_EXPR): Likewise.
12152         (PRINTF_XEXPR): Likewise.
12153         (PRINTF_NEXPR): Likewise.
12154         (TEST_FLOAT): Likewise.
12155         (TEST_MATHVEC): Likewise.
12156         (__NO_MATH_INLINES): Likewise.
12157         (CNCT): Likewise.
12158         (CONCAT): Likewise.
12159         (WRAPPER_NAME): Likewise.
12160         (WRAPPER_DECL): Likewise.
12161         (WRAPPER_DECL_ff): Likewise.
12162         (WRAPPER_DECL_fFF): Likewise.
12163         (VECTOR_WRAPPER): Likewise.
12164         (VECTOR_WRAPPER_ff): Likewise.
12165         (VECTOR_WRAPPER_fFF): Likewise.
12166         (VEC_LEN): New macro.
12167         * math/test-float-vlen16.h: Include test-float.h,
12168         test-math-no-inline.h and test-math-vector.h.
12169         (FLOAT): Remove macro.
12170         (FUNC): Likewise.
12171         (MATHCONST): Likewise.
12172         (PRINTF_EXPR): Likewise.
12173         (PRINTF_XEXPR): Likewise.
12174         (PRINTF_NEXPR): Likewise.
12175         (TEST_FLOAT): Likewise.
12176         (TEST_MATHVEC): Likewise.
12177         (__NO_MATH_INLINES): Likewise.
12178         (CNCT): Likewise.
12179         (CONCAT): Likewise.
12180         (WRAPPER_NAME): Likewise.
12181         (WRAPPER_DECL): Likewise.
12182         (WRAPPER_DECL_ff): Likewise.
12183         (WRAPPER_DECL_fFF): Likewise.
12184         (VECTOR_WRAPPER): Likewise.
12185         (VECTOR_WRAPPER_ff): Likewise.
12186         (VECTOR_WRAPPER_fFF): Likewise.
12187         (VEC_LEN): New macro.
12188         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12189         test-vec-loop.h.
12190         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12192         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12193         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12194         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12195         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12196         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12198 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12200         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12201         (__getlogin_r): ... this.
12203 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12205         [BZ #18594]
12206         * math/s_ccosh.c (__ccosh): Compare with least normal value
12207         instead of comparing class with FP_SUBNORMAL.
12208         * math/s_ccoshf.c (__ccoshf): Likewise.
12209         * math/s_ccoshl.c (__ccoshl): Likewise.
12210         * math/s_cexp.c (__cexp): Likewise.
12211         * math/s_cexpf.c (__cexpf): Likewise.
12212         * math/s_cexpl.c (__cexpl): Likewise.
12213         * math/s_csin.c (__csin): Likewise.
12214         * math/s_csinf.c (__csinf): Likewise.
12215         * math/s_csinh.c (__csinh): Likewise.
12216         * math/s_csinhf.c (__csinhf): Likewise.
12217         * math/s_csinhl.c (__csinhl): Likewise.
12218         * math/s_csinl.c (__csinl): Likewise.
12219         * math/s_ctan.c (__ctan): Likewise.
12220         * math/s_ctanf.c (__ctanf): Likewise.
12221         * math/s_ctanh.c (__ctanh): Likewise.
12222         * math/s_ctanhf.c (__ctanhf): Likewise.
12223         * math/s_ctanhl.c (__ctanhl): Likewise.
12224         * math/s_ctanl.c (__ctanl): Likewise.
12225         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12226         csin, csinh, ctan and ctanh.
12227         * math/auto-libm-test-out: Regenerated.
12228         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12229         * sysdeps/i386/fpu/libm-test-ulps: Update.
12230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12232 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12234         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12235         return value is wrong, print the expected value too.
12237 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12239         [BZ #18585]
12240         * elf/readlib.c (is_gdb_python_file): New.
12241         (process_file): Don't issue errors on filenames with -gdb.py
12242         suffix.
12244 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12246         * math/auto-libm-test-in: Add more tests of csin and csinh.
12247         * math/auto-libm-test-out: Regenerated.
12248         * math/libm-test.inc (csin_test_data): Remove tests moved to
12249         auto-libm-test-in.
12250         (csinh_test_data): Likewise.
12252         [BZ #18593]
12253         * math/s_csin.c (__csin): Negate before rather than after possibly
12254         overflowing multiplication.
12255         * math/s_csinf.c (__csinf): Likewise.
12256         * math/s_csinh.c (__csinh): Likewise.
12257         * math/s_csinhf.c (__csinhf): Likewise.
12258         * math/s_csinhl.c (__csinhl): Likewise.
12259         * math/s_csinl.c (__csinl): Likewise.
12260         * math/auto-libm-test-in: Add some tests of csin and csinh.
12261         * math/auto-libm-test-out: Regenerated.
12262         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12263         (csinh_test_data): Likewise.
12264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12266         [BZ #18586]
12267         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12268         underflow exception for small results.
12270 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12272         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12274         variable and included header.
12275         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12279         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12283         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12284         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12285         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12286         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12287         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12288         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12289         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12290         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12292 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12294         [BZ #16526]
12295         [BZ #16538]
12296         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12297         (__sin): Force underflow exception for arguments with small
12298         absolute value.
12299         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12300         (__kernel_sinf): Force underflow exception for arguments with
12301         small absolute value.
12302         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12303         (__kernel_sincosl): Force underflow exception for arguments with
12304         small absolute value.
12305         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12306         (__kernel_sinl): Force underflow exception for arguments with
12307         small absolute value.
12308         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12309         (__kernel_sincosl): Force underflow exception for arguments with
12310         small absolute value.
12311         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12312         (__kernel_sinl): Force underflow exception for arguments with
12313         small absolute value.
12314         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12315         (__kernel_sinl): Force underflow exception for arguments with
12316         small absolute value.
12317         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12318         (__kernel_sinf): Force underflow exception for arguments with
12319         small absolute value.
12320         * math/auto-libm-test-in: Add more tests of sin and sincos.
12321         * math/auto-libm-test-out: Regenerated.
12323         [BZ #18245]
12324         [BZ #18583]
12325         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12326         (__kernel_standard_l): Use feholdexcept and fesetenv around
12327         conversion to double instead of special-casing overflow and
12328         underflow.
12329         * math/libm-test.inc (fmod_test_data): Add more tests.
12330         (remainder_test_data): Likewise.
12331         (sqrt_test_data): Likewise.
12333 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12335         [BZ #17403]
12336         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12337         atomic_read_barrier, atomic_write_barrier): Define.
12338         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12339         atomic_read_barrier, atomic_write_barrier): Define.
12341 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12343         * math/Makefile [$(PERL) != no]
12344         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12345         dependency on libm-test.stmp below the inclusion of Rules.
12347 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12349         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12350         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12351         and included header.
12352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12358         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12360         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12361         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12362         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12363         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12364         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12365         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12366         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12367         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12368         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12369         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12370         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12372 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12374         [BZ #18371]
12375         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12376         intermediate but not final result might underflow.
12377         * math/s_csqrtf.c (__csqrtf): Likewise.
12378         * math/s_csqrtl.c (__csqrtl): Likewise.
12379         * math/auto-libm-test-in: Add more tests of csqrt.
12380         * math/auto-libm-test-out: Regenerated.
12381         * sysdeps/i386/fpu/libm-test-ulps: Update.
12383         [BZ #18219]
12384         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12385         threshold on absolute value of exponent for which scaling is used.
12386         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12387         * math/auto-libm-test-in: Add more tests of exp2.
12388         * math/auto-libm-test-out: Regenerated.
12390 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12392         [BZ #17977]
12393         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12394         when initializing interface list, based on the bug analysis
12395         and the patch proposed by Eric Newton.
12396         * resolv/tst-res_hconf_reorder.c: New test.
12397         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12398         tst-res_hconf_reorder.
12399         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12400         and $(shared-thread-library).
12401         (tst-res_hconf_reorder-ENV): New variable.
12403         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12404         in comment.
12406 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12408         [BZ #16353]
12409         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12410         (__expm1): Force underflow exception for arguments with small
12411         absolute value.
12412         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12413         (__expm1f): Force underflow exception for arguments with small
12414         absolute value.
12415         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12416         (__expm1): Force underflow exception for arguments with small
12417         absolute value.
12418         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12419         (__expm1f): Force underflow exception for arguments with small
12420         absolute value.
12421         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12422         Check for small arguments before calling __expm1.
12423         * math/auto-libm-test-in: Do not mark underflow exceptions as
12424         possibly missing for bug 16353.
12425         * math/auto-libm-test-out: Regenerated.
12427 2015-06-22  Andreas Schwab  <schwab@suse.de>
12429         [BZ #18513]
12430         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12431         PTR queries.
12433 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12435         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12437         * string/strcoll_l.c: Remove unused struct element idxnow.
12439 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12441         [BZ #18569]
12442         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12443         underflow and return argument in case of subnormal argument.
12444         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12445         Likewise.
12446         * math/auto-libm-test-in: Add more tests of expm1.
12447         * math/auto-libm-test-out: Regenerated.
12449         [BZ #16361]
12450         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12451         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12452         tiny results.
12453         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12454         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12455         tiny results.
12456         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12457         mark underflow exceptions as possibly missing for bug 16361.
12458         * math/auto-libm-test-out: Regenerated.
12460 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12462         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12463         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12464         Remove variable.
12465         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12466         (test-xfail-XOPEN2K8/utmpx.h/conform).
12468         * conform/conformtest.pl ($xerrors): New variable.
12469         (note_error): New function.
12470         (compiletest): New argument $xfail.  Use not_error.
12471         (runtest): Likewise.
12472         (top level): Handle xfail- lines.  Update calls to compiletest and
12473         runtest.  Handle xfail- and optional- in headers listed with
12474         allow-header.
12475         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12476         (O_EXEC): Likewise.
12477         (O_SEARCH): Likewise.
12478         * conform/data/stropts.h-data (ioctl): Likewise.
12479         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12480         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12481         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12482         (msghdr.msg_controllen): Likewise.
12483         (cmsghdr.cmsg_len): Likewise.
12484         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12485         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12486         variable.
12487         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12488         (test-xfail-XPG4/stropts.h/conform): Likewise.
12489         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12490         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12491         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12492         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12493         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12494         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12495         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12496         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12497         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12498         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12499         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12500         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12501         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12502         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12503         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12504         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12505         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12506         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12507         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12509 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12511         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12512         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12513         definitions for proper unfolding of __MATHDECL_VEC.
12515 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12517         * benchtests/bench-strcoll.c:
12518         Include string.h.
12519         (main): Remove unused variable res.
12521 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12523         * timezone/Makefile (%/UTC %/Universal):
12524         Generate test-result files for UTC and Universal.
12526 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12528         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12530 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #16350]
12533         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12534         for arguments with small absolute value.
12535         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12536         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12537         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12538         (__asinh): Force underflow exception for arguments with small
12539         absolute value.
12540         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12541         (__asinhf): Force underflow exception for arguments with small
12542         absolute value.
12543         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12544         (__asinhl): Force underflow exception for arguments with small
12545         absolute value.
12546         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12547         (__asinhl): Force underflow exception for arguments with small
12548         absolute value.
12549         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12550         (__asinhl): Force underflow exception for arguments with small
12551         absolute value.
12552         * math/auto-libm-test-in: Do not mark underflow exceptions as
12553         possibly missing for bug 16350.
12554         * math/auto-libm-test-out: Regenerated.
12556         * include/bits/ipc.h: Remove file.
12557         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12558         variable.
12559         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12560         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12561         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12562         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12563         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12564         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12565         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12566         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12567         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12569         * math/auto-libm-test-in: Remove spurious underflow allowance for
12570         tests of cexp.
12571         * math/auto-libm-test-out: Regenerated.
12573         [BZ #18558]
12574         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12575         unconditional definition.
12576         (MCAST_BLOCK_SOURCE): Likewise.
12577         (MCAST_UNBLOCK_SOURCE): Likewise.
12578         (MCAST_LEAVE_GROUP): Likewise.
12579         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12580         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12581         (MCAST_MSFILTER): Likewise.
12582         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12583         Remove variable.
12584         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12585         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12586         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12587         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12588         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12590 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12592         * NEWS: Mention addition of x86_64 vector sincosf.
12593         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12594         * math/test-float-vlen4.h: Likewise.
12595         * math/test-float-vlen8.h: Likewise.
12596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12597         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12598         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12599         * sysdeps/x86_64/fpu/Versions: New versions added.
12600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12601         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12602         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12605         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12606         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12607         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12609         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12610         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12611         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12612         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12613         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12614         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12615         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12616         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12617         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12618         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12619         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12622         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12625         * NEWS: Mention addition of x86_64 vector sincos.
12626         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12627         * math/math.h (__MATHDECL_VEC): New macro.
12628         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12629         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12630         declaration under condition.
12631         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12632         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12633         TEST_VEC_LOOP change.
12634         * math/test-double-vlen4.h: Likewise.
12635         * math/test-double-vlen8.h: Likewise.
12636         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12637         * math/test-float-vlen4.h: Likewise.
12638         * math/test-float-vlen8.h: Likewise.
12639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12640         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12642         * sysdeps/x86_64/fpu/Versions: New versions added.
12643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12645         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12647         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12649         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12652         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12653         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12654         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12655         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12656         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12657         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12658         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12659         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12660         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12661         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12662         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12663         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12664         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12665         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12666         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12668         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12669         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12670         redirections for powf.
12671         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12672         * sysdeps/x86_64/fpu/Versions: New versions added.
12673         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12674         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12675         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12676         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12678         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12680         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12681         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12683         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12684         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12685         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12686         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12687         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12688         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12689         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12690         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12691         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12692         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12693         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12694         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12695         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12696         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12697         * math/test-float-vlen16.h: Fixed 2 argument macro.
12698         * math/test-float-vlen4.h: Likewise.
12699         * math/test-float-vlen8.h: Likewise.
12700         * NEWS: Mention addition of x86_64 vector powf.
12702 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12704         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12705         and redefine.
12706         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12707         and redefine.
12708         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12709         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12712         [BZ #18553]
12713         * resource/getpriority.c (getpriority): Rename to __getpriority
12714         and define as weak alias of __getpriority.
12715         * resource/setpriority.c (setpriority): Rename to __setpriority
12716         and define as weak alias of __setpriority.
12717         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12718         __getpriority and define as weak alias of __getpriority.
12719         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12720         __setpriority and define as weak alias of __setpriority.
12721         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12722         strong name.
12723         (setpriority): Use __setpriority as strong name.
12724         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12725         __getpriority and define as weak alias of __getpriority.
12726         * include/sys/resource.h (__getpriority): Declare.  Use
12727         libc_hidden_proto.
12728         (__setpriority): Likewise.
12729         (getpriority): Don't use libc_hidden_proto.
12730         (setpriority): Likewise.
12731         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12732         getpriority.  Call __setpriority instead of setpriority.
12733         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12734         Remove variable.
12736         [BZ #18547]
12737         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12738         as weak alias of __getttynam.  Use prototype function definition.
12739         Call __setttyent, __getttyent and __endttyent instead of
12740         setttyent, getttyent and endttyent.
12741         (getttyent): Rename to __getttyent and define as weak alias of
12742         __getttyent.  Call __setttyent instead of setttyent.  Call
12743         __fgets_unlocked instead of fgets_unlocked.
12744         (setttyent): Rename to __setttyent and define as weak alias of
12745         __setttyent.
12746         (endttyent): Rename to __endttyent and define as weak alias of
12747         __endttyent.
12748         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12749         (__setttyent): Likewise.
12750         (__endttyent): Likewise.
12751         (getttyent): Don't use libc_hidden_proto.
12752         (setttyent): Likewise.
12753         (endttyent): Likewise.
12754         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12755         __endttyent instead of setttyent, getttyent and endttyent.
12756         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12757         Remove variable.
12759         [BZ #18546]
12760         * socket/recv.c (__recv): Use libc_hidden_def.
12761         * socket/socket.c (__socket): Likewise.
12762         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12763         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12764         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12765         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12766         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12767         libc_hidden_def.
12768         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12769         libc_hidden_weak.
12770         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12771         Use libc_hidden_proto.
12772         (__recv): Likewise.
12773         * socket/Versions (libc): Export __recv and __socket at version
12774         GLIBC_PRIVATE.
12775         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12776         instead of recv.
12777         (init_mq_netlink): Call __socket instead of socket.
12778         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12779         Remove variable.
12781         [BZ #18545]
12782         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12783         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12784         hidden_weak.
12785         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12786         define as alias of __mq_timedsend.  Use hidden_weak.
12787         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12788         __mq_timedsend as strong name.
12789         (mq_timedreceive): Use __mq_timedreceive as strong name.
12790         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12791         (__mq_timedreceive): Likewise.
12792         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12793         __mq_timedreceive instead of mq_timedreceive.
12794         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12795         instead of mq_timedsend.
12796         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12797         Remove variable.
12799         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12800         hidden_def and hidden_weak instead of libc_hidden_def and
12801         libc_hidden_weak.
12802         (top level): Refer to hidden_def in comment.
12803         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12804         macro.  Use it instead of libc_hidden_def.
12805         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12806         specify __GI_* name explicitly.
12807         (mq_timedreceive): Likewise.
12808         (mq_setattr): Likewise.
12810         [BZ #18544]
12811         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12812         __pthread_barrier_init and define as weak alias of
12813         __pthread_barrier_init.
12814         * sysdeps/sparc/nptl/pthread_barrier_init.c
12815         (pthread_barrier_init): Likewise.
12816         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12817         __pthread_barrier_wait and define as weak alias of
12818         __pthread_barrier_wait.
12819         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12820         (pthread_barrier_wait): Likewise.
12821         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12822         (pthread_barrier_wait): Likewise.
12823         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12824         (pthread_barrier_wait): Likewise.
12825         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12826         (pthread_barrier_wait): Likewise.
12827         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12828         __pthread_barrier_wait at version GLIBC_PRIVATE.
12829         * include/pthread.h (__pthread_barrier_init): Declare.
12830         (__pthread_barrier_wait): Likewise.
12831         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12832         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12833         (helper_thread): Likewise.
12834         (init_mq_netlink): Call __pthread_barrier_init instead of
12835         pthread_barrier_init.
12837         [BZ #18542]
12838         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12839         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12840         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12841         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12842         vswscanf.
12843         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12844         Remove variable.
12846         [BZ #18540]
12847         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12848         strong alias of _IO_fflush.  Use libc_hidden_def.
12849         * libio/iofflush_u.c (fflush_unlocked): Rename to
12850         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12851         Use libc_hidden_weak.
12852         * include/stdio.h (__fflush_unlocked): Declare.  Use
12853         libc_hidden_proto.
12854         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12855         fflush_unlocked.
12856         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12857         Remove variable.
12859         [BZ #18539]
12860         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12861         define as weak alias of __addseverity.
12862         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12863         Remove variable.
12864         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12865         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12866         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12868         [BZ #18536]
12869         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12870         (__tfind): Likewise.
12871         (__tdelete): Likewise.
12872         (__twalk): Likewise.
12873         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12874         __twalk to GLIBC_PRIVATE.
12875         * include/search.h (__tsearch): Use libc_hidden_proto.
12876         (__tfind): Likewise.
12877         (__tdelete): Likewise.
12878         (__twalk): Likewise.
12879         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12880         Call __tdelete instead of tdelete.
12881         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12882         tfind.  Call __tsearch instead of tsearch.
12883         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12884         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12885         Remove variable.
12886         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12888         [BZ #18534]
12889         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12890         (dprintf): Define as a weak alias of __dprintf, not a strong
12891         alias.
12892         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12893         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12894         dprintf.
12895         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12896         Remove variable.
12897         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12898         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12900         [BZ #18533]
12901         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12902         not a strong alias.
12903         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12904         Remove variable.
12906         [BZ #18532]
12907         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12908         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12909         (in6addr_loopback): Rename to __in6addr_loopback and define as
12910         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12911         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12912         libc_hidden_proto.
12913         (__in6addr_any): Likewise.
12914         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12915         in6addr_any.
12916         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12917         variable.
12918         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12920 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12922         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12923         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12925         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12926         redirections for pow.
12927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12928         * sysdeps/x86_64/fpu/Versions: New versions added.
12929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12931         build of SSE, AVX2 and AVX512 IFUNC versions.
12932         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12933         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12934         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12935         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12936         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12937         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12938         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12939         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12940         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12941         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12942         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12943         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12944         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12945         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12946         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12948         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12949         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12950         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12951         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12952         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12953         * NEWS: Mention addition of x86_64 vector pow.
12955         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12956         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12957         redirections for expf.
12958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12959         * sysdeps/x86_64/fpu/Versions: New versions added.
12960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12962         build of SSE, AVX2 and AVX512 IFUNC versions.
12963         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12969         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12970         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12971         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12972         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12973         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12974         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12975         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12976         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12977         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12978         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12979         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12982         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12983         * NEWS: Mention addition of x86_64 vector expf.
12985         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12986         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12987         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12988         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12989         redirections for exp.
12990         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12991         * sysdeps/x86_64/fpu/Versions: New versions added.
12992         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12993         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12994         build of SSE, AVX2 and AVX512 IFUNC versions.
12995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12998         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13001         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13002         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13003         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13004         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13005         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13006         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13008         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13011         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13012         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13013         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13014         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13015         * NEWS: Mention addition of x86_64 vector exp.
13017         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13018         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13019         redirections for logf.
13020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13021         * sysdeps/x86_64/fpu/Versions: New versions added.
13022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13023         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13024         build of SSE, AVX2 and AVX512 IFUNC versions.
13025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13027         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13028         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13029         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13031         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13032         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13033         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13034         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13035         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13036         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13037         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13038         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13039         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13040         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13041         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13042         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13043         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13044         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13045         * NEWS: Mention addition of x86_64 vector logf.
13047         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13048         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13049         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13050         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13051         redirections for log.
13052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13053         * sysdeps/x86_64/fpu/Versions: New versions added.
13054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13056         build of SSE, AVX2 and AVX512 IFUNC versions.
13057         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13058         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13059         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13060         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13061         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13062         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13063         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13064         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13065         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13066         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13067         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13068         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13069         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13070         test.
13071         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13072         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13073         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13074         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13075         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13076         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13077         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13078         * NEWS: Mention addition of x86_64 vector log.
13080 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13082         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13083         cfi_adjust_cfa_offset argument.
13084         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13085         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13087         [BZ #18034]
13088         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13089         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13090         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13091         ordering using ldar.
13092         (_dl_tlsdesc_dynamic): Likewise.
13093         (_dl_tlsdesc_return_lazy): Likewise.
13094         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13095         relaxed atomics instead of volatile and synchronize with release store.
13096         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13097         volatile.
13098         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13100 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13102         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13103         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13104         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13105         * sysdeps/x86_64/fpu/Versions: New versions added.
13106         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13107         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13108         build of SSE, AVX2 and AVX512 IFUNC versions.
13109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13115         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13116         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13117         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13118         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13119         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13120         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13121         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13122         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13123         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13124         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13125         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13128         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13129         * NEWS: Mention addition of x86_64 vector sinf.
13131 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13133         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13134         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13135         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13136         Remove variable.
13137         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13138         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13140 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13142         [BZ #18530]
13143         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13144         strong alias of _IO_fputs.  Use libc_hidden_def.
13145         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13146         and define as weak alias of __fputs_unlocked.  Use
13147         libc_hidden_weak.
13148         * include/stdio.h (__fputs_unlocked): Declare.  Use
13149         libc_hidden_proto.
13150         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13151         fputs_unlocked.
13153         [BZ #18529]
13154         * resolv/netdb.h [__USE_POSIX]: Change condition to
13155         [__USE_XOPEN2K].
13156         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13157         not expect.
13158         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13159         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13160         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13161         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13162         [XPG4 || UNIX98] (AI_ALL): Likewise.
13163         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13164         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13165         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13166         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13167         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13168         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13169         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13170         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13171         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13172         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13173         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13174         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13175         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13176         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13177         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13178         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13179         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13180         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13181         [XPG4 || UNIX98] (gai_strerror): Likewise.
13182         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13183         [XPG4 || UNIX98] (getnameinfo): Likewise.
13185         [BZ #18528]
13186         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13187         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13188         __USE_XOPEN2K8].
13189         (getgrent): Likewise.
13190         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13191         expect.
13192         [XPG3 || POSIX2008] (endgrent): Likewise.
13193         [XPG3] (setgrent): Likewise.
13194         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13195         variable.
13196         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13198         [BZ #18527]
13199         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13200         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13201         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13202         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13203         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13204         * include/unistd.h (__getlogin_r): Declare.  Use
13205         libc_hidden_proto.
13206         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13207         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13208         variable.
13209         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13210         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13211         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13213 2015-06-12  Martin Sebor  <msebor@redhat.com>
13215         [BZ #18512]
13216         * Makerules (check-install-supported): New target.
13217         (install): Add check-install-supported as a dependency.
13218         * manual/install.texi (Installing the C Library): Document
13219         that overriding prefix and exec_prefix is not supported.
13220         Mention DESTDIR.
13221         * INSTALL: Regenerate from the above.
13223 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13225         [BZ #18519]
13226         * posix/Versions (libc): Export __libc_pread at version
13227         GLIBC_PRIVATE.
13228         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13229         instead of pread.
13230         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13231         variable.
13233         [BZ #18522]
13234         * misc/efgcvt_r.c
13235         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13236         (cvt_symbol): Use weak_alias instead of strong_alias.
13237         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13238         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13239         Remove variable.
13240         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13241         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13243         [BZ #18520]
13244         * inet/herrno.c (h_errno): Rename to __h_errno.
13245         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13246         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13247         to __h_errno instead of h_errno.
13248         * nptl/herrno.c (h_errno): Rename to __h_errno.
13249         (__h_errno_location): Refer to __h_errno not h_errno.
13250         * resolv/Versions (h_errno): Rename to __h_errno.
13251         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13252         Remove variable.
13253         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13255 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13257         * configure.ac: More strict check for AVX512 assembler support.
13258         * configure: Regenerated.
13260         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13261         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13263         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13265         * sysdeps/x86_64/fpu/Versions: New versions added.
13266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13268         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13269         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13271         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13275         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13276         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13277         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13278         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13279         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13280         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13282         test.
13283         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13285         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13286         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13287         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13288         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13289         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13290         * NEWS: Mention addition of x86_64 vector sin.
13292 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13294         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13295         comment.
13297 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13299         [BZ #18479]
13300         * nptl/pt-interp.c: New file.
13301         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13302         Add pt-interp.
13303         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13304         $(common-objpfx)runtime-linker.h.
13306 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13308         * Makeconfig (+interp): Remove unused variable.
13309         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13310         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13311         $(elf-objpfx)runtime-linker.h.
13312         ($(elf-objpfx)runtime-linker.h): Rename to
13313         $(common-objpfx)runtime-linker.h and move ...
13314         * Makerules [$(build-shared) = yes]: ... here.
13315         * elf/interp.c: Include <runtime-linker.h> instead of
13316         <elf/runtime-linker.h>.
13318 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13320         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13321         (__gettimeofday_syscall): Remove vsyscall fallback.
13322         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13323         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13324         Add syscall fallback function.
13325         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13326         if vDSO is not present.
13327         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13328         fallback function.
13329         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13330         present.
13331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13332         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13334 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #18497]
13337         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13338         of wcscmp.
13339         (wcscmp): Define as weak alias of WCSCMP.
13340         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13341         wcscoll.
13342         (USE_HIDDEN_DEF): Define.
13343         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13344         __wcscoll.  Don't use libc_hidden_weak.
13345         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13346         wcscmp.
13347         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13348         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13349         __GI_wcscmp.
13350         (weak_alias): Undefine and redefine.
13351         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13352         __wcscmp and define as weak alias of __wcscmp.
13353         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13354         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13355         (__wcscoll): Likewise.
13356         (wcscmp): Don't use libc_hidden_proto.
13357         (wcscoll): Likewise.
13358         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13359         wcscoll.
13360         * posix/regexec.c (check_node_accept_bytes): Likewise.
13361         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13362         variable.
13363         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13364         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13366         [BZ #18507]
13367         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13368         __fstatvfs and define as weak alias of __fstatvfs.  Use
13369         libc_hidden_weak.
13370         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13371         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13372         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13373         Define as alias of __fstatvfs, not fstatvfs.
13374         (fstatvfs64): Likewise.
13375         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13376         Define as alias of __statvfs, not statvfs.
13377         (statvfs64): Likewise.
13378         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13379         Remove variable.
13381 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13384         (HAVE_GETCPU_VSYSCALL): Define.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13386         (HAVE_GETCPU_VSYSCALL): Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13388         * sysdeps/unix/sysv/linux/sched_getcpu.c
13389         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13390         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13391         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13392         prototype.
13393         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13394         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13395         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13397         Define.
13398         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13399         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13400         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13401         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13403 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13405         * sysdeps/x86_64/fpu/Makefile: New file.
13406         * sysdeps/x86_64/fpu/Versions: New file.
13407         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13408         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13409         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13410         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13411         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13412         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13413         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13421         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13422         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13423         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13424         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13425         * sysdeps/x86_64/configure: Regenerated.
13426         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13427         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13428         * manual/install.texi (Configuring and compiling): Document
13429         --disable-mathvec.
13430         * INSTALL: Regenerated.
13431         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13433         * math/Makefile: Added rules for vector tests.
13434         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13435         declaration under condition.
13436         * math/test-double-vlen2.h: New file.
13437         * math/test-double-vlen4.h: New file.
13438         * math/test-double-vlen8.h: New file.
13439         * math/test-vec-loop.h: Added initialization macro.
13440         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13442         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13443         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13444         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13445         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13446         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13447         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13448         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13449         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13450         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13452         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13453         * sysdeps/x86_64/fpu/Versions: New versions added.
13454         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13455         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13457         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13458         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13460         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13461         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13464         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13465         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13466         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13468         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13469         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13470         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13471         * NEWS: Mention addition of x86_64 vector cosf.
13473         * math/Makefile: Added CFLAGS for new tests.
13474         * math/test-float-vlen16.h: New file.
13475         * math/test-float-vlen4.h: New file.
13476         * math/test-float-vlen8.h: New file.
13477         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13478         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13480         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13481         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13482         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13483         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13484         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13486         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13487         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13489 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13491         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13492         * locale/programs/ld-ctype.c: Likewise.
13494 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13496         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13497         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13498         bit_ZMM16_31_state): New macro.
13499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13500         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13502 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13504         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13506 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13508         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13510 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13512         [BZ #18498]
13513         * libio/memstream.c (open_memstream): Rename to __open_memstream
13514         and define as weak alias of __open_memstream.
13515         * include/stdio.h (__open_memstream): Declare.  Use
13516         libc_hidden_proto.
13517         (open_memstream): Don't use libc_hidden_proto.
13518         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13519         open_memstream.
13520         * posix/getopt.c (_getopt_internal_r): Likewise.
13521         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13522         variable.
13523         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13524         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13525         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13527         [BZ #18496]
13528         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13529         instead of wcrtomb.
13531         [BZ #18483]
13532         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13533         [__USE_XOPEN2K8].  Remove redundant #endif.
13534         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13535         Remove redundant #if.
13536         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13537         Remove variable.
13538         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13539         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13541         [BZ #18495]
13542         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13543         (__iswlower): Likewise.
13544         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13545         (__iswlower): Likewise.
13546         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13547         instead of towlower.
13548         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13549         instead of iswlower.  Call __towupper instead of towupper.
13550         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13551         instead of iswalnum.
13553 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13555         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13556         errors to stderr.
13558 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13560         [BZ #15661]
13561         [BZ #17322]
13562         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13563         Check for overflow properly.  Check for O_APPEND.  Ignore large
13564         file system block sizes.  Add comments about problems.
13565         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13566         * manual/filesys.texi (Storage Allocation): New node.
13568 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13570         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13571         cancellable syscalls.
13572         (SYS_ify): Add guard to no redefine it.
13573         (INLINE_SYSCALL): Likewise.
13574         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13575         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13576         SYSCALL_CANCEL instead.
13577         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13578         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13579         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13580         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13581         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13582         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13583         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13584         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13585         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13586         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13587         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13588         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13589         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13590         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13591         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13593         Likewise.
13594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13595         (__libc_pread64): Likewise.
13596         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13597         (__libc_preadv): Likewise.
13598         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13599         (__libc_readv64): Likewise.
13600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13601         (__libc_pwrite): Likewise.
13602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13603         (__libc_pwrite64): Likewise.
13604         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13605         (__libc_pwritev): Likewise.
13606         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13607         (__libc_pwritev64): Likewise.
13608         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13609         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13610         (sync_file_range): Likewise.
13611         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13612         Likewise.
13613         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13614         Likewise.
13615         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13616         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13617         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13618         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13619         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13620         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13621         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13622         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13624         Likewise.
13625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13626         (__libc_read64): Likewise.
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13628         Likewise.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13630         Likewise.
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13634         Likewise.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13636         (__libc_pread64): Likewise.
13637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13638         Likewise.
13639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13640         (__libc_pwrite64): Likewise.
13641         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13642         (sync_file_range): Likewise.
13643         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13644         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13645         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13646         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13647         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13648         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13649         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13650         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13651         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13652         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13653         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13654         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13655         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13656         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13657         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13658         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13659         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13660         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13661         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13662         Likewise.
13663         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13664         Likewise.
13665         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13666         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13669         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13670         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13671         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13672         Likewise.
13673         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13674         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13675         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13676         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13677         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13679 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13681         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13682         Include dl-vdso.
13683         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13684         Use VDSO routines for gettimeofday, clock_gettime if
13685         available.
13686         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13687         Declare VDSO symbols.
13688         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13689         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13690         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13691         * sysdeps/unix/sysv/linux/arm/Versions: Add
13692         __vdso_clock_gettime.
13694 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13696         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13697         be an inline implementation regardless of library is built within.
13698         (open_not_cancel_2): Likewise.
13699         (__read_nocancel): Likewise.
13700         (__write_nocancel): Likewise.
13701         (openat_not_cancel): Likewise.
13702         (openat_not_cancel_3): Likewise.
13703         (openat64_not_cancel): Likewise.
13704         (openat64_not_cancel_3): Likewise.
13705         (__close_nocancel): Likewise.
13706         (pause_not_cancel): Likewise.
13707         (nanosleep_not_cancel): Likewise.
13708         (sigsuspend_not_cancel): Likewise.
13710 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13712         [BZ #14958]
13713         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13714         wake-up.
13715         (__pthread_rwlock_rdlock_slow): Likewise.
13716         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13717         Likewise.
13718         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13719         Likewise.
13720         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13721         * nptl/tst-rwlock16.c: New file.
13722         * nptl/Makefile (tests): Add new test.
13724 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13726         [BZ #18324]
13727         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13728         missing wake-up of readers.
13729         * nptl/tst-rwlock15.c: New file.
13730         * nptl/Makefile (tests): Add new test.
13732 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13734         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13735         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13736         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13737         and __nacl_supply_interface_rtld.
13738         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13739         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13740         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13741         Add __nacl_supply_interface_rtld.
13742         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13744 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13746         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13747         isfinite.
13748         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13749         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13751 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13753         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13754         __signbit* with standard C99 macros.
13755         * math/e_exp10l.c: Likewise.
13756         * math/e_exp2l.c: Likewise.
13757         * math/e_scalb.c: Likewise.
13758         * math/e_scalbf.c: Likewise.
13759         * math/e_scalbl.c: Likewise.
13760         * math/s_ldexp.c: Likewise.
13761         * math/s_ldexpf.c: Likewise.
13762         * math/s_ldexpl.c: Likewise.
13763         * math/w_atan2.c: Likewise.
13764         * math/w_atan2f.c: Likewise.
13765         * math/w_atan2l.c: Likewise.
13766         * math/w_cosh.c: Likewise.
13767         * math/w_coshf.c: Likewise.
13768         * math/w_coshl.c: Likewise.
13769         * math/w_exp10.c: Likewise.
13770         * math/w_exp10f.c: Likewise.
13771         * math/w_exp10l.c: Likewise.
13772         * math/w_exp2.c: Likewise.
13773         * math/w_exp2f.c: Likewise.
13774         * math/w_exp2l.c: Likewise.
13775         * math/w_fmod.c: Likewise.
13776         * math/w_fmodf.c: Likewise.
13777         * math/w_fmodl.c: Likewise.
13778         * math/w_hypot.c: Likewise.
13779         * math/w_hypotf.c: Likewise.
13780         * math/w_hypotl.c: Likewise.
13781         * math/w_jnl.c: Likewise.
13782         * math/w_lgamma.c: Likewise.
13783         * math/w_lgamma_r.c: Likewise.
13784         * math/w_lgammaf.c: Likewise.
13785         * math/w_lgammaf_r.c: Likewise.
13786         * math/w_lgammal.c: Likewise.
13787         * math/w_lgammal_r.c: Likewise.
13788         * math/w_pow.c: Likewise.
13789         * math/w_powf.c: Likewise.
13790         * math/w_powl.c: Likewise.
13791         * math/w_remainder.c: Likewise.
13792         * math/w_remainderf.c: Likewise.
13793         * math/w_remainderl.c: Likewise.
13794         * math/w_scalb.c: Likewise.
13795         * math/w_scalbf.c: Likewise.
13796         * math/w_scalbl.c: Likewise.
13797         * math/w_scalbln.c: Likewise.
13798         * math/w_scalblnf.c: Likewise.
13799         * math/w_scalblnl.c: Likewise.
13800         * math/w_sinh.c: Likewise.
13801         * math/w_sinhf.c: Likewise.
13802         * math/w_sinhl.c: Likewise.
13803         * math/w_tgamma.c: Likewise.
13804         * math/w_tgammaf.c: Likewise.
13805         * math/w_tgammal.c: Likewise.
13806         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13807         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13808         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13809         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13810         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13812         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13813         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13814         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13815         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13816         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13817         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13818         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13820         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13823         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13827         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13828         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13830         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13831         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13832         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13833         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13834         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13835         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13836         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13837         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13838         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13839         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13840         * stdio-common/printf_fp.c: Likewise.
13841         * stdio-common/printf_fphex.c: Likewise.
13842         * stdio-common/printf_size.c: Likewise.
13844 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #18470]
13847         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13848         strnlen.
13849         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13850         Remove variable.
13851         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13852         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13853         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13854         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13855         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13856         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13857         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13858         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13859         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13860         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13862         [BZ #18468]
13863         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13864         weak alias of __wmemchr.  Use libc_hidden_weak.
13865         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13866         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13867         instead of wmemchr.
13869 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13871         [BZ #18383]
13872         * elf/tst-tlsalign-extern.c: New file.
13873         * elf/tst-tlsalign-extern-static.c: New file.
13874         * elf/tst-tlsalign-vars.c: New file.
13875         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13876         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13877         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13878         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13879         (test-xfail-tst-tlsalign-extern-static): New variable.
13881 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13883         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13884         Use variable name _sc_err instead of err.
13885         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13886         instead of ret.
13887         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13888         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13889         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13890         (INLINE_SYSCALL): Likewise.
13892         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13893         * include/string.h (__strnlen): Use libc_hidden_proto.
13894         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13895         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13896         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13898         (libc_hidden_def): Undefine and redefine.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13900         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13901         __GI_strnlen.
13902         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13903         libc_hidden_def.
13904         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13906         [BZ #18469]
13907         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13908         weak alias of __towlower.  Use libc_hidden_weak.
13909         (towupper): Rename to __towupper and define as weak alias of
13910         __towupper.  Use libc_hidden_weak.
13911         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13912         (__towupper): Likewise.
13913         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13914         __towlower instead of towlower.
13916 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13918         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13919         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13921 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13923         * sysdeps/aarch64/libm-test-ulps: Update.
13925 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13927         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13928         Define.
13929         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13931         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13932         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13933         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13934         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13935         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13937 2015-06-01  Martin Sebor  <msebor@redhat.com>
13939         [BZ #18116]
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13941         (__setcontext): Use extended four-operand version of mtsf whenever
13942         possible.
13943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13944         (__novec_swapcontext): Likewise.
13946 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13948         * benchtests/scripts/compare_bench.py: New file.
13949         * benchtests/scripts/import_bench.py (mean): New function.
13950         (split_list): Likewise.
13951         (do_for_all_timings): Likewise.
13952         (compress_timings): Likewise.
13954         * benchtests/scripts/import_bench.py: New file.
13955         * benchtests/scripts/validate_benchout.py: Import import_bench
13956         instead of jsonschema.
13957         (validate_bench): Remove function.
13958         (main): Use import_bench.
13960 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13962         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13963         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13965 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13969 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13971         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13972         set THREAD_SELF->tid to a magic value and futex-wake it.
13973         Pass its address to the thread_exit system call.
13974         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13975         bit is clear.
13976         * sysdeps/nacl/lowlevellock.h: New file.
13977         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13979         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13980         Add TIMEOUT to current time, don't subtract it.
13982 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13984         [BZ #2981]
13985         [BZ #18422]
13986         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13987         ($(objpfx)tst-audit2.out): Also depend on
13988         $(objpfx)tst-auditmod9b.so.
13989         * elf/tst-audit2.c: Include <dlfcn.h>.
13990         (calloc_called): New.
13991         (calloc): Allow to be called more than once.
13992         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13994 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13996         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13997         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13999 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14001         * stdlib/monetary.h: Fix comment.
14003 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14005         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14006         Avoid using variables in #defines that might cause shadowing.
14007         (INTERNAL_VSYSCALL_CALL): Likewise.
14009 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14011         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14013         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14014         * nptl/lll_timedlock_wait.c: ... to this new file.
14015         * nptl/Makefile (libpthread-routines): Add it.
14016         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14017         * nptl/lll_timedwait_tid.c: ... to this new file.
14018         * nptl/Makefile (libpthread-routines): Add it.
14019         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14020         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14021         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14022         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14023         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14024         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14025         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14026         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14027         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14028         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14030 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14032         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14033         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14034         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14036         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14038         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14040         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14041         * sysdeps/unix/sysv/linux/tile/sysdep.h
14042         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14043         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14044         using vDSO syscall macro.
14046 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14048         [BZ #17293]
14049         * uk_UA: Fix sorting order for Ukrainian locale
14051 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14053         * stdlib/monetary.h: Fix comment.
14055 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14057         [BZ #18234]
14058         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14059         st_mtim and st_ctim members.
14060         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14061         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14062         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14063         (struct stat64): Likewise.
14064         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14065         (struct stat64): Likewise.
14066         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14067         (struct stat64): Likewise.
14069 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14071         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14072         Define and include sysdep-vdso.h.
14073         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14074         Likewise.
14075         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14076         Likewise.
14077         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14078         Define with VDSO_SYMBOL and use PTR_MANGLE.
14079         (__vdso_clock_gettime): Likewise.
14080         (__vdso_clock_getres): Likewise.
14081         (_libc_vdso_platform_setup): Likewise.
14082         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14083         Likewise.
14084         (_libc_vdso_platform_setup): Likewise.
14085         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14086         Likewise.
14087         (__vdso_clock_gettime): Likewise.
14088         (__vdso_clock_getres): Likewise.
14089         (__vdso_get_tbfreq): Likewise.
14090         (__vdso_getcpu): Likewise.
14091         (__vdso_time): Likewise.
14092         (__vdso_sigtramp_rt64): Likewise.
14093         (__vdso_signtramp32): Likewise.
14094         (__vdso_sigtramp_rt32): Likewise.
14095         (_libc_vdso_platform_setup): Likewise.
14096         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14097         Likewise.
14098         (__vdso_clock_gettime): Likewise.
14099         (__vdso_clock_getres): Likewise.
14100         (_libc_vdso_platform_setup): Likewise.
14101         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14102         Likewise.
14103         (__vdso_clock_gettime): Likewise.
14104         (_libc_vdso_platform_setup): Likewise.
14105         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14106         Likewise.
14107         (__vdso_getcpu): Likewise.
14108         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14109         Use VDSO_SYMBOL macro to define.
14110         (__vdso_clock_gettime): Likewise.
14111         (__vdso_clock_getres): Likewise.
14112         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14113         Likewise.
14114         (__vdso_clock_gettime): Likewise.
14115         (__vdso_clock_getres): Likewise.
14116         (__vdso_get_tbfreq): Likewise.
14117         (__vdso_getcpu): Likewise.
14118         (__vdso_time): Likewise.
14119         (__vdso_sigtramp_rt64): Likewise.
14120         (__vdso_signtramp32): Likewise.
14121         (__vdso_sigtramp_rt32): Likewise.
14122         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14123         Likewise.
14124         (__vdso_clock_gettime): Likewise.
14125         (__vdso_clock_getres): Likewise.
14126         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14127         Likewise.
14128         (__vdso_clock_gettime): Likewise.
14129         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14130         Likewise.
14131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14132         macro.
14133         (INTERNAL_VSYSCALL): Likewise.
14134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14135         Remove macro.
14136         (INTERNAL_VSYSCALL): Likewise.
14137         (INTERNAL_VSYSCALL_NCS): Likewise.
14138         (INTERNAL_VSYSCALL_CALL): New macro.
14139         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14141         Likewise.
14142         (INTERNAL_VSYSCALL): Likewise.
14143         (INTERNAL_VSYSCALL_NCS): Likewise.
14144         (INTERNAL_VSYSCALL_CALL): New macro.
14145         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14147         (INLINE_VSYSCALL): Remove macro.
14148         (INTERNAL_VSYSCALL): Remove macro.
14149         (INTERNAL_VSYSCALL_NCS): Remove macro.
14150         (INTERNAL_VSYSCALL_CALL): New macro.
14151         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14152         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14153         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14154         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14155         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14157         (INLINE_VSYSCALL): Remove macro.
14158         (INTERNAL_VSYSCALL): Likewise.
14159         (INTERNAL_VSYSCALL_NCS): Likewise.
14160         (INTERNAL_VSYSCALL_CALL): New macro.
14161         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14162         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14163         PTR_DEMANGLE on vDSO pointer.
14164         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14166         macro.
14167         (INTERNAL_SYSCALL): Likewise.
14168         (INTERNAL_VSYSCALL_NCS): Remove macro.
14169         (INTERNAL_VSYSCALL_CALL): New macro.
14170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14171         Remove macro.
14172         (INTERNAL_VSYSCALL): Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14174         sysdep-vdso.h instead of libc-vdso.h.
14175         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14176         definition.
14177         (INLINE_VSYSCALL): Likewise.
14178         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14179         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14180         definition.
14181         (INLINE_VSYSCALL): Likewise.
14182         (INTERNAL_VSYSCALL): Likewise.
14183         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14184         * sysdeps/unix/sysv/linux/timespec_get.c
14185         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14186         (timespec_get): Use ANSI prototype.
14187         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14188         and definition for Linux.
14190 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14192         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14193         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14195 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14197         [BZ #2981]
14198         [BZ #18410]
14199         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14200         for missing DT_PLTRELSZ.
14202 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14204         Remove obsolete aliases that broke 'locale -a'
14205         [BZ #18412]
14206         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14207         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14208         breaking some applications that use 'locale -a' output.
14209         Change the encoding of this file from Latin-1 to ASCII to avoid
14210         other potential problems with people grepping this file.
14212 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14214         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14215         -fasynchronous-unwind-tables.
14216         (CFLAGS-sendto.c): Likewise.
14217         (CFLAGS-sendmsg.c): Likewise.
14218         (CFLAGS-connect.c): Likewise.
14219         (CFLAGS-recvmsg.c): Likewise.
14220         (CFLAGS-recvfrom.c): Likewise.
14221         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14222         (SOCKETCALL): New macro: non-cancellable socketcall.
14223         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14224         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14225         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14226         * sysdeps/unix/sysv/linux/accept.c: New file.
14227         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14228         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14229         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14230         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14231         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14232         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14233         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14234         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14235         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14236         * sysdeps/unix/sysv/linux/send.c: Likewise.
14237         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14238         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14239         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14240         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14241         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14242         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14243         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14244         prototype.
14245         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14246         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14247         instead of __internal_xxx function.
14248         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14249         prototype.
14250         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14251         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14252         instead of __internal_xxx function.
14253         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14254         prototype.
14255         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14256         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14257         instead of __internal_xxx function.
14258         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14259         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14260         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14261         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14262         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14263         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14264         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14265         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14266         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14267         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14268         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14269         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14270         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14271         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14273         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14274         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14275         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14276         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14277         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14280         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14281         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14282         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14283         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14284         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14285         * sysdeps/unix/sysv/linux/send.S: Likewise.
14286         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14287         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14288         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14289         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14290         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14291         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14292         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14293         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14294         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14295         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14296         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14297         socketcall is implemented in GLIBC.
14299 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14301         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14302         (__fma): Ignore uninitialized warnings around packing.
14303         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14304         (__fmaf): Ignore uninitialized warnings around packing.
14305         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14306         (__fmal): Ignore uninitialized warnings around packing.
14308         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14309         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14310         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14311         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14313         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14314         switch statement into default case.
14315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14317         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14318         a conditional in forcing "inexact".
14319         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14320         Likewise.
14322 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14324         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14325         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14326         for each INTERNAL_SYSCALL use.
14328 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14330         [BZ #438]
14331         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14332         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14333         variable.
14335         [BZ #18444]
14336         * string/basename.c (basename): Rename to __basename and define as
14337         weak alias of __basename.  Use libc_hidden_weak.
14338         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14339         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14340         __basename instead of basename.
14341         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14342         Remove variable.
14343         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14345 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14347         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14348         (_IO_JUMPS_FILE_plus): New.
14349         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14350         _IO_CAST_FIELD_ACCESS.
14351         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14352         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14353         * libio/freopen.c (freopen): Likewise.
14354         * libio/freopen64.c (freopen64): Likewise.
14355         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14356         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14357         * libio/iofwide.c (_IO_fwide): Likewise.
14358         * libio/memstream.c (open_memstream): Likewise.
14359         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14360         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14361         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14363 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14365         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14366         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14367         NADJ.
14368         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14369         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14370         NADJ.
14371         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14372         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14373         NADJ.
14375         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14376         (p == 4) case.
14378         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14379         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14380         Remove variable.
14381         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14382         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14383         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14385 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14387         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14388         Adjust jump table label generation macros.
14390 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14392         * stdio-common/vfprintf.c (vfprintf): Move local variables
14393         args_malloced, specs, specs_malloced, and the code after
14394         do_positional to the printf_positional function.
14395         (printf_positional): New function.
14397 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14399         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14400         function.
14401         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14402         STEP4_TABLE, process_arg): Move macro definitions
14403         out of the vfprintf function.  (Cosmetic change only.)
14405 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14407         * benchtests/Makefile (stdio-common-bench): Define.
14408         (benchset): Add stdio-common-bench.
14409         * sprintf-inputs: New file.
14410         * sprintf-source.c: New file.
14412 2015-05-21  Andreas Schwab  <schwab@suse.de>
14414         [BZ #13028]
14415         [BZ #17053]
14416         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14417         of struct __res_state.
14418         * resolv/res_send.c (__libc_res_nsend): Likewise.
14419         (get_nsaddr): New function.
14420         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14421         statp directly.
14423 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14425         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14426         -D_POSIX_C_SOURCE=199506L.
14428         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14430         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14431         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14432         Do not mention otherwise.
14433         [POSIX] (_XOPEN_VERSION): Do not expect.
14434         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14435         [POSIX] (_POSIX2_C_BIND): Likewise.
14436         [POSIX] (_POSIX2_VERSION): Likewise.
14437         [POSIX] (_XOPEN_XPG2): Likewise.
14438         [POSIX] (_XOPEN_XPG3): Likewise.
14439         [POSIX] (_XOPEN_XPG4): Likewise.
14440         [POSIX] (_XOPEN_UNIX): Likewise.
14441         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14442         [POSIX] (_POSIX_BARRIERS): Likewise.
14443         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14444         [POSIX] (_POSIX_CPUTIME): Likewise.
14445         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14446         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14447         [POSIX] (_POSIX_SHELL): Likewise.
14448         [POSIX] (_POSIX_SPAWN): Likewise.
14449         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14450         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14451         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14452         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14453         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14454         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14455         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14456         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14457         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14458         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14459         [POSIX] (_POSIX2_PBS): Likewise.
14460         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14461         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14462         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14463         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14464         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14465         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14466         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14467         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14468         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14469         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14470         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14471         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14472         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14473         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14474         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14475         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14476         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14477         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14478         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14479         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14480         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14481         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14482         [POSIX] (_SC_2_C_BIND): Likewise.
14483         [POSIX] (_SC_2_C_VERSION): Likewise.
14484         [POSIX] (_SC_2_PBS): Likewise.
14485         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14486         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14487         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14488         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14489         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14490         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14491         [POSIX] (_SC_BARRIERS): Likewise.
14492         [POSIX] (_SC_BASE): Likewise.
14493         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14494         [POSIX] (_SC_DEVICE_IO): Likewise.
14495         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14496         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14497         [POSIX] (_SC_FD_MGMT): Likewise.
14498         [POSIX] (_SC_FIFO): Likewise.
14499         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14500         [POSIX] (_SC_FILE_LOCKING): Likewise.
14501         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14502         [POSIX] (_SC_IOV_MAX): Likewise.
14503         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14504         [POSIX] (_SC_NETWORKING): Likewise.
14505         [POSIX] (_SC_PAGE_SIZE): Likewise.
14506         [POSIX] (_SC_PASS_MAX): Likewise.
14507         [POSIX] (_SC_PIPE): Likewise.
14508         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14509         [POSIX] (_SC_REGEXP): Likewise.
14510         [POSIX] (_SC_SHELL): Likewise.
14511         [POSIX] (_SC_SIGNALS): Likewise.
14512         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14513         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14514         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14515         [POSIX] (_SC_USER_GROUPS): Likewise.
14516         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14517         [POSIX] (_SC_STREAMS): Likewise.
14518         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14519         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14520         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14521         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14522         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14523         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14524         [POSIX] (_PC_FILESIZEBITS): Likewise.
14525         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14526         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14527         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14528         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14529         [POSIX] (uid_t): Likewise.
14530         [POSIX] (gid_t): Likewise.
14531         [POSIX] (off_t): Likewise.
14532         [POSIX] (pid_t): Likewise.
14533         [POSIX] (cuserid): Allow.
14534         (_SC_2_CHAR_TERM): Require constant.
14535         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14536         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14537         variable.
14539 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14541         * sysdeps/nacl/pthread-pids.h: New file.
14542         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14543         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14545         * nptl/pthread-pids.h: New file.
14546         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14547         * nptl/nptl-init.c: Include <pthread-pids.h>.
14548         (__pthread_initialize_minimal_internal):
14549         Call __pthread_initialize_pids instead of set_tid_address syscall.
14551         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14552         * sysdeps/posix/usleep.c: ... here.
14554 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14556         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14557         call_pselect6 object.
14558         [$(subdir) = io]: Remove call_sync_file_range object.
14559         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14560         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14561         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14562         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14564 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14566         * math/s_cproj.c: Add include "math_private.h".
14567         * math/s_cprojf.c: Likewise.
14568         * math/s_cprojl.c: Likewise.
14570 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14572         [BZ #18244]
14573         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14574         high mantissa bit when testing whether P is a NaN.
14575         * math/libm-test.inc (remainder_test_data): Add more tests.
14576         (remquo_test_data): Likewise.
14578         [BZ #18049]
14579         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14580         below -32, return the argument, with underflow if subnormal.
14581         * math/auto-libm-test-in: Add more tests of atanh.
14582         * math/auto-libm-test-out: Regenerated.
14584 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14586         [BZ #18434]
14587         * nptl/tst-sem15.c: New file.
14588         * nptl/Makefile (tests): Add it.
14589         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14590         s/<</>>/ to fix typo in EOVERFLOW check.
14591         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14593 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14595         * manual/strings.texi (envz_remove): Fix typo in safety
14596         annotations.
14598 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14599             Steve Ellcey  <sellcey@imgtec.com>
14601         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14602         in order to avoid strict alias warnings.
14603         (iruserok_af): Ditto for ra.
14605 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14607         [BZ #17581]
14608         * malloc/hooks.c
14609         (magicbyte): Convert to a function and avoid returning 0x01.
14610         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14611         (mem2chunk_check): Fix unsigned comparisons to zero.
14612         Hoist defs of sz and magic.
14614 2015-05-19  Richard Henderson  <rth@redhat.com>
14616         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14618         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14620 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14622         [BZ #16159]
14623         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14624         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14625         (reused_arena): Find a non-corrupt arena.
14626         (heap_trim): Pass arena to unlink.
14627         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14628         malloc_printerr.
14629         (top_check): Likewise.
14630         (free_check): Likewise.
14631         (realloc_check): Likewise.
14632         * malloc/malloc.c (malloc_printerr): Add arena argument.
14633         (unlink): Likewise.
14634         (munmap_chunk): Adjust.
14635         (ARENA_CORRUPTION_BIT): New macro.
14636         (arena_is_corrupt): Likewise.
14637         (set_arena_corrupt): Likewise.
14638         (sysmalloc): Use mmap if there are no usable arenas.
14639         (_int_malloc): Likewise.
14640         (__libc_malloc): Don't fail if arena_get returns NULL.
14641         (_mid_memalign): Likewise.
14642         (__libc_calloc): Likewise.
14643         (__libc_realloc): Adjust for additional argument to
14644         malloc_printerr.
14645         (_int_free): Likewise.
14646         (malloc_consolidate): Likewise.
14647         (_int_realloc): Likewise.
14648         (_int_memalign): Don't touch corrupt arenas.
14649         * malloc/tst-malloc-backtrace.c: New test case.
14651         * Makefile (summarize-tests): Fix return value on success.
14653         * manual/string.texi (Envz Functions): Add envz_remove.
14655 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14657         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14658         (invalid_name): New function, broken out of ...
14659         (__opendirat): ... here.  Call it.
14660         (need_isdir_precheck): New function, broken out of ...
14661         (__opendirat): ... here.  Call it.
14662         Use __fxstatat64, not __xstatat64.
14663         (opendir_oflags): New function, broken out of ...
14664         (__opendirat): ... here.  Call it.
14665         (opendir_tail): New function, broken out of ...
14666         (__opendirat): ... here.  Call it.
14667         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14668         opendir_tail, rather than punting to __opendirat.
14669         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14671 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14673         * .gitignore: Ignore generated *.pyc.
14675 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14677         * include/stdio.h: Define __need_wint_t.
14678         * test-skeleton.c: Avoid `for' loop initial declaration.
14679         * nptl/tst-initializers1.c: Use test-skeleton.c.
14681 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14683         [BZ #18418]
14684         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14686 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14688         [BZ #16352]
14689         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14690         (__ieee754_atanh): Force underflow exception for results with
14691         small absolute value.
14692         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14693         (__ieee754_atanhf): Force underflow exception for results with
14694         small absolute value.
14695         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14696         (__ieee754_atanh): Force underflow exception for results with
14697         small absolute value.
14698         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14699         (__ieee754_atanhf): Force underflow exception for results with
14700         small absolute value.
14701         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14702         (__ieee754_atanhl): Force underflow exception for results with
14703         small absolute value.
14704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14705         (__ieee754_atanhl): Force underflow exception for results with
14706         small absolute value.
14707         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14708         (__ieee754_atanhl): Force underflow exception for results with
14709         small absolute value.
14710         * math/auto-libm-test-in: Do not allow missing underflow
14711         exceptions from atanh.
14712         * math/auto-libm-test-out: Regenerated.
14714         [BZ #18221]
14715         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14716         2**-28 as threshold for returning x or +/- 1/x.
14717         * math/auto-libm-test-in: Add more tests of tan.
14718         * math/auto-libm-test-out: Regenerated.
14720         [BZ #18220]
14721         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14722         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14723         * math/auto-libm-test-in: Add another test of lgamma.
14724         * math/auto-libm-test-out: Regenerated.
14726 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14728         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14729         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14730         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14731         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14732         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14733         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14734         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14735         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14737         (log1): Use fabs.  (my_log2): Use fabs.
14738         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14739         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14741         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14743         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14744         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14745         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14746         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14747         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14748         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14750 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14752         [BZ #18217]
14753         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14754         as threshold for returning 1 - x.
14755         * math/auto-libm-test-in: Add more tests of erfc.
14756         * math/auto-libm-test-out: Regenerated.
14758 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14760         [BZ #18196]
14761         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14762         threshold for large arguments.
14763         * math/auto-libm-test-in: Add another test of atan.
14764         * math/auto-libm-test-out: Regenerated.
14766         [BZ #16339]
14767         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14768         (__log1p): Force underflow exception for results with small
14769         absolute value.
14770         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14771         (__log1pf): Force underflow exception for results with small
14772         absolute value.
14773         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14774         (__log1p): Force underflow exception for results with small
14775         absolute value.
14776         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14777         (__log1pf): Force underflow exception for results with small
14778         absolute value.
14779         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14780         (__log1pl): Force underflow exception for results with small
14781         absolute value.
14782         * math/auto-libm-test-in: Do not allow missing underflow
14783         exceptions from log1p.
14784         * math/auto-libm-test-out: Regenerated.
14786 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14787             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14789         [BZ #16704]
14790         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14792 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14794         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14795         (libmvec): New variable.
14796         * configure.ac: Added option for mathvec build.
14797         * configure: Regenerated.
14798         * mathvec/Depend: New file.
14799         * mathvec/Makefile: New file.
14800         * shlib-versions: Added libmvec.
14801         * math/Makefile: Added rule for libm.so installation.
14803         * bits/math-vector.h: New file.
14804         * bits/libm-simd-decl-stubs.h: New header.
14805         * math/Makefile (headers): Added new header
14806         libm-simd-decl-stubs.h.
14807         * math/math.h (__MATHCALL_VEC): New macro.
14809         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14810         for conditions in testing functions.
14811         * math/Makefile: Added call of libm-have-vector-test.sh.
14812         * math/libm-test.inc (HAVE_VECTOR): New macros.
14814         * math/libm-test.inc: START refactored.
14815         * math/test-double.c (TEST_MATHVEC): Add define.
14816         * math/test-float.c: Likewise.
14817         * math/test-idouble.c: Likewise.
14818         * math/test-ifloat.c: Likewise.
14819         * math/test-ildoubl.c: Likewise.
14820         * math/test-ldouble.c: Likewise.
14821         * sysdeps/generic/math-tests-arch.h
14822         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14823         architecture check.
14825         * math/test-double.c (FUNC_TEST): New macro.
14826         * math/test-float.c: Likewise.
14827         * math/test-idouble.c: Likewise.
14828         * math/test-ifloat.c: Likewise.
14829         * math/test-ildoubl.c: Likewise.
14830         * math/test-ldouble.c: Likewise.
14831         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14833 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14835         * sysdeps/nacl/fdopendir.c: New file.
14837         * dirent/scandir-tail.c: New file.
14838         * dirent/scandir64-tail.c: New file.
14839         * dirent/Makefile (routines): Add them.
14840         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14841         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14842         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14843         [!SCANDIR] (SCANDIR_TAIL): New macro.
14844         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14845         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14846         (SCANDIRAT): Macro removed.
14847         (SCANDIR_TAIL): New macro.
14848         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14849         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14850         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14851         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14852         (READDIR): Macro removed.
14853         (SCANDIR_TAIL): New macro.
14854         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14855         (SCANDIR_TAIL): New macro.
14857         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14858         * dirent/scandir-cancel.c: ... to this new file.
14859         * dirent/Makefile (routines): Add it.
14860         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14861         * sysdeps/unix/sysv/linux/i386/scandir64.c
14862         (SKIP_SCANDIR_CANCEL): Macro removed.
14863         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14865         * dirent/tst-scandir.c: New file.
14866         * dirent/tst-scandir64.c: New file.
14867         * dirent/Makefile (tests): Add them.
14869 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14871         [BZ #18409]
14872         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14874 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14876         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14877         list.
14879 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14881         * benchtests/bench-strcoll.c: New benchmark.
14882         * benchtests/Makefile: Generate locales and run benchmark.
14883         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14884         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14885         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14886         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14887         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14888         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14889         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14890         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14891         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14892         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14893         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14894         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14895         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14896         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14897         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14898         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14899         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14900         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14901         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14902         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14903         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14904         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14905         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14906         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14908 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14910         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14911         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14913 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14915         * posix/uname-values.h: New file.
14916         * posix/uname.c: Include that instead of <config-name.h>.
14917         * sysdeps/nacl/uname-values.h: New file.
14918         * sysdeps/arm/nacl/uname-values.h: New file.
14920 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14922         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14923         splitting into fields.
14925 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14927         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14928         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14929         * locale/localeinfo.h: Add enum collation_encoding_type.
14930         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14931         * programs/ld-collate.c (collate_output): Add encoding type info.
14932         * string/strcoll_l.c (STRDIFF): New function.
14933         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14934         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14936 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14938         [BZ #18397]
14939         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14940         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14941         <fpu_control.h> instead of <math/fpu_control.c>.
14942         * sysdeps/mips/mips32/fpu/Makefile: New file.
14944 2015-05-11  Andreas Schwab  <schwab@suse.de>
14946         [BZ #18007]
14947         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14948         nss_endgrent.
14949         (_nss_compat_endgrent): Call nss_endgrent.
14950         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14951         nss_endpwent.
14952         (_nss_compat_endpwent): Call nss_endpwent.
14953         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14954         needent, call nss_setspent only if non-zero.
14955         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14956         (internal_endspent): Don't call nss_endspent.
14957         (_nss_compat_endspent): Call nss_endspent.
14958         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14959         Remove.  All uses removed.
14960         (internal_setent): Remove parameter stayopen, add parameter
14961         stream.  Use it instead of global variable.
14962         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14963         (internal_endent, internal_getent): Add parameter stream.  Use it
14964         instead of global variable.
14965         (CONCAT(_nss_files_end,ENTNAME))
14966         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14967         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14968         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14969         uses removed.
14970         (internal_setent, internal_endent): Add parameter stream.  Use it
14971         instead of global variable.
14972         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14973         stream.
14974         (get_next_alias): Add parameter stream.
14975         (_nss_files_getaliasent_r): Pass global stream.
14976         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14977         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14978         (_nss_files_gethostbyname4_r): Pass local stream to
14979         internal_setent, internal_getent and internal_endent.  Remove
14980         locking.
14982 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14984         * tst-strfmon1.c (tests): Update expected currency symbol.
14986 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14988         * sysdeps/nacl/gethostname.c: New file.
14990 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14992         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14993         and sinh.
14994         * math/auto-libm-test-out: Regenerated.
14995         * sysdeps/i386/fpu/libm-test-ulps: Update.
14996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14998 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15000         [BZ #18125]
15001         * stdlib/tst-setcontext3.c: New file.
15002         * stdlib/tst-setcontext3.sh: New file.
15003         * stdlib/Makefile (tests): Add tst-setcontext3.
15004         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15005         to verify test program created output file.
15006         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15007         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15008         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15009         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15011 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15013         [BZ #18383]
15014         * elf/tst-tlsalign.c: New file.
15015         * elf/tst-tlsalign-static.c: New file.
15016         * elf/tst-tlsalign-lib.c: New file.
15017         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15018         (tests-static): Add tst-tlsalign-static.
15019         (modules-names): Add tst-tlsalign-lib.
15020         (test-xfail-tst-tlsalign): New variable.
15021         (test-xfail-tst-tlsalign-static): New variable.
15023         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15024         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15026 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15028         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15029         csqrt, erfc, sin and sincos.
15030         * math/auto-libm-test-out: Regenerated.
15031         * sysdeps/i386/fpu/libm-test-ulps: Update.
15032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15036         * sysdeps/aarch64/libm-test-ulps: Update.
15038 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15040         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15041         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15042         * math/auto-libm-test-out: Regenerated.
15043         * sysdeps/i386/fpu/libm-test-ulps: Update.
15044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15046 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15048         [BZ #18265]
15049         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15050         (wcsncpy): Likewise.
15052 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15054         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15055         Assume __ASSUME_FALLOCATE is always true.
15056         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15057         (__posix_fallocate64_l64): Likweise.
15058         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15059         (posix_fallocate): Likewise.
15060         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15061         (__posix_fallocate64_l64): Likewise.
15062         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15063         [!__ASSUME_FALLOCATE]: Add comment.
15065 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15067         * sysdeps/unix/sysv/linux/i386/Makefile
15068         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15069         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15070         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15071         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15072         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15073         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15074         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15076 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15078         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15079         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15080         tgamma.
15081         * math/auto-libm-test-out: Regenerated.
15082         * sysdeps/i386/fpu/libm-test-ulps: Update.
15083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15085 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15087         * math/auto-libm-test-in: Add more tests of tgamma.
15088         * math/auto-libm-test-out: Regenerated.
15089         * sysdeps/i386/fpu/libm-test-ulps: Update.
15090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092         * math/auto-libm-test-in: Add more tests of tanh.
15093         * math/auto-libm-test-out: Regenerated.
15094         * sysdeps/i386/fpu/libm-test-ulps: Update.
15095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097         * math/auto-libm-test-in: Add more tests of tan.
15098         * math/auto-libm-test-out: Regenerated.
15099         * sysdeps/i386/fpu/libm-test-ulps: Update.
15100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15102         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15103         * math/auto-libm-test-out: Regenerated.
15104         * sysdeps/i386/fpu/libm-test-ulps: Update.
15105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15107         * math/auto-libm-test-in: Add another test of pow.
15108         * math/auto-libm-test-out: Regenerated.
15109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15111         * math/auto-libm-test-in: Add more tests of lgamma.
15112         * math/auto-libm-test-out: Regenerated.
15113         * sysdeps/i386/fpu/libm-test-ulps: Update.
15114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15116         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15117         log1p.
15118         * math/auto-libm-test-out: Regenerated.
15119         * sysdeps/i386/fpu/libm-test-ulps: Update.
15120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15124         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15125         Elf64_Chdr structs and ELFCOMPRESS constants.
15127 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15129         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15130         expm1.
15131         * math/auto-libm-test-out: Regenerated.
15132         * sysdeps/i386/fpu/libm-test-ulps: Update.
15133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15135         * math/auto-libm-test-in: Add more tests of erf and erfc.
15136         * math/auto-libm-test-out: Regenerated.
15137         * sysdeps/i386/fpu/libm-test-ulps: Update.
15138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15140 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15142         * config.h.in (HAVE_AARCH64_BE): Add.
15144 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15146         * math/auto-libm-test-in: Add more tests of csqrt.
15147         * math/auto-libm-test-out: Regenerated.
15148         * sysdeps/i386/fpu/libm-test-ulps: Update.
15149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15152         * math/auto-libm-test-out: Regenerated.
15153         * sysdeps/i386/fpu/libm-test-ulps: Update.
15154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15156         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15158 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15160         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15161         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15163         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15164         (euidaccess, eaccess): Define as weak aliases.
15166         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15167         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15168         but __suseconds_t is often 'long int' so some sources assume that
15169         type is being used (e.g. they use %ld to print tv_usec).
15171 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15173         [BZ #18007]
15174         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15175         (CVE-2014-8121)
15176         * nss/tst-nss-getpwent.c: New file.
15177         * nss/Makefile (tests): Add new test.
15179 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15181         [BZ #18346]
15182         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15183         exponents less than 48 as cases where high part of mantissa needs
15184         examining to determine whether argument is integral.
15185         * math/libm-test.inc (round_test_data): Add more tests.
15187 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15189         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15191 2015-04-27  David S. Miller  <davem@davemloft.net>
15193         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15194         __tls_get_addr.
15195         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15197 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15199         [BZ#18333]
15200         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15202 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15204         [BZ#18333]
15205         * time/tzset.c (parse_tzname): Return error on memory allocation
15206         failure.
15207         * test-skeleton.c (struct temp_name_list): Change type of name
15208         member to non-const.
15209         (add_temp_file): Create a copy of the file name.
15210         (delete_temp_files): Deallocate memory.
15211         (create_temp_file): Add comment.
15213 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15215         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15216         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15218 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15220         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15221         * sysdeps/arm/configure: Regenerated.
15223 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15225         [BZ #17715]
15226         * time/tzfile.c (__tzfile_read): Check for large values of
15227         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15228         * time/tzset.c (__tzstring_len): New function, based on the old
15229         __tzstring function.
15230         (__tzstring): Call __tzstring_len.
15231         (parse_tzname): New helper function extracted from
15232         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15233         the input string.
15234         (parse_offset): New helper function extracted from
15235         __tzset_parse_tz.  Replace switch with fallthrough with
15236         initialization before sscanf.
15237         (parse_rule): Likewise.
15238         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15239         new-style function definition.
15240         * timezone/Makefile (tests): Add tst-tzset.
15241         (tst-tzset.out): Dependencies on time zone files.
15242         (tst-tzset-ENV): Set TZDIR.
15243         (testdata/XT%): Copy crafted time zone files.
15244         * timezone/README: Mention crafted time zone files.
15245         * timezone/testdata/XT1, timezone/testdata/XT2,
15246         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15247         files.
15248         * timezone/tst-tzset.c: New test.
15250 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15252         * Makeconfig (+gccwarn): Remove -Winline.
15254 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15256         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15258 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15260         * NEWS: Mention sysconf() cache information support for s390.
15261         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15263 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15265         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15266         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15267         (__nearbyint): Likewise.
15268         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15269         (copysignl): Likewise.
15271 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15273         [BZ #18287]
15274         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15275         based on padding.  (CVE-2015-1781)
15277 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15279         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15280         libc-vdso.h.
15281         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15282         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15283         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15284         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15285         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15286         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15287         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15288         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15289         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15290         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15291         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15292         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15293         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15294         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15295         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15296         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15297         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15298         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15299         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15300         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15301         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15302         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15303         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15305 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15307         * stdlib/setenv.c (__add_to_environ):
15308         Dump core quickly if setenv (..., NULL, ...) is called.
15309         This time, do it the right way, and pacify GCC with a pragma.
15311 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15313         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15314         IMAP->l_prev cannot be null, and #if out the code for the contrary
15315         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15316         believe that NS (&_dl_ns[NSID]) could point outside the array.
15318         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15319         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15320         before using NSID as an index.
15322 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15324         [BZ #17825]
15325         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15326         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15327         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15329 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15331         Add preliminary port to Google Native Client on ARM.
15332         * abi-tags (.*-.*-nacl.*): New entry.
15333         * sysdeps/arm/nacl: New directory.
15334         * sysdeps/nacl: New directory.
15336 2015-04-16  David S. Miller  <davem@davemloft.net>
15338         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15339         lowlevellock-futex.h
15341 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15343         * sysdeps/tile/configure.ac: New file.
15344         * sysdeps/tile/configure: Regenerated.
15346 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15348         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15349         conditionals for weak_alias and libc_hidden_weak.
15350         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15351         libc_hidden_weak and weak_alias.
15352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15353         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15354         and weak_alias for static one.
15356 2015-04-15  David S. Miller  <davem@davemloft.net>
15358         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15360 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15362         [BZ #18206]
15363         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15364           Use signed comparision instead of substraction to avoid
15365           overflow bug.
15366         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15367           Take the sign of ret.
15368         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15369           Do not expect precise return values. Only the sign matters.
15370         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15371         * wcsmbs/test-wcsncmp.c: New File.
15372         * string/test-strncmp.c: Add wcsncmp support.
15374 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15376         [BZ #6792]
15377         * math/w_log1p.c: New file.
15378         * math/w_log1pf.c: Likewise.
15379         * math/w_log1pl.c: Likewise.
15380         * math/Makefile (libm-calls): Add w_log1p.
15381         * math/s_log1pl.c (log1pl): Remove weak_alias.
15382         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15383         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15384         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15385         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15386         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15387         [NO_LONG_DOUBLE] (log1pl): Likewise.
15388         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15389         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15390         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15391         (log1p): Remove long_double_symbol.
15392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15393         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15394         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15395         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15396         remove weak_alias for corresponding log1p function.
15397         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15398         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15399         * sysdeps/ia64/fpu/w_log1p.c: New file.
15400         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15401         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15402         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15404 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15406         [BZ #18247]
15407         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15408         decimal exponent by 1.
15409         * stdlib/tst-strtod-round-data: Add more tests.
15410         * stdlib/tst-strtod-round.c (tests): Regenerated.
15412 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15414         * math/auto-libm-test-in: Add more tests of clog and clog10.
15415         * math/auto-libm-test-out: Regenerated.
15416         * sysdeps/i386/fpu/libm-test-ulps: Update.
15417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15421         * Makeconfig (module-cppflags): Exclude all .v.i files.
15422         (skip-module-cppflags): Variable removed.
15424         * configure.ac (libc_config_ok): Initialize before reading
15425         preconfigure scripts, not after.
15426         * configure: Regenerated.
15428         * test-skeleton.c (TIMEOUT): Move #define to top level.
15429         (main): Grok environment variable TEST_DIRECT.  If set, print
15430         test expectation details into that file and then behave as if
15431         given --direct.
15433 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15435         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15436         warning on 32-bit.
15438 2015-04-08  David S. Miller  <davem@davemloft.net>
15440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15442 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15444         * math/auto-libm-test-in: Add more tests of atanh.
15445         * math/auto-libm-test-out: Regenerated.
15446         * sysdeps/i386/fpu/libm-test-ulps: Update.
15447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15449         * math/auto-libm-test-in: Add more tests of atan.
15450         * math/auto-libm-test-out: Regenerated.
15451         * sysdeps/i386/fpu/libm-test-ulps: Update.
15452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15454 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15456         * elf/pldd.c (main): Rewrite to use struct
15457         scratch_buffer instead of extend_alloca.
15458         * elf/pldd-xx.c (find_maps): Likewise.
15459         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15460         <alloca.h>.
15461         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15462         scratch_buffer instead of extend_alloca.
15463         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15464         grp/compat-initgroups.c.
15465         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15466         Rewrite to use struct scratch_buffer instead of extend_alloca.
15467         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15468         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15470 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15472         * math/auto-libm-test-in: Add more tests of cbrt.
15473         * math/auto-libm-test-out: Regenerated.
15474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15476         * math/auto-libm-test-in: Add more tests of cabs.
15477         * math/auto-libm-test-out: Regenerated.
15478         * sysdeps/i386/fpu/libm-test-ulps: Update.
15479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481         [BZ #18210]
15482         [BZ #18211]
15483         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15484         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15485         computations.
15486         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15487         clog10.
15488         * math/auto-libm-test-out: Regenerated.
15489         * sysdeps/i386/fpu/libm-test-ulps: Update.
15490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15492         [BZ #18197]
15493         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15494         (atan): Set FE_TONEAREST mode for internal computations.
15495         * math/auto-libm-test-in: Add more tests of atan.
15496         * math/auto-libm-test-out: Regenerated.
15498 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15500         [BZ #17930]
15501         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15503 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15505         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15507 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15509         * include/scratch_buffer.h: New file.
15510         * malloc/scratch_buffer_grow.c: Likewise.
15511         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15512         * malloc/scratch_buffer_set_array_size.c: Likewise.
15513         * malloc/tst-scratch_buffer.c: Likewise.
15514         * malloc/Makefile (routines): Add scratch_buffer_grow.
15515         (tests): Add test case.
15516         * malloc/Versions (GLIBC_PRIVATE): Export
15517         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15518         __libc_scratch_buffer_set_array_size.
15520 2015-04-06  Richard Henderson  <rth@redhat.com>
15522         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15523         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15525         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15526         unsigned int before printing.
15528 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15530         [BZ #17596]
15531         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15532         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15534 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15536         * include/libc-internal.h (libc_max_align_t): Define.
15538 2015-04-02  Andreas Schwab  <schwab@suse.de>
15540         [BZ #16850]
15541         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15543 2015-04-02  Mel Gorman  <mgorman@suse.de>
15545         [BZ #17195]
15546         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15547         as well as the main arena.
15549 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15551         [BZ #18185]
15552         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15553         sharing L2 cache to 2 for Silvermont/Knights Landing.
15555 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15557         [BZ #17711]
15558         * config.make.in (have-protected-data): New.
15559         * configure.ac: Check linker support for protected data symbol.
15560         * configure: Regenerated.
15561         * elf/Makefile (modules-names): Add tst-protected1moda and
15562         tst-protected1modb if $(have-protected-data) is yes.
15563         (tests): Add tst-protected1a and tst-protected1b if
15564         $(have-protected-data) is yes.
15565         ($(objpfx)tst-protected1a): New.
15566         ($(objpfx)tst-protected1b): Likewise.
15567         (tst-protected1modb.so-no-z-defs): Likewise.
15568         * elf/tst-protected1a.c: New file.
15569         * elf/tst-protected1b.c: Likewise.
15570         * elf/tst-protected1mod.h: Likewise.
15571         * elf/tst-protected1moda.c: Likewise.
15572         * elf/tst-protected1modb.c: Likewise.
15574 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15576         [BZ #17711]
15577         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15578         indicates it is called from do_lookup_x on relocation against
15579         protected data, skip the data definion in the executable from
15580         copy reloc.
15581         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15582         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15583         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15584         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15585         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15586         otherwise to 0.
15587         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15588         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15589         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15590         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15591         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15592         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15594 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15596         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15597         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15599 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15601         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15602         THREAD_SETMEM_NC.
15603         * sysdeps/x86_64/nptl/tls.h: Ditto.
15605 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15607         * dlfcn/tststatic.c (main): Converted to ...
15608         (do_test): ... this.
15609         (TEST_FUNCTION): New macro.
15610         Include test-skeleton.c.
15612 2015-03-26  Alan Modra  <amodra@gmail.com>
15614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15615         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15616         zero for undefined weak.
15617         (elf_machine_plt_conflict): Similarly.
15619 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15621         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15622         atanh.
15623         * math/auto-libm-test-out: Regenerated.
15624         * sysdeps/i386/fpu/libm-test-ulps: Update.
15625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15627         * math/auto-libm-test-in: Add another test of asin.
15628         * math/auto-libm-test-out: Regenerated.
15629         * sysdeps/i386/fpu/libm-test-ulps: Update.
15630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15632         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15633         Remove macro.
15634         (LLL_EBX_REG): Likewise.
15635         (LLL_ENTER_KERNEL): Likewise.
15637         * math/auto-libm-test-in: Add more tests of asin.
15638         * math/auto-libm-test-out: Regenerated.
15639         * sysdeps/i386/fpu/libm-test-ulps: Update.
15640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15642         [BZ #18138]
15643         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15644         libc_do_syscall_args): New structure.
15645         (INTERNAL_SYSCALL_MAIN_0): New macro.
15646         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15647         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15648         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15649         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15650         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15651         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15652         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15653         Replace conditional definitions by conditional definitions of ....
15654         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15655         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15656         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15657         (libpthread-sysdep_routines): Add libc-do-syscall.
15658         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15659         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15660         to __NR_futex not 240.
15662 2015-03-25  Alan Modra  <amodra@gmail.com>
15664         * NEWS: Advertise TLS optimization.
15665         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15666         (DT_PPC_NUM): Increment.
15667         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15668         (CHECK_STATIC_TLS): Use here.
15669         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15670         TLS descriptors.
15671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15672         * sysdeps/powerpc/dl-tls.c: New file.
15673         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15674         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15675         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15676         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15681 2015-03-25  Alan Modra  <amodra@gmail.com>
15683         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15684         for overlapping .opd entries" to "support...".
15685         * sysdeps/powerpc/powerpc64/configure: Regenerate
15687 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15689         * math/auto-libm-test-in: Add more tests of acos.
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 more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15701         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15702         * math/auto-libm-test-out: Regenerated.
15703         * sysdeps/i386/fpu/libm-test-ulps: Update.
15704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15706         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709         * math/auto-libm-test-in: Add more tests of log2.
15710         * math/auto-libm-test-out: Regenerated.
15711         * sysdeps/i386/fpu/libm-test-ulps: Update.
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15716         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15717         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15718         _IO_IS_APPENDING bit in READ_WRITE instead.
15720 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15722         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15723         (__determine_cpumask_size): Replace extend_alloca with a
15724         variable-length array.  Do not treat res == 0 as an error.
15726 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15728         [BZ #18100]
15729         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15730         and integer overflow.
15731         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15732         (main): Add integer overflow tests.
15733         * manual/pattern.texi (Calling Wordexp): Document additional use
15734         for WRDE_SYNTAX.
15736 2015-03-23  Alan Modra  <amodra@gmail.com>
15738         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15739         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15740         and false branch of conditional.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15742         Likewise.
15744 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15746         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15747         libc-modules.h
15748         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15749         unused declaration of _hurd_intr_rpc_msg_in_trap.
15750         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15751         defined instead of whether it is non-zero.
15752         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15753         input constraint instead of both input and output constraint.  Use ecx
15754         clobber instead of %ecx.
15755         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15756         mutex_unlock): Use a statement expression instead of an expression list.
15757         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15758         type to vm_size_t instead of vm_address_t.
15759         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15760         defined instead of whether it is non-zero.
15761         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15762         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15763         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15764         comparisons with mapaddr.
15765         * nscd/nscd-client.h: Include <time.h>.
15766         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15767         9th parameter to __vm_region instead of int.
15768         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15769         * scripts/check-local-headers.sh (exclude): Add device/,
15770         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15771         cthreads.h.
15773 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15775         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15776         to account for alignment padding.
15777         * sysdeps/arm/memmove.S: Likewise.
15779 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15781         * sysdeps/unix/sysv/linux/generic/README: New file.
15783 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15785         [BZ #18138]
15786         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15787         (futex_abstimed_wait)
15788         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15789         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15790         of lll_futex_timed_wait.
15792 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15794         [BZ #17542]
15795         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15797 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15799         [BZ #17090]
15800         [BZ #17620]
15801         [BZ #17621]
15802         [BZ #17628]
15803         * NEWS: Update.
15804         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15805         entries with Static TLS too.  Skip entries past the end of the
15806         allocated DTV, from Alan Modra.
15807         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15808         Static TLS DTV entry set up from...
15809         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15810         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15811         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15812         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15813         for Static TLS.
15814         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15815         that the slot we find is associated with the given map before
15816         using its generation count.
15817         * nptl_db/db_info.c: Include ldsodefs.h.
15818         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15819         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15820         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15821         (link_map::l_tls_offset): New struct field.
15822         (dtv_t::counter): Likewise.
15823         (rtld_global): New struct.
15824         (_rtld_global): New rtld variable.
15825         (dl_tls_dtv_slotinfo_list): New rtld global field.
15826         (dtv_slotinfo_list): New struct.
15827         (dtv_slotinfo): Likewise.
15828         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15829         (td_lookup): Rename to...
15830         (td_mod_lookup): ... this.  Use new mod parameter instead of
15831         LIBPTHREAD_SO.
15832         * nptl_db/td_thr_tlsbase.c: Include link.h.
15833         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15834         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15835         addresses even if the DTV is out of date or missing them.
15836         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15837         index zero-length arrays.
15838         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15839         (td_lookup): Make it a macro implemented in terms of...
15840         (td_mod_lookup): ... this declaration.
15841         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15842         (DB_MAIN_VARIABLE): Likewise.
15844 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15846         [BZ #18134]
15847         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15849 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15851         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15853 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15855         [BZ #18128]
15856         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15857         (atomic_add, atomic_increment_and_test)
15858         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15860 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15862         * stdlib/setenv.c (__add_to_environ):
15863         Dump core quickly if setenv (..., NULL, ...) is called.
15865 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15867         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15868         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15869         all the necessary asm magic in one place.
15870         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15871         using those.
15873 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15875         [BZ #14906]
15876         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15877         traced file mtime. Use consistent log message.
15878         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15879         (register_traced_file): Call install_watches. Always set mtime.
15880         (invalidate_cache): Iterate over all trace files. Call install_watches.
15881         (inotify_check_files): Don't inline. Handle watching parent
15882         directories and configuration file movement in and out.
15883         (handle_inotify_events): New function.
15884         (main_loop_poll): Call handle_inotify_events.
15885         (main_loop_epoll): Likewise.
15886         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15887         (struct traced_file): Use array of inotify fds. Add parent directory,
15888         and basename.
15889         (struct database_dyn): Remove unused file_mtime.
15890         (init_traced_file): New inline function.
15891         (define_traced_file): New macro.
15892         * nss/nss_db/db-init.c: Use define_traced_file.
15893         (_nss_db_init): Use init_traced_file.
15894         * nss/nss_files/files-init.c: Use define_traced_file.
15895         (_nss_files_init): Use init_traced_file.
15897 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15899         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15900         [_LIBC]: Do not include <stdlib.h>.
15901         [!_LIBC] (abort): Remove declaration.
15902         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15903         _FP_STATIC_ASSERT instead of conditionally calling abort.
15904         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15905         (_FP_EXTEND_CNAN): Likewise.
15906         (FP_TRUNC): Likewise.
15907         (__FP_CLZ): Likewise.
15908         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15910 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15912         * manual/string.texi (XPG basename): Fix prototype.
15914 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15916         [BZ #18080]
15917         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15918         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15919         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15920         (__setcontext): Likewise.
15921         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15922         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15923         Call rt_sigprocmask syscall one time to set new signal mask
15924         and retrieve the current signal mask instead of two calls.
15925         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15926         (__swapcontext): Likewise.
15927         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15928         * stdlib/tst-setcontext2.c: New file.
15930 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15932         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15934 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15936         [BZ #18093]
15937         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15938         the wrong size.
15940 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15942         [BZ #18043]
15943         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15945 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15947         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15948         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15949         Remove define.
15950         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15951         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15952         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15953         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15954         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15955         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15956         define.
15957         * nptl_db/td_symbol_list.c (td_lookup): Remove
15958         HAVE_ASM_GLOBAL_DOT_NAME code.
15959         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15960         HAVE_ASM_GLOBAL_DOT_NAME check.
15961         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15962         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15963         (DOT_LABEL): Remove define.
15964         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15965         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15966         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15967         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15968         (__TLS_GET_ADDR): Likewise.
15969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15970         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15972 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15974         [BZ #18111]
15975         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15976         (_FPU_SETCW): Initialize cw from fpsr before storing.
15977         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15978         (fesetexceptflag): Rewrite using fpu_control.h.
15979         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15981 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15983         [BZ #18110]
15984         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15985         asms.
15986         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15988 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15990         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15991         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15992         abort.
15993         (_FP_FMA): Likewise.
15994         (_FP_DIV): Likewise.
15996 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15998         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15999         with 0 in that case.
16000         * Makefile (summarize-tests): New canned sequence, factored out of
16001         commands for targets tests and xtests.  Display summary lines that
16002         don't start with PASS: or XFAIL: rather than ones that do start with
16003         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16004         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16005         do start with ERROR: or FAIL:.
16006         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16007         (except for [$(build-shared) = yes]).
16008         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16009         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16010         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16011         * nptl/Makefile: Revert 2015-03-04 changes.
16012         [$(CXX) empty] (tests-unsupported): New variable.
16013         * debug/Makefile: Likewise.
16015         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16016         gnulib file.  Replace __attribute with __attribute__ throughout.
16018 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16020         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16022 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16024         [BZ #18104]
16025         * math/auto-libm-test-in: Add another test of pow.
16026         * math/auto-libm-test-out: Regenerated.
16028 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16030         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16031         $(config-cflags-nofma).
16033 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16035         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16036         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16037         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16038         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16039         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16040         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16041         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16042         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16043         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16044         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16045         Add comment on closing #endif.
16047 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16049         * posix/wordexp.c (CHAR_IN_SET): New macro.
16050         (parse_param): Use it.
16052 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16054         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16056 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16058         [BZ #18043]
16059         * posix/wordexp.c (parse_param): Fix buffer overflow.
16060         * posix/wordexp-test.c (test_case): Add test case.
16062 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16064         [BZ #18042]
16065         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16066         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16068 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16070         [BZ #18043]
16071         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16072         (do_bz18043): Delete.
16073         (at_page_end): New.
16074         (testit): Refactor to have words at the edge of unreadable page.
16076 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16078         [BZ #16734]
16079         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16080         Cleanup read-only streams as well.
16081         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16083 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16085         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16086         <bits/libc-lockP.h>
16088 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16090         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16091         on [__KERNEL__].
16092         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16093         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16094         * soft-fp/op-common.h (_FP_DECL): Likewise.
16096 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16098         * elf/ifuncdep2.c (global): Replace
16099         __attribute__((visibility("protected"))) with
16100         asm (".protected global").
16101         * elf/ifuncmod1.c (global): Likewise.
16102         * elf/ifuncmod5.c (global): Likewise.
16104 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16106         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16107         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16109 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16111         * manual/install.texi (Configuring and compiling):
16112         Document test-wrapper-env-only.
16113         * INSTALL: Regenerated.
16115 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16117         [BZ #18043]
16118         * posix/wordexp.c (parse_param): Fix buffer overflow.
16119         * posix/wordexp-test.c (do_bz18043): Add test case.
16121 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16123         * time/tst-strptime2.c (do_test): Ensure failing tests are
16124         reported correctly.
16125         * time/tst-strptime3.c (do_test): Likewise.
16127 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16129         Fix aio_error thread-safety.
16130         * sysdeps/pthread/aio_error.c: New file
16131         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16132         synchronization.
16134 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16136         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16137         (group_number, vfprintf): Use it.
16138         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16139         (JUMP, REF): Use it.
16140         (WORK_BUFFER_SIZE): New enum constant.
16141         (process_arg, vfprintf): Use it.
16143 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16145         * manual/errno.texi (Error Messages): Complete example function
16146         by adding missing #define.
16147         (program_invocation_name): Add statement indicating GNU
16148         extension and reference which header file declares the variable.
16149         (program_invocation_short_name): Likewise.
16151 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16153         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16154         compatibility note.
16156 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16158         * Makeconfig (test-wrapper-env-only): New variable.
16159         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16160         then use that with $(test-wrapper-env-only) rather than using
16161         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16163 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16165         [BZ #18082]
16166         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16167         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16168         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16169         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16170         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16171         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16172         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16173         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16174         Likewise.
16175         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16177         Likewise.
16178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16179         Likewise.
16180         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16181         Likewise.
16182         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16183         Likewise.
16184         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16185         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16186         Likewise.
16187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16188         Likewise.
16189         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16190         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16192 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16194         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16195         (ETH_ALEN): New macro.
16196         (struct ether_addr): Use it for length of ether_addr_octet.
16198         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16199         (setdb): Don't call __nss_configure_lookup for "rpc".
16200         (do_test): Don't call test_rpc.
16201         (output_rpcent, test_rpc): Functions moved ...
16202         * sunrpc/test-rpcent.c: ... to this new file.
16203         * sunrpc/Makefile (tests): Add it.
16205         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16206         __xpg_sigpause.
16207         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16208         * nptl/tst-signal6.c: Likewise.
16209         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16210         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16212         * configure.ac (libc_cv_cxx_link_ok): New check.
16213         Reset CXX to empty if it fails to link.
16214         * configure: Regenerated.
16215         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16216         bug-atexit3-lib only if $(CXX) is nonempty.
16217         * nptl/Makefile (tests): Likewise for tst-cancel24.
16218         (tests, tests-static): Likewise for tst-cancel24-static.
16219         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16220         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16221         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16222         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16224 2015-03-04  Andreas Schwab  <schwab@suse.de>
16226         [BZ #17631]
16227         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16228         for non-GCC compilers.
16229         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16230         Likewise.
16232 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16234         [BZ #17776]
16235         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16236         integer before bitwise and assembly operations.
16237         (feclearexcept): Likewise.
16238         * math/test-fenvinline.c: New file.
16239         * math/Makefile: Add test-fenvinline test.
16241 2015-03-03  Alan Modra  <amodra@gmail.com>
16243         [BZ #16512]
16244         * scripts/localplt.awk: Strip off symbol version.
16245         * NEWS: Mention bug fix.
16247 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16249         * sysdeps/pthread/timer_routines.c
16250         (timer_free_list, thread_free_list, thread_active_list): Make static.
16252 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #17779]
16255         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16256         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16257         Undefine.
16258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16259         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16260         Likewise.
16261         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16262         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16263         Likewise.
16265 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16267         [BZ #18036]
16268         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16269         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16271 2015-03-02  Andreas Schwab  <schwab@suse.de>
16273         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16274         variable name.
16276 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16278         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16279         Return error status.
16281 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16283         [BZ #15969]
16284         * locale/findlocale.c (_nl_find_locale): Introduce const
16285         version of loc_name and drop unsafe type casts.
16287 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16289         * dlfcn/tststatic2.c (main): Converted to ...
16290         (do_test): ... this.
16291         (TEST_FUNCTION): New macro.
16292         Include test-skeleton.c.
16294 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16296         [BZ #17711]
16297         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16298         (tests-pie): Add vismain.
16299         (CFLAGS-vismain.c): New.
16300         * elf/vismain.c: Add comments for PIE requirement.
16302 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16304         [BZ #18046]
16305         [BZ #18047]
16306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16307         0x1p-56L as threshold for just returning the argument.
16308         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16309         0x1p-32L as threshold for just returning the argument.
16310         * math/auto-libm-test-in: Add more tests of atanh.
16311         * math/auto-libm-test-out: Regenerated.
16312         * sysdeps/i386/fpu/libm-test-ulps: Update.
16313         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16315 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16317         * string/bcopy.c (bcopy): Call memmove for performance.
16319 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16321         * string/bzero.c (__bzero): Call memset for performance.
16323 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16325         [BZ #18068]
16326         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16327         to 00100000.
16329 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16331         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16333 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16335         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16336         (__kernel_standard): Use CSTR macro when setting exc.name.
16337         * sysdeps/ieee754/Makefile [$(subdir) = math]
16338         (CFLAGS-k_standard.c): Remove variable.
16340         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16341         setting p and q from "else if" to "else".
16342         (qzero): Likewise.
16343         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16344         (qone): Likewise.
16345         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16346         (qzerof): Likewise.
16347         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16348         (qonef): Likewise.
16349         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16350         (qzero): Likewise.
16351         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16352         (qone): Likewise.
16354         [BZ #18038]
16355         [BZ #18039]
16356         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16357         return pi/2 for arguments below 0x1p-113L.
16358         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16359         return pi/2 for arguments below 0x1p-106L.
16360         * math/auto-libm-test-in: Add more tests of acos.
16361         * math/auto-libm-test-out: Regenerated.
16363         [BZ #16351]
16364         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16365         (MO): New macro.
16366         (__ieee754_asin): Force underflow exception for results with small
16367         absolute value.
16368         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16369         (MO): New macro.
16370         (__ieee754_asinf): Force underflow exception for results with
16371         small absolute value.
16372         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16373         (__ieee754_asin): Force underflow exception for results with small
16374         absolute value.
16375         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16376         (__ieee754_asinf): Force underflow exception for results with
16377         small absolute value.
16378         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16379         (__ieee754_asinl): Force underflow exception for results with
16380         small absolute value.
16381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16382         (__ieee754_asinl): Force underflow exception for results with
16383         small absolute value.
16384         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16385         (__ieee754_asinl): Force underflow exception for results with
16386         small absolute value.
16387         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16388         Include <math.h>.
16389         * math/auto-libm-test-in: Do not mark underflow exceptions as
16390         possibly missing for bug 16351.
16391         * math/auto-libm-test-out: Regenerated.
16393         [BZ #18030]
16394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16395         of power of 2 down when low part has opposite sign.
16396         * math/libm-test.inc (logb_test_data): Add more tests.
16398 2015-02-26  Andreas Schwab  <schwab@suse.de>
16400         [BZ #18032]
16401         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16402         over collating symbol inside a bracket expression.  Minor cleanup.
16403         * posix/tst-fnmatch3.c (do_test): Add test case.
16405 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16407         [BZ #18029]
16408         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16409         Adjust exponent of power of 2 down when low part has opposite
16410         sign.
16411         * math/libm-test.inc (ilogb_test_data): Add more tests.
16413 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16415         [BZ #15969]
16416         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16417         the previous change.
16419         [BZ #15969]
16420         * locale/findlocale.c (_nl_find_locale): Retry archive search
16421         after alias expansion.
16423 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16425         * iconv/tst-iconv3.c (main): Converted to ...
16426         (do_test): ... this.
16427         (TEST_FUNCTION): New macro.
16428         Include test-skeleton.c.
16430         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16431         (convert): Make function static.
16432         (test_unalign): Likewise.  Add const to argument pointee types.
16433         (main): Replace with static function do_test.
16434         Print "Succeeded." only if RET is zero.
16435         (TEST_FUNCTION): New macro.
16436         Include test-skeleton.c.
16438         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16439         returns a null pointer.
16441 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16443         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16444         to __memcpy_ppc only for static builds.
16446 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #18020]
16449         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16450         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16451         * math/auto-libm-test-in: Add more tests of asinh.
16452         * math/auto-libm-test-out: Regenerated.
16453         * sysdeps/i386/fpu/libm-test-ulps: Update.
16454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16456 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16458         [BZ #15850]
16459         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16460         and ip6_mtuinfo definitions here.
16461         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16462         in this define too.  Update comment.
16464 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16466         * elf/sprof.c (load_shobj): Tweak error message to match others.
16468 2015-02-24  Kevin Easton  <kevin@guarana.org>
16470         [BZ #16145] (partial fix)
16471         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16472         to reduce lock contention.
16474 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16476         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16477         (struct timex): Update time comment.
16478         (ADJ_SETOFFSET): Define.
16480 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16482         [BZ #18019]
16483         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16484         2**56 not 2**28 as threshold for log (2x) formula.
16485         * math/auto-libm-test-in: Add more tests of acosh.
16486         * math/auto-libm-test-out: Regenerated.
16487         * sysdeps/i386/fpu/libm-test-ulps: Update.
16488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16490 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16492         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16493         parenthesis around the buf assignment.
16494         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16496 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16498         [BZ #16783]
16499         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16500         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16501         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16502         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16503         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16504         * math/libm-test.inc (scalb_test_data): Add more tests.
16506 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16508         [BZ #17916]
16509         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16510         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16512 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16514         [BZ #17523]
16515         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16516         * io/bits/fcntl2.h (open): Use it.
16517         (openat): Likewise.
16518         * io/open.c (__libc_open): Likewise.
16519         * io/open64.c (__libc_open64): Likewise.
16520         * io/open64_2.c (__open64_2): Likewise.
16521         * io/open_2.c (__open_2): Likewise.
16522         * io/openat.c (__openat): Likewise.
16523         * io/openat64.c (__openat64): Likewise.
16524         * io/openat64_2.c (__openat64_2): Likewise.
16525         * io/openat_2.c (__openat_2): Likewise.
16526         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16527         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16528         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16529         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16530         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16531         (__open_nocancel): Likewise.
16532         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16533         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16534         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16536 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16538         [BZ #14841]
16539         * resolv/gethnamaddr.c (getanswer): Skip logging if
16540         RES_USE_DNSSEC is set.
16541         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16543 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16545         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16547 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16549         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16550         201304L, for Unicode 7.
16552 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16554         [BZ #17836]
16555         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16556         shared library.  Add gmon-start.os otherwise.
16557         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16558         $(objpfx)gmon-start.os if builing shared library.
16559         ($(objpfx)g$(static-start-installed-name)): Likewise.
16561 2015-02-23  Andreas Schwab  <schwab@suse.de>
16563         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16565 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16567         [BZ #17269]
16568         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16569         (enlarge_userbuf): Likewise.
16571 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16573         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16574         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16575         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16576         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16578 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16580         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16581         expression inside statement expression.
16583 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16585         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16586         <sysdeps/nptl/lowlevellock.h> and remove macros and
16587         functions that are now defined there.
16588         (SYS_futex): Remove.
16589         (lll_compare_and_swap): Remove.
16590         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16592 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16594         [BZ #17999]
16595         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16596         instead of scandirat.
16597         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16598         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16599         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16600         __scandirat.
16601         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16602         (__scandirat): Declare.  Use libc_hidden_proto.
16603         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16604         Remove variable.
16605         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16607 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16609         [BZ #15319]
16610         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16611         (MO): New macro.
16612         (__ieee754_atan2): For results with small absolute value, force
16613         underflow exception and remove excess range and precision from
16614         return value.
16615         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16616         (MO): New macro.
16617         (__ieee754_atan2f): For results with small absolute value, force
16618         underflow exception and remove excess range and precision from
16619         return value.
16620         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16621         (MO): New macro.
16622         (__atan): For results with small absolute value, force underflow
16623         exception and remove excess range and precision from return value.
16624         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16625         (MO): New macro.
16626         (__atanf): For results with small absolute value, force underflow
16627         exception and remove excess range and precision from return value.
16628         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16629         <math.h>.
16630         (__ieee754_atan2): Force underflow exception for results with
16631         small absolute value.
16632         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16633         <math_private.h>.
16634         (atan): Force underflow exception for results with small absolute
16635         value.
16636         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16637         (__atanf): Force underflow exception for results with small
16638         absolute value.
16639         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16640         <math.h>.
16641         (__atanl): Force underflow exception for results with small
16642         absolute value.
16643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16644         (__atanl): Force underflow exception for results with small
16645         absolute value.
16646         * sysdeps/x86/fpu/bits/mathinline.h
16647         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16648         (__ieee754_atan2): Only define inline for long double.
16649         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16650         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16651         * math/auto-libm-test-in: Do not mark underflow exceptions as
16652         possibly missing for bug 15319.  Add more tests of atan2.
16653         * math/auto-libm-test-out: Regenerated.
16654         * math/libm-test.inc (casin_test_data): Do not mark underflow
16655         exceptions as possibly missing for bug 15319.
16656         (casinh_test_data): Likewise.
16657         * sysdeps/i386/fpu/libm-test-ulps: Update.
16659 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16661         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16662         * sysdeps/mips/bits/endian.h: Fix comments.
16664 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16666         [BZ #17996]
16667         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16668         (hdestroy_r): Likewise.
16669         (hsearch_r): Likewise.
16670         (__hcreate_r): Declare and use libc_hidden_proto.
16671         (__hdestroy_r): Likewise.
16672         (__hsearch_r): Likewise.
16673         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16674         (hcreate): Call __hcreate_r instead of hcreate_r.
16675         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16676         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16677         as weak alias of __hcreate_r.
16678         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16679         __hdestroy_r.
16680         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16681         __hsearch_r.
16682         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16683         Remove variable.
16684         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16685         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16686         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16687         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16689 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16691         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16692         arena_lock into a single arena_get.
16694 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16696         * dl-reloc.c: Inlucde libc-internal.h.
16697         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16698         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16699         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16700         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16701         (grow_heap): Likewise.
16702         * malloc/malloc.c: Include libc-internal.h.
16703         (do_check_malloc): Call powerof2.
16704         (sysmalloc): Use pagesize. Call ALIGN_UP.
16705         (systrim): Use pagesize.
16706         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16707         (__libc_valloc): Use pagesize.
16708         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16710 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16712         [BZ #17991]
16713         * include/sys/resource.h (__getrlimit64): Declare.  Use
16714         libc_hidden_proto.
16715         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16716         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16717         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16718         getrlimit64.
16719         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16720         __getrlimit64.
16721         [!getrlimit64] (getrlimit64): Define as weak alias of
16722         __getrlimit64.  Use libc_hidden_weak.
16723         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16724         using __getrlimit64 not __new_getrlimit64.
16725         (__GI_getrlimit64): Likewise.
16726         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16727         Likewise.
16728         (__GI_getrlimit64): Likewise.
16729         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16731         (getrlimit): Add __getrlimit64 alias.
16732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16733         Likewise.
16734         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16735         Remove variable.
16736         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16737         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16739 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16741         * libio/fileops.c: Add missing sys/mman.h
16742         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16744 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16746         * manual/math.texi (Errors in Math Functions): Clarify goals
16747         regarding inexact and underflow exceptions.
16749 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16751         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16752         * sysdeps/mips/memset.S: Ditto.
16754 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16756         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16758 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16760         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16761         (__v1longjmp): Remove versioned symbol.
16762         (__v1siglongjmp): Remove alias and versioned symbol.
16763         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16764         (__v2siglongjmp): Likewise.
16766 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16768         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16770 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16772         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16774 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16776         [BZ #17987]
16777         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16778         zero result does not depend on the sign resulting from
16779         subtraction.
16780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16781         Likewise.
16782         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16783         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16785         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16786         * math/libm-test.inc (remquo_test_data): Add more tests.
16788 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16790         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16791         Problem reported by J William Piggott.
16793 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16795         [BZ #17978]
16796         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16797         products 4 * y and 2 * y where those would overflow.
16798         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16799         Likewise.
16800         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16801         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16802         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16803         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16804         * math/libm-test.inc (remquo_test_data): Add more tests.
16806         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16808         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16809         [defined _COMPILING_NEWLIB].
16810         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16811         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16813         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16814         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16816 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16818         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16819         acquired.
16821 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16823         [BZ #17792]
16824         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16825         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16826         HOST_STACK_END_ADDR): Likewise.
16828 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16830         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16831         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16832         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16834 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16836         * sysdeps/generic/c++-types.data: New file.
16837         * sysdeps/generic/ld.abilist: New file.
16838         * sysdeps/generic/libBrokenLocale.abilist: New file.
16839         * sysdeps/generic/libanl.abilist: New file.
16840         * sysdeps/generic/libc.abilist: New file.
16841         * sysdeps/generic/libcrypt.abilist: New file.
16842         * sysdeps/generic/libdl.abilist: New file.
16843         * sysdeps/generic/libm.abilist: New file.
16844         * sysdeps/generic/libpthread.abilist: New file.
16845         * sysdeps/generic/libresolv.abilist: New file.
16846         * sysdeps/generic/librt.abilist: New file.
16848 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16850         [BZ #17569]
16851         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16852         Compute absolute value of x as modified by fmod, not original
16853         value of x.
16854         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16855         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16856         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16857         RUN_TEST_ffI_f1_mod8.
16858         (remquo_test_data): Add more tests.
16860 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16862         * sysdeps/init_array/pt-crti.S: New file.
16864 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16866         [BZ #17967]
16867         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16868         __builtin_fmaf instead of relying on contraction of a * b + c.
16870 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16872         [BZ #17969]
16873         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16874         node.
16876 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16878         [BZ #17964]
16879         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16880         __builtin_fma instead of relying on contraction of a * b + c.
16882 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16884         * Makeconfig (ASFLAGS): Add -Werror=undef.
16885         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16886         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16887         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16889         * Makeconfig (after-link): New variable.
16890         (+link-pie, +link-pie-tests): Use it.
16891         (+link-static, +link-static-tests): Likewise.
16892         (+link, +link-tests): Likewise.
16893         * Makerules (build-module, build-module-asneeded): Likewise.
16894         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16895         Likewise.
16896         * elf/Makefile ($(objpfx)ld.so): Likewise.
16898 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16900         [BZ #17965]
16901         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16902         both struct timeval and struct timespec.
16904 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16906         [BZ #16560]
16907         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16908         and redefine.
16909         (__ieee754_exp2l): Do not multiply small fractional parts by
16910         M_LN2l.
16911         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16912         small argument.
16913         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16914         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16915         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16916         * math/auto-libm-test-in: Add more tests of exp2.
16917         * math/auto-libm-test-out: Regenerated.
16919 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16921         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16922         unaligned path.
16924 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16926         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16927         little endian.
16929 2015-02-12  Andreas Schwab  <schwab@suse.de>
16931         [BZ #15790]
16932         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16933         Filter out elision flags from value returned in kind.
16934         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16935         * nptl/tst-pthread-mutexattr.c: New file.
16937 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16939         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16940         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16941         into gnu-gnu, and update comment to refer to abi-tags.
16943 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16945         [BZ #15467]
16946         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16947         (__sincos): Set errno to EDOM for infinite argument.
16948         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16949         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16950         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16951         (__sincosl): Set errno to EDOM for infinite argument.
16952         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16953         (__sincosl): Set errno to EDOM for infinite argument.
16954         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16955         (__sincosl): Set errno to EDOM for infinite argument.
16956         * math/libm-test.inc (sincos_test_data): Test errno setting.
16958 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16960         * string/strxfrm_l.c: Remove #define STRCMP.
16961         * string/strcoll_l.c: Remove #define STRLEN.
16962         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16963         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16965 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16967         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16968         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16969         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16970         * sysdeps/mips/mips64/Makefile: ... here.
16971         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16972         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16973         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16974         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16975         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16976         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16977         * sysdeps/mips/mips64/n64/Implies: Likewise.
16979 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16981         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16982         <sys/time.h>, <string.h>, and <errno.h>.
16983         (dest_offset, dest_address, value, zero): Remove unused variables.
16984         (ldouble): Remove typedef.
16985         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16986         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16987         1).  Fix code style.
16988         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16989         (check): Function removed.
16990         (CHECK): New macro.
16991         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16992         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16993         Don't call set_sigaction_FP and remove_sigaction_FP here.
16994         (ldouble_test): Just use 'long double' as macro argument, no need for
16995         the 'ldouble' typedef.
16996         (do_test): Set up SIGFPE handler at start, using plain signal rather
16997         than sigaction.  Fix code style.
16999 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17001         [BZ #17949]
17002         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17003         jump label.
17005 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17007         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17008         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17010         * sysdeps/powerpc/configure.ac: Remove file.
17011         * sysdeps/powerpc/configure: Likewise.
17013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17014         [sysdep_routines]: Remove wordcopy-power6 object.
17015         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17016         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17017         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17018         (__memmove_ppc32): Likewise.
17019         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17020         file.
17021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17022         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17023         Remove preprocessor.
17025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17026         [sysdep_routines]: Remove wide chars objects.
17027         [wcsmbs]: New rule for wide char objects.
17029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17030         Remove wordcopy-power6 obejct.
17031         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17032         Use local call for wordcopy and memcpy symbols.
17033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17035         implementation for loader.
17036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17039         Remove wordcopy-power7 object.
17040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17042         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17043         (_wordcopy_fwd_dest_aligned): Likewise.
17044         (_wordcopy_bwd_aligned): Likewise.
17045         (_wordcopy_bwd_dest_aligned): Likewise.
17047         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17048         Rewrite to call __memmove_ppc instead of include default
17049         implementation.
17051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17052         Remove wide chars objects.
17053         [wcsmbs]: New rule for wide char objects.
17055 2015-02-09  Andreas Schwab  <schwab@suse.de>
17057         [BZ #17912]
17058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17059         in terms of __O_DIRECTORY.
17061 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17063         * time/getdate.c: Include <stdbool.h>.
17064         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17065         call PTR_MANGLE.
17066         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17067         PTR_DEMANGLE.
17069 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17071         Add ersatz _Static_assert on older C hosts
17072         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17073         pre-C11 C platform that is not known to support _Static_assert.
17075 2015-02-07  Richard Braun  <rbraun@sceen.net>
17077         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17078         sigstate.
17079         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17081 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17083         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17084         priority against unexistent AIO_PRIO_DELTA_MAX.
17085         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17086         instead of int.
17087         * misc/fchflags.c (fchflags): Likewise.
17088         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17089         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17090         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17091         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17092         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17093         Declare macros.
17094         [__USE_MISC] (chflags, fchflags): Declare functions.
17095         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17096         EINVAL when nfds is greater than FD_SETSIZE.
17097         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17098         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17099         45.
17100         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17101         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17102         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17103         MACH_RCV_TIMED_OUT.
17104         * hurd/hurd/signal.h (_hurd_self_sigstate,
17105         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17106         Explicit casts from void *.
17107         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17108         * abi-tags: Rename gnu-gnu os into gnu.
17110         [BZ #4719]
17111         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17112         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17113         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17114         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17115         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17116         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17118         [BZ #17944]
17119         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17120         duplicates ADDR->sun_path with sockaddr LEN limitation.
17121         * sysdeps/mach/hurd/connect.c: Include <string.h>
17122         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17123         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17124         * sysdeps/mach/hurd/sendto.c: Likewise.
17125         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17126         implementing it by hand.
17128 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17130         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17131         Use sfi_breg on ldr.
17132         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17133         Likewise.
17135         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17136         it's defined.
17137         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17138         Test SIGSETXID only if it's defined.
17140         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17142         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17143         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17145         * nptl/tst-align2.c: Moved ...
17146         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17147         * nptl/Makefile (tests): Remove tst-align2.
17148         * sysdeps/unix/sysv/linux/Makefile
17149         [$(subdir) = nptl] (tests): Add tst-align-clone.
17150         * nptl/tst-getpid1.c: Moved ...
17151         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17152         * nptl/tst-getpid2.c: Moved ...
17153         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17154         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17155         * sysdeps/unix/sysv/linux/Makefile
17156         [$(subdir) = nptl] (tests): ... here.
17157         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17158         * sysdeps/unix/sysv/linux/Makefile
17159         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17161         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17162         Drop trailing \n from perror argument.  Use return rather than exit.
17164         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17165         on [SA_SIGINFO].
17166         * nptl/tst-cancel21.c (do_test): Likewise.
17167         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17168         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17169         [!SA_SIGINFO]: Make it a stub test.
17171         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17172         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17174         * posix/tst-getlogin.c: Move to ...
17175         * login/tst-getlogin.c: ... here.
17176         * posix/Makefile (tests): Move tst-getlogin to ...
17177         * login/Makefile (tests): ... here.
17179         * libio/tst-atime.c (do_test): Move local variables SV and E
17180         inside [ST_NOATIME] conditional.
17182         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17184         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17186         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17187         (wait_code): New function replaces macro.
17188         Call nanosleep rather than syscall.
17190         * nptl/pt-system.c: Rewritten.  Put everything under
17191         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17192         Use IFUNC to redirect when possible.
17194         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17195         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17196         Use IFUNC to redirect when possible.
17198         * nptl/pt-fork.c: Rewritten.  Put everything under
17199         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17200         Use IFUNC to redirect when possible.
17201         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17204         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17205         unconditionally nowadays.  This included the only reference to
17206         __vdso_clock_gettime that appears outside libc proper.
17207         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17208         Remove version set (containing only __vdso_clock_gettime).
17209         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17210         Add attribute_hidden.
17211         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17212         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17213         libc_hidden_data_def.
17214         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17215         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17217         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17218         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17219         setrpcent, and getrpcport to ...
17220         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17221         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17222         getrpcbynumber_r, and getrpcent_r to ...
17223         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17224         * inet/getrpcbyname.c: Moved ...
17225         * sunrpc/getrpcbyname.c: ... here.
17226         * inet/getrpcbyname_r.c: Moved ...
17227         * sunrpc/getrpcbyname_r.c: ... here.
17228         * inet/getrpcbynumber.c: Moved ...
17229         * sunrpc/getrpcbynumber.c: ... here.
17230         * inet/getrpcbynumber_r.c: Moved ...
17231         * sunrpc/getrpcbynumber_r.c: ... here.
17232         * inet/getrpcent.c: Moved ...
17233         * sunrpc/getrpcent.c: ... here.
17234         * inet/getrpcent_r.c: Moved ...
17235         * sunrpc/getrpcent_r.c: ... here.
17236         * inet/Makefile (routines): Move those to ...
17237         * sunrpc/Makefile (routines): ... here.
17238         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17239         the $(subdirs) list.
17240         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17241         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17242         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17243         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17245         * elf/Makefile (routines): Include $(all-dl-routines), not just
17246         $(dl-routines).
17247         (rtld-routines): Likewise.  Use = rather than :=.
17248         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17249         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17250         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17251         * sysdeps/arm/Makefile: Likewise.
17252         * sysdeps/i386/Makefile: Likewise.
17253         * sysdeps/x86_64/Makefile: Likewise.
17254         * sysdeps/hppa/Makefile [$(subdir) = elf]
17255         (sysdep_routines, sysdep-rtld-routines): Don't add
17256         $(sysdep-dl-routines) to these.
17257         * sysdeps/ia64/Makefile: Likewise.
17258         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17259         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17260         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17261         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17262         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17263         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17264         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17265         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17266         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17267         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17268         these; sysdep-dl-routines alone is enough.
17270 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #17932]
17273         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17274         where multiplication results in zero and third argument is finite
17275         and nonzero.
17276         * math/auto-libm-test-in: Add more tests of fma.
17277         * math/auto-libm-test-out: Regenerated.
17279         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17280         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17281         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17282         (_FP_CMP_EQ): Likewise.
17283         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17285         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17286         extra argument CHECK_NAN.  Redefine as wrapper around
17287         _FP_EXTEND_CNAN.
17289 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17291         * version.h (RELEASE): Set to "stable".
17292         (VERSION): Set to "2.21"
17293         * include/features.h (__GLIBC_MINOR__): Set to 21.
17295         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17297 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17298             Paul Eggert  <eggert@cs.ucla.edu>
17300         [BZ #16618]
17301         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17302         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17303         size in bytes. Store needed elements in wpmax. Use needed size
17304         in bytes for extend_alloca.
17306 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17308         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17309         binutls 2.25, and texinfo 5.2.
17310         * INSTALL: Regenerate.
17311         * sysdeps/nios2/configure: Regenerate.
17312         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17313         * manual/contrib.texi: Update.
17314         * po/be.po: Update.
17315         * po/bg.po: Update.
17316         * po/ca.po: Update.
17317         * po/cs.po: Update.
17318         * po/da.po: Update.
17319         * po/de.po: Update.
17320         * po/el.po: Update.
17321         * po/eo.po: Update.
17322         * po/es.po: Update.
17323         * po/fi.po: Update.
17324         * po/fr.po: Update.
17325         * po/gl.po: Update.
17326         * po/hr.po: Update.
17327         * po/hu.po: Update.
17328         * po/ia.po: Update.
17329         * po/id.po: Update.
17330         * po/it.po: Update.
17331         * po/ja.po: Update.
17332         * po/ko.po: Update.
17333         * po/lt.po: Update.
17334         * po/nb.po: Update.
17335         * po/nl.po: Update.
17336         * po/pl.po: Update.
17337         * po/pt_BR.po: Update.
17338         * po/ru.po: Update.
17339         * po/rw.po: Update.
17340         * po/sk.po: Update.
17341         * po/sl.po: Update.
17342         * po/sv.po: Update.
17343         * po/tr.po: Update.
17344         * po/uk.po: Update.
17345         * po/vi.po: Update.
17346         * po/zh_CN.po: Update.
17347         * po/zh_TW.po: Update.
17349         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17350         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17351         * sysdeps/hppa/dl-irel.h: Remove #warning.
17352         * sysdeps/hppa/entry.h: Provide prototype for
17353         __canonicalize_funcptr_for_compare and cast argument.
17354         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17355         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17356         * sysdeps/hppa/sotruss-lib.c: New file.
17357         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17358         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17359         (atomic_compare_and_exchange_bool_acq): Likewise.
17360         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17361         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17363         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17364         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17365         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17367 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17369         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17370         called function in non-PIC case.
17372 2015-01-31  David S. Miller  <davem@davemloft.net>
17374         * sysdeps/sparc/sparc32/bits/atomic.h
17375         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17376         unlock not after it.
17377         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17378         volatile register usage warnings from the compiler.
17380         * sysdeps/sparc/nptl/sem_init.c: Delete.
17381         * sysdeps/sparc/nptl/sem_post.c: Delete.
17382         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17383         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17384         * sysdeps/sparc/sparc32/sem_init.c: New file.
17385         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17386         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17387         padding explicitly initialized.
17388         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17389         padding for in-semaphore spinlock.
17390         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17391         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17392         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17393         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17394         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17395         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17396         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17397         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17398         version.
17399         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17400         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17402 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17404         [BZ #17801]
17405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17406         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17407         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17408         New.
17409         (index_AVX_Fast_Unaligned_Load): Likewise.
17410         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17411         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17412         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17413         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17414         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17415         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17416         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17417         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17418         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17420 2015-01-29  Andreas Schwab  <schwab@suse.de>
17422         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17424 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17426         [BZ #17892]
17427         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17429 2015-01-28  Martin Sebor  <msebor@redhat.com>
17431         * math/README.libm-test: Clarify. Add "How to read the test output."
17433 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17435         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17436         Define to 0.
17438 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17440         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17441         (__HAVE_64B_ATOMICS): Define to 0.
17443 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17445         [BZ #17885]
17446         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17447         value to set as new flag.
17449         [BZ #16576]
17450         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17451         and use _ARCH_PPCSQ instead.
17452         (__ieee754_sqrt): Likewise.
17453         (__ieee754_sqrtf): Likewise.
17454         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17455         _ARCH_PPCSQ is defined.
17456         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17457         fsqrt instruction.
17458         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17459         _ARCH_PPCSQ is defined.
17460         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17461         fsqrts instruction.
17462         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17464 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17466         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17467         bug (GCC BZ #64739).
17469 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17471         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17472         Mark _retval as used.
17473         (lll_futex_wake_unlock): Likewise.
17474         (lll_futex_timed_wait_requeue_pi): Likewise.
17476         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17477         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17478         register variables.
17480         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17481         libm_hidden_def.
17483         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17484         (__bswap_64): Mark as __always_inline.
17486 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17488         [BZ #15378]
17489         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17490         when none of the search directories exist.
17492 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17494         [BZ #17869]
17495         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17496         power8 in .machine directive.
17498         [BZ #17868]
17499         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17500         set dependency from opd value.
17502 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17505         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17506         architecture.
17508 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17510         [BZ #17870]
17511         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17512         with uint64_t.
17513         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17514         (uint64_t) 1.
17515         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17516         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17517         Replace 1UL with (uint64_t) 1.
17518         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17519         int with uint64_t.
17521 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17523         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17524         (if_freenameindex): Likewise.
17526         * resource/getrlimit64.c: Add missing libc_hidden_def.
17528 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17530         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17531         __label__.
17532         (_FP_FMA): Likewise.
17533         (_FP_TO_INT_ROUND): Likewise.
17534         (_FP_FROM_INT): Likewise.
17536 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17538         [BZ #16418]
17539         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17540         Make code racy and cancel safe.
17542 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17544         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17545         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17546         attribution.
17548         * pwd/tst-getpw.c: Rewrite.
17550         [BZ #17702]
17551         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17552         (modules-names): Add moddummy1 and moddummy2.
17553         ($(objpfx)tst-rec-dlopen): Define.
17554         * dlfcn/moddummy1.c: New file.
17555         * dlfcn/moddummy2.c: New file.
17556         * dlfcn/tst-rec-dlopen.c: New file.
17557         * elf/dl-cache.c (_dl_load_cache_lookup):
17558         Return char*. Copy result with alloca/strcpy/strdup.
17559         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17560         returns char*. Free cached. If not saving realname
17561         free cached.
17562         * elf/dl-open.c (dl_open_worker): Do not assert that
17563         _r_debug->r_state is RT_CONSISTENT.
17564         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17565         returns char*.
17567 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17568             Carlos O'Donell  <carlos@redhat.com>
17570         [BZ #12674]
17571         * nptl/sem_waitcommon.c: New file.
17572         * nptl/sem_wait.c: Include sem_waitcommon.c.
17573         (__sem_wait_cleanup, do_futex_wait): Remove.
17574         (__new_sem_wait): Adapt.
17575         (__new_sem_trywait): New function.
17576         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17577         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17578         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17579         (sem_timedwait): Adapt.
17580         * nptl/sem_post.c (__new_sem_post): Adapt.
17581         (futex_wake): New function.
17582         (__old_sem_post): Add release MO fence.
17583         * nptl/sem_open.c (sem_open): Adapt.
17584         * nptl/sem_init.c (__new_sem_init): Adapt.
17585         (futex_private_if_supported): New function.
17586         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17587         (__old_sem_getvalue): Add using previous code.
17588         * sysdeps/nptl/internaltypes.h: Adapt.
17589         * nptl/tst-sem13.c (do_test): Adapt.
17590         * nptl/tst-sem11.c (main): Adapt.
17591         * nptl/sem_trywait.c: Remove.
17592         * nptl/DESIGN-sem.txt: Remove.
17593         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17594         (gen-as-const-headers): Remove structsem.sym.
17595         * nptl/structsem.sym: Remove.
17596         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17597         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17598         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17599         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17600         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17601         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17602         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17603         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17604         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17605         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17606         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17607         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17608         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17609         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17610         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17611         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17612         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17613         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17614         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17615         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17616         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17617         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17619 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17621         * INSTALL: Regenerated.
17623         * po/libc.pot: Regenerated.
17625 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17626             Sandra Loosemore  <sandra@codesourcery.com>
17627             Andrew Jenner  <andrew@codesourcery.com>
17628             Joseph Myers  <joseph@codesourcery.com>
17629             Nathan Sidwell  <nathan@codesourcery.com>
17631         * NEWS: Mention new Nios II port.
17632         * sysdeps/nios2/Implies: New file.
17633         * sysdeps/nios2/Makefile: New file.
17634         * sysdeps/nios2/Subdirs: New file.
17635         * sysdeps/nios2/Versions: New file.
17636         * sysdeps/nios2/__longjmp.S: New file.
17637         * sysdeps/nios2/abort-instr.h: New file.
17638         * sysdeps/nios2/backtrace.c: New file.
17639         * sysdeps/nios2/bits/endian.h: New file.
17640         * sysdeps/nios2/bits/fenv.h: New file.
17641         * sysdeps/nios2/bits/link.h: New file.
17642         * sysdeps/nios2/bits/setjmp.h: New file.
17643         * sysdeps/nios2/bsd-_setjmp.S: New file.
17644         * sysdeps/nios2/bsd-setjmp.S: New file.
17645         * sysdeps/nios2/configure: New generated file.
17646         * sysdeps/nios2/configure.ac: New file.
17647         * sysdeps/nios2/crti.S: New file.
17648         * sysdeps/nios2/crtn.S: New file.
17649         * sysdeps/nios2/dl-init.c: New file.
17650         * sysdeps/nios2/dl-machine.h: New file.
17651         * sysdeps/nios2/dl-sysdep.h: New file.
17652         * sysdeps/nios2/dl-tls.h: New file.
17653         * sysdeps/nios2/dl-trampoline.S: New file.
17654         * sysdeps/nios2/gccframe.h: New file.
17655         * sysdeps/nios2/gmp-mparam.h: New file.
17656         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17657         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17658         * sysdeps/nios2/ldsodefs.h: New file.
17659         * sysdeps/nios2/libc-tls.c: New file.
17660         * sysdeps/nios2/libm-test-ulps: New file.
17661         * sysdeps/nios2/machine-gmon.h: New file.
17662         * sysdeps/nios2/math-tests.h: New file.
17663         * sysdeps/nios2/math_private.h: New file.
17664         * sysdeps/nios2/memusage.h: New file.
17665         * sysdeps/nios2/nptl/Makefile: New file.
17666         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17667         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17668         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17669         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17670         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17671         * sysdeps/nios2/nptl/tls.h: New file.
17672         * sysdeps/nios2/preconfigure: New file.
17673         * sysdeps/nios2/s_fma.c: New file.
17674         * sysdeps/nios2/s_fmaf.c: New file.
17675         * sysdeps/nios2/setjmp.S: New file.
17676         * sysdeps/nios2/sfp-machine.h: New file.
17677         * sysdeps/nios2/sotruss-lib.c: New file.
17678         * sysdeps/nios2/stackguard-macros.h: New file.
17679         * sysdeps/nios2/stackinfo.h: New file.
17680         * sysdeps/nios2/start.S: New file.
17681         * sysdeps/nios2/sysdep.h: New file.
17682         * sysdeps/nios2/tls-macros.h: New file.
17683         * sysdeps/nios2/tst-audit.h: New file.
17684         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17685         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17686         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17687         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17688         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17689         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17690         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17691         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17692         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17693         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17694         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17695         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17696         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17697         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17698         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17699         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17700         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17701         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17702         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17703         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17704         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17705         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17706         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17707         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17708         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17709         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17710         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17711         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17712         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17713         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17714         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17715         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17716         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17717         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17718         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17719         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17721         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17722         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17723         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17724         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17725         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17726         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17727         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17729 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17731         [BZ #17844]
17732         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17733         (getutent): Use weak_alias in non SHARED case
17734         and default_symbol_version in SHARED case.
17735         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17736         (getutent_r, pututline): Likewise.
17737         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17738         (getutid): Likewise.
17739         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17740         (getutid_r): Likewise.
17741         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17742         (getutline): Likewise.
17743         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17744         (getutline_r): Likewise.
17745         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17746         (updwtmp): Likewise.
17748 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17750         [BZ #17848]
17751         * sysdeps/s390/s390-32/memcmp.S
17752         (memcmp_g5): Rename to __memcmp_g5.
17753         * sysdeps/s390/s390-32/memcpy.S
17754         (memcpy_g5): Rename to __memcpy_g5.
17755         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17756         (memcpy_mvcle) Rename to __memcpy_mvcle.
17757         * sysdeps/s390/s390-32/memset.S
17758         (memset_g5): Rename to __memset_g5.
17759         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17760         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17761         and use prefixed functions.
17762         * sysdeps/s390/s390-32/multiarch/memcmp.S
17763         (memcmp_z196): Rename to __memcmp_z196.
17764         (memcmp_z10): Rename to __memcmp_z10.
17765         (memcmp): Set alias to __memcmp_g5.
17766         (bcmp): Set alias to __memcmp_g5.
17767         * sysdeps/s390/s390-32/multiarch/memcpy.S
17768         (memcpy_z196): Rename to __memcpy_z196.
17769         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17770         (memcpy_z10): Rename to __memcpy_z10.
17771         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17772         (memcpy): Set alias to __memcpy_g5.
17773         * sysdeps/s390/s390-32/multiarch/memset.S
17774         (memset_z196): Rename to __memset_z196.
17775         Jump to __memset_mvcle instead of memset_mvcle.
17776         (memset_z10): Rename to __memset_z10.
17777         Jump to __memset_mvcle instead of memset_mvcle.
17778         (memset_mvcle) Rename to __memset_mvcle.
17779         (memset): Set alias to __memset_g5.
17780         * sysdeps/s390/s390-64/memcmp.S
17781         (memcmp_z900): Rename to __memcmp_z900.
17782         * sysdeps/s390/s390-64/memcpy.S
17783         (memcpy_z900): Rename to __memcpy_z900.
17784         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17785         (memcpy_mvcle) Rename to __memcpy_mvcle.
17786         * sysdeps/s390/s390-64/memset.S
17787         (memset_z900): Rename to __memset_z900.
17788         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17789         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17790         and use prefixed functions.
17791         * sysdeps/s390/s390-64/multiarch/memcmp.S
17792         (memcmp_z196): Rename to __memcmp_z196.
17793         (memcmp_z10): Rename to __memcmp_z10.
17794         (memcmp): Set alias to __memcmp_z900.
17795         (bcmp): Set alias to __memcmp_z900.
17796         * sysdeps/s390/s390-64/multiarch/memcpy.S
17797         (memcpy_z196): Rename to __memcpy_z196.
17798         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17799         (memcpy_z10): Rename to __memcpy_z10.
17800         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17801         (memcpy): Set alias to __memcpy_z900.
17802         * sysdeps/s390/s390-64/multiarch/memset.S
17803         (memset_z196): Rename to __memset_z196.
17804         Jump to __memset_mvcle instead of memset_mvcle.
17805         (memset_z10): Rename to __memset_z10.
17806         Jump to __memset_mvcle instead of memset_mvcle.
17807         (memset_mvcle) Rename to __memset_mvcle.
17808         (memset): Set alias to __memset_z900.
17810 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17812         [BZ #17748]
17813         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17814         __fesetenv instead of fesetenv.
17816 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17818         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17819         macro.
17821 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17823         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17824         regression on LE.
17826         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17827         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17829         strncmp-power8 object.
17830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17831         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17832         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17833         * NEWS: Update.
17835 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17836             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17838         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17839         trailing byte check.
17841 2015-01-13  David S. Miller  <davem@davemloft.net>
17843         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17845 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17847         * login/logout.c (logout): Use memset rather than bzero.
17848         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17849         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17850         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17851         (_gethtbyaddr): Likewise.
17852         * locale/programs/simple-hash.c (bcopy): Macro removed.
17854 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17857         Add strcmp-power8 object.
17858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17859         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17860         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17861         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17862         __strcmp_power8 implementation.
17863         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17864         * NEWS: Update.
17866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17867         Add strncpy-power8 and stpncpy-power8 objects.
17868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17869         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17870         implementations.
17871         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17872         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17873         __stpncpy_power8 implementation.
17874         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17875         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17876         __strncpy_power8 implementation.
17877         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17878         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17879         * NEWS: Update.
17881         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17882         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17883         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17886         strncat-power8 object.
17887         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17888         __strcat_power8 implementation.
17889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17890         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17891         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17892         optimized strcat for power8.
17894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17895         strcpy-power8 and stpcpy-power8 objects.
17896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17897         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17898         implementations.
17899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17900         multiarch stpcpy implementation for POWER8.
17901         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17902         multiarch strcpy implementation for POWER8.
17903         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17904         __strcpy_power8 function.
17905         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17906         stpcpy for POWER8.
17907         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17908         strcpy for POWER8.
17909         * NEWS: Update.
17911 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17913         [BZ #16009]
17914         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17915         weights and rules. Use do_xfrm_cached if data fits in cache,
17916         do_xfrm otherwise.  Moved former main loop to...
17917         * (do_xfrm_cached): New function.
17918         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17919         find_idx, find_position and stack_push.
17920         * (find_idx): New function.
17921         * (find_position): Likewise.
17922         * localedata/sort-test.sh: Added test run for do_xfrm.
17923         * localedata/xfrm-test.c (main): Added command line option
17924         -nocache to run the test with strings that are too large for
17925         the STRXFRM cache.
17927 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17929         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17930         variable to lll_futex_wake call, not the value itself.
17932 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17934         [BZ #17803]
17935         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17936         twom64.  Adjust value to 0x1p-64L.
17937         (__scalblnl): Only return standard underflowing result for K <=
17938         -64 not K <= -63; adjust exponent for underflowing result by 64
17939         not 63.
17940         * math/libm-test.inc (scalbn_test_data): Add more tests.
17941         (scalbln_test_data): Likewise.
17943         [BZ #17834]
17944         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17945         0x1p63L.
17946         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17947         not HX.
17948         * math/libm-test.inc (scalbn_test_data): Add more tests.
17949         (scalbln_test_data): Likewise.
17951 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17952             Stefani Seibold  <stefani@seibold.net>
17954         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17955         (sysdep_routines): Add dl-vdso here, ...
17956         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17957         (sysdep_routines): ... not here.
17958         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17959         fallback when vDSO is not presented.
17960         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17961         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17962         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17963         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17964         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17965         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17966         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17968         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17970         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17971         fallback configurable symbol when vDSO is not available.
17972         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17973         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17974         be able to redefine fallback symbol when vDSO is not available.
17975         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17976         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17978 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17980         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17981         (TLS_INIT_TP): Add tm_capable initialization.
17982         (TLS_DEFINE_INIT_TP): Likewise.
17983         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17984         TCB.
17985         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17986         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17987         calculation.
17988         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17989         transactoion is lock elision is built and TCB tm_capable is set.
17990         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17992         (INTERNAL_SYSCALL_NCS): Likewise.
17993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17994         (INTERNAL_SYSCALL_NCS): Likewise.
17995         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17997         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17998         for powerpc.
17999         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18000         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18001         and remove it for 32 bits case.
18002         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18004         initialization.
18005         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18006         Disable lock elision with rdlocks if elision is not available.
18008         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18009         (sysdep_routines): Add lock elision objects.
18010         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18011         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18012         [pthread_mutex_t] (__elision): Add field.
18013         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18014         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18015         elision definitions for powerpc.
18016         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18017         implementation of lock elision for powerpc.
18018         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18019         implementation of timed lock elision for powerpc.
18020         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18021         implementation of trylock with lock elision for powerpc.
18022         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18023         implementaion of unlock for lock elision for powerpc.
18024         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18025         automatic enable lock elision for mutexes.
18026         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18027         transaction execution definitions for powerpc.
18028         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18029         definitions.
18030         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18031         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18032         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18033         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18034         * NEWS: Update.
18036 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18038         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18039         for #include of <shm-directory.h>.
18041 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18043         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18044         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18046 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18048         [BZ #17791]
18049         * NEWS: Mention bug fix.
18050         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18051         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18052         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18054 2015-01-09  Torvald Riegel <triegel@redhat.com>
18056         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18058 2015-01-09  Torvald Riegel <triegel@redhat.com>
18060         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18062 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18064         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18065         pointer and cast to uintptr_t.
18067 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18069         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18070         removed.
18071         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18073 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18075         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18076         of 0.
18078 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18080         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18081         <nptl/pthreadP.h> instead.
18082         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18084         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18085         already defined.
18086         [__SIGRTMIN] (init): Function removed.
18087         [__SIGRTMIN] (initialized): Variable removed.
18088         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18089         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18090         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18091         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18092         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18093         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18094         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18095         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18096         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18097         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18098         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18099         * sysdeps/nptl/allocrtsig.c: New file.
18100         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18101         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18102         * sysdeps/generic/testrtsig.h: File removed.
18104         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18105         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18107         * nptl/nptl-init.c (pthread_functions): Conditionalize
18108         .ptr__nptl_setxid initialization on [SIGSETXID].
18110         * sysdeps/nptl/sys/procfs.h: New file.
18111         * nptl_db/Makefile (headers): Add it.
18112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18114         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18115         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18116         * nptl/pthread_attr_setaffinity.c: Include it.
18117         * nptl/pthread_setattr_default_np.c: Likewise.
18118         * nptl/check-cpuset.h: New file.
18120 2015-01-08  Richard Henderson  <rth@redhat.com>
18122         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18123         (CFLAGS-tst-execstack-prog.c): Likewise.
18124         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18126 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18127             Sandra Loosemore  <sandra@codesourcery.com>
18128             Andrew Jenner  <andrew@codesourcery.com>
18129             Joseph Myers  <joseph@codesourcery.com>
18130             Nathan Sidwell  <nathan@codesourcery.com>
18132         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18133         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18134         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18135         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18136         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18137         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18138         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18139         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18140         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18141         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18142         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18143         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18144         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18145         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18146         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18147         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18148         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18150 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18152         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18153         timespec struct member in syscall macro.
18154         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18155         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18156         first timeval struct member in syscall macro.
18157         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18159 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18161         [BZ #17748]
18162         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18163         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18164         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18165         __feupdateenv and define as weak alias of __feupdateenv.  Use
18166         libm_hidden_weak.
18167         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18168         libm_hidden_def.
18169         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18170         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18171         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18172         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18173         libm_hidden_def.
18174         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18175         __feupdateenv and define as weak alias of __feupdateenv.  Use
18176         libm_hidden_weak.
18177         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18178         libm_hidden_def.
18179         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18180         __feupdateenv and define as weak alias of __feupdateenv.  Use
18181         libm_hidden_weak.
18182         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18183         libm_hidden_def.
18184         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18185         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18186         (__feupdateenv): Likewise.
18187         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18188         __feupdateenv and define as weak alias of __feupdateenv.  Use
18189         libm_hidden_weak.
18190         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18191         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18192         libm_hidden_def.
18193         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18194         function.
18195         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18196         libm_hidden_def.
18197         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18198         __feupdateenv instead of feupdateenv.
18199         (default_libc_feupdateenv_test): Likewise.
18200         (libc_feresetround_ctx): Likewise.
18202 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18204         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18205         prototype.
18207 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18209         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18210         COLL_SYM in a couple of places to avoid uninitialized variable
18211         wanings on tilegx gcc 4.8.2.
18213 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18215         * sysdeps/aarch64/strcpy.S: New file.
18216         * sysdeps/aarch64/stpcpy.S: New file.
18217         * NEWS: Updated.
18219 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18221         * sysdeps/aarch64/strrchr.S: New file.
18222         * NEWS: Updated.
18224 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18226         [BZ #17658]
18227         * stdlib/setenv.c: Fix memory leak when setting large,
18228         duplicate string.
18230 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18232         [BZ #17273]
18233         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18234         and tabs from buffer before parsing fstab entry.
18235         * misc/tst-mntent.c (main): Add test for mount entry with
18236         trailing spaces and tabs.
18238 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #17748]
18241         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18242         * math/fesetround.c (fesetround): Rename to __fesetround and
18243         define as weak alias of __fesetround.  Use libm_hidden_weak.
18244         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18245         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18246         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18247         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18248         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18249         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18250         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18251         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18252         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18253         __fesetround_inline.
18254         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18255         __fesetround_inline instead of __fesetround.
18256         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18257         __fesetround and define as weak alias of __fesetround.  Use
18258         libm_hidden_weak.  Call __fesetround_inline instead of
18259         __fesetround.
18260         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18261         __fesetround and define as weak alias of __fesetround.  Use
18262         libm_hidden_weak.
18263         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18264         Likewise.
18265         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18266         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18267         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18268         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18269         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18270         __fesetround and define as weak alias of __fesetround.  Use
18271         libm_hidden_weak.
18272         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18273         __fesetround instead of fesetround.
18274         (default_libc_feholdexcept_setround): Likewise.
18275         (libc_feholdsetround_ctx): Likewise.
18276         (libc_feholdsetround_noex_ctx): Likewise.
18278         [BZ #17748]
18279         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18280         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18281         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18282         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18283         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18284         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18285         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18286         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18287         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18288         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18289         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18290         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18291         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18292         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18293         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18294         libm_hidden_def.
18295         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18296         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18297         Likewise.
18298         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18299         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18300         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18301         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18302         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18303         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18304         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18305         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18306         __fesetenv instead of fesetenv.
18307         (libc_feresetround_noex_ctx): Likewise.
18308         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18309         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18310         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18311         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18312         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18313         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18314         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18315         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18316         (__feupdateenv): Likewise.
18317         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18318         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18319         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18320         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18322 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18324         [BZ #17806]
18325         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18326         addresses have been freed.
18328 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18330         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18331         and nservall.
18333 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18335         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18336         Clean up check_pf allocation pattern. addresses
18338 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18340         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18341         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18342         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18343         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18344         * nptl/pthread_join.c (pthread_join): Likewise.
18345         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18346         * sysdeps/posix/waitid.c (__waitid): Likewise.
18347         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18348         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18349         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18350         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18352         Likewise.
18353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18354         (__libc_pread64): Likewise.
18355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18356         (__libc_pwrite): Likewise.
18357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18358         (__libc_pwrite64): Likewsie.
18359         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18360         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18361         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18362         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18363         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18364         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18365         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18367         Likewise.
18368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18369         (__libc_pread64): Likewise.
18370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18371         Likewise.
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18373         (__libc_pwrite64): Likewise.
18374         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18375         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18376         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18377         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18378         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18379         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18380         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18381         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18382         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18383         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18384         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18385         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18386         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18387         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18388         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18389         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18390         Likewise.
18392 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18394         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18395         (CFLAGS-test-double.c): Likewise.
18396         (CFLAGS-test-ldouble.c): Likewise.
18397         (CPPFLAGS-test-ifloat.c): Likewise.
18398         (CPPFLAGS-test-idouble.c): Likewise.
18399         (CPPFLAGS-test-ildoubl.c): Likewise.
18400         (CFLAGS-test-test-fenv.c): Remove variable.
18401         (CFLAGS-test-misc.c): Likewise.
18403 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18405         [BZ #17797]
18406         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18407         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18408         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18409         CLOCKS_PER_SEC == 1000000.
18410         * time/clocktest.c (main): Replace %ld with %jd and cast to
18411         intmax_t.
18413 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18415         * sysdeps/generic/unwind-resume.h: New file.
18416         * sysdeps/gnu/unwind-resume.c: Include it.
18417         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18418         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18419         argument list.
18420         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18421         global rather than static.
18422         (_Unwind_Resume): Update user.
18423         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18424         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18425         rather than static.  Add __attribute__ ((cold)).
18426         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18427         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18428         * sysdeps/arm/arm-unwind-resume.S: New file.
18429         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18430         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18431         * sysdeps/arm/Makefile [$(subdir) = csu]
18432         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18433         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18434         Add rt-arm-unwind-resume.
18435         [$(subdir) = nptl]
18436         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18437         Add pt-arm-unwind-resume.
18438         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18441 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18443         [BZ #17748]
18444         * include/fenv.h (__feholdexcept): Declare.  Use
18445         libm_hidden_proto.
18446         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18447         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18448         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18449         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18450         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18451         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18452         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18453         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18454         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18455         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18456         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18457         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18458         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18459         (feholdexcept): Likewise.
18460         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18461         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18462         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18463         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18464         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18465         __feholdexcept instead of feholdexcept.
18466         (default_libc_feholdexcept_setround): Likewise.
18468 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18470         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18471         to avoid using stl/str to align destination.
18473 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18475         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18477 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18479         [BZ #17796]
18480         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18481         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18482         Define as weak alias not strong alias.
18484 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18486         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18487         bltzal with addiupc.
18488         (RTLD_START): Ditto.
18490 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18492         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18493         for __vdso_* functions in declarations.
18494         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18495         definitions.
18496         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18497         INTERNAL_VSYSCALL): Use struct return types to check for error.
18499         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18500         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18501         function with cast from llround().
18502         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18503         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18504         Define.
18506 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18508         [BZ #17793]
18509         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18510         Define as weak alias not strong alias.
18512         [BZ #17635]
18513         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18514         ...
18515         * ctype/ctype-extn.c: ... here.
18516         (__isblank_l): Move to ...
18517         * ctype/ctype-c99_l.c: ... here.  New file.
18518         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18519         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18520         Remove variable.
18521         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18522         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18523         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18524         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18525         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18527         [BZ #17777]
18528         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18529         (posix_fadvise64): Define as weak alias not strong alias.
18530         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18531         (posix_fallocate64): Likewise.
18532         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18533         Remove variable.
18534         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18535         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18536         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18537         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18538         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18540 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18542         [BZ #16191]
18543         * NEWS: Mention bug fix.
18544         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18545         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18546         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18547         (HOST_STACK_END_ADDR): Likewise.
18549 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18551         [BZ #17748]
18552         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18553         * math/fegetround.c (fegetround): Rename to __fegetround and
18554         define as weak alias of __fegetround.  Use libm_hidden_weak.
18555         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18556         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18557         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18558         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18559         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18560         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18561         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18562         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18563         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18564         Undefine after rather than before function definition; use
18565         parentheses around function name in definition.
18566         (__fegetround): Also undefine macro after function definition.
18567         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18568         __fegetround and define as weak alias of __fegetround.  Use
18569         libm_hidden_weak.  Do not undefine as macro.
18570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18571         Likewise.
18572         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18573         __fegetround and define as weak alias of __fegetround.  Use
18574         libm_hidden_weak.
18575         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18576         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18577         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18578         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18579         __fegetround and define as weak alias of __fegetround.  Use
18580         libm_hidden_weak.
18581         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18582         __fegetround instead of fegetround.
18584         [BZ #17782]
18585         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18586         Condition macro definition on [__USE_MISC].
18588         [BZ #17781]
18589         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18590         (struct sigaction): Change type of sa_flags field to int.
18592         [BZ #17780]
18593         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18594         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18595         __glibc_reserved0.
18597         * nptl/version.c (banner): Use single year in copyright notice.
18599         * NEWS: Update copyright dates.
18600         * catgets/gencat.c (print_version): Likewise.
18601         * csu/version.c (banner): Likewise.
18602         * debug/catchsegv.sh: Likewise.
18603         * debug/pcprofiledump.c (print_version): Likewise.
18604         * debug/xtrace.sh (do_version): Likewise.
18605         * elf/ldconfig.c (print_version): Likewise.
18606         * elf/ldd.bash.in: Likewise.
18607         * elf/pldd.c (print_version): Likewise.
18608         * elf/sotruss.sh: Likewise.
18609         * elf/sprof.c (print_version): Likewise.
18610         * iconv/iconv_prog.c (print_version): Likewise.
18611         * iconv/iconvconfig.c (print_version): Likewise.
18612         * locale/programs/locale.c (print_version): Likewise.
18613         * locale/programs/localedef.c (print_version): Likewise.
18614         * login/programs/pt_chown.c (print_version): Likewise.
18615         * malloc/memusage.sh (do_version): Likewise.
18616         * malloc/memusagestat.c (print_version): Likewise.
18617         * malloc/mtrace.pl: Likewise.
18618         * manual/libc.texinfo: Likewise.
18619         * nptl/version.c (banner): Likewise.
18620         * nscd/nscd.c (print_version): Likewise.
18621         * nss/getent.c (print_version): Likewise.
18622         * nss/makedb.c (print_version): Likewise.
18623         * posix/getconf.c (main): Likewise.
18624         * scripts/test-installation.pl: Likewise.
18625         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18627 2015-01-02  Will Newton  <will.newton@linaro.org>
18629         * sysdeps/arm/armv7/configure: Removed.
18630         * sysdeps/arm/armv7/configure.ac: Likewise.
18632 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18634         * All files with FSF copyright notices: Update copyright dates
18635         using scripts/update-copyrights.
18636         * intl/plural.c: Regenerated.
18637         * locale/programs/charmap-kw.h: Likewise.
18638         * locale/programs/locfile-kw.h: Likewise.
18640 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18642         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18644 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18646         [BZ #17748]
18647         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18648         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18649         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18650         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18651         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18652         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18653         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18654         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18655         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18656         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18657         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18658         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18659         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18660         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18661         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18662         libm_hidden_def.
18663         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18664         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18665         Likewise.
18666         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18667         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18669         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18670         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18671         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18672         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18673         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18674         __fegetenv instead of fegetenv.
18675         (libc_feholdsetround_noex_ctx): Likewise.
18677 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18679         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18680         (Elf_MIPS_ABIFlags_v0): New structure.
18681         (EF_MIPS_FP64): Define.
18682         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18683         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18684         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18685         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18686         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18687         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18688         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18689         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18690         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18691         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18692         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18693         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18694         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18695         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18696         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18697         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18698         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18699         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18700         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18701         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18702         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18703         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18704         field.
18705         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18706         EF_MIPS_FP64.
18707         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18708         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18709         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18710         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18711         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18712         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18713         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18714         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18715         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18716         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18717         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18718         record the current FP ABI extension.
18719         (mips-mode-switch): Define to show if kernel headers support mode
18720         switching.
18721         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18722         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18723         supported SYSV ABI version to 3.
18724         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18725         feature.
18727 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18730         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18731         path.
18732         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18734 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18736         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18737         __fegetround and redefine to call __fegetround.  Remove condition
18738         on [!__NO_MATH_INLINES].
18739         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18740         function.
18741         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18742         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18743         Remove macro.
18744         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18745         instead of <fenv_libc.h>.
18746         (__llrintl): Call fegetround instead of __fegetround.
18747         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18748         instead of <fenv_libc.h>.
18749         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18750         (__lrintl): Call fegetround instead of __fegetround.
18751         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18752         instead of <fenv_libc.h>.
18753         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18754         (__rintl): Call fegetround instead of __fegetround.
18756 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18759         arrays.
18761 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18763         [BZ #17775]
18764         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18765         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18766         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18768 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18770         * sysdeps/i386/tls-macros.h: Include <features.h>.
18771         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18772         (TLS_IE): Likewise.
18773         (TLS_LD): Likewise.
18774         (TLS_GD): Likewise.
18775         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18776         define for GCC >= 5.0.
18778 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18780         * math/test-fenv.c (test_single_exception, set_single_exc,
18781         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18782         feexcp_mask_test, feenable_test, fe_single_test): Add
18783         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18784         case where they are not used.
18785         * math/libm-test.inc: Likewise.
18786         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18787         unused in the absence of FP rounding/exception support.
18788         * stdio-common/tst-printf-round.c: Likewise.
18789         * stdlib/tst-strtod-round.c: Likewise.
18790         * stdlib/tst-strtod-underflow.c: Likewise.
18792 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18794         [BZ #17723]
18795         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18796         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18797         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18798         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18799         libm_hidden_weak.
18800         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18801         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18802         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18803         libm_hidden_def.
18804         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18805         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18806         libm_hidden_weak.
18807         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18808         Likewise.
18809         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18810         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18811         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18812         libm_hidden_weak.
18813         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18814         libm_hidden_def.
18815         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18816         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18817         (__feraiseexcept): Likewise.
18818         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18819         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18820         libm_hidden_weak.
18821         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18822         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18823         libm_hidden_def.
18824         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18825         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18826         Use libm_hidden_def.
18827         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18828         libm_hidden_def.
18829         (feraiseexcept): Define as weak not strong alias.  Use
18830         libm_hidden_weak.
18831         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18832         New inline function.  Factored out of ...
18833         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18834         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18835         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18836         feraiseexcept.
18837         * math/w_acos.c (__acos): Likewise.
18838         * math/w_asin.c (__asin): Likewise.
18839         * math/w_ilogb.c (__ilogb): Likewise.
18840         * math/w_j0.c (y0): Likewise.
18841         * math/w_j1.c (y1): Likewise.
18842         * math/w_jn.c (yn): Likewise.
18843         * math/w_log.c (__log): Likewise.
18844         * math/w_log10.c (__log10): Likewise.
18845         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18846         * sysdeps/aarch64/fpu/math_private.h
18847         (libc_feupdateenv_test_aarch64): Likewise.
18848         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18849         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18850         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18851         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18852         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18853         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18854         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18855         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18856         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18857         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18859 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18861         [BZ #17732]
18862         * io/test-utime.c (main): Replace %ld with %jd and cast to
18863         intmax_t.
18864         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18865         * nptl/tst-mutex5.c: Include <stdint.h>.
18866         (do_test): Replace %ld with %jd and cast to intmax_t.
18867         * posix/tst-regex.c (run_test): Likewise.
18868         (run_test_backwards): Likewise.
18869         * rt/tst-clock.c: Include <stdint.h>.
18870         (clock_test): Replace %ld with %jd and cast to intmax_t.
18871         * rt/tst-cpuclock1.c: Include <stdint.h>.
18872         (do_test): Replace %lu with %ju and cast to uintmax_t.
18873         * rt/tst-cpuclock2.c: Include <stdint.h>.
18874         (do_test): Replace %lu with %ju and cast to uintmax_t.
18875         * rt/tst-mqueue1.c: Include <stdint.h>.
18876         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18877         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18878         intmax_t.
18879         * rt/tst-mqueue4.c (do_test): Likewise.
18880         * rt/tst-timer4.c: Include <stdint.h>.
18881         (check_ts): Replace %ld with %jd and cast to intmax_t.
18882         (do_test): Likewise.
18883         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18884         and cast to intmax_t.
18885         * sysdeps/pthread/tst-timer.c (main): Likewise.
18886         * time/clocktest.c (main): Likewise.
18887         * time/tst-posixtz.c (do_test): Likewise.
18888         * timezone/tst-timezone.c (main): Likewise.
18890 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18891             H.J. Lu  <hongjiu.lu@intel.com>
18893         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18894         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18895         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18896         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18897         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18898         version if bit_Fast_Unaligned_Load is set.
18899         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18900         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18901         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18902         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18903         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18904         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18906         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18907         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18908         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18909         to 4.
18910         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18911         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18912         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18913         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18915 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18917         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18918         instead of #if to avoid a Wundef warning.
18919         * stdlib/tst-limits.c (do_test): Likewise.
18921         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18922         parallel other exception macros.
18923         (fegetenv): Convert from macro to extern inline so that it applies
18924         retroactively to inline functions already seen by the compiler.
18925         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18927         * posix/Makefile (before-compile): Use $(objpfx) for
18928         posix-conf-vars-def.h.
18930 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18932         * posix/getconf.c (main): Use size_t for type of I.
18933         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18934         NSPEC.
18936         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18937         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18938         * posix/posix-envs.def: Likewise.
18939         * sysdeps/posix/sysconf.c: Likewise.
18940         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18941         (specs): Remove array.
18942         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18943         array.
18945         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18946         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18947         (__sysconf): Use CONF_IS_* macros.
18949         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18950         ($(objpfx)posix-conf-vars-def.h): New target.
18951         * posix/posix-conf-vars.list: New file.
18952         * posix/posix-conf-vars.h: New file.
18953         * posix/confstr.c: Include posix-conf-vars.h.
18954         (confstr): Use CONF_IS_* macros.
18955         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18956         CONF_IS_* macros.
18957         * scripts/gen-posix-conf-vars.awk: New file.
18959 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18961         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18962         fegetround): Add no-op macros to avoid linknamespace issues.
18964         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18965         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18967         * sysdeps/unix/sysv/linux/tile/sysdep.h
18968         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18969         assembly-specific section to avoid a redefinition warning.
18971         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18972         long before casting to pointer to avoid a cast warning.
18974 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18976         * sysdeps/tile/tilegx/Implies: New file.
18978 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18980         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18982 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18984         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18986 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18988         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18989         not define.
18990         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18991         <kernel-features.h>.
18992         (__utimes) [__NR_utimes]: Make code unconditional.
18993         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18994         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18995         (__ASSUME_UTIMES): Do not undefine.
18996         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18997         (__ASSUME_UTIMES): Likewise.
18998         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18999         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19000         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19001         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19003 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19005         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19007 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19009         [BZ #17747]
19010         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19011         alias to weak alias for j0l, y0l.
19012         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19013         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19015         [BZ #17746]
19016         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19017         conversion.
19019 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19021         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19022         to zero if not already defined.
19024 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19026         [BZ #17724]
19027         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19028         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19029         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19030         (char *) casts added.
19031         * sysdeps/ieee754/k_standardf.c: New file.
19032         * sysdeps/ieee754/k_standardl.c: Likewise.
19033         * math/Makefile (libm-support): Remove k_standard.
19034         (libm-calls): Add k_standard.
19036 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19038         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19039         Optimize to avoid an unnecessary FPCR read.
19041 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19043         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19044         Optimize to reduce FPCR/FPSR accesses.
19046 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19048         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19049         Call libc_fetestexcept_aarch64.
19051 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19053         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19054         Call libc_fesetround_aarch64.
19056 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #17733]
19059         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19060         (__bind): Do not define as weak alias.
19061         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19062         define.
19063         (__getsockname): Do not define as weak alias.
19065 2014-12-22  Will Newton  <will.newton@linaro.org>
19067         * manual/install.texi: Document that we require bison 2.7
19068         or above.
19069         * INSTALL: Regenerate.
19070         * configure.ac: Use AC_CHECK_PROG_VER instead of
19071         AC_PATH_PROG when checking for bison and check for
19072         version 2.7 or above.
19073         * configure: Regenerate.
19075 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19077         [BZ #17745]
19078         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19079         * sysdeps/tile/ffsll.c (ffsll): To here.
19081         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19083 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19085         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19086         if not defined.
19087         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19088         definition.
19089         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19090         hidden ___tls_get_addr.
19091         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19092         hidden __tls_get_addr.
19093         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19094         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19095         Likewise.
19097 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19099         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19100         _dl_init call.
19102 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19104         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19105         from "call _dl_init@PLT".
19106         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19108 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19110         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19111         guarantees.
19113 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19115         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19117 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19119         [BZ #17744]
19120         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19121         strnlen.
19123 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19125         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19126         of multu on MIPSr6.
19127         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19128         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19129         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19130         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19131         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19133 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19135         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19136         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19137         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19138         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19139         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19140         mips32r6/mips64r6.
19141         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19143 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19145         * string/strncat.c (STRNCAT): Simplify implementation.
19147 2014-12-19  David S. Miller  <davem@davemloft.net>
19149         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19150         access the quad as both a long double and as a series of 4 words.
19152         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19153         link_map->l_info array access.
19155 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19157         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19159         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19160         * math/atest-exp2.c (TIMEOUT): Likewise.
19161         * math/atest-sincos.c (TIMEOUT): Likewise.
19163 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19165         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19166         -Wno-error with -fno-builtin-lround.
19168 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19170         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19171         Contains futex constants and functions moved over from ...
19172         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19173         <lowlevellock-futex.h>.
19174         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19175         (lll_timedwait_tid): Add comments and parentheses around macro
19176         arguments.
19178 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19181         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19182         (__lll_private_flag): Remove.
19183         (lll_futex_wait): Likewise.
19184         (lll_futex_timed_wait): Likewise.
19185         (lll_futex_wake): Likewise.
19186         (lll_futex_requeue): Likewise.
19187         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19188         (__lll_timedwait_tid): Spell out argument names.
19189         (lll_timedwait_tid): Add comments and parentheses around macro
19190         arguments.
19191         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19192         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19194 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19196         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19197         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19198         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19199         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19200         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19201         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19202         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19203         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19204         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19207         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19210         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19211         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19212         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19213         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19214         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19216 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19218         * sysdeps/x86_64/x32/Makefile: New file.
19220 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19222         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19223         1L with (mp_limb_t) 1.
19225 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19227         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19228         * nptl/libc_pthread_init.c: ... here.
19229         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19230         * nptl/register-atfork.c: ... here.
19232         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19233         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19234         Use assert_perror to check its return value.
19235         (__gai_create_helper_thread): Likewise.
19237         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19239         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19241 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19243         [BZ #17725]
19244         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19245         __profil_counter.
19246         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19247         Likewise.
19248         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19249         Likewise.
19250         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19251         Likewise.
19252         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19253         (profil_counter): Likewise.
19254         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19255         (profil_counter): Likewise.
19256         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19257         Likewise.
19258         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19259         Likewise.
19260         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19261         (profil_counter): Likewise.
19262         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19263         Likewise.
19264         [!__profil_counter] (profil_counter): Define as weak alias of
19265         __profil_counter.
19266         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19267         (profil_counter): Rename to __profil_counter.
19268         [!__profil_counter] (profil_counter): Define as weak alias of
19269         __profil_counter.
19270         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19271         (profil_counter): Rename to __profil_counter.
19272         [!__profil_counter] (profil_counter): Define as weak alias of
19273         __profil_counter.
19274         * sysdeps/posix/profil.c: Update comment referring to
19275         profil_counter.
19276         (__profil): Use __profil_counter instead of profil_counter.
19277         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19278         __profil_counter.  Use __profil_counter_ushort and
19279         __profil_counter_uint in definitions.
19280         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19281         instead of profil_counter_uint and profil_counter_ushort.
19283         [BZ #17722]
19284         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19285         define as weak alias of __inet_makeaddr.
19286         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19287         as weak alias of __inet_addr.
19288         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19289         as weak alias of __inet_pton.  Use libc_hidden_weak.
19290         * include/arpa/inet.h (__inet_pton): Declare.  Use
19291         libc_hidden_proto.
19292         (inet_makeaddr): Don't use libc_hidden_proto.
19293         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19294         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19295         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19296         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19297         Remove variable.
19298         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19299         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19301 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19303         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19305 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19307         * stdio-common/bug-vfprintf-nargs.c (do_test):
19308         Cast value to intptr_t to avoid format warning
19309         for usage with PRIdPTR printing macro.
19311 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19313         * libio/tst-widetext.c (do_test):
19314         Use format type %td instead of %Zd for ptrdiff_t
19315         in order to avoid format warning.
19317 2014-12-17  Andreas Schwab  <schwab@suse.de>
19319         * nscd/mem.c (gc): Add size_t cast to match printf format.
19321 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19323         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19324         (init): Apply PTR_MANGLE to pointers before storing them.
19325         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19326         before using them.
19328 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19330         [BZ #17719]
19331         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19332         define as weak alias of __memrchr.
19333         (__memrchr): Do not define as strong alias of memrchr.
19334         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19335         Remove variable.
19336         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19337         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19338         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19340         [BZ #17717]
19341         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19342         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19343         (if_indextoname): Rename to __if_indextoname and define as weak
19344         alias of __if_indextoname.  Use libc_hidden_weak.
19345         (if_freenameindex): Rename to __if_freenameindex and define as
19346         weak alias of __if_freenameindex.
19347         (if_nameindex): Rename to __if_nameindex and define as weak alias
19348         of __if_nameindex.
19349         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19350         __if_nametoindex and define as weak alias of __if_nametoindex.
19351         Use libc_hidden_weak.
19352         (if_freenameindex): Rename to __if_freenameindex and define as
19353         weak alias of __if_freenameindex.
19354         (if_nameindex): Rename to __if_nameindex and define as weak alias
19355         of __if_nameindex.
19356         (if_indextoname): Rename to __if_indextoname and define as weak
19357         alias of __if_indextoname.  Use libc_hidden_weak.
19358         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19359         __if_nametoindex and define as weak alias of __if_nametoindex.
19360         Use libc_hidden_weak.
19361         (if_freenameindex): Rename to __if_freenameindex and define as
19362         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19363         (if_nameindex_netlink): Use __if_freenameindex instead of
19364         if_freenameindex.
19365         (if_nameindex): Rename to __if_nameindex and define as weak alias
19366         of __if_nameindex.  Use libc_hidden_weak.
19367         (if_indextoname): Rename to __if_indextoname and define as weak
19368         alias of __if_indextoname.  Use libc_hidden_weak.
19369         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19370         libc_hidden_proto.
19371         [!_ISOMAC] (__if_freenameindex): Likewise.
19372         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19373         if_nametoindex.
19374         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19375         variable.
19376         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19377         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19378         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19379         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19380         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19381         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19382         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19384         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19385         Remove variable.
19386         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19387         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19389 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19391         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19392         subscript above bounds'
19394         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19395         bounds.
19397 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19399         * libio/tst-fopenloc.c: Use test-skeleton.c.
19401         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19402         (entry): Rename to ITEM.
19403         (do_test, comp): Adjust.
19405         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19407 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19409         * string/tester.c: Include <libc-internal.h>.
19410         (test_memset): Ignore -Wmemset-transposed-args.
19412 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19414         * misc/tst-mntent2.c (do_test): Fix warning.
19416 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19418         * elf/tst-unique4lib.cc(a): Mark as used.
19420 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19422         [BZ #17630]
19423         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19424         names.
19426 2014-12-16  Allan McRae  <allan@archlinux.org>
19428         * stdio-common/Makefile (tests): Re-add bug26.
19430 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19432         [BZ #17657]
19433         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19434         static array.
19436 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19438         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19439         (__lll_lock_wait): Likewise.
19440         (__lll_timedlock_wait): Likewise.
19441         (__lll_timedwait_tid): Likewise.
19442         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19443         (__lll_robust_timedlock_wait): Likewise.
19444         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19445         (lll_cond_trylock): Likewise.
19446         (__lll_lock): Likewise.
19447         (__lll_robust_lock): Likewise.
19448         (__lll_cond_lock): Likewise.
19449         (lll_robust_cond_lock): Likewise.
19450         (__lll_timedlock): Likewise.
19451         (__lll_robust_timedlock): Likewise.
19452         (__lll_unlock): Likewise.
19453         (__lll_robust_unlock): Likewise.
19454         (lll_wait_tid): Likewise.
19455         (lll_timedwait_tid): Likewise.
19457 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19459         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19461 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19463         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19465 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19467         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19468         * stdio-common/tst-sprintf.c: Likewise.
19470 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19472         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19474 2014-12-15  Jeff Law  <law@redhat.com>
19476         [BZ #16617]
19477         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19478         on the heap.  (CVE-2012-3406)
19479         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19480         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19481         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19483 2014-12-15  Will Newton  <will.newton@linaro.org>
19485         * manual/install.texi: Bump required version of texinfo
19486         to 4.7 from 4.5.
19487         * INSTALL: Regenerated.
19488         * configure.ac: Check for makeinfo version 4.7 and above.
19489         * configure: Regenerated.
19491 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19493         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19494         PREFIX, string constant to insert between directory and name.
19495         * sysdeps/posix/shm_open.c: Update caller.
19496         * sysdeps/posix/shm_unlink.c: Likewise.
19497         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19498         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19499         (SEM_SHM_PREFIX): New macro.
19500         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19501         [$(have-thread-library) = no].
19502         * nptl/Makefile (libpthread-routines): Add shm-directory.
19503         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19504         * sysdeps/nptl/shm-directory.h: New file.
19505         * sysdeps/posix/shm-directory.c
19506         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19507         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19508         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19509         INTERNAL_SYSCALL.
19510         (__where_is_shmfs): Function removed.
19511         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19512         Variables removed.
19513         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19514         Use SHM_GET_NAME.
19515         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19517         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19518         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19519         unconditional for use inside libpthread.
19520         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19522 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19524         * nptl/pthread_getaffinity.c: New file.
19525         * nptl/pthread_setaffinity.c: New file.
19526         * nptl/pthread_getname.c: New file.
19527         * nptl/pthread_setname.c: New file.
19529         * nptl/pthread_create.c (START_THREAD_DEFN)
19530         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19532 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19533             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19535         * resolv/res_send.c (send_vc): Disable warning resplen may
19536         be used uninitialized.
19538 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19540         * nptl/tst-mutex6.c
19541         (ATTR_NULL): New define checks ATTR against NULL.
19542         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19543         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19545 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19547         [BZ #17581]
19548         * malloc/hooks.c
19549         (mem2mem_check): Revert my previous change.
19550         (malloc_check_get_size): Revert my previous change.
19551         (mem2chunk_check): Revert my previous change.
19553 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19555         * sysdeps/posix/shm-directory.c: New file.
19556         * sysdeps/posix/shm-directory.h: New file.
19557         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19558         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19559         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19560         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19561         Transmute EPERM to EACCES.
19562         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19563         from ...
19564         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19565         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19567 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19569         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19570         pointer and cast to uintptr_t.
19571         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19572         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19573         Add cast to avoid warning.
19574         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19576 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19578         * nptl/semaphore.h: Move to ...
19579         * sysdeps/pthread/semaphore.h: ... here.
19580         * Makefile (installed-headers): Change nptl/semaphore.h to
19581         sysdeps/pthread/semaphore.h.
19583 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19585         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19586         generated error format strings.
19588         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19589         -Wformat-extra-args warnings for scanf formats.
19590         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19591         test of zero-length format (duh).
19592         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19593         corner-case scanf format test.
19594         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19595         generated fprintf format string.
19596         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19597         corner-case sprintf format tests.
19598         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19599         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19600         -Wformat-extra-args warnings throughout.
19601         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19602         (CFLAGS-scanf4.c): Likewise.
19603         (CFLAGS-scanf7.c): Likewise.
19604         (CFLAGS-tst-sprintf.c): Likewise.
19605         (CFLAGS-tst-printf.c): Likewise.
19606         (CFLAGS-tst-printfsz.c): Likewise.
19608 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19610         * include/cpio.h: New file.
19611         * include/fmtmsg.h: Likewise.
19613         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19614         corresponding format argument to size_t.
19615         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19616         arguments.
19617         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19618         corresponding format argument to size_t.
19619         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19620         arguments.
19621         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19622         corresponding format argument to size_t.
19623         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19624         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19625         (CFLAGS-tst-mbswcs2.c): Likewise.
19626         (CFLAGS-tst-mbswcs3.c): Likewise.
19627         (CFLAGS-tst-mbswcs4.c): Likewise.
19628         (CFLAGS-tst-mbswcs5.c): Likewise.
19629         (CFLAGS-tst-trans.c): Likewise.
19631 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19633         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19634         rather than assuming they won't contain any '%'s.
19636 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19638         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19639         inhibit_loop_to_libcall to avoid recursive calls.
19640         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19641         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19643 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19645         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19646         prototype.
19648 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19650         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19651         integer value instead of boolean.
19653 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19655         * malloc/malloc.c: Fix powerof2 check.
19657 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19659         * locale/programs/locfile.h (maybe_swap_uint32):
19660         Remove inline and add unused attribute.
19662 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19664         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19665         Truncating assembler expression to a .long expression.
19667 2014-12-11  Andreas Schwab  <schwab@suse.de>
19669         * elf/rtld.c (struct map_args): Constify str member.
19670         (do_preload): Constify fname argument.
19672 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19674         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19675         constants definition.
19677 2014-12-11  Andreas Schwab  <schwab@suse.de>
19679         [BZ #16657]
19680         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19681         FORCE_ELISION instead of DO_ELISION.
19682         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19683         Remove.
19684         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19685         Likewise.
19687         * iconvdata/gconv-modules: Remove duplicate entry.
19689 2014-12-11  Will Newton  <will.newton@linaro.org>
19691         Merge gettext 0.19.3 into intl/.
19693         This involves a number of cosmetic changes to comments
19694         and ANSI function definitions and prototypes throughout
19695         all the files. The gettext copyright header is used but
19696         with the date ranges taken from the glibc copy.
19698         * NEWS: Add gettext merge to 2.21.
19699         * intl/bindtextdom.c: Switch to gettext copyright.
19700         Use ANSI definitions and prototypes.
19701         Use gl_* locking primitives rather than __libc_* ones.
19702         Use __builtin_expect rather than __glibc_likely/unlikely.
19703         * intl/dcgettext.c: Switch to gettext copyright.
19704         Use ANSI definitions and prototypes.
19705         * intl/dcigettext.c: Switch to gettext copyright.
19706         Use ANSI definitions and prototypes.
19707         (INTDIV0_RAISES_SIGFPE): New define.
19708         Use gl_* locking primitives rather than __libc_* ones.
19709         Include eval-plural.h instead of plural-eval.c.
19710         Use __builtin_expect rather than __glibc_likely/unlikely.
19711         * intl/dcngettext.c: Switch to gettext copyright.
19712         Use ANSI definitions and prototypes.
19713         * intl/dgettext.c: Likewise.
19714         * intl/dngettext.c: Likewise.
19715         * intl/plural-eval.c: Renamed to...
19716         * intl/eval-plural.h: ...this.
19717         * intl/explodename.c: Switch to gettext copyright.
19718         Use ANSI definitions and prototypes.
19719         (_nl_explode_name): Use strchr instead of __rawmemchr.
19720         * intl/finddomain.c: Switch to gettext copyright.
19721         Use ANSI definitions and prototypes.
19722         Use gl_* locking primitives rather than __libc_* ones.
19723         (_nl_find_domain): Use malloc rather than alloca for
19724         allocation of temporary locale name.
19725         * intl/gettext.c: Switch to gettext copyright.
19726         Use ANSI definitions and prototypes.
19727         * intl/gettextP.h: Switch to gettext copyright.
19728         Use ANSI definitions and prototypes.
19729         Use gl_* locking primitives rather than __libc_* ones.
19730         * intl/gmo.h: Switch to gettext copyright.
19731         (struct sysdep_string): Move struct segment_pair outside of
19732         struct definition.
19733         * intl/hash-string.c: Use ANSI definitions and prototypes.
19734         * intl/hash-string.h: Switch to gettext copyright.
19735         Use ANSI definitions and prototypes.
19736         * intl/l10nflist.c: Switch to gettext copyright.
19737         Use ANSI definitions and prototypes.
19738         (_nl_normalize_codeset): Avoid integer overflow.
19739         * intl/loadinfo.h: Switch to gettext copyright.
19740         Use ANSI definitions and prototypes.
19741         (LIBINTL_DLL_EXPORTED): New define.
19742         (PATH_SEPARATOR): New define.
19743         * intl/loadmsgcat.c: Switch to gettext copyright.
19744         * intl/localealias.c: Switch to gettext copyright.
19745         Use ANSI definitions and prototypes.
19746         (_nl_expand_alias): Use PATH_SEPARATOR.
19747         * intl/ngettext.c: Switch to gettext copyright.
19748         Use ANSI definitions and prototypes.
19749         * intl/plural-exp.c: Likewise.
19750         * intl/plural-exp.h: Switch to gettext copyright.
19751         Use ANSI definitions and prototypes.
19752         (struct expression): Move definition of enum operator outside
19753         of struct definition.
19754         * intl/plural.c: Regenerate.
19755         * intl/plural.y: Switch to gettext copyright.
19756         Use ANSI definitions and prototypes.
19757         Port to bison 3.0.
19758         * intl/textdomain.c: Switch to gettext copyright.
19759         Use ANSI definitions and prototypes.
19760         Use gl_* locking primitives rather than __libc_* ones.
19762 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19764         * debug/warning-nop.c: Add used atrribute.
19766 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19768         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19770         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19771         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19772         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19774 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19775             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19777         [BZ #17634]
19778         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19779         Undefine after defining function.  Define as weak alias of
19780         __wcschr.  Use libc_hidden_weak.
19781         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19782         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19783         (libc_hidden_def): Also define __GI___wcschr alias.
19784         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19785         __wcschr and define as weak alias of __wcschr.
19786         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19787         __wcschr.
19788         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19789         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19790         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19791         libc_hidden_weak.  Do not use libc_hidden_def.
19792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19793         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19794         __GI___wcschr alias.
19795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19796         [IS_IN (libc)] (wcschr): Define as macro expanding to
19797         __redirect_wcschr.
19798         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19799         [IS_IN (libc)] (__wcschr_power6): Likewise.
19800         [IS_IN (libc)] (__wcschr_power7): Likewise.
19801         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19802         instead of wcschr.
19803         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19804         __libc_wcschr.
19805         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19806         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19807         __wcschr and define as weak alias of __wcschr.  Use
19808         libc_hidden_builtin_def.
19809         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19810         as weak alias of __wcschr.  Use libc_hidden_weak.
19811         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19812         wcschr.
19813         * time/era.c (_nl_init_era_entries): Likewise.
19814         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19815         variable.
19816         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19817         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19819 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19821         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19822         format for long int variable.
19824 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19826         [BZ #10672]
19827         * manual/search.texi: (Array Sort Function): Remove claim how to make
19828         qsort stable.
19830 2014-12-10  Andreas Schwab  <schwab@suse.de>
19832         [BZ #12847]
19833         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19834         user-controlled locks.
19836 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19838         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19839         register.
19841 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19843         * configure.ac (--disable-werror): New configure option.
19844         (enable_werror): New AC_SUBST.
19845         * configure: Regenerated.
19846         * config.make.in (enable-werror): New variable.
19847         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19848         -Wno-error=undef.
19849         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19850         * manual/install.texi (Configuring and compiling): Document
19851         --disable-werror.
19852         * INSTALL: Regenerated.
19853         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19854         (CFLAGS-tst-chk2.c): Likewise.
19855         (CFLAGS-tst-chk3.c): Likewise.
19856         (CFLAGS-tst-chk4.cc): Likewise.
19857         (CFLAGS-tst-chk5.cc): Likewise.
19858         (CFLAGS-tst-chk6.cc): Likewise.
19859         (CFLAGS-tst-lfschk1.c): Likewise.
19860         (CFLAGS-tst-lfschk2.c): Likewise.
19861         (CFLAGS-tst-lfschk3.c): Likewise.
19862         (CFLAGS-tst-lfschk4.cc): Likewise.
19863         (CFLAGS-tst-lfschk5.cc): Likewise.
19864         (CFLAGS-tst-lfschk6.cc): Likewise.
19866         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19867         (main): Disable -Wdeprecated-declarations around calls to
19868         register_printf_function.
19870         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19871         (do_test): Disable -Wdiv-by-zero around some calls to
19872         fwrite_unlocked and fread_unlocked.
19874         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19875         (DIAG_POP_NEEDS_COMMENT): Likewise.
19876         (_DIAG_STR1): Likewise.
19877         (_DIAG_STR): Likewise.
19878         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19879         * stdio-common/bug21.c: Include <libc-internal.h>.
19880         (do_test): Disable -Wformat around call to sscanf.
19881         * stdio-common/scanf14.c: Include <libc-internal.h>.
19882         (main): Disable -Wformat around some calls to scanf functions.
19884 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19886         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19888 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19890         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19891         stack variable alignment.
19893 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19895         [BZ #17682]
19896         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19897         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19898         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19899         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19900         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19901         __getrlimit instead of getrlimit.
19902         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19903         __gettimeofday instead of gettimeofday.
19904         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19905         Likewise.
19906         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19907         Likewise.
19908         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19909         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19910         Remove variable.
19911         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19912         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19914 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19916         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19917         for wide-character tests.
19919 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19921         * io/openat64.c: #include <libc-internal.h>
19922         (__openat64): Prototypify.  Use ignore_value on MODE.
19923         * io/openat.c: Likewise.
19924         * misc/reboot.c: #include <libc-internal.h>
19925         (reboot): Prototypify.  Use ignore_value on HOWTO.
19926         * misc/ptrace.c: #include <libc-internal.h>
19927         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19929 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19931         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19932         XPG4, UNIX98 and XOPEN2K.
19933         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19934         Remove variable.
19935         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19937 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19939         * libio/fileops.c: Use ISO C style for function definitions.
19940         * libio/iofopen.c: Likewise.
19941         * libio/wfileops.c: Likewise.
19943         [BZ #17653]
19944         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19945         offset on EOF.
19946         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19947         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19948         (fgets_func): Function pointer to fgets and fgetws.
19949         (do_ftell_test): Add test to verify ftell value after read
19950         EOF.
19951         (do_test): Set fgets_func.
19953         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19954         O_TRUNC flag for w and w+ modes.
19955         (do_rewind_test): Likewise.
19956         (do_ftell_test): Likewise.
19957         (do_write_test): Likewise.
19959         [BZ #17647]
19960         * libio/fileops.c (do_ftell): Seek only when there are
19961         unflushed writes.
19962         * libio/wfileops.c (do_ftell_wide): Likewise.
19963         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19964         test case.
19965         (do_one_test): Call it.
19967 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19969         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19970         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19971         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19972         Remove variable.
19973         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19974         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19975         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19977 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19979         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19980         Remove variable.
19981         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19983         [BZ #17668]
19984         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19985         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19986         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19987         __freeifaddrs.  Use libc_hidden_weak.
19988         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19989         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19990         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19991         __freeifaddrs.  Use libc_hidden_weak.
19992         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19993         __getifaddrs and define as weak alias of __getifaddrs.  Use
19994         libc_hidden_weak.
19995         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19996         __freeifaddrs.  Use libc_hidden_weak.
19997         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19998         Remove variable.
19999         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20000         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20002 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20004         [BZ #17601]
20005         * sysdeps/mips/start.S (__start): Use indirect jump to call
20006         __libc_start_main.
20008 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20010         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20012         * nptl/tst-mutex1.c: Include <stdbool.h>.
20013         [!ATTR] (ATTR_NULL): New macro.
20014         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20015         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20016         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20018         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20019         to char *.
20021         [BZ #17665]
20022         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20023         Change conditional to [__USE_MISC].
20025         [BZ #17664]
20026         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20027         fgets_unlocked.
20028         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20029         __fgets_unlocked.
20030         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20031         fgets_unlocked.
20032         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20033         Remove variable.
20034         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20035         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20036         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20037         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20038         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20039         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20040         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20041         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20042         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20044         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20046 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20049         Remove strpbrk objects.
20050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20051         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20052         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20054         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20055         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20057         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20058         Remove strcspn objects.
20059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20060         (__libc_ifunc_impl_list): Remove strcspn implementation.
20061         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20062         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20063         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20064         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20066         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20067         Remove strspn objetcs.
20068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20069         (__libc_ifunc_impl_list): Remove strspn implementation.
20070         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20071         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20072         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20073         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20075 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20077         [BZ #17581]
20078         * malloc/hooks.c
20079         (mem2mem_check): Add a terminator to the chain of checking blocks.
20080         (malloc_check_get_size): Use it here.
20081         (mem2chunk_check): Ditto.
20083 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20085         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20086         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20088 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20090         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20092         * nptl/nptl-init.c: Include libc-internal.h.
20093         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20095         * elf/ldconfig.c (search_dir): Expand comment.
20097 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20099         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20100         variable.
20101         (linknamespace-symlist-stdlibs-tests): Likewise.
20102         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20103         instead of $(objpfx)symlist-stdlibs.
20104         (linknamespace-libs-isoc): New variable.
20105         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20106         (linknamespace-libs-ISO): New variable.
20107         (linknamespace-libs-ISO99): Likewise.
20108         (linknamespace-libs-ISO11): Likewise.
20109         (linknamespace-libs-XPG3): Likewise.
20110         (linknamespace-libs-XPG4): Likewise.
20111         (linknamespace-libs-POSIX): Likewise.
20112         (linknamespace-libs-UNIX98): Likewise.
20113         (linknamespace-libs-XOPEN2K): Likewise.
20114         (linknamespace-libs-POSIX2008): Likewise.
20115         (linknamespace-libs-XOPEN2K8): Likewise.
20116         ($(objpfx)symlist-stdlibs): Replace by
20117         $(linknamespace-symlist-stdlibs-tests).  Use
20118         $(linknamespace-libs-$*) as set of libraries.
20119         ($(linknamespace-header-tests)): Update dependencies.  Use
20120         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20121         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20122         * conform/linknamespace.pl: Remove comment about considering
20123         definitions of symbols from irrelevant libraries.
20125 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20127         [BZ #13862]
20128         * elf/dl-tls.c: Include <atomic.h>.
20129         (oom): Remove #ifdef SHARED/#endif.
20130         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20131         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20132         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20133         big enough.
20134         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20135         * nptl/Makefile (tests): Add tst-stack4.
20136         (modules-names): Add tst-stack4mod.
20137         ($(objpfx)tst-stack4): New.
20138         (tst-stack4mod.sos): Likewise.
20139         ($(objpfx)tst-stack4.out): Likewise.
20140         ($(tst-stack4mod.sos)): Likewise.
20141         (clean): Likewise.
20142         * nptl/tst-stack4.c: New file.
20143         * nptl/tst-stack4mod.c: Likewise.
20145 2014-11-27  J. Brown  <jb999@gmx.de>
20147         * sysdeps/x86/bits/string.h: Add recent CPUs.
20149 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20151         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20152         sigblock.
20154         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20155         feof.
20157         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20158         variable.
20160 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20162         * nscd/connections.c: Include libc-internal.h because of macro
20163         usage ignore_value.
20165 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20167         * string/bits/string3.h (__warn_memset_zero_len): Don't
20168         declare for gcc newer than 5.0.
20169         (memset): Don't test for zero-length __LEN for gcc newer than
20170         5.0.
20172 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20174         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20175         size_t for %zu format.
20177         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20178         difference, not %ju.
20180 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20182         * include/libc-internal.h (ignore_value): New macro.
20183         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20184         with ignore_value.
20186         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20187         definition.
20189         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20190         pthread_cleanup_push to void *.
20192         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20193         Undefine.
20195         [BZ #16619]
20196         [BZ #16740]
20197         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20198         instead of 1L << 52.
20200         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20201         * libio/bug-rewind2.c (do_test): Likewise.
20203         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20204         * debug/test-strcpy_chk-ifunc.c: Likewise.
20205         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20206         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20207         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20208         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20209         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20210         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20211         * Rules [$(multi-arch) = no] (tests): Do not filter out
20212         $(tests-ifunc).
20213         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20214         * debug/Makefile (tests-ifunc): Remove variable.
20215         (tests): Do not add $(tests-ifunc).
20216         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20217         (tests): Do not add $(tests-ifunc).
20218         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20219         [TEST_IFUNC]: Remove conditionals.
20220         * string/test-string.h (TEST_IFUNC): Remove macro.
20221         [TEST_IFUNC]: Remove conditionals.
20223         * string/test-strchr.c [!WIDE] (L): New macro.
20224         [WIDE] (L): Likewise.
20225         (check1): Use CHAR instead of char.  Use L on string and character
20226         constants.
20228 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20230         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20231         tests.
20232         * sysdeps/powerpc/bits/atomic.h
20233         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20234         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20235         (atomic_exchange_and_add_acq): Likewise.
20236         (atomic_exchange_and_add_rel): Likewise.
20237         * sysdeps/powerpc/powerpc32/bits/atomic.h
20238         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20239         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20240         * sysdeps/powerpc/powerpc64/bits/atomic.h
20241         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20242         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20244 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20246         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20247         Change synchronization of __sched_fifo_min_prio and
20248         __sched_fifo_max_prio.
20249         * nptl/pthread_mutexattr_getprioceiling.c
20250         (pthread_mutexattr_getprioceiling): Likewise.
20251         * nptl/pthread_mutexattr_setprioceiling.c
20252         (pthread_mutexattr_setprioceiling): Likewise.
20253         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20254         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20255         Likewise.
20257 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20259         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20260         void.
20262 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20264         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20265         third argument const.
20267 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20269         fnmatch: work around GCC compiler warning bug with uninit var
20270         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20271         This works around a bug with x86-64 GCC 4.9.2 and earlier
20272         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20273         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20274         used uninitialized in this function [-Wmaybe-uninitialized]".
20276 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20278         * posix/bug-regex31.c (main): Return RES not 0.
20280 2014-11-25  Anton Blanchard <anton@samba.org>
20282         * sysdeps/powerpc/bits/atomic.h
20283         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20285 2014-11-24  Sterling Augustine  <saugustine@google.com>
20287         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20289 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20291         [BZ #17608]
20292         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20294 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20296         [BZ #17633]
20297         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20298         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20299         variable.
20300         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20301         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20303 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20305         * string/strncpy.c (strncpy): Improve performance by using memset.
20307 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20309         * string/strcpy.c (strcpy):
20310         Improve performance by using strlen and memcpy.
20312 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20314         * string/strcoll_l.c (get_next_seq): __always_inline.
20315         * string/strcoll_l.c (do_compare): __always_inline.
20317 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20319         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20320         defined.
20321         * include/mqueue.h: Likewise.
20322         * include/stdlib.h: Likewise.
20324         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20325         (get_null_defines): Adjust.
20326         * sunrpc/Makefile: Adjust comment.
20327         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20328         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20329         (CFLAGS-interp.c): Likewise.
20330         (CFLAGS-ldconfig.c): Likewise.
20331         (CPPFLAGS-.os): Likewise.
20332         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20333         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20334         * extra-modules.mk (extra-modules.mk): Likewise.
20335         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20336         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20337         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20338         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20339         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20340         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20341         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20342         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20343         * iconvdata/Makefile (CPPFLAGS): Likewise.
20344         (cpp-srcs-left): Add libof for all iconvdata routines.
20345         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20346         * include/assert.h: Likewise.
20347         * include/ctype.h: Likewise.
20348         * include/errno.h: Likewise.
20349         * include/libc-symbols.h: Likewise.
20350         * include/math.h: Likewise.
20351         * include/netdb.h: Likewise.
20352         * include/resolv.h: Likewise.
20353         * include/stdio.h: Likewise.
20354         * include/stdlib.h: Likewise.
20355         * include/string.h: Likewise.
20356         * include/sys/stat.h: Likewise.
20357         * include/wctype.h: Likewise.
20358         * intl/l10nflist.c: Likewise.
20359         * libidn/idn-stub.c: Likewise.
20360         * libio/libioP.h: Likewise.
20361         * nptl/libc_multiple_threads.c: Likewise.
20362         * nptl/pthreadP.h: Likewise.
20363         * posix/regex_internal.h: Likewise.
20364         * resolv/res_hconf.c: Likewise.
20365         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20366         * sysdeps/arm/memmove.S: Likewise.
20367         * sysdeps/arm/sysdep.h: Likewise.
20368         * sysdeps/generic/_itoa.h: Likewise.
20369         * sysdeps/generic/symbol-hacks.h: Likewise.
20370         * sysdeps/gnu/errlist.awk: Likewise.
20371         * sysdeps/gnu/errlist.c: Likewise.
20372         * sysdeps/i386/i586/memcpy.S: Likewise.
20373         * sysdeps/i386/i586/memset.S: Likewise.
20374         * sysdeps/i386/i686/memcpy.S: Likewise.
20375         * sysdeps/i386/i686/memmove.S: Likewise.
20376         * sysdeps/i386/i686/mempcpy.S: Likewise.
20377         * sysdeps/i386/i686/memset.S: Likewise.
20378         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20379         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20380         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20381         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20382         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20383         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20384         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20385         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20386         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20387         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20388         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20389         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20390         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20391         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20392         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20393         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20394         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20395         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20396         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20397         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20398         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20399         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20403         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20404         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20405         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20406         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20407         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20408         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20409         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20411         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20412         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20413         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20414         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20415         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20416         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20417         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20418         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20419         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20420         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20421         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20422         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20423         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20424         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20425         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20426         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20427         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20428         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20429         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20430         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20431         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20432         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20433         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20434         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20435         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20436         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20437         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20438         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20439         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20440         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20441         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20442         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20443         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20444         * sysdeps/posix/closedir.c: Likewise.
20445         * sysdeps/posix/opendir.c: Likewise.
20446         * sysdeps/posix/readdir.c: Likewise.
20447         * sysdeps/posix/rewinddir.c: Likewise.
20448         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20449         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20450         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20451         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20452         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20457         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20460         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20461         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20462         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20463         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20465         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20466         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20468         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20469         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20470         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20471         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20472         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20473         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20474         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20476         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20483         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20484         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20485         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20486         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20487         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20488         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20489         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20490         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20492         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20494         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20495         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20496         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20497         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20498         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20499         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20500         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20501         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20502         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20504         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20505         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20506         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20507         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20509         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20510         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20511         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20512         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20513         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20514         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20515         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20516         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20517         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20519         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20520         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20521         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20522         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20523         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20524         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20525         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20526         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20527         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20528         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20529         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20530         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20531         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20532         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20533         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20534         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20535         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20536         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20537         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20538         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20539         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20540         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20542         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20543         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20544         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20546         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20547         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20549         * sysdeps/unix/alpha/sysdep.S: Likewise.
20550         * sysdeps/unix/alpha/sysdep.h: Likewise.
20551         * sysdeps/unix/make-syscalls.sh: Likewise.
20552         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20554         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20555         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20556         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20557         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20558         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20559         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20560         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20561         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20562         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20563         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20564         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20565         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20566         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20567         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20568         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20569         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20570         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20571         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20572         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20573         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20574         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20575         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20576         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20577         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20578         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20581         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20583         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20584         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20586         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20590         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20591         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20592         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20593         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20594         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20595         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20596         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20602         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20603         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20604         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20605         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20606         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20607         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20608         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20610         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20611         * sysdeps/x86_64/memcpy.S: Likewise.
20612         * sysdeps/x86_64/memmove.c: Likewise.
20613         * sysdeps/x86_64/memset.S: Likewise.
20614         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20615         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20616         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20617         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20618         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20620         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20621         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20622         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20623         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20624         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20625         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20626         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20627         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20628         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20629         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20630         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20631         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20632         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20633         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20634         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20635         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20636         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20637         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20638         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20639         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20640         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20641         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20642         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20643         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20644         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20645         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20646         * sysdeps/x86_64/strcmp.S: Likewise.
20648         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20650         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20651         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20652         * elf/rtld-Rules: Likewise.
20653         * elf/setup-vdso.h: Likewise.
20654         * include/assert.h: Likewise.
20655         * include/bits/stdlib-float.h: Likewise.
20656         * include/errno.h: Likewise.
20657         * include/sys/stat.h: Likewise.
20658         * include/unistd.h: Likewise.
20659         * sysdeps/aarch64/setjmp.S: Likewise.
20660         * sysdeps/alpha/setjmp.S: Likewise.
20661         * sysdeps/arm/__longjmp.S: Likewise.
20662         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20663         * sysdeps/arm/setjmp.S: Likewise.
20664         * sysdeps/arm/sysdep.h: Likewise.
20665         * sysdeps/generic/_itoa.h: Likewise.
20666         * sysdeps/generic/dl-sysdep.h: Likewise.
20667         * sysdeps/generic/ldsodefs.h: Likewise.
20668         * sysdeps/i386/dl-tls.h: Likewise.
20669         * sysdeps/i386/setjmp.S: Likewise.
20670         * sysdeps/m68k/setjmp.c: Likewise.
20671         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20672         * sysdeps/mach/hurd/opendir.c: Likewise.
20673         * sysdeps/posix/getcwd.c: Likewise.
20674         * sysdeps/posix/opendir.c: Likewise.
20675         * sysdeps/posix/profil.c: Likewise.
20676         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20677         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20678         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20679         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20680         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20681         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20682         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20683         * sysdeps/s390/dl-tls.h: Likewise.
20684         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20685         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20686         * sysdeps/sh/sh3/setjmp.S: Likewise.
20687         * sysdeps/sh/sh4/setjmp.S: Likewise.
20688         * sysdeps/unix/alpha/sysdep.h: Likewise.
20689         * sysdeps/unix/arm/sysdep.S: Likewise.
20690         * sysdeps/unix/i386/sysdep.S: Likewise.
20691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20692         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20693         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20694         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20697         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20698         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20699         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20700         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20701         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20702         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20706         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20709         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20710         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20711         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20713         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20714         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20715         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20719         * sysdeps/x86_64/setjmp.S: Likewise.
20721         * include/math.h: Use IS_IN instead of IS_IN_libm.
20722         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20723         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20724         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20725         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20727         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20728         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20729         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20730         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20731         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20732         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20733         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20734         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20735         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20736         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20737         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20738         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20739         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20740         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20741         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20742         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20743         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20744         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20745         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20746         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20747         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20748         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20749         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20750         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20751         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20752         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20753         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20754         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20756         Likewise.
20757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20758         Likewise.
20759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20760         Likewise.
20761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20762         Likewise.
20763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20764         Likewise.
20765         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20767         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20768         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20769         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20770         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20776         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20777         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20778         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20779         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20780         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20781         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20782         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20783         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20784         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20785         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20786         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20789         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20791         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20793         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20794         * nptl/pthreadP.h: Likewise.
20795         * nptl_db/structs.def: Likewise.
20796         * sysdeps/arm/sysdep.h: Likewise.
20797         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20798         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20799         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20800         * sysdeps/unix/alpha/sysdep.h: Likewise.
20801         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20803         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20804         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20805         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20806         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20808         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20809         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20810         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20811         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20812         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20813         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20814         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20819         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20820         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20821         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20822         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20823         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20824         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20825         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20826         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20828         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20829         * nptl/pthreadP.h: Likewise.
20830         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20831         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20832         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20833         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20834         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20835         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20836         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20837         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20838         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20839         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20840         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20841         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20848         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20851         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20852         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20853         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20855         * dlfcn/dladdr.c: Use IS_IN.
20856         * dlfcn/dladdr1.c: Likewise.
20857         * dlfcn/dlclose.c: Likewise.
20858         * dlfcn/dlerror.c: Likewise.
20859         * dlfcn/dlinfo.c: Likewise.
20860         * dlfcn/dlmopen.c: Likewise.
20861         * dlfcn/dlopen.c: Likewise.
20862         * dlfcn/dlsym.c: Likewise.
20863         * dlfcn/dlvsym.c: Likewise.
20865         * include/ifaddrs.h: Use IS_IN.
20866         * inet/check_pf.c: Likewise.
20867         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20868         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20870         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20871         IS_IN_ldconfig.
20872         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20873         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20875         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20876         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20877         IS_IN (libc).
20879         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20881         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20882         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20883         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20884         * include/libc-symbols.h (IS_IN_LIB): New macro.
20885         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20886         * include/netdb.h: Likewise.
20887         * include/stap-probe.h: Remove all uses of IN_LIB.
20889         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20890         instead of IN_MODULE.
20891         * include/libc-symbols.h (IN_MODULE): Define using
20892         MODULE_NAME.
20893         (PASTE_NAME, PASTE_NAME1): New macros.
20894         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20895         of IN_LIB.
20896         (STAP_PROBE_ASM): Likewise.
20898 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20900         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20901         __mach_init in dlopened libc.
20903 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20905         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20906         * sysdeps/arm/preconfigure: Regenerate.
20908 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20910         * nptl/pthread_create.c (__pthread_create_2_1): Set
20911         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20912         when copying values from IATTR into PD.
20914 2014-11-21  Will Newton  <will.newton@linaro.org>
20915             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20917         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20918         Refactor inline-asm.  Also add comment.
20920         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20921         ElfW macro instead of hardcoded Elf64 types.
20922         (la_aarch64_gnu_pltenter): Likewise.
20923         * sysdeps/aarch64/dl-machine.h
20924         (elf_machine_runtime_setup): Use ElfW(Addr).
20926         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20927         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20928         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20929         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20930         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20931         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20932         (R_AARCH64_TLS_DTPMOD): This.
20933         (R_AARCH64_TLS_DTPREL64): Rename to ...
20934         (R_AARCH64_TLS_DTPREL): This.
20935         (R_AARCH64_TLS_TPREL64): Rename to ...
20936         (R_AARCH64_TLS_TPREL): This.
20937         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20938         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20939         R_AARCH64_TLS_TPREL64.
20940         (elf_machine_rela): Likewise.
20942 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20944         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20945         by setting it to 0.  64b atomics are not supported currently.
20947 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20949         [BZ #16469]
20950         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20951         search domain names.
20953 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20955         [BZ #16469]
20956         * NEWS: Update.
20957         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20958         trailing dot.
20959         * posix/tst-getaddrinfo5.c: New.
20960         * posix/Makefile (tests): Add it.
20962 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20964         [BZ #14498]
20965         * NEWS: Fixed.
20966         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20967         after parsing line but before break_if_match.
20968         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20969         if there is a protocol mismatch.
20971 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20973         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20974         because the potential race is on the user-supplied stream.
20976 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20978         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20979         string literal if not passed a buffer.
20980         * manual/job.texi (ctermid): Update reasoning, note deviation
20981         from posix, suggest mtasurace when not passed a buffer, for
20982         future non-preliminary safety notes.
20984 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20986         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20987         of not passing it a buffer.
20988         Reported by Peng Haitao.
20990 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20992         * manual/Makefile ($(objpfx)stamp-summary): Require
20993         check-safety.sh to pass.
20994         * manual/check-safety.sh: Wish for verification that every
20995         @deftypefn and @deftypefun is followed by a @safety remark.
20997 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20999         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21001         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21002         PTHREAD_CANCEL_ASYNCHRONOUS.
21003         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21004         send SIGCANCEL.
21006         * nptl/default-sched.h: New file.
21007         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21008         * nptl/pthread_create.c: Include it.
21009         (__pthread_create_2_1): Use collect_default_sched instead of making
21010         Linux syscalls here directly.
21012 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21014         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21015         __pthread_once): Use C11 atomics.
21017 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21019         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21021 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21023         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21024         atomic_thread_fence_acquire, atomic_thread_fence_release,
21025         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21026         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21027         atomic_compare_exchange_weak_relaxed,
21028         atomic_compare_exchange_weak_acquire,
21029         atomic_compare_exchange_weak_release,
21030         atomic_exchange_acquire, atomic_exchange_release,
21031         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21032         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21033         atomic_fetch_and_acquire,
21034         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21036 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21038         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21039         USE_ATOMIC_COMPILER_BUILTINS): Define.
21040         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21042         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21043         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21044         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21046         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21048         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21050         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21052         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21053         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21054         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21056         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21058         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21059         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21060         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21061         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21062         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21064         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21066         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21067         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21068         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21069         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21070         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21071         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21072         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21073         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21074         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21075         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21076         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21077         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21078         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21079         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21081 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21083         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21084         the sched_priority value here.  It was already checked when the user
21085         called pthread_attr_setschedparam.
21087         * nptl/tst-bad-schedattr.c: New file.
21088         * nptl/Makefile (tests): Add it.
21090 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21091             Florian Weimer  <fweimer@redhat.com>
21092             Joseph Myers  <joseph@codesourcery.com>
21093             Adam Conrad  <adconrad@0c3.net>
21094             Andreas Schwab  <schwab@suse.de>
21095             Brooks  <bmoses@google.com>
21097         [BZ #17625]
21098         * wordexp-test.c (__dso_handle): Add prototype.
21099         (__register_atfork): Likewise.
21100         (__app_register_atfork): New function.
21101         (registered_forks): New global.
21102         (register_fork): New function.
21103         (test_case): Add 3 new tests for WRDE_CMDSUB.
21104         (main): Call __app_register_atfork.
21105         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21106         fork count is non-zero fail the test.
21107         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21108         is set.
21109         (parse_dollars): Remove check for WRDE_NOCMD.
21110         (parse_dquote): Likewise.
21112 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21114         * Makeconfig (built-modules): List non-library modules to be
21115         built.
21116         (module-cppflags): Include libc-modules.h for
21117         everything except shlib-versions.v.i.
21118         (CPPFLAGS): Use it.
21119         (before-compile): Add libc-modules.h.
21120         ($(common-objpfx)libc-modules.h,
21121         $(common-objpfx)libc-modules.stmp): New targets.
21122         (common-generated): Add libc-modules.h and libc-modules.stmp.
21123         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21124         * include/libc-symbols.h: Don't include libc-modules.h.
21125         * include/libc-modules.h: Remove file.
21126         * scripts/gen-libc-modules.awk: New script to generate
21127         libc-modules.h.
21128         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21129         Depend on libc-modules.stmp.
21131         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21133         * Makeconfig (in-module): Get value of libof set for the
21134         translation unit.
21135         (CPPFLAGS): Use $(in-module).
21136         * Makerules: Don't suffix routine names for nonlib.
21137         * include/libc-modules.h: New file.
21138         * include/libc-symbols.h: Include libc-modules.h
21139         (IS_IN): New macro to replace IS_IN_* macros.
21140         * elf/Makefile: Set libof-* for each routine.
21141         * elf/rtld-Rules: Likewise.
21142         * extra-modules.mk: Likewise.
21143         * iconv/Makefile: Likewise.
21144         * iconvdata/Makefile: Likewise.
21145         * locale/Makefile: Likewise.
21146         * malloc/Makefile: Likewise.
21147         * nss/Makefile: Likewise.
21148         * sysdeps/gnu/Makefile: Likewise.
21149         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21150         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21151         * sysdeps/s390/s390-64/Makefile: Likewise.
21152         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21153         CPPFLAGS for nscd instead of nonlib.
21155 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21157         * nptl/createthread.c: New file.
21159         * nptl/createthread.c: Moved ...
21160         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21162         * nptl/createthread.c: Add proper top-line comment.
21163         (do_clone): Folded into ...
21164         (create_thread): ... here.  Take new arguments STOPPED_START and
21165         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21166         increment __nptl_threads, do event-reporting logic, do
21167         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21168         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21169         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21170         just send SIGCANCEL.
21171         * nptl/pthread_create.c: Forward-declare create_thread before
21172         including createthread.c.
21173         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21174         declaration, and new macro START_THREAD_SELF to replace argument.
21175         Remove return statement.
21176         (report_thread_creation): New function.
21177         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21178         synchronization logic, and __nptl_nthreads increment here, around
21179         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21180         PD->parent_cancelhandling here, before create_thread.  When
21181         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21182         __deallocate_stack, and ENOMEM translation here.
21184 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #17616]
21187         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21188         (mptwo): Rename to __mptwo.
21189         (__inv): Use __mptwo instead of mptwo.
21190         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21191         (mptwo): Rename to __mptwo.
21192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21193         of mpone and __mptwo instead of mptwo.
21194         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21195         instead of mpone.
21196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21197         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21198         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21199         of mpone and __mptwo instead of mptwo.
21200         (__mpranred): Use __mpone instead of mpone.
21201         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21202         variable.
21203         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21204         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21205         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21206         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21207         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21208         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21209         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21210         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21211         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21212         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21213         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21214         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21215         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21216         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21217         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21218         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21219         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21220         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21221         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21223 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21225         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21226         replace BSD Handler xref with BSD Signal Handling.
21228 2014-11-17  Richard Henderson  <rth@redhat.com>
21230         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21231         (_FP_PACK_RAW_2): Remove.
21232         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21233         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21234         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21235         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21236         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21237         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21238         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21239         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21240         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21241         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21242         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21243         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21244         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21245         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21246         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21247         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21249 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21251         * signal/signal.h [__USE_MISC]
21252         (struct sigvec): Remove type.
21253         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21254         (sigvec): Remove declaration.
21255         * sysdeps/posix/sigvec.c: Moved ...
21256         * signal/sigvec.c: ... here, replacing old file.
21257         (struct sigvec): New type, copied from old signal.h definition.
21258         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21259         (__sigvec): Convert definition to prototype.
21260         (sigvec): Replace weak_alias with compat_symbol.
21261         * signal/Versions (libc: GLIBC_2.21): New version set.
21262         * include/signal.h: Remove __sigvec declaration.
21263         * sysdeps/unix/bsd/sigvec.c: Remove file.
21264         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21265         * manual/signal.texi (BSD Handler): Remove subsection.
21266         Move siginterrupt up to ...
21267         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21268         (Blocking in BSD): Fold subsection into its parent.
21269         * NEWS: Mention sigvec removal.
21271 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21273         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21274         (DLA_FMS): Make definition conditional only on [__FMA4__].
21275         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21276         definition.
21278         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21279         Make definition conditional only on [PROF].
21280         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21281         definition.
21282         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21283         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21285         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21286         !__GNUC__].
21287         * include/signal.h (__sigpause): Move declaration above call to
21288         libc_hidden_proto.
21289         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21290         variable.
21291         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21292         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21294 2014-11-14  David S. Miller  <davem@davemloft.net>
21296         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21297         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21299 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21301         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21302         * configure: Regenerated.
21303         * manual/install.texi (Tools for Compilation): Document a
21304         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21305         compiler verified to work.
21306         * INSTALL: Regenerated.
21308         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21309         redeclare with asm name.
21310         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21311         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21312         including <string.h>.
21313         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21314         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21315         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21316         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21317         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21319         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21321 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21323         * stdlib/strtol.c (__strtol): Use prototype definition.
21325         [BZ #17594]
21326         * stdlib/strtol.c (SYM__): New macro.
21327         (SYM__1): Likewise.
21328         (__strtol): Likewise.
21329         (strtol): Rename to __strtol and define as weak alias of
21330         __strtol.  Use libc_hidden_weak.
21332 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21334         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21335         Use numbered labels in inline assembly.
21337 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21339         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21340         Add setjmp LIBC_PROBE.
21341         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21342         Likewise.
21343         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21344         Add longjmp, longjmp_target LIBC_PROBE.
21345         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21346         Likewise.
21348 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21351         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21352         to get rid of unused variable warning.
21354 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21356         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21357         Check for unwind_backtrace ==  NULL only in SHARED case.
21358         (__backchain_backtrace): Compile only in SHARED case.
21359         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21360         Likewise.
21361         (__backchain_backtrace): Declare as static.
21363 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21365         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21366         (__libc_multiple_threads_ptr): Variable moved ...
21367         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21369 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21371         * conform/GlibcConform.pm: New file.
21372         * conform/conformtest.pl: Use GlibcConform module.
21373         * conform/linknamespace.pl: New file.
21374         * conform/list-header-symbols.pl: Likewise.
21375         * conform/Makefile (linknamespace-symlists-base): New variable.
21376         (linknamespace-symlists-tests): Likewise.
21377         (linknamespace-header-base): Likewise.
21378         (linknamespace-header-tests): Likewise.
21379         (tests-special): Add new tests.
21380         ($(linknamespace-symlists-tests)): New rule.
21381         (linknamespace-libs): New variable.
21382         ($(objpfx)symlist-stdlibs): New rule.
21383         ($(linknamespace-header-tests)): Likewise.
21384         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21385         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21386         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21387         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21388         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21389         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21390         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21391         (test-xfail-ISO/math.h/linknamespace): Likewise.
21392         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21393         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21394         (test-xfail-ISO/time.h/linknamespace): Likewise.
21395         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21396         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21397         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21398         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21399         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21400         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21401         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21402         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21403         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21404         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21405         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21406         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21407         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21408         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21409         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21410         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21411         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21412         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21413         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21414         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21415         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21416         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21417         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21418         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21419         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21420         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21421         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21422         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21423         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21424         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21425         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21426         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21427         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21428         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21429         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21430         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21431         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21432         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21433         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21434         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21435         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21436         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21437         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21438         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21439         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21440         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21441         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21442         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21443         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21444         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21445         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21446         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21447         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21448         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21449         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21450         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21451         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21452         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21453         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21454         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21455         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21456         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21457         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21458         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21459         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21460         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21461         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21462         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21463         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21464         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21465         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21466         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21467         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21468         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21469         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21470         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21471         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21472         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21473         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21474         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21475         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21476         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21477         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21478         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21479         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21480         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21481         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21482         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21483         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21484         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21485         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21486         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21487         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21488         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21489         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21490         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21491         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21492         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21493         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21494         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21495         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21496         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21497         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21498         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21499         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21500         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21501         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21502         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21503         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21504         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21505         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21506         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21507         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21508         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21509         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21510         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21511         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21512         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21513         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21514         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21515         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21516         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21517         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21518         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21519         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21520         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21521         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21522         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21523         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21524         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21525         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21526         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21527         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21528         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21529         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21530         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21531         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21532         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21533         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21534         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21535         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21536         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21537         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21538         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21539         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21540         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21541         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21542         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21543         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21544         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21546         [BZ #17589]
21547         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21548         of fgets_unlocked.
21550         [BZ #17585]
21551         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21552         (memmem): Rename to __memmem and define as weak alias of
21553         __memmem.  Use libc_hidden_weak.
21554         (__memmem): Use libc_hidden_def.
21555         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21556         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21557         memmem.
21559         [BZ #17582]
21560         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21561         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21562         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21563         and define as weak alias of __fgets_unlocked.  Use
21564         libc_hidden_weak.
21565         (__fgets_unlocked): Use libc_hidden_def.
21566         * include/stdio.h (__fgets_unlocked): Declare.  Use
21567         libc_hidden_proto.
21568         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21569         __fgets_unlocked instead of fgets_unlocked.
21570         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21571         (GET_NPROCS_CONF_PARSER): Likewise.
21572         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21573         (GET_NPROCS_CONF_PARSER): Likewise.
21575         [BZ #17574]
21576         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21577         weak alias of __wmemset.  Use libc_hidden_weak.
21578         (__wmemset): Use libc_hidden_def.
21579         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21580         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21581         of wmemset.
21583         [BZ #17573]
21584         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21585         with asm name __mempcpy.
21586         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21588         [BZ #17572]
21589         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21590         and define as weak alias of __rawmemchr.
21591         (__rawmemchr): Do not define as strong alias of rawmemchr.
21593         [BZ #17571]
21594         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21595         alias of __qsort_r.
21596         (qsort): Call __qsort_r instead of qsort_r.
21597         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21598         (__qsort_r): Declare.  Call libc_hidden_proto.
21599         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21600         instead of qsort_r.
21601         * nscd/gai.c (__qsort_r): Define to qsort_r.
21602         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21603         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21604         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21606         [BZ #17570]
21607         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21608         define as weak alias of __malloc_info.
21610         [BZ #17584]
21611         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21612         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21613         (__rewinddir): Use libc_hidden_def.
21614         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21615         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21616         (__rewinddir): Use libc_hidden_def.
21617         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21618         weak alias of __rewinddir.  Don't use libc_hidden_def.
21619         (__rewinddir): Use libc_hidden_def.
21620         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21621         (__rewinddir): Use libc_hidden_proto.
21622         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21623         rewinddir.
21624         (__getcwd): Use __rewinddir instead of rewinddir.
21626         [BZ #17583]
21627         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21628         alias of __fileno.  Use libc_hidden_weak.
21629         (__fileno): Use libc_hidden_def.
21630         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21631         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21632         alias of __ftello.
21633         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21634         __ftello.
21635         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21636         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21637         libc_hidden_def.
21638         (fread_unlocked): Don't use libc_hidden_ver.
21639         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21640         and define as weak alias of __fread_unlocked.  Don't use
21641         libc_hidden_def.
21642         (__fread_unlocked): Use libc_hidden_def.
21643         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21644         (ftello): Don't use libc_hidden_proto.
21645         (__ftello): Declare.  Use libc_hidden_proto.
21646         (fread_unlocked): Don't use libc_hidden_proto.
21647         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21648         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21649         and __ftello instead of fileno, fread_unlocked and ftello.
21651 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21653         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21654         GOT12.
21655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21656         Likewise.
21657         (_dl_start_user): Likewise.
21658         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21660 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21661             Siddhesh Poyarekar  <siddhesh@redhat.com>
21663         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21664         Move argv and envp down instead of moving argc up.
21665         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21667 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21669         [BZ #17506]
21670         * test-skeleton.c (main): Return successful if one of
21671         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21672         * string/tst-strcoll-overflow.c: Define expected status.
21674 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21676         [BZ #17475]
21677         * locale/iso-639.def: Define Bhili and Tulu language codes.
21679 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21681         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21683 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21685         [BZ #17555]
21686         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21688 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21690         * configure.ac: Updated check of minimal required version to
21691         2.22.
21692         * manual/install.texi (Tools for Compilation): Updated version
21693         number.
21694         * configure: Regenerated.
21695         * INSTALL: Likewise.
21697 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21699         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21700         __tls_get_addr.
21702 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21704         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21705         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21706         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21707         libc_hidden_weak.
21708         (waitpid): Define as alias of __waitpid.
21709         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21710         __waitpid.
21711         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21712         libc_hidden_weak.
21713         (waitpid): Define as alias of __waitpid.
21714         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21715         __libc_waitpid alias.
21716         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21717         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21718         Likewise.
21719         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21720         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21721         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21722         alias.
21723         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21724         __waitpid.
21725         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21726         libc_hidden_weak.
21727         (waitpid): Define as alias of __waitpid.
21729 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21731         * manual/llio.texi: Add comment that write safety has been
21732         fixed in Linux.
21734         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21735         (localplt-build-dso): Add elf/ld.so.
21736         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21737         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21738         and free for ld.so.
21739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21740         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21742         Likewise.
21743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21744         Likewise.
21745         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21746         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21747         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21748         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21749         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21750         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21751         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21752         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21753         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21754         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21755         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21757 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21759         [BZ #14132]
21760         * include/libc-symbols.h (INTUSE): Remove macro.
21761         (INTDEF): Likewise.
21762         (INTVARDEF): Likewise.
21763         (_INTVARDEF): Likewise.
21764         (INTDEF2): Likewise.
21765         (INTVARDEF2): Likewise.
21766         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21767         rtld_hidden_def instead of INTVARDEF.
21768         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21769         (_dl_starting_up_internal): Remove declaration.
21770         (_dl_starting_up): Use rtld_hidden_proto.
21771         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21772         declaration.
21773         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21774         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21775         _dl_starting_up.
21776         * elf/dl-writev.h (_dl_writev): Likewise.
21777         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21778         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21779         _dl_starting_up_internal.
21781 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21783         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21784         test-skeleton.c.
21786 2014-11-05  Will Newton  <will.newton@linaro.org>
21788         * benchtests/Makefile: (bench-malloc): Add malloc thread
21789         scalability benchmark.
21790         * benchtests/bench-malloc-threads.c: New file.
21792 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21794         * sysdeps/aarch64/strchrnul.S: New file.
21796 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21798         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21799         definition.
21800         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21801         Likwise.
21802         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21803         Likewise.
21804         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21805         Likewise.
21806         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21807         Likewise.
21808         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21809         Likewise.
21811 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21813         * catgets/test-gencat.c: Use test-skeleton.c.
21814         * catgets/tst-catgets.c: Likewise.
21815         * csu/tst-empty.c: Likewise.
21816         * elf/tst-audit2.c: Likewise.
21817         * elf/tst-global1.c: Likewise.
21818         * elf/tst-pathopt.c: Likewise.
21819         * elf/tst-piemod1.c: Likewise.
21820         * elf/tst-tls10.c: Likewise.
21821         * elf/tst-tls11.c: Likewise.
21822         * elf/tst-tls12.c: Likewise.
21823         * gnulib/tst-gcc.c: Likewise.
21824         * iconvdata/tst-e2big.c: Likewise.
21825         * iconvdata/tst-loading.c: Likewise.
21826         * iconv/tst-iconv1.c: Likewise.
21827         * iconv/tst-iconv2.c: Likewise.
21828         * inet/test-inet6_opt.c: Likewise.
21829         * inet/tst-gethnm.c: Likewise.
21830         * inet/tst-network.c: Likewise.
21831         * inet/tst-ntoa.c: Likewise.
21832         * intl/tst-codeset.c: Likewise.
21833         * intl/tst-gettext2.c: Likewise.
21834         * intl/tst-gettext3.c: Likewise.
21835         * intl/tst-ngettext.c: Likewise.
21836         * intl/tst-translit.c: Likewise.
21837         * io/test-stat.c: Likewise.
21838         * libio/test-fmemopen.c: Likewise.
21839         * libio/tst-freopen.c: Likewise.
21840         * libio/tst-sscanf.c: Likewise.
21841         * libio/tst-ungetwc1.c: Likewise.
21842         * libio/tst-ungetwc2.c: Likewise.
21843         * libio/tst-widetext.c: Likewise.
21844         * localedata/tst-ctype.c: Likewise.
21845         * localedata/tst-digits.c: Likewise.
21846         * localedata/tst-leaks.c: Likewise.
21847         * localedata/tst-mbswcs1.c: Likewise.
21848         * localedata/tst-mbswcs2.c: Likewise.
21849         * localedata/tst-mbswcs3.c: Likewise.
21850         * localedata/tst-mbswcs4.c: Likewise.
21851         * localedata/tst-mbswcs5.c: Likewise.
21852         * localedata/tst-setlocale.c: Likewise.
21853         * localedata/tst-trans.c: Likewise.
21854         * localedata/tst-wctype.c: Likewise.
21855         * localedata/tst-xlocale1.c: Likewise.
21856         * login/tst-grantpt.c: Likewise.
21857         * malloc/tst-calloc.c: Likewise.
21858         * malloc/tst-malloc.c: Likewise.
21859         * malloc/tst-mallocstate.c: Likewise.
21860         * malloc/tst-mcheck.c: Likewise.
21861         * malloc/tst-mtrace.c: Likewise.
21862         * malloc/tst-obstack.c: Likewise.
21863         * math/atest-exp2.c: Likewise.
21864         * math/atest-exp.c: Likewise.
21865         * math/atest-sincos.c: Likewise.
21866         * math/test-matherr.c: Likewise.
21867         * math/test-misc.c: Likewise.
21868         * math/test-powl.c: Likewise.
21869         * math/tst-definitions.c: Likewise.
21870         * misc/tst-dirname.c: Likewise.
21871         * misc/tst-efgcvt.c: Likewise.
21872         * misc/tst-fdset.c: Likewise.
21873         * misc/tst-hsearch.c: Likewise.
21874         * misc/tst-mntent2.c: Likewise.
21875         * nptl/tst-sem7.c: Likewise.
21876         * nptl/tst-sem8.c: Likewise.
21877         * nptl/tst-sem9.c: Likewise.
21878         * nss/test-netdb.c: Likewise.
21879         * posix/tst-fnmatch.c: Likewise.
21880         * posix/tst-getlogin.c: Likewise.
21881         * posix/tst-gnuglob.c: Likewise.
21882         * posix/tst-mmap.c: Likewise.
21883         * pwd/tst-getpw.c: Likewise.
21884         * resolv/tst-inet_ntop.c: Likewise.
21885         * rt/tst-timer.c: Likewise.
21886         * stdio-common/test-fseek.c: Likewise.
21887         * stdio-common/test-popen.c: Likewise.
21888         * stdio-common/test-vfprintf.c: Likewise.
21889         * stdio-common/tst-cookie.c: Likewise.
21890         * stdio-common/tst-fileno.c: Likewise.
21891         * stdio-common/tst-gets.c: Likewise.
21892         * stdio-common/tst-obprintf.c: Likewise.
21893         * stdio-common/tst-perror.c: Likewise.
21894         * stdio-common/tst-sprintf2.c: Likewise.
21895         * stdio-common/tst-sprintf3.c: Likewise.
21896         * stdio-common/tst-sprintf.c: Likewise.
21897         * stdio-common/tst-swprintf.c: Likewise.
21898         * stdio-common/tst-tmpnam.c: Likewise.
21899         * stdio-common/tst-unbputc.c: Likewise.
21900         * stdio-common/tst-wc-printf.c: Likewise.
21901         * stdlib/tst-environ.c: Likewise.
21902         * stdlib/tst-fmtmsg.c: Likewise.
21903         * stdlib/tst-limits.c: Likewise.
21904         * stdlib/tst-rand48-2.c: Likewise.
21905         * stdlib/tst-rand48.c: Likewise.
21906         * stdlib/tst-random2.c: Likewise.
21907         * stdlib/tst-random.c: Likewise.
21908         * stdlib/tst-strtol.c: Likewise.
21909         * stdlib/tst-strtoll.c: Likewise.
21910         * stdlib/tst-tls-atexit.c: Likewise.
21911         * stdlib/tst-xpg-basename.c: Likewise.
21912         * string/test-ffs.c: Likewise.
21913         * string/tst-bswap.c: Likewise.
21914         * string/tst-inlcall.c: Likewise.
21915         * string/tst-strtok.c: Likewise.
21916         * string/tst-strxfrm.c: Likewise.
21917         * sysdeps/x86_64/tst-audit10.c: Likewise.
21918         * sysdeps/x86_64/tst-audit3.c: Likewise.
21919         * sysdeps/x86_64/tst-audit4.c: Likewise.
21920         * sysdeps/x86_64/tst-audit5.c: Likewise.
21921         * time/tst-ftime_l.c: Likewise.
21922         * time/tst-getdate.c: Likewise.
21923         * time/tst-mktime3.c: Likewise.
21924         * time/tst-mktime.c: Likewise.
21925         * time/tst-posixtz.c: Likewise.
21926         * time/tst-strptime2.c: Likewise.
21927         * time/tst-strptime3.c: Likewise.
21928         * wcsmbs/tst-btowc.c: Likewise.
21929         * wcsmbs/tst-mbrtowc.c: Likewise.
21930         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21931         * wcsmbs/tst-wchar-h.c: Likewise.
21932         * wcsmbs/tst-wcpncpy.c: Likewise.
21933         * wcsmbs/tst-wcrtomb.c: Likewise.
21934         * wcsmbs/tst-wcsnlen.c: Likewise.
21935         * wcsmbs/tst-wcstof.c: Likewise.
21937 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21939         [BZ #14132]
21940         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21941         INTDEF.
21942         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21943         declaration.
21944         (_dl_mcount): Use rtld_hidden_proto.
21945         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21946         _dl_mcount.
21947         * elf/rtld.c (_rtld_global_ro): Likewise.
21949         [BZ #14132]
21950         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21951         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21952         of _dl_init_internal.
21953         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21954         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21955         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21956         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21957         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21958         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21959         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21960         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21961         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21962         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21963         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21964         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21965         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21966         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21967         * sysdeps/tile/dl-start.S (_start): Likewise.
21968         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21969         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21971         [BZ #14132]
21972         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21973         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21974         (rtld_progname): Make macro definition unconditional.
21975         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21976         INTDEF.
21977         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21978         (dl_main): Likewise.
21979         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21980         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21981         instead of _dl_argv_internal.
21982         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21983         __GI__dl_argv instead of INTUSE(_dl_argv).
21984         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21985         __GI__dl_argv instead of _dl_argv_internal.
21987         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21988         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21989         macro.
21990         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21991         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21992         New macro.
21993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21994         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21995         macro.
21996         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21997         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21999 2014-11-04  Andreas Schwab  <schwab@suse.de>
22001         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22003 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22005         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22006         mtvsrd instruction in binary form.
22008 2014-11-03  Andreas Schwab  <schwab@suse.de>
22010         [BZ #17522]
22011         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22012         for less than MB_LEN_MAX use a local buffer of that size.
22013         * libio/tst-fputws.c: New file.
22014         * libio/Makefile (tests): Add tst-fputws.
22016 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22018         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22019         the size of the fpu_fr.fpu_dregs[] array.
22021 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22023         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22024         (__nanosleep): Do not define as alias.
22025         (nanosleep): Define as alias of __nanosleep.
22026         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22027         __libc_nanosleep name.
22029 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22031         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22032         install.texi in comment.
22034 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22036         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22037         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22038         ... add here and use lwsync or sync ...
22039         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22040         ... and add here using lwsync.
22042 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22044         * elf/dl-machine-reject-phdr.h: New file.
22045         * elf/dl-load.c: #include that.
22046         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22047         if that returned true.
22049 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22051         [BZ #17496]
22052         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22053         gen-as-const-headers chunk.  Add a big scare comment after the last
22054         safe place to touch before-compile.
22056 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22058         * manual/install.texi (Tools for Compilation): Update autoconf
22059         version requirements.
22060         * INSTALL: Regenerated.
22062         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22063         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22064         (__libc_pselect): Likewise.
22066         [BZ #14138]
22067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22072 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22074         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22075         correct barrier instruction.
22076         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22077         Likewise.
22078         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22079         Likewise.
22081 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22083         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22084         after defining inlines.  Instead, just use parens to defeat macro
22085         expansion of __isctype in its declaration.
22087 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22089         * include/sys/uio.h (__libc_readv): Remove declaration.
22090         (__libc_writev): Likewise.
22091         * misc/readv.c (__libc_readv): Rename to __readv.
22092         (__readv): Do not define as alias.
22093         (readv): Define as alias of __readv.
22094         * misc/writev.c (__libc_writev): Rename to __writev.
22095         (__writev): Do not define as alias.
22096         (writev): Define as alias of __writev.
22097         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22098         (__readv): Do not define as alias.
22099         (readv): Define unconditionally as alias of __readv.
22100         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22101         (__writev): Do not define as alias.
22102         (writev): Define unconditionally as alias of __writev.
22103         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22104         name.
22105         (writev): Do not define __libc_writev name.
22107 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22109         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22110         (convert_charseq): New function, broken out of ...
22111         (use_from_charmap): ... here.  Call it.
22112         (use_to_charmap): Use convert_charseq and free instead of duplicating
22113         its code with a variable-length stack struct.
22115 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22117         * include/fcntl.h (__libc_creat): Remove declaration.
22118         * io/creat.c (__libc_creat): Rename to creat.
22119         (creat): Do not define as alias.
22120         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22121         of creat instead of __libc_creat.
22122         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22123         to creat.
22124         (creat): Do not define as alias.
22125         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22126         __libc_creat.
22127         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22128         __libc_creat name.
22129         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22130         Likewise.
22132 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22134         * manual/llio.texi: Add comments discussing why write() may be
22135         considered MT-unsafe on Linux.
22137 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22139         * dl-load.c (local_strdup): Remove.
22140         (expand_dynamic_string_token): Use __strdup.
22141         (decompose_rpath): Likewise.
22142         (_dl_map_object): Likewise.
22144 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22146         [BZ #14132]
22147         * sysdeps/generic/unwind-dw2-fde.c
22148         (__register_frame_info_bases_internal): Do not declare.
22149         (__register_frame_info_table_bases_internal): Likewise.
22150         (__deregister_frame_info_bases_internal): Likewise.
22151         (__register_frame_info_bases): Declare and use hidden_proto before
22152         definition.  Use hidden_def instead of INTDEF.
22153         (__register_frame_info_table_bases): Likewise.
22154         (__deregister_frame_info_bases): Likewise.
22155         (__register_frame_info): Do not use INTUSE.
22156         (__register_frame): Likewise.
22157         (__register_frame_info_table): Likewise.
22158         (__register_frame_table): Likewise.
22159         (__deregister_frame_info): Likewise.
22160         (__deregister_frame): Likewise.
22162 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22165         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22166         not undefine.
22167         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22168         Likewise.
22169         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22170         Likewise.
22172 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22174         [BZ #14138]
22175         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22176         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22177         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22178         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22179         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22180         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22181         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22182         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22183         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22184         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22186         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22187         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22188         syscall.
22189         (setfsuid): Likewise.
22190         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22191         (setfsuid): Likewise.
22192         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22193         (setfsuid): Likewise.
22194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22195         Likewise.
22196         (setfsuid): Likewise.
22197         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22198         (setfsuid): Likewise.
22199         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22200         Likewise.
22201         (setfsuid): Likewise.
22203 2014-10-27  Andreas Schwab  <schwab@suse.de>
22205         [BZ #17501]
22206         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22207         check for Slow_SSE4_2 feature bit.
22208         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22209         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22210         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22211         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22213 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22215         * configure.ac: Validate compiler version with a empirical test of
22216         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22217         $CC -v output.
22218         * configure: Regenerated.
22220         * inet/htons.c (htons): Prototypify.
22221         * inet/htonl.c (htonl): Likewise.
22223 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22225         * string/strncat.c (strncat): Improve performance by using strlen.
22227 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22229         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22231 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22233         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22234         Call libc_fetestexcept_aarch64.
22236 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22238         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22239         Call libc_feholdexcept_aarch64.
22241 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22243         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22244         Call get_rounding_mode.
22246 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22248         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22249         Simplify logic.
22251 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22253         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22254         Simplify logic.
22256 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22258         [BZ #14138]
22259         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22260         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22261         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22262         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22263         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22264         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22265         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22266         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22267         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22268         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22269         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22270         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22271         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22272         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22273         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22274         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22275         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22276         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22277         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22278         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22279         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22280         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22281         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22282         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22283         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22284         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22285         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22286         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22287         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22288         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22289         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22290         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22291         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22292         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22293         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22294         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22295         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22296         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22297         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22298         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22299         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22300         syscall.
22301         (geteuid): Likewise.
22302         (getgid): Likewise.
22303         (getuid): Likewise.
22304         (getresgid): Likewise.
22305         (getresuid): Likewise.
22306         (getgroups): Likewise.
22307         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22308         (geteuid): Likewise.
22309         (getgid): Likewise.
22310         (getuid): Likewise.
22311         (getresgid): Likewise.
22312         (getresuid): Likewise.
22313         (getgroups): Likewise.
22314         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22315         (geteuid): Likewise.
22316         (getgid): Likewise.
22317         (getuid): Likewise.
22318         (getresgid): Likewise.
22319         (getresuid): Likewise.
22320         (getgroups): Likewise.
22321         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22322         Likewise.
22323         (geteuid): Likewise.
22324         (getgid): Likewise.
22325         (getuid): Likewise.
22326         (getresgid): Likewise.
22327         (getresuid): Likewise.
22328         (getgroups): Likewise.
22329         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22330         (geteuid): Likewise.
22331         (getgid): Likewise.
22332         (getuid): Likewise.
22333         (getresgid): Likewise.
22334         (getresuid): Likewise.
22335         (getgroups): Likewise.
22336         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22337         Likewise.
22338         (geteuid): Likewise.
22339         (getgid): Likewise.
22340         (getuid): Likewise.
22341         (getgroups): Likewise.
22343         [BZ #14138]
22344         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22345         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22346         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22347         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22348         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22349         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22350         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22351         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22352         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22353         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22354         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22355         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22356         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22357         __chown.
22358         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22359         (lchown): Likewise.
22360         (fchown): Likewise.
22361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22362         Likewise.
22363         (lchown): Likewise.
22364         (fchown): Likewise.
22365         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22366         (lchown): Likewise.
22367         (fchown): Likewise.
22368         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22369         Likewise.
22370         (lchown): Likewise.
22371         (fchown): Likewise.
22373 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22375         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22376         Simplify logic.
22378 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22380         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22381         Cleanup logic.
22383 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22386         Remove unused include.
22388 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22390         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22391         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22392         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22393         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22395 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22396             Helge Deller <deller@gmx.de>
22398         [BZ #17508]
22399         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22400         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22401         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22403 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22405         [BZ #14132]
22406         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22407         Remove macro definition.
22408         (__ashrdi3_v_glibc20): Likewise.
22409         (__lshrdi3_v_glibc20): Likewise.
22410         (__cmpdi2_v_glibc20): Likewise.
22411         (__ucmpdi2_v_glibc20): Likewise.
22412         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22413         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22414         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22415         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22416         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22417         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22419 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22421         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22422         old GNU extension [0] syntax.
22423         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22424         alloca rather than an array member with variable length.
22425         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22426         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22427         (parse_opt): ... here.  Likewise use alloca there.
22428         Validate the -i argument before checking for rootness.
22429         (send_shutdown): New function, broken out of ...
22430         (parse_opt): ... here.
22432 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22434         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22435         macro to get at the _rt_local_ro field.
22436         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22437         ([PIC] case) or _dl_hwcap ([!PIC] case).
22438         * sysdeps/arm/setjmp.S: Likewise.
22440         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22441         * sysdeps/arm/configure.ac: New check to define it.
22442         * sysdeps/arm/configure: Regenerated.
22443         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22444         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22445         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22446         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22447         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22448         Use move/movt pair instead of a load.
22449         (LDST_GLOBAL): Macro removed.
22450         (LDR_GLOBAL): New macro replaces it.
22451         (LDR_HIDDEN): New macro.
22452         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22453         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22455         * setjmp/tst-setjmp-static.c: New file.
22456         * setjmp/Makefile (tests): Add it.
22457         (tests-static): New variable.
22459 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22461         [BZ #17485]
22462         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22464 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22466         [BZ #14132]
22467         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22469 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22471         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22473 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22475         * io/fts.c (dirent_not_directory): New function.
22476         (fts_build): Call it.
22478 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22480         * nptl/version.c (__nptl_main): Use normal __write rather than
22481         INTERNAL_SYSCALL.
22482         (banner): Update copyright years.
22484         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22485         gettimeofday.
22486         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22487         * nptl/pthread_cond_timedwait.c: Likewise.
22488         * nptl/pthread_mutex_timedlock.c: Likewise.
22489         * nptl/sem_timedwait.c: Likewise.
22491         * sysdeps/nptl/bits/libc-lock.h
22492         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22493         (__libc_lock_init_recursive): Return void, not 0.
22494         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22495         (__libc_rwlock_init): Likewise.
22496         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22498 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22500         [BZ #15215]
22501         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22502         (__pthread_once_slow): ... here.
22503         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22504         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22506 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22508         [BZ #15215]
22509         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22510         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22511         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22512         * nptl/pthread_once.c (__pthread_once): Likewise.
22513         Update comments.
22515 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22517         [BZ #14138]
22518         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22519         name.
22520         (writev): Use __libc_writev as strong name.
22521         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22522         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22524 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22526         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22528         * sysdeps/i386/nptl/tls.h
22529         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22530         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22531         New macros.
22532         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22533         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22534         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22535         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22536         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22537         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22539         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22540         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22541         on [__NR_futex].
22542         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22543         broken out of ...
22544         (__pthread_mutex_init): ... here.  Call it.
22545         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22546         Conditionalize PI cases on [__NR_futex].
22547         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22548         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22549         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22551         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22552         conditional on [SIGSETXID].
22553         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22554         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22555         is defined.  Likewise for SIGSETXID.
22556         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22557         Conditionalize definitions on [SIGSETXID].
22558         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22559         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22560         unblocking on [SIGCANCEL].
22562         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22563         [__NR_set_robust_list].
22565 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22567         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22568         (do_compare): Likewise.
22570 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22572         [BZ #15884]
22573         * string/strcoll_l.c: Don't include stdio.h.
22574         (coll_seq): Remove members idxarr and rulearr.
22575         (get_next_seq_cached): Remove function.
22576         (get_next_seq): Likewise.
22577         (get_next_seq_nocache): Rename to get_next_seq.
22578         (do_compare): Remove function.
22579         (do_compare_nocache): Rename to do_compare.
22580         (STRCOLL): Remove weight and rules cache.
22582 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22584         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22585         * sysdeps/arm/sfp-machine.h: ... to here.
22586         * sysdeps/arm/Implies: Remove arm/soft-fp.
22588 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22590         * conform/data/sys/utsname.h-data (*_t): Allow.
22591         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22592         [POSIX] (WEXITED): Do not expect constant.
22593         [POSIX] (WSTOPPED): Likewise.
22594         [POSIX] (WNOHANG): Likewise.
22595         [POSIX] (WNOWAIT): Likewise.
22596         [POSIX] (siginfo_t): Do not expect type or elements.
22597         [POSIX] (pid_t): Do not expect type.
22598         [POSIX] (signal.h): Do not allow header.
22599         [POSIX] (sys/resource.h): Likewise.
22600         [POSIX] (si_*): Do not allow pattern.
22601         [POSIX] (W*): Likewise.
22602         [POSIX] (P_*): Likewise.
22603         [POSIX] (BUS_*): Likewise.
22604         [POSIX] (CLD_*): Likewise.
22605         [POSIX] (FPE_*): Likewise.
22606         [POSIX] (ILL_*): Likewise.
22607         [POSIX] (POLL_*): Likewise.
22608         [POSIX] (SEGV_*): Likewise.
22609         [POSIX] (SI_*): Likewise.
22610         [POSIX] (TRAP_*): Likewise.
22611         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22612         variable.
22614 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22616         [BZ #12926]
22617         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22618         infinite loop when __recvmsg returns 0.
22620 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22622         * CANCEL-FCT-WAIVE: Remove file.
22623         * CANCEL-FILE-WAIVE: Likewise.
22625         [BZ #14132]
22626         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22627         instead of INTVARDEF.
22628         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22629         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22630         rtld_hidden_data_def instead of INTVARDEF.
22631         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22632         * elf/dl-deps.c (expand_dst): Likewise.
22633         * elf/dl-load.c (_dl_dst_count): Likewise.
22634         (_dl_dst_substitute): Likewise.
22635         (decompose_rpath): Likewise.
22636         (_dl_init_paths): Likewise.
22637         (open_path): Likewise.
22638         (_dl_map_object): Likewise.
22639         * elf/rtld.c (dl_main): Likewise.
22640         (process_dl_audit): Likewise.
22641         (process_envvars): Likewise.
22642         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22643         Remove declaration.
22644         (__libc_enable_secure): Use rtld_hidden_proto.
22646 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22648         * elf/dl-load.c
22649         (add_path): New function broken out of _dl_rtld_di_serinfo.
22650         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22652 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22654         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22655         parentheses around macro arguments.
22656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22660         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22667         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22668         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22669         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22671         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22672         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22685         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22686         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22687         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22689         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22690         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22691         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22692         Likewise.
22693         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22694         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22695         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22696         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22697         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22698         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22700         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22701         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22702         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22703         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22704         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22705         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22706         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22707         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22708         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22710         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22711         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22712         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22713         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22714         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22715         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22716         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22717         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22718         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22719         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22720         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22721         (_FP_FRAC_SRS_1): Likewise.
22722         (_FP_FRAC_CLZ_1): Likewise.
22723         (_FP_MUL_MEAT_1_imm): Likewise.
22724         (_FP_MUL_MEAT_1_wide): Likewise.
22725         (_FP_MUL_MEAT_1_hard): Likewise.
22726         (_FP_SQRT_MEAT_1): Likewise.
22727         (_FP_FRAC_ASSEMBLE_1): Likewise.
22728         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22729         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22730         (__FP_CLZ_2): Likewise.
22731         (_FP_MUL_MEAT_2_wide): Likewise.
22732         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22733         (_FP_MUL_MEAT_2_gmp): Likewise.
22734         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22735         (_FP_SQRT_MEAT_2): Likewise.
22736         (_FP_FRAC_ASSEMBLE_2): Likewise.
22737         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22738         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22739         (_FP_FRAC_CLZ_4): Likewise.
22740         (_FP_MUL_MEAT_4_wide): Likewise.
22741         (_FP_MUL_MEAT_4_gmp): Likewise.
22742         (_FP_SQRT_MEAT_4): Likewise.
22743         (_FP_FRAC_ASSEMBLE_4): Likewise.
22744         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22745         * soft-fp/op-common.h (_FP_CMP): Likewise.
22746         (_FP_CMP_EQ): Likewise.
22747         (_FP_CMP_UNORD): Likewise.
22748         (_FP_TO_INT): Likewise.
22749         (_FP_FROM_INT): Likewise.
22750         [!__FP_CLZ] (__FP_CLZ): Likewise.
22751         (_FP_DIV_HELP_imm): Likewise.
22752         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22753         Likewise.
22754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22758         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22759         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22760         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22762         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22765         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22766         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22767         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22768         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22769         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22770         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22774         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22780         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22783         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22784         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22785         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22786         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22787         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22788         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22789         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22790         (FP_UNPACK_RAW_SP): Likewise.
22791         (FP_PACK_RAW_S): Likewise.
22792         (FP_PACK_RAW_SP): Likewise.
22793         (FP_UNPACK_S): Likewise.
22794         (FP_UNPACK_SP): Likewise.
22795         (FP_UNPACK_SEMIRAW_S): Likewise.
22796         (FP_UNPACK_SEMIRAW_SP): Likewise.
22797         (FP_PACK_S): Likewise.
22798         (FP_PACK_SP): Likewise.
22799         (FP_PACK_SEMIRAW_S): Likewise.
22800         (FP_PACK_SEMIRAW_SP): Likewise.
22801         (_FP_SQRT_MEAT_S): Likewise.
22802         (FP_CMP_S): Likewise.
22803         (FP_CMP_EQ_S): Likewise.
22804         (FP_CMP_UNORD_S): Likewise.
22805         (FP_TO_INT_S): Likewise.
22806         (FP_FROM_INT_S): Likewise.
22808         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22810         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22811         (FP_EX_INVALID_IMZ): Likewise.
22812         (FP_EX_INVALID_IMZ_FMA): Likewise.
22813         (FP_EX_INVALID_ISI): Likewise.
22814         (FP_EX_INVALID_ZDZ): Likewise.
22815         (FP_EX_INVALID_IDI): Likewise.
22816         (FP_EX_INVALID_SQRT): Likewise.
22817         (FP_EX_INVALID_CVI): Likewise.
22818         (FP_EX_INVALID_VC): Likewise.
22819         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22820         "invalid" exceptions.
22821         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22822         (_FP_ADD_INTERNAL): Likewise.
22823         (_FP_MUL): Likewise.
22824         (_FP_FMA): Likewise.
22825         (_FP_DIV): Likewise.
22826         (_FP_CMP_CHECK_NAN): Likewise.
22827         (_FP_SQRT): Likewise.
22828         (_FP_TO_INT): Likewise.
22829         (FP_EXTEND): Likewise.
22831 2014-10-09  Allan McRae  <allan@archlinux.org>
22833         * po/fr.po: Update French translation from translation project.
22835 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22837         [BZ #14132]
22838         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22839         of INTDEF.
22840         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22841         (__cxa_atexit): Use libc_hidden_proto.
22842         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22844         [BZ #14132]
22845         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22846         declaration.
22847         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22848         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22849         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22850         [!_ISOMAC] (__iswctype_internal): Likewise.
22851         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22852         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22853         alias.
22854         (fcntl): Remove __fcntl_internal alias.
22855         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22856         __connect_internal alias.
22857         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22858         Likewise.
22860         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22861         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22862         FP_DENORM_ZERO.
22863         (_FP_CHECK_FLUSH_ZERO): New macro.
22864         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22865         (_FP_CMP): Likewise.
22866         (_FP_CMP_EQ): Likewise.
22867         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22868         FP_DENORM_ZERO.
22869         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22870         (FP_TRUNC): Likewise.
22872         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22873         treated as invalid conversion, not as normal exponent.
22875         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22876         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22877         (_FP_CMP_EQ): Likewise.
22878         (_FP_CMP_UNORD): Likewise.
22879         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22880         (FP_CMP_EQ_D): Likewise.
22881         (FP_CMP_UNORD_D): Likewise.
22882         * soft-fp/extended.h (FP_CMP_E): Likewise.
22883         (FP_CMP_EQ_E): Likewise.
22884         (FP_CMP_UNORD_E): Likewise.
22885         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22886         (FP_CMP_EQ_Q): Likewise.
22887         (FP_CMP_UNORD_Q): Likewise.
22888         * soft-fp/single.h (FP_CMP_S): Likewise.
22889         (FP_CMP_EQ_S): Likewise.
22890         (FP_CMP_UNORD_S): Likewise.
22891         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22892         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22893         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22894         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22895         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22896         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22897         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22898         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22899         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22900         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22901         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22902         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22903         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22904         to FP_CMP_Q.
22905         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22906         FP_CMP_Q.
22907         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22908         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22909         FP_CMP_EQ_Q.
22910         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22911         FP_CMP_Q.
22912         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22913         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22914         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22915         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22916         FP_CMP_EQ_Q.
22917         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22918         FP_CMP_Q.
22919         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22920         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22921         FP_CMP_EQ_Q.
22922         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22923         FP_CMP_Q.
22924         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22925         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22926         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22927         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22928         FP_CMP_EQ_Q.
22930         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22931         a subnormal result, set the underflow exception if trapping on
22932         underflow is enabled.
22933         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22934         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22935         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22936         redefine to 0.
22937         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22938         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22939         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22940         * soft-fp/extendxftf2.c (__extendxftf2): Use
22941         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22943         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22944         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22945         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22946         FP_HANDLE_EXCEPTIONS.
22947         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22948         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22949         FP_HANDLE_EXCEPTIONS.
22950         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22951         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22952         FP_HANDLE_EXCEPTIONS.
22953         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22954         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22955         FP_HANDLE_EXCEPTIONS.
22957 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22959         [BZ #14132]
22960         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22961         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22962         use INTUSE.
22963         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22964         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22965         Remove alias.
22966         (__adjtimex): Define using libc_hidden_ver.
22967         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22968         Remove declaration.
22969         (ntp_gettime): Call __adjtimex directly.
22970         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22971         Remove declaration.
22972         (ntp_gettimex): Call __adjtimex directly.
22973         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22974         __adjtimex_internal alias.
22976 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22978         [BZ #17460]
22979         * nscd/nscd.c (more_help): Rewrite list of tables collection
22980         using xstrdup and asprintf.
22982         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22984 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22985             Roland McGrath  <roland@hack.frob.com>
22987         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22988         (do_lookup_unique): ... local function 'enter' here; update callers.
22990 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22992         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22993         compat_symbol calls on [SHARED].
22994         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22995         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22996         Remove.
22997         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22998         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22999         (oldsetrlimit): Remove.
23000         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23002         (lchown): New syscall entry.
23003         (oldsetrlimit): Remove.
23004         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23005         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23006         (oldsetrlimit): Remove.
23007         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23009         [BZ #14138]
23010         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23011         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23012         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23013         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23014         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23015         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23016         (fchown): Likewise.
23017         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23018         (fchown): Likewise.
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23020         Likewise.
23022 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23024         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23025         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23026         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23027         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23028         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23029         Likewise.
23030         (__old_sem_post): Likewise.
23032 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23034         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23035         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23036         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23037         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23038         Use INLINE_VSYSCALL macro.
23039         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23040         __vdso_clock_gettime.
23041         * sysdeps/unix/sysv/linux/tile/init-first.c
23042         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23043         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23044         __vdso_clock_gettime.
23046         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23047         to set up frame more cleanly.
23049         * sysdeps/tile/memcmp.c: New file.
23051         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23053         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23054         * sysdeps/tile/tilegx/strcasestr.c: New file.
23055         * sysdeps/tile/tilegx/strnlen.c: New file.
23056         * sysdeps/tile/tilegx/strstr.c: New file.
23058         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23060 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23062         * nptl/tst-setuid3.c: Write errors to stdout.
23064 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23066         * elf/dl-deps.c
23067         (preload): New functions broken out of _dl_map_object_deps.
23068         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23070 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #14138]
23073         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23074         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23076 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23078         * sysdeps/mips/strcmp.S: New.
23080 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23082         [BZ #14138]
23083         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23084         (linkat): Likewise.
23085         (mkdirat): Likewise.
23086         (readlinkat): Likewise.
23087         (renameat): Likewise.
23088         (symlinkat): Likewise.
23089         (unlinkat): Likewise.
23090         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23091         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23092         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23093         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23094         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23095         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23096         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23098 2014-09-30  Will Newton  <will.newton@linaro.org>
23100         * math/math.h: Define long double math functions if
23101         _LIBC_TEST is defined.
23102         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23104         * localedata/Makefile: Move assignment to tests-special
23105         into an ifdef testing run-built-tests.
23106         * timezone/Makefile: Likewise.
23108 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23110         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23111         with $(BASH) not $(SHELL).
23113 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23114             Matthew LeGendre  <legendre1@llnl.gov>
23116         [BZ #17411]
23117         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23118         l_reloc_result.
23120 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23122         * stdio-common/printf_fp.c
23123         (hack_digit): New function, broken out of ...
23124         (__printf_fp): ... local function here.  Update call sites.
23125         hack_digit now takes an additional parameter that is a pointer
23126         to a struct of the referenced locals.  Those locals moved inside
23127         the struct and references updated.
23129 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23131         * aclocal.m4: Require autoconf 2.69.
23132         * configure: Regenerated.
23133         * sysdeps/aarch64/configure: Likewise.
23134         * sysdeps/alpha/configure: Likewise.
23135         * sysdeps/arm/armv7/configure: Likewise.
23136         * sysdeps/arm/configure: Likewise.
23137         * sysdeps/ia64/configure: Likewise.
23138         * sysdeps/mach/configure: Likewise.
23139         * sysdeps/mips/configure: Likewise.
23140         * sysdeps/s390/configure: Likewise.
23141         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23144         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23145         file.
23146         * sysdeps/ia64/configure.ac: Likewise.
23148 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23151         specify symbol version for ld.so.  Do not include entry for
23152         libpthread.
23153         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23154         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23155         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23157         [BZ #14171]
23158         * Makeconfig [$(build-shared) = yes]
23159         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23160         makefiles.
23161         [$(build-shared) = yes && $(soversions.mk-done) = t]
23162         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23163         [$(build-shared) = yes && $(soversions.mk-done) = t]
23164         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23165         to Makerules.
23166         [$(build-shared) = yes && $(soversions.mk-done) = t]
23167         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23168         here.
23169         [$(build-shared) = yes && $(soversions.mk-done) = t]
23170         (common-generated): Don't append gnu/lib-names.h and
23171         gnu/lib-names.stmp here.
23172         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23173         (lib-names-h-abi): New variable.
23174         [$(build-shared) = yes && $(soversions.mk-done) = t]
23175         (lib-names-stmp-abi): Likewise.
23176         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23177         abi-variants] (before-compile): Append
23178         $(common-objpfx)$(lib-names-h-abi).
23179         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23180         abi-variants] (common-generated): Append gnu/lib-names.h.
23181         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23182         abi-variants] (install-others-nosubdir): Depend on
23183         $(inst_includedir)/$(lib-names-h-abi).
23184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23185         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23186         [$(build-shared) = yes && $(soversions.mk-done) = t]
23187         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23188         [$(build-shared) = yes && $(soversions.mk-done) = t]
23189         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23190         [$(build-shared) = yes && $(soversions.mk-done) = t]
23191         (common-generated): Append $(lib-names-h-abi) and
23192         $(lib-names-stmp-abi).
23193         * scripts/lib-names.awk: Do not handle multi being set.
23194         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23195         Remove variable.
23196         (abi-lp64_be-ld-soname): Likewise.
23197         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23198         Likewise.
23199         (abi-hard-ld-soname): Likewise.
23200         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23201         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23202         Remove variable.
23203         (abi-o32_hard-ld-soname): Likewise.
23204         (abi-o32_soft_2008-ld-soname): Likewise.
23205         (abi-o32_hard_2008-ld-soname): Likewise.
23206         (abi-n32_soft-ld-soname): Likewise.
23207         (abi-n32_hard-ld-soname): Likewise.
23208         (abi-n32_soft_2008-ld-soname): Likewise.
23209         (abi-n32_hard_2008-ld-soname): Likewise.
23210         (abi-n64_soft-ld-soname): Likewise.
23211         (abi-n64_hard-ld-soname): Likewise.
23212         (abi-n64_soft_2008-ld-soname): Likewise.
23213         (abi-n64_hard_2008-ld-soname): Likewise.
23214         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23215         Likewise.
23216         (abi-64-v2-ld-soname): Likewise.
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23218         ld.so entries.
23219         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23220         variable.
23221         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23222         entry.
23223         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23224         variable.
23225         (abi-64-ld-soname): Likewise.
23226         (abi-x32-ld-soname): Likewise.
23227         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23228         entry.
23229         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23231 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23233         [BZ #14138]
23234         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23235         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23236         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23237         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23238         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23239         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23240         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23241         syscall entry for GLIBC_2.2 symbol version.
23242         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23243         Likewise.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23245         (setrlimit): Likewise.
23246         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23247         Likewise.
23249 2014-09-23  Will Newton  <will.newton@linaro.org>
23251         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23252         _LINUX_ARM_SYSDEP_H include guard too.
23253         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23254         define.
23256 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23258         * sysdeps/unix/sysv/linux/eventfd.c:
23259         Make first argument unsigned.
23260         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23261         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23263 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23265         [BZ #16852]
23266         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23267         * socket/sys/socket.h: Likewise.
23268         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23270 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23272         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23274 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23276         * time/tst-ftime.c: New test.
23277         * time/Makefile (tests): Add tst-ftime.
23279 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23281         * soft-fp/extended.h: Fix comment formatting.
23282         * soft-fp/op-1.h: Likewise.
23283         * soft-fp/op-2.h: Likewise.
23284         * soft-fp/op-4.h: Likewise.
23285         * soft-fp/op-8.h: Likewise.
23286         * soft-fp/op-common.h: Likewise.
23287         * soft-fp/soft-fp.h: Likewise.
23289         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23291 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23293         [BZ #6652]
23294         * Makeconfig (soversions-default-setname): Remove variable.
23295         ($(common-objpfx)soversions.i): Don't pass default_setname to
23296         soversions.awk.
23297         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23298         oldest_abi to abi-versions.awk.
23299         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23300         * config.make.in (oldest-abi): Remove variable.
23301         * configure.ac (--enable-oldest-abi): Remove configure option.
23302         * configure: Regenerated.
23303         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23304         text.
23305         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23306         * scripts/soversions.awk: Do not handle default_setname variable.
23307         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23308         variable.
23309         * sysdeps/mach/hurd/configure: Regenerated.
23310         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23311         variable.
23312         * sysdeps/unix/sysv/linux/configure: Regenerated.
23314 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23316         * elf/Makefile (CFLAGS-interp.c): Remove.
23317         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23318         path string.
23319         * elf/interp.c: Include generated runtime-linker.h
23321         * Makerules (lib%.so): Don't include $(+interp) in
23322         prerequisites.
23323         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23324         * dlfcn/eval.c: Remove file.
23326         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23327         macros.
23329         [BZ #17266]
23330         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23331         4.2 and newer.
23333         [BZ #17370]
23334         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23336 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23337             Jakub Jelinek  <jakub@redhat.com>
23339         [BZ #17266]
23340         * libio/stdio.h: Check definition of __fortify_function
23341         instead of __extern_always_inline to include bits/stdio2.h.
23342         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23343         check if __extern_always_inline is defined.
23344         [__USE_MISC || __USE_XOPEN]: Likewise.
23345         [__USE_ISOC99] Likewise.
23346         * misc/sys/cdefs.h (__fortify_function): Define only if
23347         __extern_always_inline is defined.
23348         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23349         __extern_always_inline and __extern_inline only for g++-4.3
23350         and newer or a compatible gcc.
23352 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23354         [BZ #17371]
23355         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23356         last change to handle zero prefix length.
23358 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23361         _SC_REGEX_VERSION.
23363         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23364         _POSIX_RAW_SOCKETS.
23366 2014-09-13  Allan McRae  <allan@archlinux.org>
23368         * po/ru.po: Update Russian translation from translation project.
23370 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23372         * locale/programs/locale.c (show_locale_vars): Inline local function
23373         into its sole call site.  Clean up some style nits.
23374         (print_item): New function, broken out of ...
23375         (show_info): ... local function here.  Clean up style nits.
23377         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23378         out of ...
23379         (set_class_defaults): ... local function set_default here.
23380         Define set_default as a macro locally to pass constant parameters.
23381         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23382         rather than a shared local.
23384         * stdlib/rpmatch.c (try): New function, broken out of ...
23385         (rpmatch): ... local function here.  Also, prototypify definition.
23387 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23389         * scripts/soversions.awk: Do not handle configuration names.
23390         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23391         vendor and os variables to soversions.awk.
23392         * configure.ac: Do not modify gnu-* host_os.
23393         * configure: Regenerated
23394         * shlib-versions: Remove first column with configuration names.
23395         * nptl/shlib-versions: Likewise.
23396         * nptl_db/shlib-versions: Likewise.
23397         * sysdeps/hppa/shlib-versions: Likewise.
23398         * sysdeps/m68k/shlib-versions: Likewise.
23399         * sysdeps/mach/hurd/shlib-versions: Likewise.
23400         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23401         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23402         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23403         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23404         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23405         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23406         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23407         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23409         Likewise.
23410         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23411         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23412         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23413         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23414         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23415         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23416         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23417         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23420         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23422         Regenerated.
23423         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23425         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23427         * shlib-versions: Remove OS-specific entries.  Moved to files in
23428         sysdeps.
23429         * sysdeps/mach/hurd/shlib-versions: New file.
23430         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23432         * nptl/shlib-versions: Remove architecture-specific entries.
23433         Moved to files in sysdeps.
23434         * shlib-versions: Likewise.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23436         file.
23437         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23438         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23439         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23440         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23442         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23443         (UDP_NO_CHECK6_RX): Likewise.
23445 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23447         * sysdeps/posix/sysconf.c (__sysconf): Spell
23448         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23450 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23452         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23453         loading.
23454         * iconv/Versions (__gconv_transliterate): Export for use from
23455         gconv modules.
23456         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23457         (struct __gconv_trans_data, __gconv_trans_fct,
23458         __gconv_trans_context_fct, __gconv_trans_query_fct,
23459         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23460         definitions.
23461         (struct __gconv_step_data): Remove __trans member.
23462         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23463         longer hidden.  Remove unused trans_data argument.
23464         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23465         (__gconv_translit_find): Remove declaration.
23466         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23467         prototype.
23468         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23469         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23470         trans_data argument.  Add hidden definition.
23471         (__gconv_translit_find): Remove.
23472         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23473         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23474         * iconv/skeleton.c: Remove transliteration initialization.
23475         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23476         __gconv_step_data initialization.
23477         * libio/iofwide.c (__libio_translit_): Remove.
23478         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23479         * wcsmbs/btowc.c (__btowc): Likewise.
23480         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23481         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23482         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23483         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23484         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23485         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23486         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23487         * wcsmbs/wctob.c (wctob): Likewise.
23489 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23491         [BZ #16194]
23492         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23493         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23494         register usage.
23495         * sysdeps/x86/Makefile: Adjust.
23497 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23498             Roland McGrath  <roland@hack.frob.com>
23500         * locale/weight.h: Add include guard.
23501         (findidx): Make static rather than auto; take new parameters
23502         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23503         * locale/weightwc.h: Likewise.
23504         * posix/fnmatch_loop.c
23505         (FCT): Change type of EXTRA from int32_t to wint_t.
23506         Don't include either header inside the function.
23507         Call FINDIDX rather than findidx, and pass new arguments.
23508         #undef FINDIDX at the end of the file.
23509         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23510         FINDIDX before including fnmatch_loop.c for the non-wide version.
23511         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23512         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23513         for the wide version.
23514         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23515         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23516         Pass new arguments to findidx.
23517         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23518         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23519         Don't #include it inside the function.  Pass new arguments to findidx.
23520         * posix/regex_internal.h
23521         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23522         (re_string_elem_size_at): Don't #include it inside the function.
23523         Pass new arguments to findidx.
23524         * string/strcoll_l.c: #include WEIGHT_H at top level.
23525         (get_next_seq): Don't #include it inside the function.
23526         Pass new arguments to findidx.
23527         (get_next_seq_nocache): Likewise.
23528         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23529         (STRXFRM): Don't #include it inside the function.
23530         Pass new arguments to findidx.
23532 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23534         [BZ #17344]
23535         * malloc/malloc.c (unlink): Turn asserts into a call to
23536         malloc_printerr.
23538 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23540         [BZ #17370]
23541         * libio/wfileops (do_ftell_wide): Free OUT.
23543 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23545         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23547 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23549         [BZ #17363]
23550         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23551         group if the current group is empty.
23553 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         * benchtests/bench-memset.c (test_main): Add more test from size
23556         from 32 to 512 bytes.
23557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23558         Add POWER8 memset object.
23559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23560         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23561         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23562         implementation.
23563         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23564         Likewise.
23565         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23566         multiarch POWER8 memset optimization.
23567         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23568         POWER8 memset optimization.
23570         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23571         Remove bzero multiarch objects.
23572         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23573         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23574         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23575         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23576         Remove define.
23577         [__bzero]: Redefine to specific name.
23578         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23579         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23580         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23581         define.
23582         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23583         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23585 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23587         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23588         warnings into errors.
23590         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23591         __cxa_thread_atexit_impl prototype.
23593 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23595         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23596         Fix capitalization of error message.
23598 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23600         * sysdeps/mips/preconfigure: Modify ABI tests.
23602 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23604         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23606 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23607             Carlos O'Donell  <carlos@systemhalted.org>
23609         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23610         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23611         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23612         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23613         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23614         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23615         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23616         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23617         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23618         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23619         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23620         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23621         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23622         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23623         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23624         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23625         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23626         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23627         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23629         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23630         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23631         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23632         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23633         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23634         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23635         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23636         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23637         Deconditionalize the code that was previously under [RESET_PID].
23638         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23639         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23640         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23641         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23642         include sysdep.h.
23644 2014-09-08  Allan McRae  <allan@archlinux.org>
23646         * version.h (RELEASE): Set to "development".
23647         (VERSION): Set to "2.20.90"
23649 2014-09-07  Allan McRae  <allan@archlinux.org
23651         * version.h (RELEASE): Set to "stable".
23652         (VERSION): Set to "2.20"
23653         * include/features.h (__GLIBC_MINOR__): Set to 20.
23655         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23656         Liebler.
23658         * po/ko.po: Update Korean translation from translation project.
23660 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23662         [BZ #17354]
23663         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23664         macro for handling signed relocations.
23666 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23668         [BZ #17325]
23669         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23670         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23671         assert.
23672         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23673         * iconvdata/ibm935.c (BODY): Likewise.
23674         * iconvdata/ibm937.c (BODY): Likewise.
23675         * iconvdata/ibm939.c (BODY): Likewise.
23676         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23677         assert.
23678         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23679         script.
23680         * iconvdata/run-iconv-test.sh: New test loop for checking for
23681         decoder crashers.
23683 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23685         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23686         libm_hidden_ver.
23688 2014-09-01  Allan McRae  <allan@archlinux.org>
23690         * po/eo.po: Update Esperanto translation from translation project.
23692         * po/ca.po: Update Catalan translation from translation project.
23694 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23696         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23697         __proc_dostop call.
23699 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23701         [BZ #17319]
23702         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23703         to call set_thread_area instead of hand written asm.
23704         (__NR_set_thread_area): Removed define.
23705         (TLS_FLAG_WRITABLE): Likewise.
23706         (__ASSUME_SET_THREAD_AREA): Remove check.
23707         (TLS_EBX_ARG): Remove define.
23708         (TLS_LOAD_EBX): Likewise.
23710 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23712         Simplify atomicity of socket creation in bind.
23714         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23715         looking up the name after linking the file.
23717 2014-08-27  Allan McRae  <allan@archlinux.org>
23719         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23721 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23723         [BZ #17187]
23724         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23725         trans_compare, open_translit, __gconv_translit_find):
23726         Remove module loading code.
23728 2014-08-26  Allan McRae  <allan@archlinux.org>
23730         * po/vi.po: Update Vietnamese translation from translation project.
23732         * po/uk.po: Update Ukrainian translation from translation project.
23734         * po/fr.po: Update French translation from translation project.
23736         * po/ru.po: Update Russian translation from translation project.
23738         * po/pl.po: Update Polish translation from translation project.
23740         * po/cs.po: Update Czech translation from translation project.
23742         * po/de.po: Update German translation from translation project.
23744         * po/bg.po: Update Bulgarian translation from translation project.
23746         * po/sv.po: Update Sweedish translation from translation project.
23748         * po/nl.po: Update Dutch translation from translation project.
23750         * po/es.po: Update Spanish translation from translation project.
23752 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23754         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23756         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23757         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23758         (CPPFLAGS-iconvconfig): Likewise.
23759         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23761         * include/libc-symbols.h: Remove unnecessary check for
23762         NOT_IN_libc.
23763         * nptl/pthreadP.h: Likewise.
23764         * sysdeps/aarch64/setjmp.S: Likewise.
23765         * sysdeps/alpha/setjmp.S: Likewise.
23766         * sysdeps/arm/sysdep.h: Likewise.
23767         * sysdeps/i386/setjmp.S: Likewise.
23768         * sysdeps/m68k/setjmp.c: Likewise.
23769         * sysdeps/posix/getcwd.c: Likewise.
23770         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23771         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23772         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23773         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23774         * sysdeps/sh/sh3/setjmp.S: Likewise.
23775         * sysdeps/sh/sh4/setjmp.S: Likewise.
23776         * sysdeps/unix/alpha/sysdep.h: Likewise.
23777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23779         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23785         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23787         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23788         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23790         * sysdeps/x86_64/setjmp.S: Likewise.
23792 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #17263]
23795         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23796         <stdint.h>.
23797         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23798         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23800 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23802         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23804         [BZ #17262]
23805         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23806         and __x86_64__ when disabling x87 inline functions.
23808 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23810         [BZ #17259]
23811         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23812         asm statement with __cpuid_count.
23814 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23816         * configure.ac: Change __ehdr_start code to dereference the struct.
23817         Run readelf on the output to look for relocations.
23818         * configure: Regenerated.
23820 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23822         [BZ #17261]
23823         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23824         value to 0.
23825         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23827 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23829         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23831 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23833         [BZ #16892]
23834         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23835         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23837 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23839         * malloc/malloc.c: Fix typo in comment.
23841 2014-08-09  Allan McRae  <allan@archlinux.org>
23843         * Regenerate libc.po.
23845 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23847         * intl/tst-gettext2.sh: Check every lang file for creation.
23849 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23851         * sysdeps/aarch64/fpu/math_private.h
23852         (libc_feholdsetround_noex_aarch64_ctx): New function.
23854 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23856         * sysdeps/arm/armv6/strcpy.S (strcpy):
23857         Fix performance issue in misaligned cases.
23859 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23861         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23862         Move definition from termios.h.
23863         (struct termio): Likewise.
23864         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23865         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23866         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23867         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23868         Likewise.
23869         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23870         Move definition to ioctl-types.h
23871         (struct termio): Likewise.
23872         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23873         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23874         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23875         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23876         Likewise.
23878 2014-08-05  Richard Henderson  <rth@redhat.com>
23880         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23881         exceptions.
23882         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23883         Add fraiseexcpt.
23884         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23885         Use __feraiseexcept.
23886         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23887         Protect libm symbols with IS_IN_libm.
23889         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23891 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23893         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23895 2014-08-04  Will Newton  <will.newton@linaro.org>
23897         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23898         file.
23900 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23902         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23903         variants for each function.
23905 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23907         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23908         appended ...
23909         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23910         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23911         appended ...
23912         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23913         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23914         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23915         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23916         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23917         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23918         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23919         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23920         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23921         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23922         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23923         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23924         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23925         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23926         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23927         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23928         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23929         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23930         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23931         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23932         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23933         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23934         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23935         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23936         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23937         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23938         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23939         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23940         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23941         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23942         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23943         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23944         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23945         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23946         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23947         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23948         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23949         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23950         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23951         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23952         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23954         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23955         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23956         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23957         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23958         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23960         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23962         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23963         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23964         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23965         Update #include.
23966         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23967         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23969 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23971         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23972         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23973         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23974         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23975         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23976         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23978 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23980         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23981         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23982         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23983         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23985 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23987         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23988         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23989         (__libc_vfork): Define function under this name.
23990         (__vfork): Define as an alias.
23991         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23992         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23994 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23996         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23997         that was previously under [RESET_PID].
23998         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24000 2014-08-04  Andreas Schwab  <schwab@suse.de>
24002         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24004 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24006         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24007         (main): Likewise.
24009 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24011         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24013 2014-08-01  Richard Henderon  <rth@redhat.com>
24015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24016         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24017         typo in exact zero test.
24018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24019         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24022 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24024         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24025         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24026         * sysdeps/arm/sysdep.h: ... here.
24027         [!__ASSEMBLER__]: Include <stdint.h>.
24029 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24031         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24032         (HAVE_WCTYPE_H): Likewise.
24033         (HAVE_ISWCTYPE): Likewise.
24034         (ENABLE_NLS): Likewise.
24035         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24036         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24038         * posix/regex_internal.c: Check if DEBUG is defined and is
24039         set.
24041         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24042         (HAVE_MBSRTOWCS): Likewise.
24043         * posix/fnmatch.c: Include string.h unconditionally.
24045 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24047         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24048         reversal.
24050 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24052         * sysdeps/generic/safe-fatal.h: New file.
24053         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24054         * nptl/forward.c: Include it.
24055         (__pthread_unwind): Use __safe_fatal as default action, rather
24056         than a bogus use of INTERNAL_SYSCALL that could never work.
24058         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24059         * configure.ac (libc_cv_builtin_trap): New test.
24060         * configure: Regenerated.
24061         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24062         (ABORT_INSTRUCTION): Define using __builtin_trap.
24064         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24065         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24066         * sysdeps/nptl/nptl-signals.h: New file.
24067         * nptl/pthreadP.h: Include <nptl-signals.h>.
24069 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24071         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24072         (ONE_DIRECTION): Define.
24073         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24074         (ONE_DIRECTION): Define.
24075         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24076         (ONE_DIRECTION): Define.
24078 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24080         * sysdeps/s390/Makefile: Delete file.
24081         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24082         * sysdeps/s390/__longjmp.c: Delete file.
24083         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24084         Remove fields __flags and __reserved.
24085         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24086         and add versioning.
24087         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24088         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24089         * sysdeps/s390/rtld-setjmp.S: Likewise.
24090         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24091         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24092         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24093         * sysdeps/s390/s390-32/setjmp.S: ... here.
24094         Add versioning.
24095         (__sigsetjmp): Remove setting __flags field.
24096         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24097         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24098         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24099         * sysdeps/s390/s390-64/setjmp.S: ... here.
24100         Add versioning.
24101         (__sigsetjmp): Remove setting __flags field.
24102         * sysdeps/s390/setjmp.S: Delete file.
24103         * sysdeps/s390/sigjmp.c: Likewise.
24104         * sysdeps/s390/v1-longjmp.c: Likewise.
24105         * sysdeps/s390/v1-setjmp.h: Likewise.
24106         * sysdeps/s390/v1-sigjmp.c: Likewise.
24107         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24108         Remove v1-longjmp_chk.
24109         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24110         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24111         Include debug/longjmp_chk.c and add versioning.
24112         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24113         Include nptl/pt-longjmp.c and add versioning.
24114         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24115         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24116         Include __longjmp.c.
24117         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24118         Move to ...
24119         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24120         (__getcontext): Remove setting __flags field.
24121         Add versioning.
24122         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24123         Don't restore upper high grps.
24124         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24125         Likewise.
24126         (__swapcontext): Remove setting uc_flags field.
24127         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24128         Delete file.
24129         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24130         Include __longjmp.c.
24131         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24132         Move to ...
24133         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24134         (__getcontext): Remove setting __flags field.
24135         Add versioning.
24136         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24137         (__swapcontext): Remove setting uc_flags field.
24138         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24139         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24140         Remove fields uc_high_gprs and __reserved.
24141         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24142         New file with reverted content.
24143         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24144         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24145         Regenerated.
24146         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24147         Regenerated.
24149 2014-07-31  Andreas Schwab  <schwab@suse.de>
24151         * config.h.in (HAVE_IFUNC): Define to 0.
24152         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24153         definedness.
24155 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24158         memmove-avx-unaligned, memcpy-avx-unaligned and
24159         mempcpy-avx-unaligned.
24160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24161         Add tests for AVX memcpy functions.
24162         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24163         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24164         memcpy_chk.
24165         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24166         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24167         memmove_chk.
24168         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24169         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24170         mempcpy_chk.
24171         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24172         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24173         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24175 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24177         [BZ #17213]
24178         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24179         powerpc64le.
24181 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24183         [BZ #16839]
24184         * manual/llio.texi: Add section about open file description locks.
24185         * manual/examples/ofdlocks.c: Example of open file description
24186         lock usage.
24187         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24188         F_OFD_SETLK, and F_OFD_SETLKW.
24190 2014-07-23  Allan McRae  <allan@archlinux.org>
24192         * po/es.po: Update Spanish translation from translation project.
24194 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24196         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24198 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24200         [BZ #17078]
24201         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24202         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24203         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24205 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24207         [BZ #17088]
24208         * math/fesetenv.c (__fesetenv)
24209         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24210         * math/feupdateenv.c (__feupdateenv)
24211         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24213         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24214         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24215         (__ASSUME_SOCKETCALL): Do not define.
24217         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24218         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24219         (__ASSUME_SOCKETCALL): Do not define.
24220         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24221         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24222         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24223         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24224         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24225         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24226         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24227         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24229         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24230         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24231         (__ASSUME_SOCKETCALL): Do not define.
24232         (__ASSUME_IPC64): Define unconditionally.
24233         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24234         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24235         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24236         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24237         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24238         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24239         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24240         Likewise.
24242         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24243         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24244         (__ASSUME_SOCKETCALL): Do not define.
24245         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24246         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24247         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24248         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24249         (__ASSUME_REQUEUE_PI): Define unconditionally.
24250         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24251         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24252         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24253         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24255         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24257         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24258         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24259         (__ASSUME_SOCKETCALL): Do not define.
24260         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24261         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24262         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24263         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24264         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24265         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24267         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24268         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24269         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24270         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24271         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24272         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24273         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24274         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24275         (__ASSUME_GETCPU_SYSCALL): Likewise.
24277         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24278         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24279         cases for individual architectures.
24280         * sysdeps/gnu/configure: Regenerated.
24281         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24282         LIBC_SLIBDIR_RTLDDIR.
24283         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24284         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24285         LIBC_SLIBDIR_RTLDDIR.
24286         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24288         LIBC_SLIBDIR_RTLDDIR.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24290         Regenerated.
24291         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24292         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24293         file.
24294         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24295         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24296         file.
24297         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24298         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24299         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24300         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24302         * sysdeps/aarch64/shlib-versions: Move to ...
24303         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24304         * sysdeps/alpha/shlib-versions: Move to ...
24305         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24306         * sysdeps/arm/shlib-versions: Move to ...
24307         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24308         * sysdeps/hppa/shlib-versions: Move all contents except for
24309         libgcc_s entry to ...
24310         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24311         entry from ...
24312         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24313         * sysdeps/ia64/shlib-versions: Move to ...
24314         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24315         entry from ...
24316         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24317         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24318         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24319         * sysdeps/microblaze/shlib-versions: Move to ...
24320         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24321         * sysdeps/mips/shlib-versions: Move to ...
24322         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24323         entry from ...
24324         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24325         * sysdeps/tile/shlib-versions: Move to ...
24326         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24327         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24328         from ...
24329         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24330         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24331         entry from ...
24332         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24334 2014-07-17  Will Newton  <will.newton@linaro.org>
24336         * sysdeps/arm/bits/atomic.h
24337         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24338         (__arch_compare_and_exchange_bool_16_int): Likewise.
24339         (__arch_compare_and_exchange_bool_64_int): Likewise.
24341         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24342         into an #else block.
24344 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24346         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24347         just Linux configurations.  Test empirically that the compiler sets
24348         __ARM_EABI__, rather than using the tuple to decide.
24349         * sysdeps/arm/preconfigure: Regenerated.
24350         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24351         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24352         contents appended ...
24353         * sysdeps/arm/configure.ac: ... here.
24354         * sysdeps/arm/configure: Regenerated.
24356 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24358         * nptl/pthread_kill.c: New file.
24359         * nptl/pthread_sigmask.c: New file.
24360         * nptl/pthread_sigqueue.c: New file.
24362         * sysdeps/nptl/lowlevellock.h: New file.
24363         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24364         * sysdeps/nptl/lowlevellock-futex.h: New file.
24366         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24367         Remove dead declarations.
24369 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24371         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24372         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24373         config-cflags-avx2.
24374         * sysdeps/x86_64/configure.ac: Likewise.
24375         * sysdeps/i386/configure: Regenerated.
24376         * sysdeps/x86_64/configure: Likewise.
24377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24378         memset-avx2 only if config-cflags-avx2 is yes.
24379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24380         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24381         defined.
24382         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24383         only if HAVE_AVX2_SUPPORT is defined.
24384         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24386 2014-07-14  Alan Modra  <amodra@gmail.com>
24388         [BZ #17153]
24389         * elf/elf.h (DT_PPC64_NUM): Correct value.
24390         * NEWS: Add to fixed bug list.
24392 2014-07-13  Jim Meyering  <meyering@fb.com>
24394         [BZ 17150]
24395         regex: don't deref NULL upon heap allocation failure
24396         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24397         failure in one more place.
24398         To trigger the segfault, configure grep -with-included-regex,
24399         build it, and run these commands:
24400         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24402 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24404         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24406 2014-07-11  Richard Henderson  <rth@redhat.com>
24408         * sysdeps/aarch64/libm-test-ulps: Update.
24410 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24412         [BZ #17135]
24413         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24414         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24415         (__nptl_setxid): Initialize error member.  Call
24416         __nptl_setxid_error.
24417         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24418         * nptl/descr.h (struct xid_command): Add error member.
24419         * nptl/tst-setuid3.c: New file.
24420         * nptl/Makefile (tests): Add it.
24422 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24424         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24425         New define.
24426         (__lll_trylock): Use __lll_base_trylock.
24427         (__lll_cond_trylock): Likewise.
24429 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24431         * nptl/pthread_create.c (start_thread): Use atomic_or and
24432         lll_futex_wake directly rather than lll_robust_dead.
24433         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24434         (lll_robust_dead): Macro removed.
24435         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24436         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24437         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24438         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24440         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24441         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24442         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24443         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24444         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24445         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24446         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24447         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24448         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24449         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24451         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24452         Use atomic_compare_and_exchange_val_acq directly rather than
24453         lll_robust_trylock.
24454         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24455         (__lll_robust_trylock, lll_robust_trylock): Removed.
24456         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24457         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24458         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24459         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24460         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24461         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24462         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24463         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24464         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24465         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24466         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24467         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24468         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24469         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24471 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24473         * manual/locale.texi (Locale Names): New section documenting
24474         locale name syntax.  Adjust menu and node chaining accordingly.
24475         (Choosing Locale): Reference Locale Names, Locale Categories.
24476         Mention setting LC_ALL=C.  Reflect that name syntax is now
24477         documented.
24478         (Locale Categories): New section title.  Reference Locale Names.
24479         LC_ALL is an environment variable, but not a category.
24480         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24481         description, now in Locale Name.  Reference that section.  Locale
24482         name syntax is now documented.
24484 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24486         [BZ #17137]
24487         * locale/findlocale.c (name_present, valid_locale_name): New
24488         functions.
24489         (_nl_find_locale): Use the loc_name variable to store name
24490         candidates.  Call name_present and valid_locale_name to check and
24491         validate locale names.  Return an error if the locale is invalid.
24493 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24495         * locale/setlocale.c (setlocale): Use strdup for allocating
24496         composite name copy.
24498 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24500         Sync up with gnulib.
24501         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24502         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24503         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24504         and _GL_ARG_NONNULL.
24505         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24506         [!_LIBC]: Include code for Windows and Cygwin.
24507         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24508         Include prototype for int strerror_r.
24509         [!_LIBC] (is_open): New function.
24510         (flush_stdout): New function.
24511         (print_errno_message): Use it.
24512         (error): Likewise.
24513         (error_at_line): Likewise.
24514         (error_tail) Add function attribute macros.  Use
24515         __builtin_expect.
24517         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24519         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24521         * io/ftw.c: Include sys/param.h unconditionally.
24523         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24525         [BZ #17125]
24526         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24527         libc_freeres_ptr.
24528         (freecache): New function to free CACHE on exit.
24530         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24531         initialization.
24533 2014-07-09  David S. Miller  <davem@davemloft.net>
24535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24537         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24538         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24540         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24541         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24542         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24543         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24544         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24545         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24546         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24547         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24548         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24549         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24551 2014-07-09  Andreas Schwab  <schwab@suse.de>
24553         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24554         output.
24555         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24556         (do_test): Likewise.
24558         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24560 2014-07-09  Will Newton  <will.newton@linaro.org>
24562         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24563         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24564         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24565         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24566         * sysdeps/hppa/start.S (_start): Likewise.
24568 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24570         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24572         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24573         defined.
24575 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24577         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24578         after checking that it is non-NULL.
24580         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24582 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24584         * sysdeps/powerpc/memmove.c: Remove file.
24585         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24586         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24587         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24588         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24589         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24590         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24591         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24592         string memmove instead of removed powerpc one.
24594         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24595         [weak_alias]: Fix compiler warning due trailing data.
24596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24597         [weak_alias]: Likewise.
24598         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24599         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24602         (__libc_ifunc_impl_list): Add memmove functions.
24604 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24607         Remove code.
24608         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24609         Likewise.
24610         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24611         Likewise.
24612         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24613         Likewise.
24614         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24615         Likewise.
24616         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24617         Likewise.
24618         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24619         Likewise.
24620         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24621         Likewise.
24622         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24623         Likewise.
24624         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24625         Likewise.
24626         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24627         Likewise.
24628         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24629         Likewise.
24630         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24631         Likewise.
24632         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24633         Likewise.
24634         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24635         Likewise.
24636         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24637         Likewise.
24638         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24639         Likewise.
24641 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24643         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24644         to avoid alignment traps in non-cacheable memory.
24645         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24648         multiarch objects.
24649         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24650         file: multiarch power7 memmove.
24651         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24652         multiarch default memmove.
24653         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24654         multiarch memove for powerpc32/power4.
24656         * string/bcopy.c: Use full path to include memmove.c.
24657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24658         multiarch objects.
24659         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24660         bcopy for powerpc64.
24661         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24662         bcopy for powerpc64.
24663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24664         and memmove implementations.
24665         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24666         optimized multiarch memmove for POWER7/powerpc64.
24667         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24668         default multiarch memmove for powerpc64.
24669         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24670         multiarch for powerpc64.
24671         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24672         for POWER7/powerpc64.
24673         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24674         memmove for POWER7/powerpc64.
24676         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24677         glibc default one.
24679         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24680         __ELF_NATIVE_CLASS equal to 64.
24682 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24684         * sysdeps/nptl/lowlevellock.h: File removed.
24686         * NEWS: NPTL is no longer an add-on!
24687         * nptl/internaltypes.h: Moved ...
24688         * sysdeps/nptl/internaltypes.h: ... here.
24689         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24690         * sysdeps/nptl/fork.c: Likewise.
24691         * sysdeps/nptl/gai_misc.h: Likewise.
24692         * sysdeps/nptl/librt-cancellation.c: Likewise.
24693         * sysdeps/nptl/jmp-unwind.c: Likewise.
24694         * sysdeps/nptl/setxid.h: Likewise.
24695         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24696         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24697         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24698         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24699         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24700         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24701         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24702         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24703         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24704         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24705         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24706         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24707         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24708         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24709         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24710         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24711         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24712         * nptl/Makeconfig: Moved ...
24713         * sysdeps/nptl/Makeconfig: ... here.
24714         * nptl/configure: File removed.
24715         * nptl/ANNOUNCE: File removed.
24716         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24717         * sysdeps/unix/sysv/linux/configure: Regenerated.
24719         * nptl/Makefile (routines): Add libc_pthread_init,
24720         libc_multiple_threads, register-atfork and unregister-atfork.
24721         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24722         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24723         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24724         pthread-pi-defines.sym, structsem.sym.
24725         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24726         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24727         [$(subdir) = nptl] (tests): Add tst-setgetname.
24728         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24729         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24730         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24731         [!LIBC_SIGACTION]: Remove aliases.
24732         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24733         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24734         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24735         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24736         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24737         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24738         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24739         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24740         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24741         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24742         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24743         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24744         __libc_allocate_rtsig_private.
24745         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24746         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24747         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24748         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24749         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24750         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24751         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24752         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24753         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24754         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24755         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24756         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24757         * nptl/internaltypes.h: ... here.
24758         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24759         * sysdeps/nptl/jmp-unwind.c: ... here.
24760         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24761         * nptl/libc-lowlevellock.c: ... here.
24762         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24763         * nptl/libc_multiple_threads.c: ... here.
24764         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24765         * nptl/libc_pthread_init.c: ... here.
24766         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24767         * nptl/lowlevelbarrier.sym: ... here.
24768         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24769         * nptl/lowlevelcond.sym: ... here.
24770         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24771         * nptl/lowlevellock.c: ... here.
24772         * nptl/lowlevellock.h: Moved ...
24773         * sysdeps/nptl/lowlevellock.h: ... here.
24774         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24775         * nptl/lowlevelrobustlock.c: ... here.
24776         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24777         * nptl/lowlevelrobustlock.sym: ... here.
24778         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24779         * nptl/lowlevelrwlock.sym: ... here.
24780         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24781         * nptl/pt-fork.c: ... here.
24782         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24783         * nptl/pthread-pi-defines.sym: ... here.
24784         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24785         * nptl/pthread_attr_getaffinity.c: ... here.
24786         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24787         * nptl/pthread_attr_setaffinity.c: ... here.
24788         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24789         * nptl/pthread_mutex_cond_lock.c: ... here.
24790         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24791         Update #include.
24792         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24793         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24794         * nptl/pthread_once.c: ... here, replacing old file.
24795         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24796         * nptl/pthread_yield.c: ... here.
24797         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24798         * nptl/register-atfork.c: ... here.
24799         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24800         * nptl/sem_post.c: ... here.
24801         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24802         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24803         * nptl/sem_timedwait.c: ... here.
24804         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24805         * nptl/sem_trywait.c: ... here.
24806         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24807         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24808         * nptl/sem_wait.c: ... here.
24809         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24810         * nptl/structsem.sym: ... here.
24811         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24812         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24813         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24814         * nptl/unregister-atfork.c: ... here.
24815         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24816         * nptl/unwindbuf.sym: ... here.
24817         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24818         * sysdeps/nptl/fork.c: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24820         * sysdeps/nptl/fork.h: ... here.
24821         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24822         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24823         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24824         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24825         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24826         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24827         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24828         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24829         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24830         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24831         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24832         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24833         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24834         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24835         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24836         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24837         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24838         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24839         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24840         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24841         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24842         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24843         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24844         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24845         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24846         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24847         * sysdeps/unix/sysv/linux/raise.c: ... here.
24848         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24849         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24850         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24851         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24852         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24853         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24854         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24855         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24856         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24857         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24859         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24860         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24861         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24862         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24864 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866         * sysdeps/generic/memcopy.h: Add comment for
24867         MEMCPY_OK_FOR_FWD_MEMMOVE.
24869 2014-07-04  Will Newton  <will.newton@linaro.org>
24871         * string/memchr.c: Merge from gnulib.
24872         [_LIBC]: Remove conditionals.
24873         (__ptr_t): Remove define.
24874         (LONG_MAX_32_BITS): Likewise.
24875         (LONG_MAX): Likewise.
24876         (MEMCHR): Use ANSI prototype and optimize algorithm.
24878         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24880 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24882         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24883         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24885         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24886         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24887         in a bare environment with no <stdlib.h> installed.
24888         * sysdeps/nptl/configure: Regenerated.
24890         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24892         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24893         AC_EGREP_CPP for kernel header checks, so they only succeed if
24894         including <linux/version.h> actually works right.
24895         * sysdeps/unix/sysv/linux/configure: Regenerated.
24897         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24898         value so it's not diagnosed as unused.
24900         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24901         thing) with "ifeq ($(subdir),rt)".
24903 2014-07-03  Richard Henderson  <rth@redhat.com>
24905         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24906         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24907         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24909         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24910         (math_force_eval): New.
24912         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24913         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24915         * sysdeps/alpha/fpu/s_round.c: Remove file.
24916         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24918         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24919         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24920         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24921         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24922         (_dl_start, print_statistics): Likewise.
24923         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24924         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24926         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24927         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24928         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24929         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24931         (HP_SMALL_TIMING_AVAIL): Define.
24932         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24933         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24934         (HP_SMALL_TIMING_AVAIL): Define.
24935         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24936         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24938         * sysdeps/aarch64/hp-timing.h: New file.
24940         * sysdeps/generic/hp-timing.h: Remove dead comment.
24941         * sysdeps/generic/hp-timing-common.h: New file.
24942         * sysdeps/alpha/hp-timing.h: Include it.
24943         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24944         * sysdeps/i386/i686/hp-timing.h: Likewise.
24945         * sysdeps/ia64/hp-timing.h: Likewise.
24946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24947         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24948         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24949         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24950         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24951         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24952         (hp_timing_t): New.
24954         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24955         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24956         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24957         * elf/rtld.c (_dl_start_final): Likewise.
24958         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24959         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24960         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24961         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24962         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24964         (HP_TIMING_DIFF_INIT): Remove.
24965         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24966         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24967         (HP_TIMING_DIFF_INIT): Remove.
24968         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24969         * sysdeps/i386/i686/hp-timing.c: Remove file.
24970         * sysdeps/x86_64/hp-timing.c: Remove file.
24971         * sysdeps/ia64/hp-timing.c: Remove file.
24972         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24973         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24975         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24977         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24978         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24979         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24980         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24981         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24982         (HP_TIMING_ACCUM): Remove.
24983         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24984         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24985         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24987         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24988         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24989         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24990         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24992         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24993         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24994         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24996         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24998 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25000         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25002 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25004         Sync up with gettext.
25005         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25006         [_MSC_VER]: Include malloc.h
25007         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25008         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25009         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25010         TEMP_FAILURE_RETRY.  Cast return of alloca.
25011         [!_LIBC] Call gl_rwlock_init.
25012         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25014 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25016         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25017         before checking its value.
25019 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25023         * debug/memcpy_chk.c: Don't include pagecopy.h.
25024         * debug/mempcpy_chk.c: Likewise.
25025         * string/memcpy.c: Likewise.
25026         * string/memmove.c: Likewise.
25027         * sysdeps/powerpc/memmove.c: Likewise.
25028         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25029         definition of PAGE_COPY_FWD_MAYBE here...
25030         * sysdeps/generic/pagecopy.h: ... from here.
25031         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25033 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25036         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25038         optimizations.
25039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25040         (__libc_ifunc_impl_list): Likewise.
25041         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25042         multiarch strcat for PPC64.
25043         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25044         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25046 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25048         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25050 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25052         * intl/loadmsgcat.c: Remove declaration of
25053         get_sysdep_segment_value.
25054         (get_sysdep_segment_value): Use ISO C style.
25055         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25056         semicolon.  Fix typo and formatting in comment.
25057         (_nl_unload_domain): Use ISO C style.
25059         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25061 2014-07-02  Will Newton  <will.newton@linaro.org>
25063         * malloc/obstack.c: Merge from gnulib master.
25064         [HAVE_CONFIG_H]: Remove conditional code.
25065         [!_LIBC]: Include config.h.
25066         [!ELIDE_CODE]: Don't include inttypes.h, include
25067         stdint.h unconditionally.
25068         (print_and_abort): Mark as _Noreturn.
25069         (_obstack_allocated_p): Mark as __attribute_pure__.
25070         (obstack_free): Rename to __obstack_free.
25071         [!__attribute__]: Remove conditional code.
25072         * malloc/obstack.h: Merge from gnulib master.
25073         [__cplusplus]: Move conditional down.
25074         [!__attribute_pure__]: Define __attribute_pure__ here
25075         if it is not already defined.
25076         (_obstack_memory_used): Mark as __attribute_pure__.
25077         [!__obstack_free]: Define as obstack_free.
25078         [__GNUC__]: Remove check for ancient NeXT gcc.
25080 2014-07-02  Will Newton  <will.newton@linaro.org>
25081             Paul Eggert  <eggert@cs.ucla.edu>
25083         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25085 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25087         * resolv/gethnamaddr.c: Add comment warning that the file is
25088         not maintained.
25090 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25092         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25093         entries.
25095         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25096         entry for aio_cancel and aio_cancel64.
25097         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25098         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25099         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25100         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25101         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25102         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25103         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25104         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25105         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25106         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25107         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25108         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25109         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25111 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25113         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25114         * nptl/pthread_mutex_lock.c: Likewise.
25115         * nptl/pthread_mutex_timedlock.c: Likewise.
25116         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25118 2014-07-01  Richard henderson  <rth@redhat.com>
25120         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25121         (__isnan, __isnanl): Remove.
25122         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25124         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25126 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25128         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25130 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25132         * resolv/nss_dns/dns-host.c (getanswer_r)
25133         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25135 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25138         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25139         undefine.
25140         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25141         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25143 2014-07-01  Roland McGrath <roland@hack.frob.com>
25145         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25146         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25148         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25149         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25151         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25152         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25153         ... here.
25154         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25155         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25157         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25158         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25159         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25160         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25162         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25163         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25164         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25165         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25166         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25167         Moved ...
25168         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25169         ... here.
25170         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25171         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25172         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25173         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25174         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25175         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25176         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25177         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25178         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25179         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25180         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25181         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25182         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25183         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25184         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25185         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25186         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25187         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25188         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25189         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25190         ... here.
25191         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25192         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25193         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25194         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25196         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25197         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25198         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25200 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25202         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25203         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25204         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25205         Add sysdep.
25207 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25211 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25213         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25214         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25216         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25218         * sysdeps/arm/libm-test-ulps: Regenerated.
25220 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25221             Roland McGrath <roland@hack.frob.com>
25223         * test-skeleton.c (signal_handler): Kill the whole process group
25224         before killing the child individually.
25225         (main): Report any failure on `setpgid'.
25227 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25229         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25230         from _TLS_H to _ARM_NPTL_TLS_H.
25231         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25232         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25234 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25236         [BZ #16539]
25237         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25238         (__expm1l): Return argument unchanged when small but not
25239         subnormal.
25241         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25242         include macro name.
25243         (_FP_UNPACK_RAW_1_P): Likewise.
25244         (_FP_PACK_RAW_1): Likewise.
25245         (_FP_PACK_RAW_1_P): Likewise.
25246         (_FP_MUL_MEAT_1_wide): Likewise.
25247         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25248         (_FP_MUL_MEAT_1_hard): Likewise.
25249         (_FP_DIV_MEAT_1_imm): Likewise.
25250         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25251         (_FP_DIV_MEAT_1_udiv): Likewise.
25252         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25253         (_FP_UNPACK_RAW_2): Likewise.
25254         (_FP_UNPACK_RAW_2_P): Likewise.
25255         (_FP_PACK_RAW_2): Likewise.
25256         (_FP_PACK_RAW_2_P): Likewise.
25257         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25258         (_FP_MUL_MEAT_2_wide): Likewise.
25259         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25260         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25261         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25262         (_FP_MUL_MEAT_2_gmp): Likewise.
25263         (_FP_DIV_MEAT_2_udiv): Likewise.
25264         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25265         (_FP_FRAC_SRL_4): Likewise.
25266         (_FP_FRAC_SRST_4): Likewise.
25267         (_FP_FRAC_SRS_4): Likewise.
25268         (_FP_UNPACK_RAW_4): Likewise.
25269         (_FP_UNPACK_RAW_4_P): Likewise.
25270         (_FP_PACK_RAW_4): Likewise.
25271         (_FP_PACK_RAW_4_P): Likewise.
25272         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25273         (_FP_MUL_MEAT_4_wide): Likewise.
25274         (_FP_MUL_MEAT_4_gmp): Likewise.
25275         (umul_ppppmnnn): Likewise.
25276         (_FP_DIV_MEAT_4_udiv): Likewise.
25277         (__FP_FRAC_ADD_4): Likewise.
25278         (__FP_FRAC_SUB_3): Likewise.
25279         (__FP_FRAC_SUB_4): Likewise.
25280         (__FP_FRAC_DEC_3): Likewise.
25281         (__FP_FRAC_DEC_4): Likewise.
25282         (__FP_FRAC_ADDI_4): Likewise.
25283         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25284         (_FP_FRAC_SRL_8): Likewise.
25285         (_FP_FRAC_SRS_8): Likewise.
25287         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25288         include macro name.
25289         (FP_UNPACK_RAW_EP): Likewise.
25290         (FP_PACK_RAW_E): Likewise.
25291         (FP_PACK_RAW_EP): Likewise.
25292         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25293         (_FP_ISSIGNAN): Likewise.
25294         (_FP_ADD_INTERNAL): Likewise.
25295         (_FP_FMA): Likewise.
25296         (_FP_CMP): Likewise.
25297         (_FP_SQRT): Likewise.
25298         (_FP_TO_INT): Likewise.
25299         (_FP_FROM_INT): Likewise.
25300         (FP_EXTEND): Likewise.
25301         (_FP_DIV_MEAT_N_loop): Likewise.
25303 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25305         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25306         throughout.
25308 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25310         [BZ #17097]
25311         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25312         result with correct sign in case of exponents that produce
25313         overflow except for X very close to 1.
25315 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25317         mktime: merge #if/#ifdef usage from glibc
25318         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25319         as that works with both Glibc's and Gnulib's style.
25320         See thread starting at Siddhesh Poyarekar's bug report at:
25321         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25323 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25325         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25326         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25327         * sysdeps/tile/tilegx/memmove.c: Remove file.
25329 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25331         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25332         abi-name definition.
25333         * scripts/soversions.awk: Do not handle or generate ABI lines.
25334         * shlib-versions: Remove ABI entries.
25335         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25336         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25338 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25341         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25343         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25345         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25347         Moved ...
25348         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25349         ... here.
25350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25351         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25353         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25355         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25357         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25361         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25363         Moved ...
25364         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25370         Moved ...
25371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25373         Moved ...
25374         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25378         Moved ...
25379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25381         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25383         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25385         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25387         Moved ...
25388         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25390         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25391         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25392         Moved ...
25393         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25395         Moved ...
25396         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25397         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25398         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25400         Moved ...
25401         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25402         ... here.
25403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25404         Identical file removed.
25405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25406         Moved ...
25407         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25409         Identical file removed.
25410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25411         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25413         Moved ...
25414         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25416         Identical file removed.
25417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25418         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25420         Identical file removed.
25421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25422         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25424         Identical file removed.
25425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25426         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25428         Identical file removed.
25429         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25430         Moved ...
25431         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25433         Identical file removed.
25434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25435         Moved ...
25436         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25438         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25440         Identical file removed.
25441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25442         Moved ...
25443         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25444         ... here.
25445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25446         Identical file removed.
25447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25448         Moved ...
25449         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25451         Identical file removed.
25452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25453         Moved ...
25454         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25455         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25456         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25460         Moved ...
25461         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25462         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25463         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25465         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25466         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25467         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25468         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25469         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25471 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25473         [BZ #17092]
25474         * nscd/nscd.c (monitor_child): Return exit status of child
25475         instead of return value from wait syscall.
25477 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25479         * configure.ac (libc_commonpagesize): Remove variable.
25480         (libc_relro_required): Likewise.
25481         (libc_cv_z_relro): Remove configure test.
25482         * configure: Regenerated.
25483         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25484         variable.
25485         (libc_relro_required): Likewise.
25486         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25487         (libc_relro_required): Likewise.
25488         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25489         (libc_relro_required): Likewise.
25490         * sysdeps/arm/preconfigure: Regenerated.
25491         * sysdeps/ia64/preconfigure: Remove file.
25492         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25493         variable.
25494         (libc_relro_required): Likewise.
25496         [BZ #16561]
25497         [BZ #16562]
25498         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25499         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25500         recompute overflowing results in original rounding mode.
25501         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25502         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25503         recompute overflowing results in original rounding mode.
25504         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25505         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25506         recompute overflowing results in original rounding mode.
25507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25508         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25509         recompute overflowing results in original rounding mode.
25510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25511         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25512         recompute overflowing results in original rounding mode.
25513         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25514         (libc_feholdsetround_ctx): New macro.
25515         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25516         * sysdeps/i386/fpu/libm-test-ulps: Update.
25517         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25519 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25521         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25522         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25523         corresponding .cpsetup call.
25525 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25527         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25528         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25529         * sysdeps/arm/Makefile [$(subdir) = csu]
25530         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25531         (static-only-routines): Add aeabi_read_tp here.
25532         (shared-only-routines): Add libc-aeabi_read_tp here.
25533         (CFLAGS-libc-start.c): Add -fexceptions here.
25534         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25535         (sysdep_routines, static-only-routines, shared-only-routines):
25536         Don't add to these here.
25537         (CFLAGS-libc-start.c): Likewise.
25539         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25540         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25541         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25542         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25543         * sysdeps/arm/Makefile [$(subdir) = rt]
25544         (librt-sysdep_routines, librt-shared-only-routines):
25545         Append rt-aeabi_unwind_cpp_pr1 here.
25546         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25547         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25548         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25549         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25550         Append nptl-aeabi_unwind_cpp_pr1 here.
25551         (tests): Filter out tst-cleanupx4 here.
25552         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25553         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25554         Don't do those here.
25556 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25558         * scripts/list-sources.sh: Do not handle ports specially.
25560 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25562         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25563         * sysdeps/arm/feupdateenv.c: Likewise.
25565         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25567 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25569         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25570         trailing whitespace removed.
25571         * scripts/config.guess: Update to version 2014-03-23.
25572         * scripts/config.sub: Update to version 2014-05-01
25573         * scripts/install-sh: Update to version 2013-12-25.23.
25574         * scripts/move-if-change: Update from gnulib.
25576 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25578         * debug/memmove_chk.c: Remove pagecopy.h include.
25580 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25582         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25583         identical to gnulib mktime.
25585 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25587         * configure.ac: Do not test for machine being rs6000.  Do not test
25588         for powerpc*-*soft.
25589         * configure: Regenerated.
25591         [BZ #11505]
25592         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25593         test.
25594         * configure: Regenerated.
25595         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25596         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25597         Remove configure test.
25598         * sysdeps/arm/configure: Regenerated.
25599         * sysdeps/nptl/configure.ac: Do not check
25600         libc_cv_asm_cfi_directives.
25601         * sysdeps/nptl/configure: Regenerated.
25602         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25603         * sysdeps/x86_64/nptl/configure: Remove generated file.
25604         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25605         unconditional.
25606         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25608 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25610         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25611         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25612         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25613         it is defined.
25615         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25616         instead of whether it is defined.
25617         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25618         * sysdeps/hppa/dl-machine.h: Likewise.
25619         * sysdeps/ia64/dl-machine.h: Likewise.
25620         * sysdeps/m68k/dl-machine.h: Likewise.
25621         * sysdeps/microblaze/dl-machine.h: Likewise.
25622         * sysdeps/mips/dl-machine.: Likewise.
25623         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25625         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25626         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25627         * sysdeps/sh/dl-machine.h: Likewise.
25628         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25629         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25630         * sysdeps/tile/dl-machine.h: Likewise.
25631         * sysdeps/x86_64/dl-machine.h: Likewise.
25633         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25634         code.
25635         (verify_persistent_db): Likewise.
25637 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25640         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25642         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25644         Moved ...
25645         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25646         ... here.
25647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25648         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25650         Identical file removed.
25651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25652         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25654         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25656         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25658         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25660         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25662         Moved ...
25663         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25665         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25667         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25669         Moved ...
25670         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25672         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25674         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25676         Identical file removed.
25677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25678         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25680         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25682         Moved ...
25683         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25684         ... here.
25685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25686         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25688         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25690         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25692         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25694         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25696         Moved ...
25697         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25699         Moved ...
25700         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25702         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25704         Moved ...
25705         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25707         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25709         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25710         folded into ...
25711         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25712         * sysdeps/unix/sysv/linux/s390/Versions
25713         (libpthread: GLIBC_2.19): New version set.
25714         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25715         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25716         (librt: GLIBC_2.3.3): New version set.
25717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25718         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25719         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25721         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25722         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25723         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25724         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25725         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25726         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25727         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25728         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25729         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25730         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25731         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25732         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25733         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25734         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25735         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25736         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25737         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25738         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25739         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25743         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25747         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25748         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25753         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25764         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25765         (__libc_vfork): Define the function under this name.
25766         [!NOT_IN_libc] (__vfork): Make this an alias.
25767         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25769         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25770         (__libc_vfork): Define the function under this name.
25771         [!NOT_IN_libc] (__vfork): Make this an alias.
25772         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25773         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25774         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25777         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25779         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25780         code that was previously under [RESET_PID].
25781         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25782         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25785         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25786         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25788         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25789         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25790         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25791         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25792         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25793         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25794         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25795         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25796         Moved ...
25797         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25798         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25799         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25800         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25801         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25802         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25803         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25804         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25805         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25806         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25807         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25808         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25809         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25810         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25811         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25812         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25813         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25814         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25815         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25816         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25817         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25818         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25819         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25820         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25821         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25822         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25823         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25824         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25825         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25827 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25829         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25830         that was previously under [RESET_PID].
25831         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25833 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25835         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25836         not undefine and redefine.
25837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25838         [O_CLOEXEC]: Make code unconditional.
25839         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25840         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25841         <kernel-features.h>.
25842         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25843         conditional variable definition.
25844         (shm_open) [O_CLOEXEC]: Make code unconditional.
25845         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25846         code.
25848         * configure.ac (USE_REGPARMS): Don't define here.
25849         * configure: Regenerated.
25850         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25851         * sysdeps/i386/configure: Regenerated.
25853         * nptl/createthread.c: Don't include kernel-features.h.
25854         * nptl/pthread_cancel.c: Likewise.
25855         * nptl/pthread_condattr_setclock.c: Likewise.
25856         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25857         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25858         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25859         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25860         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25861         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25862         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25865         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25866         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25867         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25868         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25869         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25870         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25871         * nscd/gai.c: Likewise.
25872         * nss/nss_db/db-open.c: Likewise.
25873         * sysdeps/generic/ldsodefs.h: Likewise.
25874         * sysdeps/sh/nptl/tls.h: Likewise.
25875         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25876         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25877         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25878         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25879         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25880         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25881         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25882         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25884         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25885         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25886         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25887         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25888         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25889         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25890         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25891         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25892         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25893         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25894         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25895         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25897         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25898         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25903         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25904         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25905         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25906         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25907         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25908         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25909         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25910         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25911         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25912         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25913         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25914         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25915         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25916         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25917         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25918         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25919         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25920         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25921         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25922         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25923         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25924         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25925         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25926         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25927         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25928         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25929         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25930         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25931         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25932         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25955         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25956         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25957         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25958         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25959         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25960         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25961         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25962         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25963         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25964         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25965         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25966         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25967         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25968         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25969         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25970         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25971         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25972         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25973         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25974         * sysdeps/unix/sysv/linux/system.c: Likewise.
25975         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25976         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25977         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25978         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25979         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25980         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25981         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25983         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25984         * configure: Regenerated.
25985         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25987         * configure.ac (base_machine): Do not set specially for particular
25988         machines here.
25989         * configure: Regenerated.
25990         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25991         settings from configure.ac.
25992         * sysdeps/i386/preconfigure: New file.
25993         * sysdeps/s390/preconfigure: Likewise.
25994         * sysdeps/sh/preconfigure: Likewise.
25995         * sysdeps/sparc/preconfigure: Likewise.
25997 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25999         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26000         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26001         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26002         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26003         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26004         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26005         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26006         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26007         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26008         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26009         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26010         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26011         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26012         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26013         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26014         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26015         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26016         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26017         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26019         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26020         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26021         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26022         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26023         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26024         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26025         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26026         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26027         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26028         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26029         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26030         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26031         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26032         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26033         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26034         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26035         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26036         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26037         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26038         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26040         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26042         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26046         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26049         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26050         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26052         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26054         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26056         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26059         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26061         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26063         Moved ...
26064         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26065         ... here.
26066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26067         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26069         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26071         Moved ...
26072         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26074         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26076         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26078         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26080         Moved ...
26081         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26083         Moved ...
26084         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26086         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26088         Moved ...
26089         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26091         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26093         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26095         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26099         Moved ...
26100         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26101         ... here.
26102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26107         Moved ...
26108         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26110         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26112         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26114         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26116         Moved ...
26117         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26119         Moved ...
26120         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26122         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26124         Moved ...
26125         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26127         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26129         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26131 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26133         * timezone/checktab.awk: Update from tzcode 2014e.
26134         * timezone/private.h: Likewise.
26135         * timezone/tzfile.h: Likewise.
26136         * timezone/zdump.c: Likewise.
26137         * timezone/zic.c: Likewise.
26139         * sysdeps/unix/sysv/linux/kernel-features.h
26140         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26141         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26142         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26143         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26144         Remove conditional code.
26146 2014-06-25  Will Newton  <will.newton@linaro.org>
26148         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26149         (_dl_arm_cap_flags): Add HWCAP2 values.
26150         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26151         (_DL_HWCAP_COUNT): Increase to 37.
26152         (_DL_HWCAP_LAST): New define.
26153         (_DL_HWCAP2_LAST): New define.
26154         (_dl_procinfo): Add support for printing
26155         AT_HWCAP2 entries.
26156         (_dl_string_hwcap): Use _dl_hwcap_string.
26158 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26162 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26164         * README: Do not mention ports directory.
26166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26167         Remove macro.
26168         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26169         <kernel-features.h>.
26170         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26171         conditional variable definition.
26172         (__futimes): Update comment.
26173         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26174         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26176         [BZ #16560]
26177         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26178         arguments close to 0.
26179         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26180         Likewise.
26181         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26182         Likewise.
26183         * math/auto-libm-test-in: Add more tests of exp10.
26184         * math/auto-libm-test-out: Regenerated.
26185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26187         * sysdeps/unix/sysv/linux/kernel-features.h
26188         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26189         * sysdeps/unix/sysv/linux/readv.c: Do not include
26190         <kernel-features.h>.
26191         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26192         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26193         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26194         unconditional.
26195         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26196         conditional code.
26197         * sysdeps/unix/sysv/linux/writev.c: Do not include
26198         <kernel-features.h>.
26199         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26200         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26201         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26202         unconditional.
26203         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26204         conditional code.
26206 2014-06-25  Will Newton  <will.newton@linaro.org>
26208         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26209         comment changes throughout the file.  Remove checks
26210         for HAVE_*_H definitions that are not required.
26211         (__gen_tempname): Call abort if an unknown kind value is
26212         passed.
26214 2014-06-25  Andreas Schwab  <schwab@suse.de>
26216         [BZ #17086]
26217         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26218         scalbln, scalblnf, scalblnl in libc.
26220 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26222         [BZ #17086]
26223         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26224         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26225         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26227 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26229         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26230         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26231         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26232         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26233         Update #include.
26234         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26235         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26236         Update #include.
26237         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26238         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26239         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26240         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26241         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26242         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26243         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26244         * sysdeps/x86/bits/semaphore.h: ... here.
26245         * sysdeps/x86/nptl/elide.h: Moved ...
26246         * sysdeps/x86/elide.h: ... here.
26247         * sysdeps/x86_64/nptl/Implies: File removed.
26248         * sysdeps/i386/nptl/Implies: File removed.
26250 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26252         [BZ #16539]
26253         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26254         return the argument for normal arguments with exponent below -64.
26255         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26256         Likewise.
26257         * math/auto-libm-test-in: Add another test of expm1.
26258         * math/auto-libm-test-out: Regenerated.
26260         [BZ #16287]
26261         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26262         calling __erfcl for arguments at least 16.
26263         * math/auto-libm-test-in: Add more tests of erf.
26264         * math/auto-libm-test-out: Regenerated.
26266         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26267         individual architectures.
26268         * sysdeps/unix/sysv/linux/configure: Regenerated.
26269         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26270         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26271         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26272         (ldd_rewrite_script): Define variable.
26273         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26275         file.
26276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26277         generated file.
26278         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26279         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26280         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26281         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26282         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26283         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26284         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26285         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26287 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         [BZ #17084]
26290         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26291         Rename member __data.d to __data.__elision_data.
26293 2014-06-24  Wilco  <wdijkstr@arm.com>
26295         * NEWS: Add 16918 to fixed bug list.
26297 2014-06-24  Wilco  <wdijkstr@arm.com>
26299         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26301 2014-06-24  Wilco  <wdijkstr@arm.com>
26303         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26304         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26305         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26306         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26307         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26308         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26309         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26310         Use _FPU_MASK_RM.
26312 2014-06-24  Wilco  <wdijkstr@arm.com>
26314         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26316 2014-06-24  Wilco  <wdijkstr@arm.com>
26318         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26319         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26320         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26321         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26323 2014-06-24  Wilco  <wdijkstr@arm.com>
26325         [BZ #16918]
26326         * sysdeps/arm/feupdateenv.c (feupdateenv):
26327         Rewrite to reduce FPSCR accesses and fix return value.
26329 2014-06-24  Wilco  <wdijkstr@arm.com>
26331         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26332         Optimize to avoid unnecessary FPSCR writes.
26333         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26334         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26335         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26336         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26338 2014-06-24  Wilco  <wdijkstr@arm.com>
26340         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26341         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26342         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26343         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26344         Call libc_fetestexcept_vfp.
26345         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26346         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26347         __SOFTFP__ ifdef so that they can be built for softfp.
26349 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26351         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26352         argument type signed char.
26354         * Makerules (check-abi): Dump diff of symlist if the test
26355         fails.
26357 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26359         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26360         using abort.
26362         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26363         Remove unused variable ST.
26365 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26367         [BZ #16354]
26368         [BZ #17061]
26369         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26370         small arguments before calling __expm1.
26371         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26372         small arguments before calling __expm1f.
26373         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26374         small arguments before calling __expm1l.
26375         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26376         Likewise.
26377         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26378         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26379         spurious underflow for some cosh tests.
26380         * math/auto-libm-test-out: Regenerated.
26381         * sysdeps/i386/fpu/libm-test-ulps: Update.
26383         [BZ #17050]
26384         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26385         (__ieee754_y1): Set errno if return value overflows.
26386         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26387         (__ieee754_y1f): Set errno if return value overflows.
26388         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26389         (__ieee754_y1l): Set errno if return value overflows.
26390         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26391         (__ieee754_y1l): Set errno if return value overflows.
26392         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26393         * math/auto-libm-test-out: Regenerated.
26395         * math/gen-auto-libm-tests.c: Document use of
26396         ignore-zero-inf-sign.
26397         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26398         (input_flags): Add ignore-zero-inf-sign.
26399         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26400         * math/gen-libm-test.pl (generate_testfile): Handle
26401         ignore-zero-inf-sign.
26402         * math/auto-libm-test-in: Mark some cpow tests with
26403         ignore-zero-inf-sign and some with xfail-rounding.
26404         * math/auto-libm-test-out: Regenerated.
26405         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26406         * sysdeps/i386/fpu/libm-test-ulps: Update.
26407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409         [BZ #16315]
26410         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26411         overflowing or underflowing operations take place with sign of
26412         result.
26413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26414         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26415         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26416         (__ieee754_pow): Recompute overflowing and underflowing results in
26417         original rounding mode.
26418         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26419         (__powl_helper): Allow negative argument X and scale negated value
26420         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26421         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26422         overflowing or underflowing operations take place with sign of
26423         result.
26424         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26425         Include <math.h>.
26426         * math/auto-libm-test-in: Add more tests of pow.
26427         * math/auto-libm-test-out: Regenerated.
26428         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26429         (pow_tonearest_test_data): Remove.
26430         (pow_test_tonearest): Likewise.
26431         (pow_towardzero_test_data): Likewise.
26432         (pow_test_towardzero): Likewise.
26433         (pow_downward_test_data): Likewise.
26434         (pow_test_downward): Likewise.
26435         (pow_upward_test_data): Likewise.
26436         (pow_test_upward): Likewise.
26437         (main): Don't call removed functions.
26438         * sysdeps/i386/fpu/libm-test-ulps: Update.
26439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26444         Moved ...
26445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26447         Moved ...
26448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26450         Moved ...
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26453         Moved ...
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26456         File removed.
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26458         File removed.
26459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26460         File removed.
26461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26462         File removed.
26463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26464         File removed.
26465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26466         File removed.
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26468         File removed.
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26470         File removed.
26471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26472         File removed.
26473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26474         File removed.
26475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26476         File removed.
26477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26478         File removed.
26479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26480         Moved ...
26481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26483         Moved ...
26484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26485         ... here.
26486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26487         Moved ...
26488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26490         Moved ...
26491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26493         Moved ...
26494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26496         Moved ...
26497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26499         Moved ...
26500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26502         Moved ...
26503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26505         Moved ...
26506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26509         ... here.
26510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26511         Moved ...
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26514         Moved ...
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26516         ... here.
26517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26518         Moved ...
26519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26520         ... here.
26521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26522         Moved ...
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26524         ... here.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26526         Moved ...
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26529         Moved ...
26530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26534         Moved ...
26535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26536         ... here.
26537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26538         Moved ...
26539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26540         ... here.
26541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26542         Moved ...
26543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26545         Moved ...
26546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26548         Moved ...
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26551         Moved ...
26552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26554         Moved ...
26555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26556         ... here.
26557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26558         Moved ...
26559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26561         Moved ...
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26564         Moved ...
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26567         Moved ...
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26572         Moved ...
26573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26575         Moved ...
26576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26578         Moved ...
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26580         ... here.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26582         Moved ...
26583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26584         ... here.
26585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26586         Moved ...
26587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26588         ... here.
26589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26590         Moved ...
26591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26593         Moved ...
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26596         Moved ...
26597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26599         Moved ...
26600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26601         ... here.
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26603         Moved ...
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26605         ... here.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26607         Moved ...
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26609         ... here.
26610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26611         Moved ...
26612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26614         Moved ...
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26617 2014-06-23  Will Newton  <will.newton@linaro.org>
26618             Wilco  <wdijkstr@arm.com>
26620         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26621         implementation.  Include get-rounding-mode.h.
26622         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26623         [!libc_feholdsetround_noex_ctx]: Define
26624         libc_feholdsetround_noex_ctx.
26625         [!libc_feholdsetround_noexf_ctx]: Define
26626         libc_feholdsetround_noexf_ctx.
26627         [!libc_feholdsetround_noexl_ctx]: Define
26628         libc_feholdsetround_noexl_ctx.
26629         (libc_feholdsetround_ctx): New function.
26630         (libc_feresetround_ctx): New function.
26631         (libc_feholdsetround_noex_ctx): New function.
26632         (libc_feresetround_noex_ctx): New function.
26634 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26636         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26637         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26638         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26639         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26640         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26641         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26643         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26644         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26645         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26646         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26647         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26648         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26650         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26652         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26654         Moved ...
26655         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26656         ... here.
26657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26658         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26660         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26662         Moved ...
26663         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26665         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26667         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26669         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26671         Moved ...
26672         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26674         Moved ...
26675         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26677         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26679         Moved ...
26680         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26682         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26684         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26685         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26686         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26688         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26690         Moved ...
26691         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26692         ... here.
26693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26694         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26696         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26698         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26700         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26704         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26706         Moved ...
26707         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26709         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26711         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26713         Moved ...
26714         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26715         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26716         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26717         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26718         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26720         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26721         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26722         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26723         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26724         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26725         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26726         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26727         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26729         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26730         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26735         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26736         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26737         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26738         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26739         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26743         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26744         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26745         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26746         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26747         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26749 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26751         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26752         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26753         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26754         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26755         (IPV6_PMTUDISC_INTERFACE): Likewise.
26756         (IPV6_PMTUDISC_OMIT): Likewise.
26758 2014-06-23  Andreas Schwab  <schwab@suse.de>
26760         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26761         Remove unused errout label.
26763 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26765         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26766         macro: hardware supports Vector Crypto instructions.
26768 2014-06-23  Will Newton  <will.newton@linaro.org>
26770         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26771         rather than __builtin_expect.
26773         * elf/dl-lookup.c (undefined_msg): Remove variable.
26774         (_dl_lookup_symbol_x): Replace undefined_msg with string
26775         literal.
26777         * elf/dl-lookup.c (do_lookup_unique): New function.
26778         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26779         to a separate function.
26781 2014-06-23  Andreas Schwab  <schwab@suse.de>
26783         [BZ #17079]
26784         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26785         before reading the next line.
26787 2014-06-23  Will Newton  <will.newton@linaro.org>
26789         * test-skeleton.c (signal_handler): Use printf and %m
26790         rather than perror.  Use printf rather than fprintf to
26791         stderr.  Use puts rather than fputs to stderr.
26792         (main): Likewise.
26794 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26796         * nscd/nscd.c (thread_info_t): Remove typedef.
26797         (thread_info): Remove variable.
26799 2014-06-21  Allan McRae  <allan@archlinux.org>
26801         * NEWS: Mention CVE-2014-4043.
26803 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26805         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26806         * nptl/smp.h: ... here.
26808         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26810         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26811         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26812         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26813         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26815         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26816         * nptl/stack-aliasing.h: New file.
26817         * sysdeps/i386/i686/stack-aliasing.h: New file.
26818         * sysdeps/i386/i686/nptl/Makefile: File removed.
26819         * sysdeps/x86_64/stack-aliasing.h: New file.
26820         * sysdeps/x86_64/nptl/Makefile
26821         (CFLAGS-pthread_create.c): Variable removed.
26823         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26824         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26825         old file.
26826         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26827         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26828         old file.
26830 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26832         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26833         (__ASSUME_SIGFRAME_V2): Remove macro.
26834         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26835         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26836         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26837         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26838         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26839         Declare as function.  Remove conditional macro definitions.
26840         (__default_rt_sa_restorer): Likewise.
26841         (__default_sa_restorer_v1): Remove declaration.
26842         (__default_sa_restorer_v2): Likewise.
26843         (__default_rt_sa_restorer_v1): Likewise.
26844         (__default_rt_sa_restorer_v2): Likewise.
26845         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26846         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26847         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26849 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26851         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26852         (libpthread-routines): Add sysdep.
26853         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26854         * sysdeps/unix/sysv/linux/sparc/Versions
26855         (libpthread: GLIBC_2.3.3): New version set.
26856         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26857         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26858         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26859         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26860         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26861         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26862         Moved ...
26863         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26865         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26867         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26869         * sysdeps/sparc/nptl/sem_init.c: ... here.
26870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26871         * sysdeps/sparc/nptl/sem_post.c: ... here.
26872         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26873         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26874         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26875         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26876         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26878         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26879         (libpthread-routines): Add cpu_relax.
26880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26881         File removed.
26882         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26883         (librt: GLIBC_2.3.3): New version set.
26884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26885         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26886         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26887         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26890         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26892         Moved ...
26893         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26895         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26897         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26899         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26901         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26903         Moved ...
26904         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26905         Update #include.
26906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26907         Moved ...
26908         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26909         Update #include.
26910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26911         Moved ...
26912         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26913         Update #include.
26914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26915         Moved ...
26916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26917         Update #include.
26918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26919         Moved ...
26920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26921         Update #include.
26922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26923         Moved ...
26924         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26925         Update #include.
26926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26927         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26933         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26937         Moved ...
26938         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26942         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26944 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26946         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26947         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26948         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26949         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26950         * nscd/nscd.c: Likewise.
26951         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26952         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26953         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26954         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26956         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26957         <kernel-features.h>.
26958         (init_mq_netlink): Remove conditional have_sock_cloexec
26959         definitions.  Remove code conditional on have_sock_cloexec < 0.
26960         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26961         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26962         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26963         <kernel-features.h>.
26964         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26965         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26967 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26970         Add tests for memset_chk and memset.
26972         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26973         with AVX2_Usable.
26975 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26977         [BZ #16046]
26978         * elf/tst-dl-iter-static.c: New file.
26979         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26981         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26982         error.
26984 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26986         * sysdeps/unix/sysv/linux/kernel-features.h
26987         (__ASSUME_F_GETOWN_EX): Remove macro.
26988         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26989         <kernel-features.h>.
26990         (miss_F_GETOWN_EX): Remove variable or macro.
26991         (do_fcntl): Do not check miss_F_GETOWN_EX.
26992         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26995         Remove macro.
26996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26997         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26998         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27000         * sysdeps/unix/sysv/linux/kernel-features.h
27001         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27002         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27003         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27004         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27006 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27008         [BZ #17075]
27009         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27010         Fix calculation of the symbol's value.
27011         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27012         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27013         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27014         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27015         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27016         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27017         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27018         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27019         (modules-names): Add `tst-armtlsdescmod',
27020         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27021         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27022         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27023         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27024         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27025         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27026         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27027         ($(objpfx)tst-armtlsdescloc): New dependency.
27028         ($(objpfx)tst-armtlsdescextnow): Likewise.
27029         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27030         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27031         TLS scheme support.
27032         * sysdeps/arm/configure: Regenerate.
27034 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27036         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27037         (__atfct_seterrno_2): Likewise.
27038         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27039         <kernel-features.h>.
27040         (__ASSUME_ATFCTS): Do not undefine and redefine.
27041         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27042         (__have_atfcts): Remove conditional definition.
27043         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27044         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27045         unreachable if [__ASSUME_ATFCTS].
27046         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27047         not undefine and redefine.
27048         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27049         <kernel-features.h>.
27050         (faccessat) [__NR_faccessat]: Make code unconditional.
27051         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27052         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27053         <kernel-features.h>.
27054         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27055         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27056         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27057         <kernel-features.h>.
27058         (fchownat) [__NR_fchownat]: Make code unconditional.
27059         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27060         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27061         <kernel-features.h>.
27062         (futimesat) [__NR_futimesat]: Make code unconditional.
27063         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27064         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27065         <kernel-features.h>.
27066         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27067         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27068         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27069         <kernel-features.h>.
27070         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27071         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27072         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27073         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27074         <kernel-features.h>.
27075         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27076         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27077         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27078         <kernel-features.h>.
27079         (linkat) [__NR_linkat]: Make code unconditional.
27080         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27081         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27082         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27083         <kernel-features.h>.
27084         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27085         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27086         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27087         <kernel-features.h>.
27088         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27089         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27090         * sysdeps/unix/sysv/linux/openat.c: Do not include
27091         <kernel-features.h>.
27092         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27093         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27094         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27095         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27096         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27097         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27098         <kernel-features.h>.
27099         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27100         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27101         result of INLINE_SYSCALL directly, not via int variable.
27102         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27103         <kernel-features.h>.
27104         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27105         (renameat) [__NR_renameat]: Make code unconditional.
27106         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27107         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27108         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27109         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27110         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27111         (__ASSUME_ATFCTS): Do not undefine and redefine.
27112         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27113         <kernel-features.h>.
27114         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27115         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27116         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27117         <kernel-features.h>.
27118         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27119         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27120         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27121         (__ASSUME_ATFCTS): Do not undefine and redefine.
27122         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27123         <kernel-features.h>.
27124         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27125         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27126         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27127         <kernel-features.h>.
27128         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27129         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27131 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27133         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27135 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27137         [BZ #17069]
27138         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27139         constructed tree before returning error.
27140         * posix/bug-regexp36.c: Expand test case.
27142 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27144         [BZ #6803]
27145         * math/libm-test.inc (scalbln_test_date):
27146         Add errno expectations.
27147         * math/w_scalblnf.c: New File.
27148         Add wrapper which checks for setting errno to ERANGE.
27149         Add weak_alias for corresponding scalbln function.
27150         * math/w_scalbln.c: Likewise.
27151         * math/w_scalblnl.c: Likewise.
27152         * math/Makefile (libm-calls): Add w_scalbln.
27153         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27154         Remove weak_alias for corresponding scalbln function.
27155         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27157         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27158         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27159         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27160         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27161         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27162         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27163         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27164         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27165         Remove long_double_symbol for scalblnl function in libm, libc.
27166         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27167         Add wrapper which checks for setting errno to ERANGE.
27168         Add long_double_symbol for scalblnl function in libm, libc.
27169         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27170         Remove long_double_symbol for scalblnl in libm.
27171         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27172         Add wrapper which checks for setting errno to ERANGE.
27173         Add long_double_symbol for scalblnl function in libm.
27174         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27175         Do not use wrapper because of own implementation.
27177 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27179         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27180         3 bytes for __pad1 for x32.
27181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27183 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27184             H.J. Lu  <hongjiu.lu@intel.com>
27186         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27187         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27188         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27189         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27190         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27192 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27194         [BZ #17069]
27195         * posix/regcomp.c (parse_expression): Deallocate partially
27196         constructed tree before returning error.
27197         * posix/Makefile.c (tests): Add bug-regex36.
27198         (generated): Add bug-regex36.mtrace.
27199         (tests-special): Add $(objpfx)bug-regex36-mem.out
27200         (bug-regex36-ENV): New variable.
27201         ($(objpfx)bug-regex36-mem.out): New rule.
27202         * posix/bug-regex36.c: New file.
27204 2014-06-19  Will Newton  <will.newton@linaro.org>
27206         * malloc/malloc.c (systrim): If extra is zero then return
27207         early.
27209 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27213 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27215         * sysdeps/aarch64/strchr.S: New file.
27217 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27219         [BZ #17022]
27220         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27221         from arguments -2 or below.
27222         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27223         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27225 2014-06-18  Andreas Schwab  <schwab@suse.de>
27227         [BZ #17062]
27228         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27229         of a bracket expr not to run off the end of the string.
27230         * posix/Makefile (tests): Add tst-fnmatch3.
27231         * posix/tst-fnmatch3.c: New file.
27233 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27235         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27236         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27237         [$(cross-compiling) = no]: Likewise.
27238         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27239         [$(cross-compiling) = no]: Likewise.
27241 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27243         [BZ #17031]
27244         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27245         double, adjusted for any remainder from the high double.
27246         * math/libm-test.inc (nearbyint): Add tests.
27247         (rint): Likewise.
27249 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27251         * nptl/sysdeps/powerpc/Makefile: Moved ...
27252         * sysdeps/powerpc/nptl/Makefile: ... here.
27253         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27254         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27255         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27256         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27257         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27258         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27259         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27260         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27261         * nptl/sysdeps/powerpc/tls.h: Moved ...
27262         * sysdeps/powerpc/nptl/tls.h: ... here.
27264 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #16681]
27267         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27268         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27269         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27270         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27271         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27272         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27273         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27274         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27275         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27277 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27279         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27281 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27283         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27284         defined operator.
27286         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27287         $TIMEOUTFACTOR.
27289 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27291         [BZ #17058]
27292         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27293         non-executed part of the test.
27295 2014-06-16  Andreas Schwab  <schwab@suse.de>
27297         * string/bits/string2.h (strdup, strndup): Update feature guard.
27299 2014-06-14  David S. Miller  <davem@davemloft.net>
27301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27303 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27305         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27306         that was previously under [RESET_PID].
27307         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27309         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27310         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27311         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27312         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27313         (__libc_vfork): New strong alias.
27314         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27316 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27318         * sysdeps/generic/elide.h: New file.
27320 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27322         * Makefile (installed-headers): Adjust path of pthread.h header.
27324 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27326         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27327         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27328         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27329         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27331         * nptl/sysdeps/s390/Makefile: Moved ...
27332         * sysdeps/s390/nptl/Makefile: ... here.
27333         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27334         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27335         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27336         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27337         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27338         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27339         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27340         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27341         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27342         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27343         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27344         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27345         * nptl/sysdeps/s390/tls.h: Moved ...
27346         * sysdeps/s390/nptl/tls.h: ... here.
27348         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27349         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27351 2014-06-13  David S. Miller  <davem@davemloft.net>
27353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27356         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27360         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27361         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27362         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27363         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27364         Remove RESET_PID cpp guards.
27365         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27366         Remove RESET_PID cpp guards.
27367         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27369 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27371         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27372         __sp to uintptr_t.
27374 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27380         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27387         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27390         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27397         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27398         (pthread_rwlock_rdlock): Add elision.
27399         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27400         (pthread_rwlock_wrlock): Add elision.
27401         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27402         (pthread_rwlock_trywrlock): Add elision.
27403         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27404         (pthread_rwlock_tryrdlock): Add elision.
27405         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27406         (pthread_rwlock_tryrdlock): Add elision unlock.
27407         * nptl/sysdeps/pthread/pthread.h:
27408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27409         (PTHREAD_RWLOCK_INITIALIZER,
27410         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27411         Handle new elision field.
27412         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27413         * sysdeps/arm/nptl/bits/pthreadtypes.h
27414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27415         * sysdeps/sh/nptl/bits/pthreadtypes.h
27416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27417         * sysdeps/tile/nptl/bits/pthreadtypes.h
27418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27419         * sysdeps/a/nptl/bits/pthreadtypes.h
27420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27421         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27423         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27425         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27427         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27429         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27431         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27433         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27435         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27437         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27438         (elision_init): Set try_xbegin to zero when no RTM.
27439         * sysdeps/x86/nptl/bits/pthreadtypes.h
27440         (pthread_rwlock_t): Change __pad1 to __rwelision.
27441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27443 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27445         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27446         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27447         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27448         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27450 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27452         [BZ #16996]
27453         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27454         that the cached result has been set before returning it.
27456 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27458         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27459         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27460         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27461         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27462         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27463         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27465         * nptl/sysdeps/sparc/Makefile: Moved ...
27466         * sysdeps/sparc/nptl/Makefile: ... here.
27467         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27468         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27469         * nptl/sysdeps/sparc/tls.h: Moved ...
27470         * sysdeps/sparc/nptl/tls.h: ... here.
27471         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27472         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27473         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27474         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27475         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27476         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27477         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27478         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27479         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27480         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27481         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27482         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27483         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27484         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27485         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27486         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27487         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27489         Update #include.
27490         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27492         Update #include.
27493         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27495         Update #include.
27496         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27497         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27498         Update #include.
27500         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27502         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27503         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27505         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27506         (struct list_links): Type removed.
27507         (struct thread_node, struct timer_node): Replace struct list_links
27508         with struct list_head.
27509         (list_unlink_ip): Likewise.
27510         * sysdeps/pthread/timer_routines.c
27511         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27512         (list_append, list_insbefore): Likewise.
27513         (list_init): Function removed.
27514         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27515         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27516         * sysdeps/pthread/Makefile: ... here, new file.
27518         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27519         * sysdeps/nptl/Implies: ... here.
27520         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27521         * nptl/sysdeps/pthread/list.h: Moved ...
27522         * include/list.h: ... here.
27523         * nptl/sysdeps/pthread/createthread.c: Moved ...
27524         * nptl/createthread.c: ... here.
27525         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27526         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27527         * nptl/pt-longjmp.c: ... here.
27528         * nptl/sysdeps/pthread/Makefile: Moved ...
27529         * sysdeps/nptl/Makefile: ... here.
27530         * nptl/sysdeps/pthread/Subdirs: Moved ...
27531         * sysdeps/nptl/Subdirs: ... here.
27532         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27533         * sysdeps/nptl/aio_misc.h: ... here.
27534         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27535         * sysdeps/nptl/bits/libc-lock.h: ... here.
27536         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27537         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27538         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27539         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27540         * nptl/sysdeps/pthread/configure: Moved ...
27541         * sysdeps/nptl/configure: ... here.
27542         * nptl/sysdeps/pthread/configure.ac: Moved ...
27543         * sysdeps/nptl/configure.ac: ... here.
27544         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27545         * sysdeps/nptl/gai_misc.h: ... here.
27546         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27547         * sysdeps/nptl/librt-cancellation.c: ... here.
27548         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27549         * sysdeps/nptl/malloc-machine.h: ... here.
27550         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27551         * sysdeps/nptl/pthread-functions.h: ... here.
27552         * nptl/sysdeps/pthread/pthread.h: Moved ...
27553         * sysdeps/nptl/pthread.h: ... here.
27554         * nptl/sysdeps/pthread/setxid.h: Moved ...
27555         * sysdeps/nptl/setxid.h: ... here.
27556         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27557         * sysdeps/nptl/sigfillset.c: ... here.
27558         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27559         * sysdeps/nptl/tcb-offsets.h: ... here.
27560         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27561         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27562         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27563         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27564         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27565         * sysdeps/pthread/allocalim.h: ... here.
27566         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27567         * sysdeps/pthread/bits/sigthread.h: ... here.
27568         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27569         * sysdeps/pthread/flockfile.c: ... here.
27570         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27571         * sysdeps/pthread/ftrylockfile.c: ... here.
27572         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27573         * sysdeps/pthread/funlockfile.c: ... here.
27574         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27575         * sysdeps/pthread/posix-timer.h: ... here.
27576         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27577         * sysdeps/pthread/timer_create.c: ... here.
27578         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27579         * sysdeps/pthread/timer_delete.c: ... here.
27580         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27581         * sysdeps/pthread/timer_getoverr.c: ... here.
27582         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27583         * sysdeps/pthread/timer_gettime.c: ... here.
27584         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27585         * sysdeps/pthread/timer_routines.c: ... here.
27586         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27587         * sysdeps/pthread/timer_settime.c: ... here.
27588         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27589         * sysdeps/pthread/tst-timer.c: ... here.
27590         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27591         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27593         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27594         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27596         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27597         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27598         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27599         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27600         Update #include target.
27601         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27602         * sysdeps/i386/i686/nptl/Makefile: ... here.
27603         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27604         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27605         Update #include target.
27606         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27607         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27608         * nptl/sysdeps/i386/Makefile: Moved ...
27609         * sysdeps/i386/nptl/Makefile: ... here.
27610         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27611         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27612         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27613         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27614         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27615         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27616         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27617         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27618         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27619         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27620         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27621         * nptl/sysdeps/i386/tls.h: Moved ...
27622         * sysdeps/i386/nptl/tls.h: ... here.
27624         * sysdeps/sh/Makefile [$(subdir) = csu]
27625         (gen-as-const-headers): Add tcb-offsets.sym.
27626         * nptl/sysdeps/sh/Makefile: File removed.
27627         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27628         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27629         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27630         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27631         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27632         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27633         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27634         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27635         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27636         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27637         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27638         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27639         * nptl/sysdeps/sh/tls.h: Moved ...
27640         * sysdeps/sh/nptl/tls.h: ... here.
27641         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27642         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27643         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27644         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27646         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27647         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27648         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27649         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27650         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27652         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27654         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27656         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27658         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27660         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27662         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27666         Moved ...
27667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27669         Moved ...
27670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27671         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27675         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27676         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27677         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27678         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27679         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27680         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27681         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27682         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27683         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27684         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27685         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27686         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27687         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27688         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27690 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27692         * posix/spawn_faction_addopen.c: Include string.h.
27694 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27696         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27697         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27698         * nptl/sysdeps/x86_64/Makefile: Moved ...
27699         * sysdeps/x86_64/nptl/Makefile: ... here.
27700         * nptl/sysdeps/x86_64/configure: Moved ...
27701         * sysdeps/x86_64/nptl/configure: ... here.
27702         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27703         * sysdeps/x86_64/nptl/configure.ac: ... here.
27704         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27705         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27706         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27707         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27708         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27709         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27710         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27711         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27712         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27713         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27714         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27715         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27716         * nptl/sysdeps/x86_64/tls.h: Moved ...
27717         * sysdeps/x86_64/nptl/tls.h: ... here.
27718         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27719         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27720         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27721         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27723         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27725 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27729 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27731         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27732         type.
27733         [POSIX] (off_t): Likewise.
27734         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27735         [POSIX] (S_ISBLK): Require macro.
27736         [POSIX] (S_ISCHR): Likewise.
27737         [POSIX] (S_ISDIR): Likewise.
27738         [POSIX] (S_ISFIFO): Likewise.
27739         [POSIX] (S_ISREG): Likewise.
27740         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27741         optional-macro.
27742         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27743         type.
27744         [POSIX] (time_t): Likewise.
27745         [POSIX] (timer_t): Likewise.
27747 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27749         [BZ #17048]
27750         * posix/spawn_int.h (struct __spawn_action): Make the path string
27751         non-const to support deallocation.
27752         * posix/spawn_faction_addopen.c
27753         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27754         * posix/spawn_faction_destroy.c
27755         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27756         path in all spawn_do_open actions.
27757         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27758         posix_spawn_file_actions_addopen.
27760 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27762         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27763         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27764         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27765         conditional code always true.
27766         (__libc_vfork): New alias.
27768 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27770         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27771         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27773         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27775         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27776         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27778         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27779         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27781         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27782         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27784 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27786         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27787         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27788         multiarch strcmp for PPC64.
27789         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27790         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27792         multiarch optimizations.
27793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27794         (__libc_ifunc_impl_list): Likewise.
27796 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27798         * benchtests/scripts/validate_benchout.py: New script.
27799         * benchtests/Makefile (bench-func): Call it.
27800         * benchtests/scripts/benchout.schema.json: New file.
27802 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27804         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27805         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27806         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27807         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27808         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27809         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27810         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27811         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27812         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27813         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27814         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27815         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27816         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27817         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27818         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27819         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27821         Moved ...
27822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27823         ... here.
27824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27825         Moved ...
27826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27828         Moved ...
27829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27830         ... here.
27831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27832         Moved ...
27833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27834         ... here.
27835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27836         Moved ...
27837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27839         Moved ...
27840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27841         ... here.
27842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27843         Moved ...
27844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27845         ... here.
27846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27847         Moved ...
27848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27850         Moved ...
27851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27852         ... here.
27853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27854         Moved ...
27855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27856         ... here.
27857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27858         Moved ...
27859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27860         ... here.
27861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27862         Moved ...
27863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27865         Moved ...
27866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27867         ... here.
27868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27869         Moved ...
27870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27871         ... here.
27872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27873         Moved ...
27874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27875         ... here.
27876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27877         Moved ...
27878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27880         Moved ...
27881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27882         ... here.
27883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27884         Moved ...
27885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27886         ... here.
27887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27888         Moved ...
27889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27891         Moved ...
27892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27893         ... here.
27894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27895         Moved ...
27896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27898         Moved ...
27899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27901         Moved ...
27902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27903         ... here.
27904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27905         Moved ...
27906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27907         ... here.
27908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27909         Moved ...
27910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27911         ... here.
27912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27913         Moved ...
27914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27916         Moved ...
27917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27918         ... here.
27919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27920         Moved ...
27921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27922         ... here.
27923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27924         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27926         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27928         Moved ...
27929         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27930         ... here.
27931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27932         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27934         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27936         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27938         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27940         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27942         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27944         Moved ...
27945         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27950         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27952         Moved ...
27953         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27955         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27956         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27957         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27958         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27959         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27961 2014-06-10  Wilco  <wdijkstr@arm.com>
27963         * math/test-fenv-return.c: New file.
27964         * math/Makefile: Add new test test-fenv-return.
27966 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27968         [BZ #17042]
27969         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27970         when x - 1 is zero.
27971         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27972         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27973         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27974         0.0L for an argument of 1.0L.
27975         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27976         Likewise.
27977         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27978         value when x - 1 is zero.
27979         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27980         * sysdeps/i386/fpu/libm-test-ulps: Update.
27981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27983 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27985         [BZ #15119]
27986         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27988 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27990         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27991         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27993 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27995         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27996         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27998         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27999         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28001         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28002         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28004         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28005         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28007         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28008         if not already defined.
28009         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28010         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28011         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28012         (TLS_INIT_TP): Use it.
28013         (TLS_DEFINE_INIT_TP): New macro.
28014         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28016 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28018         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28019         constant.
28020         [POSIX] (IXANY): Likewise.
28021         [POSIX] (OLCUC): Likewise.
28022         [POSIX || POSIX2008] (CBAUD): Do not allow.
28023         [POSIX || POSIX2008] (DEFECHO): Likewise.
28024         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28025         [POSIX || POSIX2008] (ECHOKE): Likewise.
28026         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28027         [POSIX || POSIX2008] (EXTA): Likewise.
28028         [POSIX || POSIX2008] (EXTB): Likewise.
28029         [POSIX || POSIX2008] (FLUSHO): Likewise.
28030         [POSIX || POSIX2008] (LOBLK): Likewise.
28031         [POSIX || POSIX2008] (PENDIN): Likewise.
28032         [POSIX || POSIX2008] (SWTCH): Likewise.
28033         [POSIX || POSIX2008] (VDISCARD): Likewise.
28034         [POSIX || POSIX2008] (VDSUSP): Likewise.
28035         [POSIX || POSIX2008] (VLNEXT): Likewise.
28036         [POSIX || POSIX2008] (VREPRINT): Likewise.
28037         [POSIX || POSIX2008] (VSTATUS): Likewise.
28038         [POSIX || POSIX2008] (VWERASE): Likewise.
28039         (B*): Change to B[0123456789]*.
28040         * conform/data/time.h-data [POSIX || UNIX98]
28041         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28042         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28043         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28044         [POSIX] (tm_*): Do not allow.
28046 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28048         * Makefile (install): Don't set LANGUAGE.
28049         * Makefile.in (install): Likewise.
28050         * assert/Makefile (test-assert-ENV): Remove variable.
28051         (test-assert-perr-ENV): Likewise.
28052         * elf/Makefile (neededtest4-ENV): Likewise.
28053         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28054         [$(cross-compiling) = no]: Don't set LANGUAGE.
28055         * io/ftwtest-sh (LANG): Remove variable.
28056         * libio/Makefile (tst-widetext-ENV): Likewise.
28057         * manual/install.texi (Running make install): Don't refer to
28058         environment settings for make install.
28059         * INSTALL: Regenerated.
28060         * nptl/tst-tls6.sh: Don't set LANG.
28061         * posix/globtest.sh (LANG): Remove variable.
28062         * string/Makefile (tester-ENV): Likewise.
28063         (inl-tester-ENV): Likewise.
28064         (noinl-tester-ENV): Likewise.
28065         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28066         [$(cross-compiling) = no]: Don't set LANGUAGE.
28067         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28068         without explicit environment settings.
28070 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28072         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28073         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28074         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28075         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28077 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28079         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28080         other files in the crypt directory.
28081         * crypt/crypt.c: Remove duplicate includes.
28082         * crypt/crypt-entry.c: Likewise.
28083         * crypt/crypt_util.c: Likewise.
28085 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28087         * Makeconfig (run-program-env): New variable.
28088         (run-program-prefix-before-env): Likewise.
28089         (run-program-prefix-after-env): Likewise.
28090         (run-program-prefix): Define in terms of new variables.
28091         (built-program-cmd-before-env): New variable.
28092         (built-program-cmd-after-env): Likewise.
28093         (built-program-cmd): Define in terms of new variables.
28094         (test-program-prefix-before-env): New variable.
28095         (test-program-prefix-after-env): Likewise.
28096         (test-program-prefix): Define in terms of new variables.
28097         (test-program-cmd-before-env): New variable.
28098         (test-program-cmd-after-env): Likewise.
28099         (test-program-cmd): Define in terms of new variables.
28100         * Rules (make-test-out): Use $(run-program-env).
28101         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28102         (help): Do not mention environment variables.  Mention
28103         --timeoutfactor option.
28104         (timeoutfactor): New variable.
28105         (blacklist_exports): Remove function.
28106         (exports): Remove variable.
28107         (command): Do not include ${exports}.
28108         * manual/install.texi (Configuring and compiling): Do not mention
28109         test wrappers preserving environment variables.  Mention that last
28110         assignment to a variable must take precedence.
28111         * INSTALL: Regenerated.
28112         * benchtests/Makefile (run-bench): Use $(run-program-env).
28113         * catgets/Makefile ($(objpfx)test1.cat): Use
28114         $(built-program-cmd-before-env), $(run-program-env) and
28115         $(built-program-cmd-after-env).
28116         ($(objpfx)test2.cat): Do not specify environment variables
28117         explicitly.
28118         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28119         $(run-program-env) and $(built-program-cmd-after-env).
28120         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28121         $(run-program-env) and $(test-program-cmd-after-env).
28122         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28123         explicitly.
28124         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28125         run_program_env and test_program_cmd_after_env arguments.
28126         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28127         * elf/tst-pathopt.sh: Use run_program_env argument.
28128         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28129         $(test-wrapper-env) and $(run-program-env).
28130         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28131         run_program_env arguments.
28132         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28133         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28134         $(test-program-prefix-before-env), $(run-program-env) and
28135         $(test-program-prefix-after-env).
28136         ($(objpfx)tst-gettext2.out): Likewise.
28137         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28138         run_program_env and test_program_prefix_after_env arguments.
28139         * intl/tst-gettext2.sh: Likewise.
28140         * intl/tst-gettext4.sh: Do not set environment variables
28141         explicitly.
28142         * intl/tst-gettext6.sh: Likewise.
28143         * intl/tst-translit.sh: Likewise.
28144         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28145         $(test-program-prefix-before-env), $(run-program-env) and
28146         $(test-program-prefix-after-env).
28147         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28148         run_program_env and test_program_prefix_after_env arguments.
28149         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28150         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28151         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28152         explicitly with each use of ${test_wrapper_env}.
28153         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28154         $(test-program-prefix-before-env), $(run-program-env) and
28155         $(test-program-prefix-after-env).
28156         * posix/tst-getconf.sh: Do not set environment variables
28157         explicitly.
28158         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28159         run_program_env and test_program_prefix_after_env arguments.
28160         * stdio-common/tst-printf.sh: Do not set environment variables
28161         explicitly.
28162         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28163         $(test-program-prefix-before-env), $(run-program-env) and
28164         $(test-program-prefix-after-env).
28165         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28166         run_program_env and test_program_prefix_after_env arguments.
28167         Split $test calls into $test_pre and $test.
28168         * timezone/Makefile (build-testdata): Use
28169         $(built-program-cmd-before-env), $(run-program-env) and
28170         $(built-program-cmd-after-env).
28172 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28174         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28175         strlen for non SHARED builds.
28177 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28179         * nptl/allocatestack.c (check_list): Inlined function...
28180         (__reclaim_stacks): ... here.
28182 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28184         [BZ #15698]
28185         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28186         memory overrun.
28188 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28190         * Rules (make-test-out): Include
28191         LOCPATH=$(common-objpfx)localedata in default environment.
28192         * debug/Makefile (tst-chk1-ENV): Remove variable.
28193         (tst-chk2-ENV): Likewise.
28194         (tst-chk3-ENV): Likewise.
28195         (tst-chk4-ENV): Likewise.
28196         (tst-chk5-ENV): Likewise.
28197         (tst-chk6-ENV): Likewise.
28198         (tst-lfschk1-ENV): Likewise.
28199         (tst-lfschk2-ENV): Likewise.
28200         (tst-lfschk3-ENV): Likewise.
28201         (tst-lfschk4-ENV): Likewise.
28202         (tst-lfschk5-ENV): Likewise.
28203         (tst-lfschk6-ENV): Likewise.
28204         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28205         (tst-iconv7-ENV): Likewise.
28206         * intl/Makefile (LOCPATH-ENV): Likewise.
28207         (tst-codeset-ENV): Likewise.
28208         (tst-gettext3-ENV): Likewise.
28209         (tst-gettext5-ENV): Likewise.
28210         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28211         (tst-fopenloc-ENV): Likewise.
28212         (tst-fgetws-ENV): Remove variable.
28213         (tst-ungetwc1-ENV): Likewise.
28214         (tst-ungetwc2-ENV): Likewise.
28215         (bug-ungetwc2-ENV): Likewise.
28216         (tst-swscanf-ENV): Likewise.
28217         (bug-ftell-ENV): Likewise.
28218         (tst-fgetwc-ENV): Likewise.
28219         (tst-fseek-ENV): Likewise.
28220         (tst-ftell-partial-wide-ENV): Likewise.
28221         (tst-ftell-active-handler-ENV): Likewise.
28222         (tst-ftell-append-ENV): Likewise.
28223         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28224         (tst-regexloc-ENV): Likewise.
28225         (bug-regex1-ENV): Likewise.
28226         (tst-regex-ENV): Likewise.
28227         (tst-regex2-ENV): Likewise.
28228         (bug-regex5-ENV): Likewise.
28229         (bug-regex6-ENV): Likewise.
28230         (bug-regex17-ENV): Likewise.
28231         (bug-regex18-ENV): Likewise.
28232         (bug-regex19-ENV): Likewise.
28233         (bug-regex20-ENV): Likewise.
28234         (bug-regex22-ENV): Likewise.
28235         (bug-regex23-ENV): Likewise.
28236         (bug-regex25-ENV): Likewise.
28237         (bug-regex26-ENV): Likewise.
28238         (bug-regex30-ENV): Likewise.
28239         (bug-regex32-ENV): Likewise.
28240         (bug-regex33-ENV): Likewise.
28241         (bug-regex34-ENV): Likewise.
28242         (bug-regex35-ENV): Likewise.
28243         (tst-rxspencer-ENV): Likewise.
28244         (tst-rxspencer-no-utf8-ENV): Likewise.
28245         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28246         (tst-sscanf-ENV): Likewise.
28247         (tst-swprintf-ENV): Likewise.
28248         (tst-swscanf-ENV): Likewise.
28249         (test-vfprintf-ENV): Likewise.
28250         (scanf13-ENV): Likewise.
28251         (bug14-ENV): Likewise.
28252         (tst-grouping-ENV): Likewise.
28253         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28254         (tst-strtod3-ENV): Likewise.
28255         (tst-strtod4-ENV): Likewise.
28256         (tst-strtod5-ENV): Likewise.
28257         (testmb2-ENV): Likewise./
28258         * string/Makefile (tst-strxfrm-ENV): Likewise.
28259         (tst-strxfrm2-ENV): Likewise.
28260         (bug-strcoll1-ENV): Likewise.
28261         (test-strcasecmp-ENV): Likewise.
28262         (test-strncasecmp-ENV): Likewise.
28263         * time/Makefile (tst-strptime-ENV): Likewise.
28264         (tst-ftime_l-ENV): Likewise.
28265         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28266         (tst-mbrtowc-ENV): Likewise.
28267         (tst-wcrtomb-ENV): Likewise.
28268         (tst-mbrtowc2-ENV): Likewise.
28269         (tst-c16c32-1-ENV): Likewise.
28270         (tst-mbsnrtowcs-ENV): Likewise.
28272 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28274         * manual/resource.texi (How to get information about the memory
28275         subsystem?): Fix typo.
28276         Reported by Peon de la Parra Ivan <peon@keba.com>
28278 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28280         [BZ #16882]
28281         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28282         (pthread_spin_lock): Branch out of spin loop to proper location.
28283         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28284         (pthread_spin_lock): Likewise.
28286         * nptl/tst-spin4.c: New test.
28287         * nptl/Makefile (tests): Add tst-spin4.
28289 2014-06-03  Andreas Schwab  <schwab@suse.de>
28291         [BZ #15946]
28292         * resolv/res_send.c (send_dg): Reload file descriptor after
28293         calling reopen.
28295 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28297         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28299 2014-06-03  Richard Henderson  <rth@redhat.com>
28301         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28302         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28303         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28304         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28305         in the SAVE_PID block.
28306         (__libc_vfork): New alias.
28307         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28309         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28310         child in registers, not on the stack.  Remove RESET_PID conditionals.
28311         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28313 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28315         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28317 2014-06-03  Wilco  <wdijkstr@arm.com>
28319         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28320         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28321         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28322         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28323         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28324         Likewise.
28326 2014-06-03  Wilco  <wdijkstr@arm.com>
28328         * sysdeps/aarch64/fpu/math_private.h
28329         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28330         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28331         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28332         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28333         Fix declarations.
28335 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28337         * crypt/crypt-private.h: Include ufc-crypt.h.
28338         (__b64_from_24bit): Declare extern.
28339         * crypt/crypt_util.c(__b64_from_24bit): New function.
28340         (b64t): New static const variable.
28341         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28342         (b64t): Remove variable.
28343         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28344         * crypt/sha256-crypt.c: Include crypt-private.h.
28345         (b64t): Remove variable.
28346         (__sha256_crypt_r): Remove b64_from_24bit and replace
28347         with __b64_from_24bit.
28348         * crypt/sha512-crypt.c: Likewise.
28350 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28352         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28353         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28354         Label the code __libc_vfork rather than __vfork.
28355         [!NOT_IN_libc] (vfork): Define as weak alias.
28356         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28357         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28358         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28360 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28362         * malloc/malloc.c (malloc_info): Fix format specifier for
28363         n_mmaps.
28365 2014-06-02  Wilco  <wdijkstr@arm.com>
28367         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28368         FPCR write.
28370 2014-06-02  Wilco  <wdijkstr@arm.com>
28372         [BZ #17009]
28373         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28374         Rewrite to reduce FPCR/FPSR accesses.
28376 2014-06-01  David S. Miller  <davem@davemloft.net>
28378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28380 2014-05-31  David S. Miller  <davem@davemloft.net>
28382         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28383         to occur in round to nearest mode when |x| >= 2.0
28385 2014-05-30  Richard Henderson  <rth@twiddle.net>
28387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28388         (PSEUDO_RET_NOERRNO): Remove.
28389         (ret): Don't redefine.
28390         (ret_NOERRNO): Define in terms of ret.
28391         (ret_ERRVAL): Likewise.
28393         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28394         use of PSEUDO_RET; perform the error check directly.
28396 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28398         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28399         with __int128_t.
28401 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28403         * malloc/malloc (malloc_info): Fix formatting.
28405 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28406             Roland McGrath  <roland@hack.frob.com>
28408         * malloc/malloc (malloc_info): Also print mmapped statistics.
28410 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28412         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28413         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28415 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28417         * malloc/malloc.c (malloc_info): Inline mi_arena.
28419 2014-05-29  Richard Henderson  <rth@twiddle.net>
28421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28422         Remove comma before expanding ASM_ARGS_##nr.
28423         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28424         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28425         of ASM_ARGS_##nr.
28426         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28427         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28428         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28429         (ASM_ARGS_1): Add leading comma.
28431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28432         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28433         to __errno_location.
28434         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28435         Remove the expected plt for __errno_location.
28437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28438         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28439         call to __read_tp.
28441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28442         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28443         it and break it down.
28444         (DOCARGS_0, DOCARGS_1): Do nothing.
28445         (DOCARGS_2): Update to store into the new stack frame.
28446         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28447         (UNDOCARGS_1): Update to restore from the new stack frame.
28448         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28449         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28452         (SINGLE_THREAD_P): New parameter for result regno.
28453         (PSEUDO): Update to match; use cbz instead of beq.
28455         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28456         Use ENTRY to define the _nocancel entry point.  Share the syscall
28457         and syscall error check paths with the cancel path.
28458         (PSEUDO_END): New.
28460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28461         whitespace; tabs before and after asm mnemonics.
28463 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28465         [BZ #15132]
28466         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28467         Call fstat64 or stat64 internally, depending on arguments passed.
28468         Replace stat buffer argument with file descriptor argument.
28469         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28470         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28471         Pass fd to __internal_statvfs instead of calling fstat64.
28472         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28473         Pass fd to __internal_statvfs64 instead of calling fstat64.
28474         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28475         Pass -1 to __internal_statvfs instead of calling stat64.
28476         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28477         Pass -1 to __internal_statvfs64 instead of calling stat64.
28479 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28481         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28482         that was previously under [RESET_PID].
28483         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28485         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28486         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28488 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28490         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28492         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28493         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28495 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28497         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28499 2014-05-27  Andreas Schwab  <schwab@suse.de>
28501         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28502         TLS_INIT_TP macro.
28503         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28504         * elf/rtld.c (init_tls, dl_main): Likewise.
28505         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28506         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28507         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28508         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28509         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28510         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28511         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28512         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28513         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28514         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28515         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28516         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28517         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28518         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28519         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28520         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28521         * sysdeps/generic/tls.h: Update description.
28523 2014-05-27  Will Newton  <will.newton@linaro.org>
28525         [BZ #16990]
28526         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28527         and restore r2 rather than just restoring.
28529 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28531         [BZ #16724]
28532         * libio/tst-ftell-append.c: New test case.
28533         * libio/Makefile (tests): Add test case.
28534         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28535         append mode.
28536         * libio/wfileops.c (do_ftell_wide): Likewise.
28538 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28542         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28543         ...
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28546         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28547         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28548         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28549         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28550         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28551         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28553         Moved ...
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28556         Moved ...
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28559         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28561         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28562         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28563         ...
28564         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28565         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28566         Moved ...
28567         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28568         here.
28569         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28570         ...
28571         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28572         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28573         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28575         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28576         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28577         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28578         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28581         merge into ...
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28584         ...
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28587         ...
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28590         Moved ...
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28592         here.
28593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28594         Moved ...
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28601         conditional [RESET_PID].
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28604         removed.
28605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28606         removed.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28609         <tcb-offsets.h>.
28610         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28611         (__libc_vfork): New strong alias.
28612         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28613         removed.
28614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28615         Removed.
28617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28618         <tcb-offsets.h>.
28619         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28620         (__libc_vfork): New strong alias.
28621         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28622         removed.
28623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28624         removed.
28626 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28628         * malloc/malloc.c (mi_arena): New function.
28629         (malloc_info): Remove nested function mi_arena. Call non-nosted
28630         function mi_arena.
28632 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28634         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28635         by insrwi.
28636         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28637         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28638         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28639         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28640         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28641         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28642         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28644 2014-05-26  Andreas Schwab  <schwab@suse.de>
28646         [BZ #16984]
28647         * locale/programs/repertoire.c (repertoire_read): Add slash
28648         between I18NPATH element and file name.
28649         * locale/programs/locfile.c (locfile_read): Likewise.
28651 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28653         * nptl/pthread_mutexattr_settype.c
28654         (__pthread_mutexattr_settype):
28655         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28657 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28659         * nptl/tst-mutex5 (do_test):
28660         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28662 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28664         * benchtests/README: Document 'init' directive.
28665         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28666         BENCH_INIT.
28667         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28668         (parse_file): Recognize 'init' directive.
28670 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28672         [BZ #16796]
28673         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28674         alignment of struct pthread.
28676 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28678         [BZ #16878]
28679         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28680         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28681         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28682         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28684 2014-05-25  Richard Henderson  <rth@twiddle.net>
28686         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28687         (SINGLE_THREAD_P_PIC): Remove.
28688         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28689         (SINGLE_THREAD_P_PIC): Remove.
28691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28692         branch to syscall error ...
28693         (PSEUDO): ... here.
28694         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28695         from __local_syscall_error to .Lsyscall_error.
28696         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28697         (SYSCALL_ERROR): Update label name.
28699         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28700         Do not use DOARGS/UNDOARGS.
28701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28702         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28703         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28704         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28705         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28707         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28708         block comment.
28710         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28711         define if !NOT_IN_libc.
28712         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28713         define with non-default symbol versions.
28715 2014-05-23  Richard Henderson  <rth@twiddle.net>
28717         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28718         (vfork, __vfork): Define via compat_symbol.
28720         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28721         [!HAVE_IFUNC] (vfork_compat): Remove.
28722         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28724 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28726         [BZ #16978]
28727         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28728         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28729         variable.
28731 2014-05-23  Richard Henderson  <rth@twiddle.net>
28733         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28734         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28735         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28736         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28738         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28739         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28740         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28741         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28742         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28743         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28744         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28745         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28746         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28747         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28748         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28749         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28750         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28751         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28755         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28756         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28757         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28758         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28759         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28761         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28762         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28763         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28767         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28769         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28770         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28771         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28772         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28773         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28774         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28775         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28776         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28777         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28778         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28779         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28780         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28781         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28782         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28783         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28785         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28787         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28789         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28791         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28793         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28795         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28796         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28797         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28798         before exiting on error.
28799         (__libc_vfork): New strong alias.
28800         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28801         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28803         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28804         that was previously under [RESET_PID].
28805         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28807         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28809 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28811         [BZ #16977]
28812         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28813         value when x - 1 is zero.
28814         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28815         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28816         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28817         0.0L for an argument of 1.0L.
28818         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28819         Likewise.
28820         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28821         value when x - 1 is zero.
28822         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28823         * sysdeps/i386/fpu/libm-test-ulps: Update.
28824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28826 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28828         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28829         alphasort and versionsort.
28831 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28833         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28834         macro.
28835         [copysignf]: Likewise.
28837 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28839         * crypt/md5-crypt.c: Fix formatting.
28841 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28843         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28844         (b64_from_24bit): New function.
28846 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28849         libc_hidden_builtin_def to ifunc.
28850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28851         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28853 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28855         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28856         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28858 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28860         * nscd/Depend (linuxthreads): Remove.
28861         (nptl): Add.
28862         * resolv/Depend (linuxthreads): Remove.
28863         * rt/Depend (linuxthreads): Remove.
28865         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28866         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28867         $(common-objpfx)elf/.
28868         (link-libc-before-gnulib): Likewise.
28869         (elfobjdir): Remove variable.
28870         * Makefile (install): Use $(elf-objpfx) instead of
28871         $(common-objpfx)elf/.
28872         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28873         $(elfobjdir)/.
28874         (link-libc-deps): Likewise.
28875         ($(common-objpfx)libc.so): Likewise.
28876         ($(common-objpfx)linkobj/libc.so): Likewise.
28877         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28878         instead of $(common-objpfx)elf/.
28879         (symbolic-link-list): Likewise.
28880         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28881         [$(cross-compiling) = no]: Likewise.
28882         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28883         $(elfobjdir)/.
28884         (static-gnulib-arch): Likewise.
28885         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28886         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28887         $(common-objpfx)elf/.
28889 2014-05-21  Richard Henderson  <rth@redhat.com>
28891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28892         (SINGLE_THREAD_P): Use the correct width load.  Fold
28893         into the ldr offset.
28895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28896         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28898 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28900         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28901         (libgcc_s_resume): Use __attribute_used__.
28902         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28903         Likewise.
28905 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28907         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28908         optimization when used with float constants.
28910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28912 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28914         [BZ #16915]
28915         * locale/nl_langinfo_l.c: Make direct reference to every
28916         _nl_current_CATEGORY symbol.
28917         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28918         (tests-static): Add tst-langinfo-static.
28919         (tests-special): Add tst-langinfo-static.out.
28920         ($(objpfx)tst-langinfo.out): Redirect output.
28921         ($(objpfx)tst-langinfo-static.out): New.
28922         * localedata/tst-langinfo.sh: Send output to stdout.
28923         * localedata/tst-langinfo-static.c: New file.
28925         [BZ #16965]
28926         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28927         when the shift amount is modulo the limb size.
28929 2014-05-20  Richard Henderson  <rth@redhat.com>
28931         [BZ #16967]
28932         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28933         Change type of sa_flags from unsigned int to int.
28935         [BZ #16966]
28936         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28938         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28940 2014-05-20  Will Newton  <will.newton@linaro.org>
28942         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28943         Test the return value of the system call in the nocancel case.
28945 2014-05-20  Will Newton  <will.newton@linaro.org>
28946             Yvan Roux  <yvan.roux@linaro.org>
28948         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28949         #include of asm/ptrace.h.
28950         (PTRACE_GET_THREAD_AREA): Remove #undef.
28951         (PTRACE_GETHBPREGS): Likewise.
28952         (PTRACE_SETHBPREGS): Likewise.
28953         (struct user_regs_struct): New structure.
28954         (struct user_fpsimd_struct): New structure.
28955         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28956         #include of asm/ptrace.h and second #include of sys/user.h.
28957         (PTRACE_GET_THREAD_AREA): Remove #undef.
28958         (PTRACE_GETHBPREGS): Likewise.
28959         (PTRACE_SETHBPREGS): Likewise.
28960         (ELF_NGREG): Use new struct user_regs_struct.
28961         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28963 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28968 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28970         [BZ #16958]
28971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28972         membar to avoid block loads/stores to overlap previous stores.
28974 2014-05-17  Richard Henderson  <rth@redhat.com>
28976         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28977         Create the __##syscall_name##_nocancel entry point.
28978         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28979         Remove; let the sysdep-cancel.h code create it.
28981 2014-05-17  David S. Miller  <davem@davemloft.net>
28983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28984         Protect with __USE_GNU.
28985         (TIOCSET_TEMPT): Likewise.
28986         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28987         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28988         these are already provided in bits/ioctl-types.h
28990 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28992         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28993         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28995         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28996         Use wait4 regardless of [__NR_waitpid].
28998 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29000         PR libgcc/60166
29001         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29002         (_FP_NANSIGN_Q): Set the quiet bit.
29004 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29006         * benchtests/Makefile
29007         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29008         not $(common-objpfx)math/libm.so.
29009         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29010         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29011         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29012         $(common-objpfx)dlfcn/libdl.so.
29013         ($(objpfx)tst-audit8): Depend on $(libm), not
29014         $(common-objpfx)math/libm.so.
29015         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29016         not $(common-objpfx)dlfcn/libdl.so.
29017         * math/Makefile
29018         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29019         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29020         [$(build-shared) = yes].
29021         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29022         $(common-objpfx)nptl/libpthread.so.
29023         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29024         $(common-objpfx)math/libm.so$(libm.so-version) or
29025         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29026         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29027         $(common-objpfx)dlfcn/libdl.so.
29028         * setjmp/Makefile (link-libm): Remove variable.
29029         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29030         * stdio-common/Makefile (link-libm): Remove variable.
29031         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29032         * stdlib/Makefile (link-libm): Remove variable.
29033         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29034         ($(objpfx)tst-strtod-round): Likewise.
29035         ($(objpfx)tst-tininess): Likewise.
29036         ($(objpfx)tst-strtod-underflow): Likewise.
29037         ($(objpfx)tst-strtod6): Likewise.
29038         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29039         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29040         $(common-objpfx)dlfcn/libdl.so.
29042 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29044         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29045         BSD terminal modes definitions.
29047 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29049         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29050         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29052         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29053         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29054         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29055         Don't do #include_next.
29056         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29057         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29058         Don't do #include_next.
29059         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29060         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29061         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29062         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29064 2014-05-16  Allan McRae  <allan@archlinux.org>
29066         * po/sv.po: Update Swedish translation from translation project.
29068         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29069         in sed expression.
29071 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29073         [BZ #16917]
29074         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29075         errno if the TIOCGPTN ioctl fails with an error different than
29076         EINVAL.
29077         * login/tst-ptsname.c: New file.
29078         * login/Makefile (tests): Add tst-ptsname.
29080         [BZ #16943]
29081         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29082         and prlimit64.
29084 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29086         [BZ #16849]
29087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29088         herrno to return EAI_AGAIN.
29090 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29092         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29093         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29094         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29095         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29096         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29097         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29099         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29100         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29101         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29102         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29103         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29104         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29105         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29106         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29107         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29108         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29109         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29110         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29111         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29112         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29113         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29114         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29115         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29116         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29117         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29118         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29119         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29120         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29121         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29123         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29125         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29127         Moved ...
29128         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29130         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29132         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29134         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29136         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29138         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29140         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29142         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29144         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29146         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29148         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29150         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29152         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29154         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29156         Moved ...
29157         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29159         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29161         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29163         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29165         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29167         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29169         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29171         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29173         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29175         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29177         Moved ...
29178         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29180         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29182         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29183         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29184         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29185         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29186         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29188         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29189         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29190         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29191         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29192         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29193         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29194         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29195         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29196         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29197         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29198         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29199         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29200         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29201         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29202         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29203         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29204         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29205         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29206         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29209         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29210         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29211         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29212         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29214         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29215         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29217         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29218         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29219         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29221         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29226         Moved ...
29227         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29229         Moved ...
29230         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29232         Moved ...
29233         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29235         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29237         Moved ...
29238         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29239         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29240         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29243         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29244         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29246         Moved ...
29247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29249         Moved ...
29250         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29251         ... here.
29252         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29253         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29255         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29257         Moved ...
29258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29259         ... here.
29260         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29261         Moved ...
29262         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29263         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29264         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29266         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29268         Moved ...
29269         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29271         Moved ...
29272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29274         Moved ...
29275         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29277         Moved ...
29278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29279         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29280         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29282         Moved ...
29283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29284         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29285         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29287         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29288         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29289         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29291         Moved ...
29292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29293         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29294         Moved ...
29295         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29296         ... here.
29297         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29298         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29300         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29302         Moved ...
29303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29304         ... here.
29305         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29306         Moved ...
29307         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29308         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29309         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29310         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29311         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29312         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29313         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29314         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29315         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29317         Moved ...
29318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29319         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29320         Moved ...
29321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29323         Moved ...
29324         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29326         Moved ...
29327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29328         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29329         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29330         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29331         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29332         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29333         Moved ...
29334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29335         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29336         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29338         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29339         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29340         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29341         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29342         Moved ...
29343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29344         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29345         Moved ...
29346         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29347         ... here.
29348         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29349         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29350         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29351         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29353         Moved ...
29354         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29355         ... here.
29356         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29357         Moved ...
29358         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29359         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29360         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29361         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29362         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29363         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29364         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29365         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29366         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29367         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29368         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29370         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29371         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29373         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29374         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29376         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29377         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29378         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29379         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29380         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29381         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29382         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29383         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29384         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29385         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29389         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29390         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29392         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29394         Moved ...
29395         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29399         Moved ...
29400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29404         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29408         Moved ...
29409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29411         Moved ...
29412         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29418         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29419         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29420         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29422         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29423         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29424         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29425         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29426         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29427         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29428         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29430         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29431         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29432         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29433         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29434         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29436         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29437         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29438         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29439         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29440         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29441         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29442         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29443         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29444         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29445         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29448         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29450         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29451         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29453         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29454         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29455         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29457         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29459         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29461         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29463         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29465         Update #include.
29466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29467         Likewise.
29468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29469         Likewise.
29470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29471         Likewise.
29472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29473         Likewise.
29474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29475         Likewise.
29476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29477         Likewise.
29478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29479         Likewise.
29480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29481         Likewise.
29482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29483         Likewise.
29484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29490         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29492         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29500         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29501         that was previously under [RESET_PID].
29502         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29503         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29504         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29506         * sysdeps/i386/nptl/Implies: New file.
29507         * sysdeps/x86_64/nptl/Implies: New file.
29508         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29509         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29510         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29511         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29513         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29514         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29515         (__libc_vfork): New strong alias.
29516         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29517         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29519         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29520         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29521         (__libc_vfork): New strong alias.
29522         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29523         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29525         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29526         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29527         (__libc_vfork): New strong alias.
29528         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29529         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29530         * nptl/pt-vfork.c: New file.
29531         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29532         (libpthread: GLIBC_2.20): New version set (empty).
29534 2014-05-14  Will Newton  <will.newton@linaro.org>
29536         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29537         rather than #if.
29539 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29541         [BZ #16564]
29542         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29543         arguments with exponent 65 or above.
29544         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29545         arguments 0x1p113L or above.
29546         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29547         to arguments 0x1p107L or above.
29548         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29549         positive arguments with exponent 65 or above.
29550         * math/auto-libm-test-in: Add more tests of log1p.
29551         * math/auto-libm-test-out: Regenerated.
29553         [BZ #16928]
29554         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29555         non-finite arguments is +0.
29556         * math/s_cacosf.c (__cacosf): Likewise.
29557         * math/s_cacosl.c (__cacosl): Likewise.
29558         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29559         * sysdeps/i386/fpu/libm-test-ulps: Update.
29560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29562         [BZ #16927]
29563         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29564         value.
29565         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29566         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29567         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29568         for explicit high bit of mantissa when testing for argument equal
29569         to 1.
29570         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29571         * sysdeps/i386/fpu/libm-test-ulps: Update.
29572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29574         [BZ #16516]
29575         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29576         (__erf): Scale by 16 instead of 8 in potentially underflowing
29577         case.  Ensure exception if result actually underflows.
29578         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29579         (__erff): Scale by 16 instead of 8 in potentially underflowing
29580         case.  Ensure exception if result actually underflows.
29581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29582         (efx8): Remove variable.
29583         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29584         case.  Ensure exception if result actually underflows.
29585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29586         (efx8): Remove variable.
29587         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29588         case.  Ensure exception if result actually underflows.
29589         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29590         (efx8): Remove variable.
29591         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29592         case.  Ensure exception if result actually underflows.
29593         * math/auto-libm-test-in: Add more tests of erf.
29594         * math/auto-libm-test-out: Regenerated.
29596 2014-05-14  Andreas Schwab  <schwab@suse.de>
29598         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29599         Remove code conditionalized on USE___THREAD.
29601         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29602         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29603         not definedness.
29605 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29608         Define unconditionally.
29609         (__ASSUME_O_CLOEXEC): Likewise.
29610         (__ASSUME_SOCK_CLOEXEC): Likewise.
29611         (__ASSUME_IN_NONBLOCK): Likewise.
29612         (__ASSUME_PIPE2): Likewise.
29613         (__ASSUME_EVENTFD2): Likewise.
29614         (__ASSUME_SIGNALFD4): Likewise.
29615         (__ASSUME_DUP3): Likewise.
29616         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29617         (__ASSUME_DUP3): Do not define.
29618         (__ASSUME_EVENTFD2): Likewise.
29619         (__ASSUME_IN_NONBLOCK): Likewise.
29620         (__ASSUME_O_CLOEXEC): Likewise.
29621         (__ASSUME_PIPE2): Likewise.
29622         (__ASSUME_SIGNALFD4): Likewise.
29623         (__ASSUME_SOCK_CLOEXEC): Likewise.
29624         (__ASSUME_UTIMES): Undefine.
29625         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29626         (__ASSUME_UTIMES): Do not define.
29627         (__ASSUME_O_CLOEXEC): Likewise.
29628         (__ASSUME_SOCK_CLOEXEC): Likewise.
29629         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29630         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29631         0x020621].
29632         (__ASSUME_PIPE2): Likewise.
29633         (__ASSUME_EVENTFD2): Likewise.
29634         (__ASSUME_SIGNALFD4): Likewise.
29635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29636         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29637         Do not define.
29638         (__ASSUME_EVENTFD2): Likewise.
29639         (__ASSUME_SIGNALFD4): Likewise.
29640         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29641         (__ASSUME_32BITUIDS): Likewise.
29642         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29643         (__ASSUME_IPC64): Likewise.
29644         (__ASSUME_ST_INO_64_BIT): Likewise.
29645         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29646         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29647         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29648         (__ASSUME_UTIMES): Do not define.
29649         (__ASSUME_PSELECT): Likewise.
29650         (__ASSUME_PPOLL): Likewise.
29651         (__ASSUME_O_CLOEXEC): Likewise.
29652         (__ASSUME_SOCK_CLOEXEC): Likewise.
29653         (__ASSUME_IN_NONBLOCK): Likewise.
29654         (__ASSUME_PIPE2): Likewise.
29655         (__ASSUME_EVENTFD2): Likewise.
29656         (__ASSUME_SIGNALFD4): Likewise.
29657         (__ASSUME_DUP3): Likewise.
29658         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29659         (__ASSUME_UTIMES): Likewise.
29660         (__ASSUME_O_CLOEXEC): Likewise.
29661         (__ASSUME_SOCK_CLOEXEC): Likewise.
29662         (__ASSUME_IN_NONBLOCK): Likewise.
29663         (__ASSUME_PIPE2): Likewise.
29664         (__ASSUME_EVENTFD2): Likewise.
29665         (__ASSUME_SIGNALFD4): Likewise.
29666         (__ASSUME_DUP3): Likewise.
29667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29668         (__ASSUME_UTIMES): Likewise.
29669         (__ASSUME_O_CLOEXEC): Likewise.
29670         (__ASSUME_SOCK_CLOEXEC): Likewise.
29671         (__ASSUME_IN_NONBLOCK): Likewise.
29672         (__ASSUME_PIPE2): Likewise.
29673         (__ASSUME_EVENTFD2): Likewise.
29674         (__ASSUME_SIGNALFD4): Likewise.
29675         (__ASSUME_DUP3): Likewise.
29676         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29677         Likewise.
29678         (__ASSUME_UTIMES): Likewise.
29679         (__ASSUME_EVENTFD2): Likewise.
29680         (__ASSUME_SIGNALFD4): Likewise.
29681         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29682         (__ASSUME_O_CLOEXEC): Likewise.
29683         (__ASSUME_SOCK_CLOEXEC): Likewise.
29684         (__ASSUME_IN_NONBLOCK): Likewise.
29685         (__ASSUME_PIPE2): Likewise.
29686         (__ASSUME_EVENTFD2): Likewise.
29687         (__ASSUME_SIGNALFD4): Likewise.
29688         (__ASSUME_DUP3): Likewise.
29689         (__ASSUME_UTIMES): Undefine.
29691         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29692         feclearexcept.  Remove symbol versioning code.
29693         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29694         symbol versioning code.
29695         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29696         symbol versioning code.
29697         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29698         feupdateenv.  Remove symbol versioning code.
29699         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29700         fegetexceptflag.  Remove symbol versioning code.
29701         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29702         fesetexceptflag.  Remove symbol versioning code.
29703         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29704         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29705         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29706         (__posix_fadvise64_l32): Remove prototype.
29707         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29708         code.
29710 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29712         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29713         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29714         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29715         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29717 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29719         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29720         current working directory
29722 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29724         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29725         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29726         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29727         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29728         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29729         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29730         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29731         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29732         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29733         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29734         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29735         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29736         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29737         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29738         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29739         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29741         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29742         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29743         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29744         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29749         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29750         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29751         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29752         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29753         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29754         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29755         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29756         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29757         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29758         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29759         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29760         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29761         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29762         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29763         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29764         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29765         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29767         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29768         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29770         * sysdeps/unix/sysv/linux/arm/Makefile
29771         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29772         Add rt-aeabi_unwind_cpp_pr1.
29773         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29774         Add nptl-aeabi_unwind_cpp_pr1.
29775         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29776         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29777         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29778         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29779         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29780         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29782         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29783         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29784         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29785         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29787         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29788         Deconditionalize the code that was previously under [RESET_PID].
29789         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29791         * sysdeps/generic/exit-thread.h: New file.
29792         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29793         * include/unistd.h (__exit_thread): Remove declaration.
29794         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29795         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29796         * csu/libc-start.c: Include <exit-thread.h>.
29797         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29798         * nptl/pthread_create.c: Include <exit-thread.h>.
29799         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29800         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29801         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29802         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29803         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29804         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29805         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29806         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29807         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29808         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29809         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29810         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29811         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29812         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29813         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29814         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29815         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29817 2014-05-13  Andreas Schwab  <schwab@suse.de>
29819         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29821 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29823         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29824         (__ASSUME_UTIMES): Do not condition on kernel version.
29825         (__ASSUME_PSELECT): Define unconditionally.
29826         (__ASSUME_PPOLL): Likewise.
29827         (__ASSUME_ATFCTS): Likewise.
29828         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29829         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29830         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29831         (__ASSUME_UTIMENSAT): Define unconditionally.
29832         (__ASSUME_PRIVATE_FUTEX): Likewise.
29833         (__ASSUME_FALLOCATE): Likewise.
29834         (__ASSUME_O_CLOEXEC): Likewise.
29835         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29836         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29837         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29838         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29839         (__ASSUME_IN_NONBLOCK): Likewise.
29840         (__ASSUME_PIPE2): Likewise.
29841         (__ASSUME_EVENTFD2): Likewise.
29842         (__ASSUME_SIGNALFD4): Likewise.
29843         (__ASSUME_DUP3): Likewise.
29844         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29845         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29846         (__ASSUME_AT_RANDOM): Likewise.
29847         (__ASSUME_PREADV): Likewise.
29848         (__ASSUME_PWRITEV): Likewise.
29849         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29850         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29851         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29852         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29853         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29854         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29855         (__ASSUME_O_CLOEXEC): Define unconditionally.
29856         (__ASSUME_PSELECT): Do not undefine conditionally.
29857         (__ASSUME_PPOLL): Likewise.
29858         (__ASSUME_ATFCTS): Likewise.
29859         (__ASSUME_SET_ROBUST_LIST): Likewise.
29860         (__ASSUME_UTIMENSAT): Likewise.
29861         (__ASSUME_FDATASYNC): Define unconditionally.
29862         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29863         (__ASSUME_SIGFRAME_V2): Likewise.
29864         )__ASSUME_EVENTFD2): Likewise.
29865         (__ASSUME_SIGNALFD4): Likewise.
29866         (__ASSUME_PSELECT): Do not undefine conditionally.
29867         (__ASSUME_PPOLL): Likewise.
29868         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29869         (__ASSUME_PSELECT): Define unconditionally.
29870         (__ASSUME_PPOLL): Likewise.
29871         (__ASSUME_O_CLOEXEC): Likewise.
29872         (__ASSUME_SOCK_CLOEXEC): Likewise.
29873         (__ASSUME_IN_NONBLOCK): Likewise.
29874         (__ASSUME_PIPE2): Likewise.
29875         (__ASSUME_EVENTFD2): Likewise.
29876         (__ASSUME_SIGNALFD4): Likewise.
29877         (__ASSUME_DUP3): Likewise.
29878         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29879         (__ASSUME_O_CLOEXEC): Likewise.
29880         (__ASSUME_SOCK_CLOEXEC): Likewise.
29881         (__ASSUME_IN_NONBLOCK): Likewise.
29882         (__ASSUME_PIPE2): Likewise.
29883         (__ASSUME_EVENTFD2): Likewise.
29884         (__ASSUME_SIGNALFD4): Likewise.
29885         (__ASSUME_DUP3): Likewise.
29886         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29887         (__ASSUME_EVENTFD2): Likewise.
29888         (__ASSUME_SIGNALFD4): Likewise.
29889         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29891 2014-05-12  Andreas Schwab  <schwab@suse.de>
29893         [BZ #16932]
29894         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29895         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29896         than maximum RPC packet size.
29897         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29898         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29899         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29900         (_nss_nis_getservbyport_r): Likewise.
29902 2014-05-12  Will Newton  <will.newton@linaro.org>
29904         * malloc/Makefile (tests): Add tst-mallopt.
29905         * malloc/tst-mallopt.c: New file.
29907 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29909         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29910         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29912 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29914         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29915         (tst-tlsmod6.so): Likewise.
29917 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29919         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29921 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29923         [BZ #16064]
29924         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29925         and <dl-procinfo.h>.
29926         (__fegetenv): Save SSE state in envp->__eip if supported.
29927         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29928         envp->__eip if supported.
29929         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29930         and <dl-procinfo.h>.
29931         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29932         __data_offset and __data_selector in environment to 0.  Set SSE
29933         state if supported.
29934         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29935         test-fenv-sse.
29936         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29937         -mfpmath=sse.
29938         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29940 2014-05-09  Will Newton  <will.newton@linaro.org>
29942         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29943         and libc_relro_required for ARM.
29944         * sysdeps/arm/preconfigure: Regenerate.
29946 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29947             Stefan Liebler  <stli@linux.vnet.ibm.com>
29949         * config.make.in (enable-lock-elision): New Makefile variable.
29950         * configure.ac: Likewise.
29951         * configure: Regenerate.
29952         * sysdeps/s390/configure.ac:
29953         Add check for gcc transactions support.
29954         * sysdeps/s390/configure: Regenerate.
29955         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29956         Build elision files if enabled.
29957         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29958         Add lock elision support for s390.
29959         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29960         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29961         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29962         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29963         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29964         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29965         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29966         Likewise.
29967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29968         Likewise.
29969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29970         Likewise.
29971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29972         Likewise.
29973         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29974         (__lll_timedlock_elision, __lll_lock_elision)
29975         (__lll_unlock_elision, __lll_trylock_elision)
29976         (lll_timedlock_elision, lll_lock_elision)
29977         (lll_unlock_elision, lll_trylock_elision): Add.
29978         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29979         (pthread_mutex_t): Add lock elision support for s390.
29981 2014-05-14  Wilco  <wdijkstr@arm.com>
29983         * sysdeps/arm/fclrexcpt.c: Cleanup.
29984         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29985         * sysdeps/arm/feenablxcpt.c: Cleanup.
29986         * sysdeps/arm/fegetenv.c: Cleanup.
29987         * sysdeps/arm/fegetexcept.c: Cleanup.
29988         * sysdeps/arm/fegetround.c: Cleanup.
29989         * sysdeps/arm/feholdexcpt.c: Cleanup.
29990         * sysdeps/arm/fesetenv.c: Cleanup.
29991         * sysdeps/arm/fesetround.c: Cleanup.
29992         * sysdeps/arm/feupdateenv.c: Cleanup.
29993         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29994         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29995         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29996         * sysdeps/arm/ftestexcept.c: Cleanup.
29997         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29998         * sysdeps/arm/setfpucw.c: Cleanup.
30000 2014-05-09  Will Newton  <will.newton@linaro.org>
30002         * sysdeps/arm/armv7/strcmp.S: New file.
30003         * NEWS: Mention addition of ARMv7 optimized strcmp.
30005 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30007         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30008         look for %.ac rather than %.in.
30010         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30011         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30012         * sysdeps/mach/hurd/configure: Regenerated.
30013         * sysdeps/unix/sysv/linux/configure: Regenerated.
30015         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30017 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30019         [BZ# 16922]
30020         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30021         (LONG_SUB): Ditto.
30022         (PTR_SUB): Ditto.
30024 2014-05-07  Andreas Schwab  <schwab@suse.de>
30026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30027         when skipping over non-matching result from nscd.
30029 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30031         [BZ #16876]
30032         * nptl/sockperf.c (client): Check socket return value.
30034         [BZ #16877]
30035         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30036         nscd security class.
30038 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30040         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30041         * sysdeps/arm/unwind.h: ... here.
30043 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30045         [BZ# 16916]
30046         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30047         Define.
30049 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30051         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30052         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30053         multiarch strncpy for PPC64.
30054         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30055         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30057         multiarch optimizations.
30058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30059         (__libc_ifunc_impl_list): Likewise.
30060         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30061         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30062         multiarch stpncpy for PPC64.
30063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30064         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30066 2014-05-06  Andreas Schwab  <schwab@suse.de>
30068         [BZ #16912]
30069         * gmon/mcount.c (_MCOUNT_DECL): Use
30070         atomic_compare_and_exchange_bool_acq instead of
30071         catomic_compare_and_exchange_bool_acq.
30073 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30075         * elf/Makefile (others, install-bin): Remove pldd.
30076         (pldd-modules): Variable removed.
30077         ($(objpfx)pldd): Target removed.
30078         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30079         (others, install-bin): Append pldd here.
30080         ($(objpfx)pldd): New target.
30082         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30083         to 0, so the first #if test emitted later doesn't see it undefined.
30084         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30085         * sysdeps/gnu/errlist.c: Regenerated.
30087 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30090         [libc_hidden_builtin_def]: Define to empty value.
30091         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30092         [libc_hidden_builtin_def]: Likewise.
30093         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30094         [libc_hidden_builtin_def]: Likewise.
30095         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30096         [libc_hidden_builtin_def]: Likewise.
30097         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30098         __redirect_memcpy and define ifunc as default hidden symbol.
30099         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30100         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30102 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30104         * locale/iso-4217.def: Reintroduce XDR currency.
30106 2014-05-04  Allan McRae  <allan@archlinux.org>
30108         * po/eo.po: Update Esperanto translation from translation project.
30110 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30112         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30113         and FEATURE_INDEX_MAX to 1.
30114         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30116 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30118         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30119         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30120         * iconvdata/big5.c (ONE_DIRECTION): Define.
30121         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30122         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30123         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30124         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30125         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30126         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30127         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30128         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30129         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30130         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30131         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30132         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30133         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30134         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30135         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30136         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30137         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30138         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30139         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30140         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30141         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30142         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30143         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30144         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30145         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30146         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30147         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30148         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30149         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30150         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30151         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30152         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30153         * iconvdata/johab.c (ONE_DIRECTION): Define.
30154         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30155         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30156         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30157         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30158         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30159         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30160         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30161         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30162         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30163         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30165 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30167         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30168         (_IO_JUMPS_OFFSET): Define to 0.
30170         * nptl/sysdeps/pthread/bits/libc-lock.h
30171         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30172         (__libc_lock_define_initialized_recursive): Always define using
30173         initializer.  Modern compilers treat uninitialized (implicit zero) and
30174         explicit zero initializers the same (i.e. put the datum in bss).
30176 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30178         * nscd/nscd-client.h: Include <string.h>.
30180 2014-05-01  David S. Miller  <davem@davemloft.net>
30182         [BZ #16885]
30183         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30184         multiple zero bytes exist at the end of a string.
30185         Reported by Aurelien Jarno <aurelien@aurel32.net>
30187         * string/test-strcmp.c (check): Add explicit test for situations where
30188         there are multiple zero bytes after the first.
30190 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30192         [BZ #16890]
30193         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30194         when compiling wprintf.
30195         * stdio-common/tstdiomisc.c (t3): New function.
30196         (main): Call it.
30198 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30200         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30201         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30202         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30203         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30205 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30207         * stdlib/longlong.h: Updated from GCC.
30209 2014-05-01  Will Newton  <will.newton@linaro.org>
30210             Bernard Ogden  <bernie.ogden@linaro.org>
30212         * NEWS: Update fixed bug list.
30214         [BZ #15119]
30215         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30217 2014-04-30  David S. Miller  <davem@davemloft.net>
30219         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30220         (libc_feholdexcept_setround_sparc_ctx): New function.
30221         (libc_fesetenv_sparc_ctx): Likewise.
30222         (libc_feupdateenv_sparc_ctx): Likewise.
30223         (libc_feholdsetround_sparc_ctx): Likewise.
30224         (libc_feholdexcept_setround_ctx): Define.
30225         (libc_feholdexcept_setroundf_ctx): Likewise.
30226         (libc_feholdexcept_setroundl_ctx): Likewise.
30227         (libc_fesetenv_ctx): Likewise.
30228         (libc_fesetenvf_ctx): Likewise.
30229         (libc_fesetenvl_ctx): Likewise.
30230         (libc_feupdateenv_ctx): Likewise.
30231         (libc_feupdateenvf_ctx): Likewise.
30232         (libc_feupdateenvl_ctx): Likewise.
30233         (libc_feresetround_ctx): Likewise.
30234         (libc_feresetroundf_ctx): Likewise.
30235         (libc_feresetroundl_ctx): Likewise.
30236         (libc_feholdsetround_ctx): Likewise.
30237         (libc_feholdsetroundf_ctx): Likewise.
30238         (libc_feholdsetroundl_ctx): Likewise.
30240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30241         with __USE_GNU instead of XOPEN cpp guards.
30243         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30244         0.
30246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30247         with XOPEN cpp guards.
30249 2014-04-30  Julian Brown  <julian@codesourcery.com>
30251         [BZ #16888]
30252         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30253         handling.
30255 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30257         [BZ #9894]
30258         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30259         Change to 2.6.32.
30260         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30261         * sysdeps/unix/sysv/linux/configure: Regenerated.
30262         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30263         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30264         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30265         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30266         * README: Update reference to required Linux kernel version.
30267         * manual/install.texi (Linux): Update reference to required Linux
30268         kernel headers version.
30269         * INSTALL: Regenerated.
30271         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30272         header inclusion.
30273         [POSIX] (limits.h): Likewise.
30274         [POSIX] (math.h): Likewise.
30275         [POSIX] (sys/wait.h): Likewise.
30276         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30277         function.
30278         [POSIX] (stddef.h): Do not allow header inclusion.
30280 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30282         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30284 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30286         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30287         Return immediately after lll_futex_wake.
30289 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30291         [BZ #16791]
30292         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30293         structure.
30294         (datahead_init_pos): Call datahead_init_common early.
30295         (datahead_init_neg): Likewise.
30297         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30298         datahead_init_neg): New functions.
30299         * nscd/aicache.c (addhstaiX): Use them.
30300         * nscd/grpcache.c (cache_addgr): Likewise.
30301         * nscd/hstcache.c (cache_addhst): Likewise.
30302         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30303         * nscd/netgroupcache.c (do_notfound): Likewise.
30304         (addgetnetgrentX): Likewise.
30305         (addinnetgrX): Likewise.
30306         * nscd/pwdcache.c (cache_addpw): Likewise.
30307         * nscd/servicescache.c (cache_addserv): Likewise.
30309 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30310             Atsushi Onoe  <atsushi@onoe.org>
30312         [BZ #14308]
30313         [BZ #12994]
30314         [BZ #13651]
30315         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30316         one response is valid.
30317         * resolv/res_send.c (send_dg): Check for validity of other
30318         response if the current response is a referral.
30320 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30322         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30324 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30326         [BZ #16823]
30327         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30328         Always divide by positive zero when computing -Inf result.
30329         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30330         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30332 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30335         FPSCR if value do not change.
30336         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30337         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30338         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30339         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30340         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30341         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30342         function.
30344 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30346         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30347         * sysdeps/unix/sysv/linux/hppa: Move directory from
30348         ports/systeps/unix/sysv/linux/hppa.
30349         * README: Update listing for hppa-*-linux-gnu.
30351 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30353         [BZ #16754]
30354         * manual/stdio.texi (Hook functions): Fix types of stream hook
30355         functions.
30356         [BZ #16854]
30357         * socket/sys/socket.h: Fix typo in comment.
30359 2014-04-28  Wilco  <wdijkstr@arm.com>
30361         * sysdeps/arm/fenv_private.h: New file.
30362         * sysdeps/arm/math_private.h: New file.
30363         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30365 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30367         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30368         with __int128_t.
30369         (La_x86_64_retval): Likewise.
30371 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30373         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30374         fpsr if value didn't change.
30375         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30376         to fpcr if value didn't change.
30377         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30378         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30379         fpsr or fpcr if value didn't change.
30380         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30381         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30382         fpcr if value didn't change.
30383         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30384         to fpsr if value didn't change.
30386 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30388         * nptl/tst-sem3.c: Use test-skeleton.c
30389         (main): Rename to do_test.  Use return instead of
30390         exit.
30391         * nptl/tst-sem4.c: Use test-skeleton.c
30392         (main): Rename to do_test.
30394 2014-04-22  David S. Miller  <davem@davemloft.net>
30396         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30397         (struct sigaction): New struct member __glibc_reserved0, change
30398         type of sa_flags to int.
30400 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30402         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30403         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30405 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30407         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30408         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30410 2014-04-22  Will Newton  <will.newton@linaro.org>
30411             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30413         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30414         (__longjmp): Add longjmp and longjmp_target SystemTap
30415         probes.
30416         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30417         (__sigsetjmp): Add setjmp SystemTap probe.
30419 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30421         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30422         match manual order.
30424 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30428         * sysdeps/powerpc/fpu/fenv_private.h
30429         (libc_feholdexcept_setroundl_ctx): Define to
30430         libc_feholdexcept_setround_ppc_ctx.
30431         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30432         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30433         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30434         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30436 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30438         * sysdeps/aarch64/math-tests.h: New file.
30440 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30442         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30443         New.
30444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30445         Check and set bit_AVX2_Usable.
30446         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30447         macro.
30448         (bit_AVX2): Likewise.
30449         (index_AVX2_Usable): Likewise.
30450         (CPUID_AVX2): Likewise.
30451         (HAS_AVX2): Likewise.
30453 2014-04-17  Will Newton  <will.newton@linaro.org>
30455         * manual/setjmp.texi (System V contexts): Add note that
30456         calling setcontext on a context created by a call to a
30457         signal handler is undefined.  Update text to note that
30458         setcontext from a signal handler is possible but not
30459         recommended.
30461         [BZ #16629]
30462         * stdlib/tst-setcontext.c: Include signal.h.
30463         (main): Check that the signal stack before and
30464         after swapcontext is the same.
30466         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30467         Re-implement to restore registers in user code and avoid
30468         rt_sigreturn system call.
30470 2014-04-17  Wilco  <wdijkstr@arm.com>
30472         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30473         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30474         * math/test-fenv.c: Skip exception trap tests on targets which only
30475         support non-stop mode.
30477 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30478             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30480         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30481         (libc_feholdsetround_aarch64_ctx)
30482         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30483         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30484         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30485         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30486         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30487         (libc_feresetround_noexl_ctx): Define.
30489 2014-04-16  Richard Henderson  <rth@redhat.com>
30491         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30493         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30494         unwind tables.
30496         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30497         const from the non-libc, non-ldso copy.
30499         * sysdeps/alpha/libm-test-ulps: Regenerate.
30501 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30502             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30504         * sysdeps/aarch64/fpu/math_private.h: New file.
30506 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30508         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30510 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30512         [BZ #16275]
30513         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30514         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30516         Intel MPX bound registers before _dl_profile_fixup.
30517         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30518         registers after _dl_profile_fixup.  Save and restore bound
30519         registers bnd0/bnd1 when calling _dl_call_pltexit.
30520         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30521         (LR_BND_OFFSET): Likewise.
30522         (LRV_BND0_OFFSET): Likewise.
30523         (LRV_BND1_OFFSET): Likewise.
30525 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30527         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30528         to...
30529         * sysdeps/mach/hurd/i386/tls.h: ... here.
30530         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30531         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30532         fields.
30534 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30536         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30538 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30540         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30542 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30544         [BZ #14770]
30545         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30546         * sysdeps/s390/configure: Regenerate.
30548         [BZ #16824]
30549         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30550         Set round-to-nearest internally to reduce error accumulation.
30552 2014-04-16  Alan Modra  <amodra@gmail.com>
30554         [BZ #16740]
30555         [BZ #16619]
30556         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30557         * math/libm-test.inc (frexp_test_data): Add tests.
30558         * NEWS: Update fixed bug list.
30560 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30562         * benchtests/Makefile: Depend on libraries in build directory.
30563         (bench-math): Separate out math tests.
30564         (bench-pthread): Separate out pthread tests.
30565         (bench): Include math and pthread tests.
30567 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30569         [BZ #16831]
30570         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30571         _dl_debug_initialize.
30573         * configure.ac: Remove SELinux header check.
30574         * configure: Regenerate.
30575         * nscd/selinux.c (perms): Array of const char* to permission names.
30576         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30577         default policy. Call string_to_security_class and string_to_av_perm to
30578         translate strings. Enforce default policy and call avs_has_perm with
30579         results of translated strings.
30581 2014-04-13  David S. Miller  <davem@davemloft.net>
30583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30585 2014-04-12  Allan McRae  <allan@archlinux.org>
30587         [BZ #16838]
30588         * manual/string.texi (Collation Functions): Fix qsort argument
30589         order in example.
30590         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30592 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30594         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30595         Make the test a no-op if there are no exceptions defined.
30597 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30599         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30600         enable-hardcoded-path-in-tests
30602 2014-04-11  Will Newton  <will.newton@linaro.org>
30604         * benchtests/Makefile (extra-objs): Add json-lib.o.
30605         (bench-func): Tidy up JSON output.
30606         * benchtests/bench-skeleton.c: Include json-lib.h.
30607         (main): Use JSON library functions to do output of
30608         benchmark results.
30609         * benchtests/bench-timing-type.c (main): Output the
30610         timing type simply, leaving formatting to the user.
30611         * benchtests/json-lib.c: New file.
30612         * benchtests/json-lib.h: Likewise.
30614 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30616         [BZ #15215]
30617         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30618         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30619         memory barriers.  Add comments.
30620         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30621         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30622         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30623         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30624         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30625         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30627 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30629         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30630         * sysdeps/s390/s390-64/configure.ac: ... this ...
30631         * sysdeps/s390/configure.ac: ... to here.
30632         * sysdeps/s390/s390-32/configure: Delete file.
30633         * sysdeps/s390/s390-64/configure: Delete file.
30634         * sysdeps/s390/configure: Regenerate.
30636 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30638         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30640 2014-04-11  Will Newton  <will.newton@linaro.org>
30642         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30643         to zero if it is not defined elsewhere.  (mtrim): Test
30644         the value of MALLOC_DEBUG with #if rather than #ifdef.
30646 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30648         * benchtests/pthread_once-inputs: New file.
30649         * benchtests/pthread_once-source.c: New file.
30650         * benchtests/README: Update documentation.
30652 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30653             H.J. Lu  <hongjiu.lu@intel.com>
30655         [BZ #16275]
30656         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30657         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30658         * sysdeps/x86_64/configure: Regenerated.
30659         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30660         macro.
30661         (REGISTER_SAVE_RAX): Likewise.
30662         (REGISTER_SAVE_RCX): Likewise.
30663         (REGISTER_SAVE_RDX): Likewise.
30664         (REGISTER_SAVE_RSI): Likewise.
30665         (REGISTER_SAVE_RDI): Likewise.
30666         (REGISTER_SAVE_R8): Likewise.
30667         (REGISTER_SAVE_R9): Likewise.
30668         (REGISTER_SAVE_BND0): Likewise.
30669         (REGISTER_SAVE_BND1): Likewise.
30670         (REGISTER_SAVE_BND2): Likewise.
30671         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30672         bound registers when calling _dl_fixup.
30674 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30676         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30677         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30678         of its definition.
30679         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30680         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30681         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30682         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30683         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30684         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30685         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30687 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30689         [BZ #15514]
30690         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30691         pathconf(_PC_NAME_MAX).
30693 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30695         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30696         Remove macro usage.
30697         (__PTHREAD_SPINS): Move definition to ...
30698         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30699         (__PTHREAD_SPINS): ... here.
30700         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30701         (__PTHREAD_SPIN): Likewise.
30702         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30703         (__PTHREAD_SPIN): Likewise.
30704         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30705         (__PTHREAD_SPIN): Likewise.
30706         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30707         (__PTHREAD_SPIN): Likewise.
30708         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30709         (__PTHREAD_SPIN): Likewise.
30710         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30711         (__PTHREAD_SPIN): Likewise.
30712         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30713         (__PTHREAD_SPIN): Likewise.
30714         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30715         (__PTHREAD_SPIN): Likewise.
30716         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30717         (__PTHREAD_SPIN): Likewise.
30718         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30719         (__PTHREAD_SPIN): Likewise.
30720         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30721         (__PTHREAD_SPIN): Likewise.
30722         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30723         (__PTHREAD_SPIN): Likewise.
30725         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30726         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30727         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30728         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30729         imply folder.
30730         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30731         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30732         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30733         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30734         correct imply path.
30735         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30736         strlen symbol for non multi-arch builds.
30737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30738         missing hidden_def and weak_alias.
30740 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30742         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30744 2014-04-07  Will Newton  <will.newton@linaro.org>
30746         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30747         and contents.  [!_LIBC] Remove #ifndef and contents.
30748         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30749         * string/memccpy.c (__memccpy): Use ANSI prototype.
30750         * string/memfrob.c (memfrob): Likewise.
30751         * string/strcoll.c (STRCOLL): Likewise.
30752         * string/strlen.c (strlen): Likewise.
30753         * string/strtok.c (STRTOK): Likewise.
30754         * string/strcat.c: Remove unused #include of memcopy.h.
30755         (strcat): Use ANSI prototype.
30756         * string/strchr.c: Remove unused #include of memcopy.h.
30757         (strchr): Use ANSI prototype.
30758         * string/strcmp.c: Remove unused #include of memcopy.h.
30759         (strcmp): Use ANSI prototype.
30760         * string/strcpy.c: Remove unused #include of memcopy.h.
30761         (strcpy): Use ANSI prototype.
30763 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30765         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30766         * config.make.in (config-extra-cppflags): Set it from
30767         libc_extra_cppflags.
30768         * configure.ac (libc_extra_cflags): Make it accumulate over
30769         configure fragments.
30770         (libc_extra_cppflags): New flag.
30771         * configure. Regenerate.
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30773         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30774         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30777         [BZ #16815]
30778         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30779         result for FE_DOWNWARD rounding mode.
30780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30781         Likewise.
30782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30784 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30786         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30787         in function argument name.
30789 2014-04-03  David Svoboda  <svoboda@cert.org>
30791         [BZ #5666]
30792         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30793         explicitly.
30795 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30797         * elf/dl-unmap-segments.h: New file.
30798         * sysdeps/generic/ldsodefs.h
30799         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30800         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30801         * elf/dl-fptr.c: Likewise.
30802         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30803         * sysdeps/aarch64/tlsdesc.c: Likewise.
30804         * sysdeps/arm/tlsdesc.c: Likewise.
30805         * sysdeps/i386/tlsdesc.c: Likewise.
30806         * sysdeps/tile/dl-runtime.c: Likewise.
30807         * sysdeps/x86_64/tlsdesc.c: Likewise.
30808         * elf/dl-load.h: New file.
30809         * elf/dl-load.c: Include it.
30810         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30811         Macros moved to dl-load.h.
30812         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30813         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30814         Use _dl_unmap_segments in place of __munmap.
30815         Break out segment-mapping loop into ...
30816         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30818 2014-04-03  Will Newton  <will.newton@linaro.org>
30820         * elf/dl-lookup.c (do_lookup_x): Remove comment
30821         referring to nested function and move variable
30822         declarations down to before first use.
30824 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30826         [BZ #16799]
30827         [BZ #16800]
30828         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30829         with 0 numerator.
30830         * math/s_catanf.c (__catanf): Likewise.
30831         * math/s_catanh.c (__catanh): Likewise.
30832         * math/s_catanhf.c (__catanhf): Likewise.
30833         * math/s_catanhl.c (__catanhl): Likewise.
30834         * math/s_catanl.c (__catanl): Likewise.
30835         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30836         by positive zero when computing -Inf result.
30837         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30838         (catanh_test): Likewise.
30839         * sysdeps/i386/fpu/libm-test-ulps: Update.
30840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30842         [BZ #16789]
30843         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30844         instead of using underflowing value in computing result.
30845         * math/s_clog10.c (__clog10): Likewise.
30846         * math/s_clog10f.c (__clog10f): Likewise.
30847         * math/s_clog10l.c (__clog10l): Likewise.
30848         * math/s_clogf.c (__clogf): Likewise.
30849         * math/s_clogl.c (__clogl): Likewise.
30850         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30851         (clog10_test): Likewise.
30852         * sysdeps/i386/fpu/libm-test-ulps: Update.
30853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30855 2014-04-02  Alan Modra  <amodra@gmail.com>
30857         [BZ #16739]
30858         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30859         output when value is near a power of two.  Use int64_t for lx and
30860         remove casts.  Use decimal rather than hex exponent constants.
30861         Don't use long double multiplication when double will suffice.
30862         * math/libm-test.inc (nextafter_test_data): Add tests.
30863         * NEWS: Add 16739 and 16786 to bug list.
30865         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30867         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30869 2014-04-01  Will Newton  <will.newton@linaro.org>
30871         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30872         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30874 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30876         [BZ #13347]
30877         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30878         * nptl/tst-setuid2.c: New file.
30879         * nptl/Makefile (xtests): Add tst-setuid2.
30881 2014-04-01  Alan Modra  <amodra@gmail.com>
30883         [BZ #16786]
30884         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30886 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30888         [BZ #6803]
30889         [BZ #6804]
30890         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30891         set errno as appropriate.
30892         * math/w_scalbf.c (__scalbf): Likewise.
30893         * math/w_scalbl.c (__scalbl): Likewise.
30894         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30895         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30896         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30897         Add more NaN tests.
30899         [BZ #16349]
30900         * math/w_atan2.c: Include <errno.h>.
30901         (__atan2): Set errno for result underflowing to zero.
30902         * math/w_atan2f.c: Include <errno.h>.
30903         (__atan2f): Set errno for result underflowing to zero.
30904         * math/w_atan2l.c: Include <errno.h>.
30905         (__atan2l): Set errno for result underflowing to zero.
30906         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30907         tests.
30908         * math/auto-libm-test-out: Regenerated.
30910 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30912         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30913         Encode instruction correctly in little endian.
30914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30915         Likewise.
30916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30917         Likewise.
30918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30919         Likewise.
30920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30921         Likewise.
30923 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30925         [BZ #9894]
30926         * sysdeps/unix/sysv/linux/kernel-features.h
30927         [__sparc__ && !__arch64__ && !__sparc_v9__]
30928         (__ASSUME_SET_ROBUST_LIST): Do not define.
30929         [__sparc__ && !__arch64__ && !__sparc_v9__]
30930         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30931         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30932         Likewise.
30933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30934         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30935         (__ASSUME_REQUEUE_PI): Likewise.
30936         (__ASSUME_SET_ROBUST_LIST): Likewise.
30937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30938         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30939         Undefine.
30940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30942         Likewise.
30943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30944         Likewise.
30945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30946         Likewise.
30947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30948         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30949         Undefine.
30950         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30951         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30952         Likewise.
30954         [BZ #16648]
30955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30957         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30959 2014-03-31  Will Newton  <will.newton@linaro.org>
30961         * benchtests/Makefile (bench): Add ffs and ffsll to list
30962         of tests.
30963         * benchtests/ffs-inputs: New file.
30964         * benchtests/ffsll-inputs: Likewise.
30966 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30968         [BZ #16770]
30969         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30970         too large before casting to int.
30971         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30972         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30973         * math/libm-test.inc (scalb_test_data): Add more tests.
30975 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30977         * benchtests/Makefile (DETAILED_OPT): New make option.
30978         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30979         set.
30980         * benchtests/bench-skeleton.c: Include stdbool.h.
30981         (main): Store and print timings per input.
30982         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30983         member to each argument value.
30984         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30985         (_print_arg_data): Initialize per-input timing to 0.
30987         * benchtests/Makefile (timing-type): New binary.
30988         (bench-clean): Also remove bench-timing-type.
30989         (bench): New target for timing-type.
30990         (bench-func): Print output in JSON format.
30991         * benchtests/bench-skeleton.c (main): Print output in JSON
30992         format.
30993         * benchtests/bench-timing-type.c: New file.
30994         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30995         (TIMING_PRINT_STATS): Remove.
30996         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30997         name separately.
30999         * benchtests/bench-modf.c: Remove.
31000         * benchtests/modf-inputs: New inputs file.
31002 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31004         [BZ #16362]
31005         * math/s_clog10.c (M_PI_LOG10E): New macro.
31006         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31007         imaginary parts are 0.
31008         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31009         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31010         imaginary parts are 0.
31011         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31012         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31013         imaginary parts are 0.
31014         * math/libm-test.inc (clog10_test_data): Update expected results
31015         for when real and imaginary parts are 0.
31017 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31019         * elf/dl-load.c: Finish conversion of __builtin_expect into
31020         __glibc_{un}likely.
31022 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31024         [BZ #16348]
31025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31026         1+x for argument with exponent below -67.
31027         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31028         Likewise.
31029         * math/auto-libm-test-in: Add more tests of exp.
31030         * math/auto-libm-test-out: Regenerated.
31032 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034         [BZ #16759]
31035         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31036         (nscd_getnetgrent): Use it.
31038         [BZ #16760]
31039         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31040         of stpcpy.
31042 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31044         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31045         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31046         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31047         (lll_robust_unlock): Remove out of line section. Use cfi
31048         intrinsics.
31049         (LLL_STUB_UNWIND_INFO*): Remove.
31050         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31051         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31052         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31053         (lll_robust_unlock): Remove out of line section. Use cfi
31054         intrinsics.
31055         (LLL_STUB_UNWIND_INFO*): Remove.
31057 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31059         [BZ #16758]
31060         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31061         blank values.
31063 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31065         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31067 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31069         [BZ #16198]
31070         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31071         fnstenv.
31072         * math/test-fenv-preserve.c: New file.
31073         * math/Makefile (tests): Add test-fenv-preserve.
31075 2014-03-26  Will Newton <will.newton@linaro.org>
31077         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31079 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31081         * scripts/versionlist.awk: Partition the version sets and emit all
31082         GLIBC_* (sorted) before all others (sorted).
31084 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31086         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31087         GLIBC_2.2.5 version.
31089 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31091         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31092         calls.
31094         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31095         previous change.
31097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31099 2014-03-25  Andreas Schwab  <schwab@suse.de>
31101         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31102         label to be used after in6ailist is initialized.
31104 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31106         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31107         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31109 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31111         [BZ #16357]
31112         [BZ #16599]
31113         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31114         min_plus_half.
31115         (fp_formats): Update initializers.
31116         (init_fp_formats): Initialize new field.
31117         (output_for_one_input_case): Allow underflow for results up to
31118         min_plus_half.
31119         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31120         * math/auto-libm-test-in: Don't mark some underflows from asin and
31121         atanh as spurious.
31122         * math/auto-libm-test-out: Regenerated.
31123         * sysdeps/i386/fpu/libm-test-ulps: Update.
31124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31126 2014-03-25  Andreas Schwab  <schwab@suse.de>
31128         * libio/Makefile (tst-ftell-partial-wide-ENV)
31129         (tst-ftell-active-handler-ENV): Define.
31131 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31133         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31135 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31137         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31139 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31141         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31142         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31143         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31145 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31147         [BZ #16634]
31148         * elf/dl-load.c (open_verify): Add mode parameter.
31149         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31150         (open_path): Change from boolean 'secure' to complete flag 'mode'
31151         (_dl_map_object): Adjust.
31152         * elf/Makefile (tests): Add tst-dlopen-aout.
31153         * elf/tst-dlopen-aout.c: New test.
31155 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31157         [BZ #16714]
31158         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31159         (struct stat): Rename member pad0 to __glibc_reserved0.
31161         [BZ #16712]
31162         * sysdeps/s390/s390-32/bits/wordsize.h
31163         (__WORDSIZE32_SIZE_ULONG): New define.
31164         * sysdeps/s390/s390-64/bits/wordsize.h
31165         (__WORDSIZE32_SIZE_ULONG): Likewise.
31166         * sysdeps/generic/stdint.h (SIZE_MAX):
31167         Define as UL if __WORDSIZE32_SIZE_ULONG.
31169         [BZ #16713]
31170         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31171         (__glibc_reserved0): New variable.
31172         (sa_flags): Change type to int.
31174         * posix/Makefile (before-compile): Use += before-compile instead
31175         of a :=.
31177         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31178         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31180 2014-03-20  Andreas Schwab  <schwab@suse.de>
31182         [BZ #16743]
31183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31184         non-matching result from nscd.
31186 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31188         * scripts/bench.py: Moved to ...
31189         * benchtests/scripts/bench.py: ... here.
31190         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31192 2014-03-24  Andreas Schwab  <schwab@suse.de>
31194         [BZ #16002]
31195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31196         alloca_account and account alloca use for struct in6ailist.
31198 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31200         [BZ #16284]
31201         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31202         rounding mode to recompute results that overflow to infinity or
31203         underflow to zero.
31204         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31205         bug 16284.
31206         * math/auto-libm-test-out: Regenerated.
31207         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31208         (ccosh_test): Likewise.
31209         (csin_test_data): Use plus_oflow.
31210         (csin_test): Use ALL_RM_TEST.
31211         (csinh_test_data): Use plus_oflow.
31212         (csinh_test): Use ALL_RM_TEST.
31213         * sysdeps/i386/fpu/libm-test-ulps: Update.
31214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31216 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31218         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31219         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31220         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31222         [BZ #16731]
31223         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31224         when x - 1 is zero.
31225         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31226         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31227         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31228         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31229         argument is 1.
31230         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31231         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31232         zero.
31233         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31234         * sysdeps/i386/fpu/libm-test-ulps: Update.
31235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31237 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31239         * scripts/bench.pl: Remove file.
31240         * scripts/bench.py: New benchmark script.
31241         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31242         * benchtests/README: Mention python dependency.
31243         * scripts/pylintrc: New file.
31244         * scripts/pylint: New file.
31246         * bits/mathdef.h: Use #ifdef instead of #if.
31247         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31248         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31249         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31250         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31251         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31252         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31254 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31255             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31257         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31259         and strpbrk-ppc64 objects.
31260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31261         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31262         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31263         multiarch strpbrk for POWER7.
31264         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31265         multiarch strpbrk for PPC64.
31266         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31267         ifunc selector.
31268         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31269         strpbrk for POWER7.
31271 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31273         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31274         (atan_test): Likewise.
31275         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31276         (atanh_test): Use ALL_RM_TEST.
31277         (atan2_test_data): Likewise.
31278         (cabs_test): Likewise.
31279         (cacosh_test): Likewise.
31280         (carg_test): Likewise.
31281         (casin_test): Likewise.
31282         (casinh_test): Likewise.
31283         (cbrt_test): Likewise.
31284         (csqrt_test): Likewise.
31285         (erf_test): Likewise.
31286         (erfc_test): Likewise.
31287         (pow10_test): Likewise.
31288         (exp2_test): Likewise.
31289         (hypot_test): Likewise.
31290         (j0_test): Likewise.
31291         (j1_test): Likewise.
31292         (lgamma_test): Likewise.
31293         (gamma_test): Likewise.
31294         (sincos_test): Likewise.
31295         (tanh_test): Likewise.
31296         (y0_test): Likewise.
31297         (y1_test): Likewise.
31298         * sysdeps/i386/fpu/libm-test-ulps: Update.
31299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31301 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31303         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31305         and strcspn-ppc64 objects.
31306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31307         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31308         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31309         multiarch strcspn for POWER7.
31310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31311         multiarch strcspn for PPC64.
31312         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31313         ifunc selector.
31314         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31315         strcspn for POWER7.
31317 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31319         * math/gen-libm-test.pl (generate_testfile): Expect only function
31320         name as argument to AUTO_TESTS_* and pass results for all rounding
31321         modes to parse_args.
31322         (parse_auto_input): Separate inputs of automatic tests from
31323         outputs before storing in %auto_tests.
31324         * math/libm-test.inc (acos_test_data): Update call to
31325         AUTO_TESTS_f_f.
31326         (acos_test): Use ALL_RM_TEST.
31327         (acos_tonearest_test_data): Remove.
31328         (acos_test_tonearest): Likewise.
31329         (acos_towardzero_test_data): Likewise.
31330         (acos_test_towardzero): Likewise.
31331         (acos_downward_test_data): Likewise.
31332         (acos_test_downward): Likewise.
31333         (acos_upward_test_data): Likewise.
31334         (acos_test_upward): Likewise.
31335         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31336         (asin_test_data): Likewise.
31337         (asin_test): Use ALL_RM_TEST.
31338         (asin_tonearest_test_data): Remove.
31339         (asin_test_tonearest): Likewise.
31340         (asin_towardzero_test_data): Likewise.
31341         (asin_test_towardzero): Likewise.
31342         (asin_downward_test_data): Likewise.
31343         (asin_test_downward): Likewise.
31344         (asin_upward_test_data): Likewise.
31345         (asin_test_upward): Likewise.
31346         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31347         (atan_test_data): Likewise.
31348         (atanh_test_data): Likewise.
31349         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31350         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31351         (carg_test_data): Likewise.
31352         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31353         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31354         (ccosh_test_data): Likewise.
31355         (cexp_test_data): Likewise.
31356         (clog_test_data): Likewise.
31357         (clog10_test_data): Likewise.
31358         (cos_test_data): Update call to AUTO_TESTS_f_f.
31359         (cos_test): Use ALL_RM_TEST.
31360         (cos_tonearest_test_data): Remove.
31361         (cos_test_tonearest): Likewise.
31362         (cos_towardzero_test_data): Likewise.
31363         (cos_test_towardzero): Likewise.
31364         (cos_downward_test_data): Likewise.
31365         (cos_test_downward): Likewise.
31366         (cos_upward_test_data): Likewise.
31367         (cos_test_upward): Likewise.
31368         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31369         (cosh_test): Use ALL_RM_TEST.
31370         (cosh_tonearest_test_data): Remove.
31371         (cosh_test_tonearest): Likewise.
31372         (cosh_towardzero_test_data): Likewise.
31373         (cosh_test_towardzero): Likewise.
31374         (cosh_downward_test_data): Likewise.
31375         (cosh_test_downward): Likewise.
31376         (cosh_upward_test_data): Likewise.
31377         (cosh_test_upward): Likewise.
31378         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31379         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31380         (ctan_test_data): Likewise.
31381         (ctan_test): Use ALL_RM_TEST.
31382         (ctan_tonearest_test_data): Remove.
31383         (ctan_test_tonearest): Likewise.
31384         (ctan_towardzero_test_data): Likewise.
31385         (ctan_test_towardzero): Likewise.
31386         (ctan_downward_test_data): Likewise.
31387         (ctan_test_downward): Likewise.
31388         (ctan_upward_test_data): Likewise.
31389         (ctan_test_upward): Likewise.
31390         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31391         (ctanh_test): Use ALL_RM_TEST.
31392         (ctanh_tonearest_test_data): Remove.
31393         (ctanh_test_tonearest): Likewise.
31394         (ctanh_towardzero_test_data): Likewise.
31395         (ctanh_test_towardzero): Likewise.
31396         (ctanh_downward_test_data): Likewise.
31397         (ctanh_test_downward): Likewise.
31398         (ctanh_upward_test_data): Likewise.
31399         (ctanh_test_upward): Likewise.
31400         (erf_test_data): Update call to AUTO_TESTS_f_f.
31401         (erfc_test_data): Likewise.
31402         (exp_test_data): Likewise.
31403         (exp_test): Use ALL_RM_TEST.
31404         (exp_tonearest_test_data): Remove.
31405         (exp_test_tonearest): Likewise.
31406         (exp_towardzero_test_data): Likewise.
31407         (exp_test_towardzero): Likewise.
31408         (exp_downward_test_data): Likewise.
31409         (exp_test_downward): Likewise.
31410         (exp_upward_test_data): Likewise.
31411         (exp_test_upward): Likewise.
31412         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31413         (exp10_test): Use ALL_RM_TEST.
31414         (exp10_tonearest_test_data): Remove.
31415         (exp10_test_tonearest): Likewise.
31416         (exp10_towardzero_test_data): Likewise.
31417         (exp10_test_towardzero): Likewise.
31418         (exp10_downward_test_data): Likewise.
31419         (exp10_test_downward): Likewise.
31420         (exp10_upward_test_data): Likewise.
31421         (exp10_test_upward): Likewise.
31422         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31423         (expm1_test_data): Likewise.
31424         (expm1_test): Use ALL_RM_TEST.
31425         (expm1_tonearest_test_data): Remove.
31426         (expm1_test_tonearest): Likewise.
31427         (expm1_towardzero_test_data): Likewise.
31428         (expm1_test_towardzero): Likewise.
31429         (expm1_downward_test_data): Likewise.
31430         (expm1_test_downward): Likewise.
31431         (expm1_upward_test_data): Likewise.
31432         (expm1_test_upward): Likewise.
31433         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31434         (fma_test): Use ALL_RM_TEST.
31435         (fma_towardzero_test_data): Remove.
31436         (fma_test_towardzero): Likewise.
31437         (fma_downward_test_data): Likewise.
31438         (fma_test_downward): Likewise.
31439         (fma_upward_test_data): Likewise.
31440         (fma_test_upward): Likewise.
31441         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31442         (j0_test_data): Update call to AUTO_TESTS_f_f.
31443         (j1_test_data): Likewise.
31444         (jn_test_data): Update call to AUTO_TESTS_if_f.
31445         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31446         (log_test_data): Update call to AUTO_TESTS_f_f.
31447         (log10_test_data): Likewise.
31448         (log1p_test_data): Likewise.
31449         (log2_test_data): Likewise.
31450         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31451         (pow_tonearest_test_data): Likewise.
31452         (sin_test_data): Update call to AUTO_TESTS_f_f.
31453         (sin_test): Use ALL_RM_TEST.
31454         (sin_tonearest_test_data): Remove.
31455         (sin_test_tonearest): Likewise.
31456         (sin_towardzero_test_data): Likewise.
31457         (sin_test_towardzero): Likewise.
31458         (sin_downward_test_data): Likewise.
31459         (sin_test_downward): Likewise.
31460         (sin_upward_test_data): Likewise.
31461         (sin_test_upward): Likewise.
31462         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31463         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31464         (sinh_test): Use ALL_RM_TEST.
31465         (sinh_tonearest_test_data): Remove.
31466         (sinh_test_tonearest): Likewise.
31467         (sinh_towardzero_test_data): Likewise.
31468         (sinh_test_towardzero): Likewise.
31469         (sinh_downward_test_data): Likewise.
31470         (sinh_test_downward): Likewise.
31471         (sinh_upward_test_data): Likewise.
31472         (sinh_test_upward): Likewise.
31473         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31474         (sqrt_test): Use ALL_RM_TEST.
31475         (sqrt_tonearest_test_data): Remove.
31476         (sqrt_test_tonearest): Likewise.
31477         (sqrt_towardzero_test_data): Likewise.
31478         (sqrt_test_towardzero): Likewise.
31479         (sqrt_downward_test_data): Likewise.
31480         (sqrt_test_downward): Likewise.
31481         (sqrt_upward_test_data): Likewise.
31482         (sqrt_test_upward): Likewise.
31483         (tan_test_data): Update call to AUTO_TESTS_f_f.
31484         (tan_test): Use ALL_RM_TEST.
31485         (tan_tonearest_test_data): Remove.
31486         (tan_test_tonearest): Likewise.
31487         (tan_towardzero_test_data): Likewise.
31488         (tan_test_towardzero): Likewise.
31489         (tan_downward_test_data): Likewise.
31490         (tan_test_downward): Likewise.
31491         (tan_upward_test_data): Likewise.
31492         (tan_test_upward): Likewise.
31493         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31494         (tgamma_test_data): Likewise.
31495         (y0_test_data): Likewise.
31496         (y1_test_data): Likewise.
31497         (yn_test_data): Update call to AUTO_TESTS_if_f.
31498         (main): Do not call removed functions.
31500 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31502         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31503         (ldexp_test_data): Remove.
31504         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31505         scalbn_test_data.
31506         (scalb_test): Use ALL_RM_TEST.
31508 2014-03-19  Andreas Schwab  <schwab@suse.de>
31510         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31512 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31514         [BZ #16649]
31515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31516         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31517         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31519         (__ASSUME_PREADV): Undefine.
31520         (__ASSUME_PWRITEV): Likewise.
31522 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31524         * bits/mman-linux.h: Add comment about non-Linux use.
31525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31526         bits/mman-linux.h resting place.
31528         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31529         * bits/mman-linux.h: ... here.
31531 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31533         * conform/conformtest.pl: Add standard definition when calling C
31534         preprocessor on data files.
31535         (checknamespace): Remove unused variable.
31537 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31539         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31540         minus_oflow, plus_uflow and minus_uflow in expected results.
31541         * math/libm-test.inc (scalbn_test_data): Add more tests of
31542         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31543         minus_uflow.
31544         (scalbn_test): Use ALL_RM_TEST.
31545         (scalbln_test_data): Add more tests of negative arguments.  Use
31546         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31547         (scalbln_test): Use ALL_RM_TEST.
31549 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31551         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31553 2014-03-18  Will Newton  <will.newton@linaro.org>
31555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31556         inaccurate comment.
31558 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31560         * Makerules [!subdir] (check-abi): Exit with error status if a
31561         test failed.
31563 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31565         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31566         for rint.  Include results for all rounding modes.
31567         (nearbyint_test): Use ALL_RM_TEST.
31568         (rint_test_data): Include all tests used for nearbyint.
31570 2014-03-17  Will Newton  <will.newton@linaro.org>
31572         * nptl/sysdeps/pthread/pthread.h: Revert previous
31573         change.
31575         * sysdeps/generic/ldsodefs.h: Revert previous
31576         change.
31578         * libio/genops.c: Revert previous change.
31579         * libio/libioP.h: Likewise.
31580         * stdio-common/vfprintf.c: Likewise.
31582         * sysdeps/generic/math_private.h: Revert previous
31583         change.
31585         * sysdeps/generic/math_private.h: Check whether
31586         HAVE_RM_CTX is defined with #ifdef rather
31587         than #if.
31589         * argp/argp-fmtstream.h: Check whether
31590         __STRICT_ANSI__ is defined with #ifdef rather
31591         than #if.
31592         * argp/argp.h: Likewise.
31594         * libio/genops.c: Check whether
31595         _IO_JUMPS_OFFSET is defined with #ifdef rather
31596         than #if.
31597         * libio/libioP.h: Likewise.
31598         * stdio-common/vfprintf.c: Likewise.
31600         * sysdeps/generic/ldsodefs.h: Check whether
31601         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31602         than #if.
31604         * nptl/sysdeps/pthread/pthread.h: Check
31605         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31606         its value.
31608 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31610         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31611         setting O_APPEND.
31612         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31613         test case.
31615         [BZ #16680]
31616         * libio/fileops.c (_IO_file_open): Seek to end of file but
31617         don't cache the offset.
31618         (get_file_offset): Remove function.
31619         (do_ftell): Use cached offset when available.
31620         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31621         don't cache the offset.
31622         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31623         case.
31624         (do_one_test): Call it.
31625         (do_ftell_test): Fix up expected old offset for a+ mode.
31626         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31627         available.
31629         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31630         up test status with function return status.
31631         (do_write_test): Likewise.
31632         (do_append_test): Likewise.
31634         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31635         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31636         Remove.
31638 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31640         * math/gen-libm-test.pl (parse_args): Handle results specified for
31641         each rounding mode separately.
31642         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31643         tests and results from lrint_tonearest_test_data,
31644         lrint_towardzero_test_data, lrint_downward_test_data and
31645         lrint_upward_test_data.
31646         (lrint_test): Use ALL_RM_TEST.
31647         (lrint_tonearest_test_data): Remove.
31648         (lrint_test_tonearest): Likewise.
31649         (lrint_towardzero_test_data): Likewise.
31650         (lrint_test_towardzero): Likewise.
31651         (lrint_downward_test_data): Likewise.
31652         (lrint_test_downward): Likewise.
31653         (lrint_upward_test_data): Likewise.
31654         (lrint_test_upward): Likewise.
31655         (llrint_test_data): Merge in per-rounding-mode tests and results
31656         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31657         llrint_downward_test_data and llrint_upward_test_data.
31658         (llrint_test): Use ALL_RM_TEST.
31659         (llrint_tonearest_test_data): Remove.
31660         (llrint_test_tonearest): Likewise.
31661         (llrint_towardzero_test_data): Likewise.
31662         (llrint_test_towardzero): Likewise.
31663         (llrint_downward_test_data): Likewise.
31664         (llrint_test_downward): Likewise.
31665         (llrint_upward_test_data): Likewise.
31666         (llrint_test_upward): Likewise.
31667         (rint_test_data): Merge in per-rounding-mode tests and results
31668         from rint_tonearest_test_data, rint_towardzero_test_data,
31669         rint_downward_test_data and rint_upward_test_data.  Add
31670         per-rounding-mode results for tests not in those arrays.
31671         (rint_test): Use ALL_RM_TEST.
31672         (rint_tonearest_test_data): Remove.
31673         (rint_test_tonearest): Likewise.
31674         (rint_towardzero_test_data): Likewise.
31675         (rint_test_towardzero): Likewise.
31676         (rint_downward_test_data): Likewise.
31677         (rint_test_downward): Likewise.
31678         (rint_upward_test_data): Likewise.
31679         (rint_test_upward): Likewise.
31680         (main): Don't call removed functions.
31682 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31684         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31685         "Compiled on ..." crapola.  It is anti-useful.
31687 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31689         * scripts/evaluate-test.sh: Handle fourth argument to determine
31690         whether test run should stop on failure.
31691         * Makeconfig (stop-on-test-failure): New variable.
31692         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31693         $(stop-on-test-failure).
31694         * Makefile (tests): Give a summary of results from testing and
31695         exit with failure status if they include an ERROR or FAIL.
31696         (xtests): Likewise.
31697         * manual/install.texi (Configuring and compiling): Mention
31698         stop-on-test-failure=y.
31699         * INSTALL: Regenerated.
31701 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31703         * scripts/versionlist.awk: New file.
31704         * Makerules [$(build-shared) = yes]
31705         (postclean-generated): Add Versions.def, not Versions.def.v and
31706         Versions.def.v.i.
31707         ($(common-objpfx)Versions.def.v.i): Target removed.
31708         ($(common-objpfx)Versions.def): New target.
31709         ($(common-objpfx)Versions.all): Depend on that rather that
31710         $(common-objpfx)Versions.def.v.
31711         * Versions.def: File removed.
31713         * Makeconfig (+gccwarn): Add -Wundef.
31714         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31715         a dl-sysdep.h breaking its contract.
31716         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31717         * include/stackinfo.h: New file.
31718         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31719         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31720         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31721         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31722         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31723         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31724         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31725         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31726         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31727         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31728         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31729         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31730         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31731         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31732         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31734 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31736         [BZ #16707]
31737         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31738         implementation.
31739         * math/libm-test.inc (round_test_data): Add more tests.
31741         [BZ #16706]
31742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31743         implementation.
31744         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31746         [BZ #16701]
31747         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31748         implementation.
31749         * math/libm-test.inc (ceil_test_data): Add more tests.
31751         * math/libm-test.inc (trunc_test_data): Add more tests related to
31752         BZ#16414.
31754 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31756         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31757         with #if rather than #ifdef.
31758         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31760 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31762         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31763         first.  Disable AVX-512 GCC support if assembler doesn't support
31764         it.
31765         * sysdeps/x86_64/configure: Regenerated.
31767 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31769         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31770         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31771         (__old_pthread_attr_setstack): Likewise.
31772         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31773         [!_STACK_GROWS_DOWN]: Likewise.
31775 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31777         * config.make.in (have-bash2): Delete.
31778         * configure.ac (libc_cv_have_bash2): Delete.
31779         * configure: Regenerate.
31780         * elf/Makefile (common-ldd-rewrite): Rename to ...
31781         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31782         (sh-ldd-rewrite): Delete.
31783         (bash-ldd-rewrite): Delete.
31784         (have-bash2): Delete checks.
31785         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31786         ldd-rewrite.
31788         * config.make.in (have-ksh): Delete.
31789         (KSH): Delete.
31790         * configure.ac (libc_cv_have_ksh): Delete.
31791         * configure: Regenerate.
31793         * elf/Makefile: Delete $(have-ksh) check.
31794         ($(objpfx)sotruss): Change KSH to BASH.
31795         * elf/sotruss.ksh: Rename to ...
31796         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31797         function style to match POSIX.  Drop ksh vim mode setting.
31799         * manual/time.texi (Specifying the Time Zone with TZ): Change
31800         Tuesday to Thursday.
31802         * debug/tst-longjmp_chk2.c: Update header comment.
31803         (stackoverflow_handler): Add comment.  Call assert on pass value.
31805 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31807         [BZ #16194]
31808         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31809         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31810         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31811         (La_x86_64_vector): Add zmm.
31812         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31813         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31814         ($(objpfx)tst-audit10): New target.
31815         ($(objpfx)tst-audit10.out): Likewise.
31816         (tst-audit10-ENV): New.
31817         (AVX512-CFLAGS): Likewise.
31818         (CFLAGS-tst-audit10.c): Likewise.
31819         (CFLAGS-tst-auditmod10a.c): Likewise.
31820         (CFLAGS-tst-auditmod10b.c): Likewise.
31821         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31822         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31823         * sysdeps/x86_64/configure: Regenerated.
31824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31825         AVX-512 zmm register support.
31826         (_dl_x86_64_save_sse): Likewise.
31827         (_dl_x86_64_restore_sse): Likewise.
31828         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31829         size vector registers.
31830         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31831         (ZMM_SIZE): Likewise.
31832         * sysdeps/x86_64/tst-audit10.c: New file.
31833         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31834         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31836 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31838         * configure.ac (HAVE_EHDR_START): New check.
31839         * configure: Regenerated.
31840         * config.h.in (HAVE_EHDR_START): New #undef.
31841         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31842         assuming the lowest-addressed segment maps the start of the file.
31844 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31846         * INSTALL: Regenerated.
31848 2014-03-13  Will Newton  <will.newton@linaro.org>
31850         * manual/setjmp.texi (System V contexts): Improve
31851         clarity and grammar of documentation.
31853 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31855         [BZ #16381]
31856         * elf/Makefile (tests): Add tst-pie2.
31857         (tests-pie): Add tst-pie2.
31858         * elf/tst-pie2.c: New file.
31859         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31860         for ET_EXEC.
31861         * elf/rtld.c (map_doit): Load executable as lt_executable.
31862         (dl_main): Likewise.
31864 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31866         [BZ #16642]
31867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31868         (__ASSUME_PSELECT): Undefine.
31870 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31872         [BZ #16689]
31873         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31874         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31875         static build.
31876         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31877         selector for static builds.
31879 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31881         [BZ #16695]
31882         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31883         key in the buffer.
31885 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31887         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31888         IFUNC selector for static builds.
31890 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31892         * sysdeps/mips/math_private.h [__mips_hard_float]
31893         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31894         libc_feresetround_mips_ctx.
31895         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31896         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31897         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31899         [BZ #16677]
31900         * math/s_nextafter.c (__nextafter): Do not return value from
31901         overflowing computation.
31902         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31903         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31904         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31905         Likewise.
31906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31907         Likewise.
31908         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31909         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31911 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31913         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31914         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31915         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31916         the new mov targetting sp.
31918 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31920         [BZ #16683]
31921         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31922         Define it for static builds as well.
31923         (NO_BZERO_IMPL): Likewise.
31925 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31927         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31928         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31929         multiarch strspn for PPC64.
31930         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31931         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31933         (__libc_ifunc_impl_list): Likewise.
31934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31935         multiarch optimizations
31936         * string/strspn.c (strspn): Using macro to redefine symbol name.
31938 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31939             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31941         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31942         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31943         multiarch strncat for PPC64.
31944         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31945         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31947         (__libc_ifunc_impl_list): Likewise.
31948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31949         multiarch optimizations
31951 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31953         [BZ #16639]
31954         * nscd/nscd.service: Make service type forking.
31956 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31958         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31959         sign in non default rounding modes.
31960         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31962 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31964         * math/libm-test.inc (ALL_RM_TEST): New macro.
31965         (ceil_test): Use ALL_RM_TEST.
31966         (cimag_test): Likewise.
31967         (conj_test): Likewise.
31968         (copysign_test): Likewise.
31969         (cproj_test): Likewise.
31970         (creal_test): Likewise.
31971         (fabs_test): Likewise.
31972         (floor_test): Likewise.
31973         (fmax_test): Likewise.
31974         (fmin_test): Likewise.
31975         (fmod_test): Likewise.
31976         (fpclassify_test): Likewise.
31977         (frexp_test): Likewise.
31978         (ilogb_test): Likewise.
31979         (isfinite_test): Likewise.
31980         (finite_test): Likewise.
31981         (isgreater_test): Likewise.
31982         (isgreaterequal_test): Likewise.
31983         (isinf_test): Likewise.
31984         (isless_test): Likewise.
31985         (islessequal_test): Likewise.
31986         (islessgreater_test): Likewise.
31987         (isnan_test): Likewise.
31988         (isnormal_test): Likewise.
31989         (issignaling_test): Likewise.
31990         (isunordered_test): Likewise.
31991         (logb_test): Likewise.
31992         (logb_downward_test_data): Remove.
31993         (logb_test_downward): Likewise.
31994         (lround_test): Use ALL_RM_TEST.
31995         (llround_test): Likewise.
31996         (modf_test): Likewise.
31997         (nexttoward_test): Likewise.
31998         (remainder_test): Likewise.
31999         (drem_test): Likewise.
32000         (remainder_tonearest_test_data): Likewise.
32001         (remainder_test_tonearest): Likewise.
32002         (drem_test_tonearest): Likewise.
32003         (remainder_towardzero_test_data): Likewise.
32004         (remainder_test_towardzero): Likewise.
32005         (drem_test_towardzero): Likewise.
32006         (remainder_downward_test_data): Likewise.
32007         (remainder_test_downward): Likewise.
32008         (drem_test_downward): Likewise.
32009         (remainder_upward_test_data): Likewise.
32010         (remainder_test_upward): Likewise.
32011         (drem_test_upward): Likewise.
32012         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32013         (round_test): Use ALL_RM_TEST.
32014         (signbit_test): Likewise.
32015         (trunc_test): Likewise.
32016         (significand_test): Likewise.
32017         (main): Don't call removed functions.
32019 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32021         [BZ #16674]
32022         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32023         || __USE_XOPEN2K8].
32024         (ILL_ILLOPN): Likewise.
32025         (ILL_ILLADR): Likewise.
32026         (ILL_ILLTRP): Likewise.
32027         (ILL_PRVOPC): Likewise.
32028         (ILL_PRVREG): Likewise.
32029         (ILL_COPROC): Likewise.
32030         (ILL_BADSTK): Likewise.
32031         (FPE_INTDIV): Likewise.
32032         (FPE_INTOVF): Likewise.
32033         (FPE_FLTDIV): Likewise.
32034         (FPE_FLTOVF): Likewise.
32035         (FPE_FLTUND): Likewise.
32036         (FPE_FLTRES): Likewise.
32037         (FPE_FLTINV): Likewise.
32038         (FPE_FLTSUB): Likewise.
32039         (SEGV_MAPERR): Likewise.
32040         (SEGV_ACCERR): Likewise.
32041         (BUS_ADRALN): Likewise.
32042         (BUS_ADRERR): Likewise.
32043         (BUS_OBJERR): Likewise.
32044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32045         (TRAP_TRACE): Likewise.
32046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32047         __USE_XOPEN2K8].
32048         (CLD_KILLED): Likewise.
32049         (CLD_DUMPED): Likewise.
32050         (CLD_TRAPPED): Likewise.
32051         (CLD_STOPPED): Likewise.
32052         (CLD_CONTINUED): Likewise.
32053         (POLL_IN): Likewise.
32054         (POLL_OUT): Likewise.
32055         (POLL_MSG): Likewise.
32056         (POLL_ERR): Likewise.
32057         (POLL_PRI): Likewise.
32058         (POLL_HUP): Likewise.
32059         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32060         Likewise.
32061         (ILL_ILLOPN): Likewise.
32062         (ILL_ILLADR): Likewise.
32063         (ILL_ILLTRP): Likewise.
32064         (ILL_PRVOPC): Likewise.
32065         (ILL_PRVREG): Likewise.
32066         (ILL_COPROC): Likewise.
32067         (ILL_BADSTK): Likewise.
32068         (FPE_INTDIV): Likewise.
32069         (FPE_INTOVF): Likewise.
32070         (FPE_FLTDIV): Likewise.
32071         (FPE_FLTOVF): Likewise.
32072         (FPE_FLTUND): Likewise.
32073         (FPE_FLTRES): Likewise.
32074         (FPE_FLTINV): Likewise.
32075         (FPE_FLTSUB): Likewise.
32076         (SEGV_MAPERR): Likewise.
32077         (SEGV_ACCERR): Likewise.
32078         (BUS_ADRALN): Likewise.
32079         (BUS_ADRERR): Likewise.
32080         (BUS_OBJERR): Likewise.
32081         (BUS_MCEERR_AR): Likewise.
32082         (BUS_MCEERR_AO): Likewise.
32083         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32084         (TRAP_TRACE): Likewise.
32085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32086         __USE_XOPEN2K8].
32087         (CLD_KILLED): Likewise.
32088         (CLD_DUMPED): Likewise.
32089         (CLD_TRAPPED): Likewise.
32090         (CLD_STOPPED): Likewise.
32091         (CLD_CONTINUED): Likewise.
32092         (POLL_IN): Likewise.
32093         (POLL_OUT): Likewise.
32094         (POLL_MSG): Likewise.
32095         (POLL_ERR): Likewise.
32096         (POLL_PRI): Likewise.
32097         (POLL_HUP): Likewise.
32098         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32099         (ILL_ILLOPN): Likewise.
32100         (ILL_ILLADR): Likewise.
32101         (ILL_ILLTRP): Likewise.
32102         (ILL_PRVOPC): Likewise.
32103         (ILL_PRVREG): Likewise.
32104         (ILL_COPROC): Likewise.
32105         (ILL_BADSTK): Likewise.
32106         (FPE_INTDIV): Likewise.
32107         (FPE_INTOVF): Likewise.
32108         (FPE_FLTDIV): Likewise.
32109         (FPE_FLTOVF): Likewise.
32110         (FPE_FLTUND): Likewise.
32111         (FPE_FLTRES): Likewise.
32112         (FPE_FLTINV): Likewise.
32113         (FPE_FLTSUB): Likewise.
32114         (SEGV_MAPERR): Likewise.
32115         (SEGV_ACCERR): Likewise.
32116         (BUS_ADRALN): Likewise.
32117         (BUS_ADRERR): Likewise.
32118         (BUS_OBJERR): Likewise.
32119         (BUS_MCEERR_AR): Likewise.
32120         (BUS_MCEERR_AO): Likewise.
32121         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32122         (TRAP_TRACE): Likewise.
32123         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32124         __USE_XOPEN2K8].
32125         (CLD_KILLED): Likewise.
32126         (CLD_DUMPED): Likewise.
32127         (CLD_TRAPPED): Likewise.
32128         (CLD_STOPPED): Likewise.
32129         (CLD_CONTINUED): Likewise.
32130         (POLL_IN): Likewise.
32131         (POLL_OUT): Likewise.
32132         (POLL_MSG): Likewise.
32133         (POLL_ERR): Likewise.
32134         (POLL_PRI): Likewise.
32135         (POLL_HUP): Likewise.
32136         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32137         Likewise.
32138         (ILL_ILLOPN): Likewise.
32139         (ILL_ILLADR): Likewise.
32140         (ILL_ILLTRP): Likewise.
32141         (ILL_PRVOPC): Likewise.
32142         (ILL_PRVREG): Likewise.
32143         (ILL_COPROC): Likewise.
32144         (ILL_BADSTK): Likewise.
32145         (ILL_BADIADDR): Likewise.
32146         (ILL_BREAK): Likewise.
32147         (FPE_INTDIV): Likewise.
32148         (FPE_INTOVF): Likewise.
32149         (FPE_FLTDIV): Likewise.
32150         (FPE_FLTOVF): Likewise.
32151         (FPE_FLTUND): Likewise.
32152         (FPE_FLTRES): Likewise.
32153         (FPE_FLTINV): Likewise.
32154         (FPE_FLTSUB): Likewise.
32155         (FPE_DECOVF): Likewise.
32156         (FPE_DECDIV): Likewise.
32157         (FPE_DECERR): Likewise.
32158         (FPE_INVASC): Likewise.
32159         (FPE_INVDEC): Likewise.
32160         (SEGV_MAPERR): Likewise.
32161         (SEGV_ACCERR): Likewise.
32162         (SEGV_PSTKOVF): Likewise.
32163         (BUS_ADRALN): Likewise.
32164         (BUS_ADRERR): Likewise.
32165         (BUS_OBJERR): Likewise.
32166         (BUS_MCEERR_AR): Likewise.
32167         (BUS_MCEERR_AO): Likewise.
32168         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32169         (TRAP_TRACE): Likewise.
32170         (TRAP_BRANCH): Likewise.
32171         (TRAP_HWBKPT): Likewise.
32172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32173         __USE_XOPEN2K8].
32174         (CLD_KILLED): Likewise.
32175         (CLD_DUMPED): Likewise.
32176         (CLD_TRAPPED): Likewise.
32177         (CLD_STOPPED): Likewise.
32178         (CLD_CONTINUED): Likewise.
32179         (POLL_IN): Likewise.
32180         (POLL_OUT): Likewise.
32181         (POLL_MSG): Likewise.
32182         (POLL_ERR): Likewise.
32183         (POLL_PRI): Likewise.
32184         (POLL_HUP): Likewise.
32185         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32186         (ILL_ILLOPN): Likewise.
32187         (ILL_ILLADR): Likewise.
32188         (ILL_ILLTRP): Likewise.
32189         (ILL_PRVOPC): Likewise.
32190         (ILL_PRVREG): Likewise.
32191         (ILL_COPROC): Likewise.
32192         (ILL_BADSTK): Likewise.
32193         (FPE_INTDIV): Likewise.
32194         (FPE_INTOVF): Likewise.
32195         (FPE_FLTDIV): Likewise.
32196         (FPE_FLTOVF): Likewise.
32197         (FPE_FLTUND): Likewise.
32198         (FPE_FLTRES): Likewise.
32199         (FPE_FLTINV): Likewise.
32200         (FPE_FLTSUB): Likewise.
32201         (SEGV_MAPERR): Likewise.
32202         (SEGV_ACCERR): Likewise.
32203         (BUS_ADRALN): Likewise.
32204         (BUS_ADRERR): Likewise.
32205         (BUS_OBJERR): Likewise.
32206         (BUS_MCEERR_AR): Likewise.
32207         (BUS_MCEERR_AO): Likewise.
32208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32209         (TRAP_TRACE): Likewise.
32210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32211         __USE_XOPEN2K8].
32212         (CLD_KILLED): Likewise.
32213         (CLD_DUMPED): Likewise.
32214         (CLD_TRAPPED): Likewise.
32215         (CLD_STOPPED): Likewise.
32216         (CLD_CONTINUED): Likewise.
32217         (POLL_IN): Likewise.
32218         (POLL_OUT): Likewise.
32219         (POLL_MSG): Likewise.
32220         (POLL_ERR): Likewise.
32221         (POLL_PRI): Likewise.
32222         (POLL_HUP): Likewise.
32223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32224         (ILL_ILLOPN): Likewise.
32225         (ILL_ILLADR): Likewise.
32226         (ILL_ILLTRP): Likewise.
32227         (ILL_PRVOPC): Likewise.
32228         (ILL_PRVREG): Likewise.
32229         (ILL_COPROC): Likewise.
32230         (ILL_BADSTK): Likewise.
32231         (FPE_INTDIV): Likewise.
32232         (FPE_INTOVF): Likewise.
32233         (FPE_FLTDIV): Likewise.
32234         (FPE_FLTOVF): Likewise.
32235         (FPE_FLTUND): Likewise.
32236         (FPE_FLTRES): Likewise.
32237         (FPE_FLTINV): Likewise.
32238         (FPE_FLTSUB): Likewise.
32239         (SEGV_MAPERR): Likewise.
32240         (SEGV_ACCERR): Likewise.
32241         (BUS_ADRALN): Likewise.
32242         (BUS_ADRERR): Likewise.
32243         (BUS_OBJERR): Likewise.
32244         (BUS_MCEERR_AR): Likewise.
32245         (BUS_MCEERR_AO): Likewise.
32246         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32247         (TRAP_TRACE): Likewise.
32248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32249         __USE_XOPEN2K8].
32250         (CLD_KILLED): Likewise.
32251         (CLD_DUMPED): Likewise.
32252         (CLD_TRAPPED): Likewise.
32253         (CLD_STOPPED): Likewise.
32254         (CLD_CONTINUED): Likewise.
32255         (POLL_IN): Likewise.
32256         (POLL_OUT): Likewise.
32257         (POLL_MSG): Likewise.
32258         (POLL_ERR): Likewise.
32259         (POLL_PRI): Likewise.
32260         (POLL_HUP): Likewise.
32261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32262         (ILL_ILLOPN): Likewise.
32263         (ILL_ILLADR): Likewise.
32264         (ILL_ILLTRP): Likewise.
32265         (ILL_PRVOPC): Likewise.
32266         (ILL_PRVREG): Likewise.
32267         (ILL_COPROC): Likewise.
32268         (ILL_BADSTK): Likewise.
32269         (FPE_INTDIV): Likewise.
32270         (FPE_INTOVF): Likewise.
32271         (FPE_FLTDIV): Likewise.
32272         (FPE_FLTOVF): Likewise.
32273         (FPE_FLTUND): Likewise.
32274         (FPE_FLTRES): Likewise.
32275         (FPE_FLTINV): Likewise.
32276         (FPE_FLTSUB): Likewise.
32277         (SEGV_MAPERR): Likewise.
32278         (SEGV_ACCERR): Likewise.
32279         (BUS_ADRALN): Likewise.
32280         (BUS_ADRERR): Likewise.
32281         (BUS_OBJERR): Likewise.
32282         (BUS_MCEERR_AR): Likewise.
32283         (BUS_MCEERR_AO): Likewise.
32284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32285         (TRAP_TRACE): Likewise.
32286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32287         __USE_XOPEN2K8].
32288         (CLD_KILLED): Likewise.
32289         (CLD_DUMPED): Likewise.
32290         (CLD_TRAPPED): Likewise.
32291         (CLD_STOPPED): Likewise.
32292         (CLD_CONTINUED): Likewise.
32293         (POLL_IN): Likewise.
32294         (POLL_OUT): Likewise.
32295         (POLL_MSG): Likewise.
32296         (POLL_ERR): Likewise.
32297         (POLL_PRI): Likewise.
32298         (POLL_HUP): Likewise.
32299         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32300         (ILL_ILLOPN): Likewise.
32301         (ILL_ILLADR): Likewise.
32302         (ILL_ILLTRP): Likewise.
32303         (ILL_PRVOPC): Likewise.
32304         (ILL_PRVREG): Likewise.
32305         (ILL_COPROC): Likewise.
32306         (ILL_BADSTK): Likewise.
32307         (ILL_DBLFLT): Likewise.
32308         (ILL_HARDWALL): Likewise.
32309         (FPE_INTDIV): Likewise.
32310         (FPE_INTOVF): Likewise.
32311         (FPE_FLTDIV): Likewise.
32312         (FPE_FLTOVF): Likewise.
32313         (FPE_FLTUND): Likewise.
32314         (FPE_FLTRES): Likewise.
32315         (FPE_FLTINV): Likewise.
32316         (FPE_FLTSUB): Likewise.
32317         (SEGV_MAPERR): Likewise.
32318         (SEGV_ACCERR): Likewise.
32319         (BUS_ADRALN): Likewise.
32320         (BUS_ADRERR): Likewise.
32321         (BUS_OBJERR): Likewise.
32322         (BUS_MCEERR_AR): Likewise.
32323         (BUS_MCEERR_AO): Likewise.
32324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32325         (TRAP_TRACE): Likewise.
32326         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32327         __USE_XOPEN2K8].
32328         (CLD_KILLED): Likewise.
32329         (CLD_DUMPED): Likewise.
32330         (CLD_TRAPPED): Likewise.
32331         (CLD_STOPPED): Likewise.
32332         (CLD_CONTINUED): Likewise.
32333         (POLL_IN): Likewise.
32334         (POLL_OUT): Likewise.
32335         (POLL_MSG): Likewise.
32336         (POLL_ERR): Likewise.
32337         (POLL_PRI): Likewise.
32338         (POLL_HUP): Likewise.
32339         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32340         (ILL_ILLOPN): Likewise.
32341         (ILL_ILLADR): Likewise.
32342         (ILL_ILLTRP): Likewise.
32343         (ILL_PRVOPC): Likewise.
32344         (ILL_PRVREG): Likewise.
32345         (ILL_COPROC): Likewise.
32346         (ILL_BADSTK): Likewise.
32347         (FPE_INTDIV): Likewise.
32348         (FPE_INTOVF): Likewise.
32349         (FPE_FLTDIV): Likewise.
32350         (FPE_FLTOVF): Likewise.
32351         (FPE_FLTUND): Likewise.
32352         (FPE_FLTRES): Likewise.
32353         (FPE_FLTINV): Likewise.
32354         (FPE_FLTSUB): Likewise.
32355         (SEGV_MAPERR): Likewise.
32356         (SEGV_ACCERR): Likewise.
32357         (BUS_ADRALN): Likewise.
32358         (BUS_ADRERR): Likewise.
32359         (BUS_OBJERR): Likewise.
32360         (BUS_MCEERR_AR): Likewise.
32361         (BUS_MCEERR_AO): Likewise.
32362         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32363         (TRAP_TRACE): Likewise.
32364         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32365         __USE_XOPEN2K8].
32366         (CLD_KILLED): Likewise.
32367         (CLD_DUMPED): Likewise.
32368         (CLD_TRAPPED): Likewise.
32369         (CLD_STOPPED): Likewise.
32370         (CLD_CONTINUED): Likewise.
32371         (POLL_IN): Likewise.
32372         (POLL_OUT): Likewise.
32373         (POLL_MSG): Likewise.
32374         (POLL_ERR): Likewise.
32375         (POLL_PRI): Likewise.
32376         (POLL_HUP): Likewise.
32377         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32378         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32380         [BZ #16670]
32381         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32382         before #include of <time.h>.
32383         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32384         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32385         (test-xfail-UNIX98/sched.h/conform): Likewise.
32387 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32389         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32390         error absence of trapping exception support.
32391         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32393 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32395         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32396         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32397         * timezone/Makefile (testdata): Move definition above include of
32398         Rules.
32399         (test-zones): New variable.
32400         (tests-special): Add zone files.
32401         (build-testdata): Use $(evaluate-test).
32403         * elf/Makefile (tests-special): Rename tests to end with .out.
32404         ($(objpfx)noload-mem): Likewise.
32405         ($(objpfx)tst-leaks1-mem): Likewise.
32406         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32407         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32408         $(objpfx)test-iconvconfig.out.
32409         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32410         set -e inside subshell and redirect output to file.
32411         * iconvdata/Makefile (generated): Rename tests to end with .out.
32412         Correct type.
32413         (tests-special): Rename tests to end with .out.
32414         ($(objpfx)mtrace-tst-loading): Likewise.
32415         * intl/Makefile (generated): Likewise.
32416         (tests-special): Likewise.
32417         ($(objpfx)mtrace-tst-gettext): Likewise.
32418         * misc/Makefile (generated): Likewise.
32419         (tests-special): Likewise.
32420         ($(objpfx)tst-error1-mem): Likewise.
32421         * nptl/Makefile (tests-special): Likewise.
32422         ($(objpfx)tst-stack3-mem): Likewise.
32423         (generated): Likewise.
32424         * posix/Makefile (generated): Likewise.
32425         (tests-special): Likewise.
32426         (xtests-special): Likewise.
32427         ($(objpfx)tst-fnmatch-mem): Likewise.
32428         ($(objpfx)bug-regex2-mem): Likewise.
32429         ($(objpfx)bug-regex14-mem): Likewise.
32430         ($(objpfx)bug-regex21-mem): Likewise.
32431         ($(objpfx)bug-regex31-mem): Likewise.
32432         ($(objpfx)tst-vfork3-mem): Likewise.
32433         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32434         ($(objpfx)tst-pcre-mem): Likewise.
32435         ($(objpfx)tst-boost-mem): Likewise.
32436         ($(objpfx)bug-ga2-mem): Likewise.
32437         ($(objpfx)bug-glob2-mem): Likewise.
32438         * resolv/Makefile (generate): Likewise.
32439         (tests-special): Likewise.
32440         (xtests-special): Likewise.
32441         (generated): Likewise.
32442         ($(objpfx)mtrace-tst-leaks): Likewise.
32443         ($(objpfx)mtrace-tst-leaks2): Likewise.
32445         * scripts/merge-test-results.sh: New file.
32446         * Makefile (tests-special-notdir): New variable.
32447         (tests): Run merge-test-results.sh.
32448         (xtests): Likewise.
32449         * Rules (tests-special-notdir): New variable.
32450         (xtests-special-notdir): Likewise.
32451         (tests): Run merge-test-results.sh
32452         (xtests): Likewise.
32454         * Makeconfig (test-xfail-name): New variable.
32455         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32456         compute variable name for expected failures.
32457         * conform/Makefile (conformtest-headers-data): New variable.
32458         (conformtest-standards): Likewise.
32459         (conformtest-headers-ISO): Likewise.
32460         (conformtest-headers-ISO99): Likewise.
32461         (conformtest-headers-ISO11): Likewise.
32462         (conformtest-headers-POSIX): Likewise.
32463         (conformtest-headers-XPG3): Likewise.
32464         (conformtest-headers-XPG4): Likewise.
32465         (conformtest-headers-UNIX98): Likewise.
32466         (conformtest-headers-XOPEN2K): Likewise.
32467         (conformtest-headers-POSIX2008): Likewise.
32468         (conformtest-headers-XOPEN2K8): Likewise.
32469         (conformtest-header-list-base): Likewise.
32470         (conformtest-header-list-tests): Likewise.
32471         (conformtest-header-base): Likewise.
32472         (conformtest-header-tests): Likewise.
32473         (tests-special): Add $(conformtest-header-list-tests).  If
32474         [$(fast-check) && !$(cross-compiling)], add
32475         $(conformtest-header-tests) instead of
32476         $(objpfx)run-conformtest.out.
32477         (generated): Add $(conformtest-header-list-base).  If
32478         [$(fast-check) && !$(cross-compiling)], add
32479         $(conformtest-header-base).  Remove previous setting.
32480         ($(conformtest-header-list-tests)): New target.
32481         (test-xfail-run-conformtest): Remove variable.
32482         ($(objpfx)run-conformtest.out): Remove target.
32483         (test-xfail-ISO11/complex.h/conform): New variable.
32484         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32485         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32486         (test-xfail-XPG3/varargs.h/conform): Likewise.
32487         (test-xfail-XPG4/varargs.h/conform): Likewise.
32488         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32489         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32490         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32491         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32492         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32493         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32494         (test-xfail-XPG3/ftw.h/conform): Likewise.
32495         (test-xfail-XPG3/grp.h/conform): Likewise.
32496         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32497         (test-xfail-XPG3/limits.h/conform): Likewise.
32498         (test-xfail-XPG3/pwd.h/conform): Likewise.
32499         (test-xfail-XPG3/search.h/conform): Likewise.
32500         (test-xfail-XPG3/signal.h/conform): Likewise.
32501         (test-xfail-XPG3/stdio.h/conform): Likewise.
32502         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32503         (test-xfail-XPG3/string.h/conform): Likewise.
32504         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32505         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32506         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32507         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32508         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32509         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32510         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32511         (test-xfail-XPG3/termios.h/conform): Likewise.
32512         (test-xfail-XPG3/time.h/conform): Likewise.
32513         (test-xfail-XPG3/unistd.h/conform): Likewise.
32514         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32515         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32516         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32517         (test-xfail-XPG4/netdb.h/conform): Likewise.
32518         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32519         (test-xfail-XPG4/signal.h/conform): Likewise.
32520         (test-xfail-XPG4/stdio.h/conform): Likewise.
32521         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32522         (test-xfail-XPG4/stropts.h/conform): Likewise.
32523         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32524         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32525         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32526         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32527         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32528         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32529         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32530         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32531         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32532         (test-xfail-XPG4/termios.h/conform): Likewise.
32533         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32534         (test-xfail-XPG4/unistd.h/conform): Likewise.
32535         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32536         (test-xfail-POSIX/sched.h/conform): Likewise.
32537         (test-xfail-POSIX/signal.h/conform): Likewise.
32538         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32539         (test-xfail-POSIX/tar.h/conform): Likewise.
32540         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32541         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32542         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32543         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32544         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32545         (test-xfail-UNIX98/sched.h/conform): Likewise.
32546         (test-xfail-UNIX98/signal.h/conform): Likewise.
32547         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32548         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32549         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32550         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32551         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32552         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32553         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32554         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32555         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32556         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32557         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32558         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32559         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32560         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32561         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32562         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32563         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32564         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32565         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32566         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32567         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32568         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32569         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32570         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32571         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32572         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32573         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32574         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32575         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32576         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32577         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32578         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32579         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32580         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32581         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32582         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32583         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32584         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32585         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32586         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32587         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32588         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32589         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32590         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32591         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32592         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32593         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32594         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32595         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32596         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32597         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32598         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32599         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32600         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32601         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32602         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32603         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32604         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32605         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32606         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32607         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32608         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32609         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32610         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32611         (conformtest-cc-flags): Likewise.
32612         ($(conformtest-header-tests): New target.
32613         * conform/check-header-lists.sh: New file.
32614         * conform/run-conformtest.sh: Remove.
32616         * conform/conformtest.pl: Allow ' and \ in values given for
32617         constants.
32618         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32619         inclusion.
32620         [POSIX] (sys/types.h): Likewise.
32621         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32622         inclusion.
32623         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32624         inclusion.
32625         * conform/data/signal.h-data (SIGIO): Remove expectation.
32626         [XPG3] (SIGBUS): Do not expect.
32627         [POSIX || XPG3] (SIGPOLL): Likewise.
32628         [POSIX || XPG3] (SIGPROF): Likewise.
32629         [POSIX || XPG3] (SIGSYS): Likewise.
32630         [XPG3] (SIGTRAP): Likewise.
32631         [POSIX || XPG3] (SIGURG): Likewise.
32632         [POSIX || XPG3] (SIGVTALRM): Likewise.
32633         [POSIX || XPG3] (SIGXCPU): Likewise.
32634         [POSIX || XPG3] (SIGXFSZ): Likewise.
32635         [POSIX] (SA_SIGINFO): Expect.
32636         [XPG3] (siginfo_t): Do not expect type or contents.
32637         [POSIX] (si_pid): Do not expect element.
32638         [POSIX] (si_uid): Likewise.
32639         [POSIX] (si_addr): Likewise.
32640         [POSIX] (si_status): Likewise.
32641         [POSIX] (si_band): Likewise.
32642         [XPG4] (si_value): Likewise.
32643         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32644         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32645         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32646         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32647         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32648         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32649         [POSIX || XPG3] (ILL_COPROC): Likewise.
32650         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32651         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32652         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32653         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32654         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32655         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32656         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32657         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32658         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32659         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32660         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32661         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32662         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32663         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32664         [POSIX || XPG3] (CLD_EXITED): Likewise.
32665         [POSIX || XPG3] (CLD_KILLED): Likewise.
32666         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32667         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32668         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32669         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32670         [POSIX || XPG3] (POLL_IN): Likewise.
32671         [POSIX || XPG3] (POLL_OUT): Likewise.
32672         [POSIX || XPG3] (POLL_MSG): Likewise.
32673         [POSIX || XPG3] (POLL_ERR): Likewise.
32674         [POSIX || XPG3] (POLL_PRI): Likewise.
32675         [POSIX || XPG3] (POLL_HUP): Likewise.
32676         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32677         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32678         (SIG*): Do not allow.
32679         [XPG3] (si_*): Likewise.
32680         [XPG3] (SI_*): Likewise.
32681         [XPG3 || XPG4] (sigev_*): Likewise.
32682         [XPG3 || XPG4] (SIGEV_*): Likewise.
32683         [XPG3 || XPG4] (sival_*): Likewise.
32684         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32685         [POSIX || XPG3] (BUS_*): Likewise.
32686         [POSIX || XPG3] (CLD_*): Likewise.
32687         [POSIX || XPG3] (FPE_*): Likewise.
32688         [POSIX || XPG3] (ILL_*): Likewise.
32689         [POSIX || XPG3] (POLL_*): Likewise.
32690         [POSIX || XPG3] (SEGV_*): Likewise.
32691         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32692         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32693         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32694         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32695         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32696         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32697         Specify type and value.
32698         (TVERSLEN): Likewise.
32699         (REGTYPE): Likewise.
32700         (AREGTYPE): Likewise.
32701         (LNKTYPE): Likewise.
32702         (SYMTYPE): Likewise.
32703         (CHRTYPE): Likewise.
32704         (BLKTYPE): Likewise.
32705         (DIRTYPE): Likewise.
32706         (FIFOTYPE): Likewise.
32707         (CONTTYPE): Likewise.
32708         (TSUID): Likewise.
32709         (TSGID): Likewise.
32710         (TSVTX): Likewise.
32711         (TUREAD): Likewise.
32712         (TUWRITE): Likewise.
32713         (TUEXEC): Likewise.
32714         (TGREAD): Likewise.
32715         (TGWRITE): Likewise.
32716         (TGEXEC): Likewise.
32717         (TOREAD): Likewise.
32718         (TOWRITE): Likewise.
32719         (TOEXEC): Likewise.
32720         [POSIX] (TSVTX): Expect constant.
32722 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32724         * Makefile (tests): Change dependencies to ....
32725         (tests-special): ... additions to this variable.
32726         (tests): Depend on $(tests-special).
32727         * Makerules (check-abi-list): New variable.
32728         (check-abi): Depend on $(check-abi-list).
32729         [$(subdir) = elf] (tests-special): Add
32730         $(objpfx)check-abi-libc.out.
32731         [$(build-shared) = yes && subdir] (tests-special): Add
32732         $(check-abi-list).
32733         [$(build-shared) = yes && subdir] (tests): Do not depend on
32734         check-abi.
32735         * Rules (tests): Depend on $(tests-special).
32736         (xtests): Depend on $(xtests-special).
32737         * catgets/Makefile (tests): Change dependencies to ....
32738         (tests-special): ... additions to this variable.
32739         * conform/Makefile (tests): Change dependencies to ....
32740         (tests-special): ... additions to this variable.
32741         * elf/Makefile (tests): Change dependencies to ....
32742         (tests-special): ... additions to this variable.
32743         * grp/Makefile (tests): Change dependencies to ....
32744         (tests-special): ... additions to this variable.
32745         * iconv/Makefile (xtests): Change dependencies to ....
32746         (xtests-special): ... additions to this variable.
32747         * iconvdata/Makefile (tests): Change dependencies to ....
32748         (tests-special): ... additions to this variable.
32749         * intl/Makefile (tests): Change dependencies to ....
32750         (tests-special): ... additions to this variable.  Also add
32751         $(objpfx)tst-gettext.out.
32752         * io/Makefile (tests): Change dependencies to ....
32753         (tests-special): ... additions to this variable.
32754         * libio/Makefile (tests): Change dependencies to ....
32755         (tests-special): ... additions to this variable.
32756         * malloc/Makefile (tests): Change dependencies to ....
32757         (tests-special): ... additions to this variable.
32758         * misc/Makefile (tests): Change dependencies to ....
32759         (tests-special): ... additions to this variable.
32760         * nptl/Makefile (tests): Change dependencies to ....
32761         (tests-special): ... additions to this variable.
32762         * nptl_db/Makefile (tests): Change dependencies to ....
32763         (tests-special): ... additions to this variable.
32764         * posix/Makefile (tests): Change dependencies to ....
32765         (tests-special): ... additions to this variable.
32766         (xtests): Change dependencies to ....
32767         (xtests-special): ... additions to this variable.
32768         * resolv/Makefile (tests): Change dependencies to ....
32769         (tests-special): ... additions to this variable.
32770         (xtests): Change dependencies to ....
32771         (xtests-special): ... additions to this variable.
32772         * stdio-common/Makefile (tests): Change dependencies to ....
32773         (tests-special): ... additions to this variable.
32774         (do-tst-unbputc): Remove target.
32775         (do-tst-printf): Likewise.
32776         * stdlib/Makefile (tests): Change dependencies to ....
32777         (tests-special): ... additions to this variable.
32778         * string/Makefile (tests): Change dependencies to ....
32779         (tests-special): ... additions to this variable.
32780         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32781         (tests-special): ... additions to this variable.
32783         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32784         whole file.
32785         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32786         whole file.
32787         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32788         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32790         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32791         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32792         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32793         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32794         * conform/data/libgen.h-data [XPG3]: Likewise.
32795         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32796         * conform/data/ndbm.h-data [XPG3]: Likewise.
32797         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32798         * conform/data/netdb.h-data [XPG3]: Likewise.
32799         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32800         * conform/data/poll.h-data [XPG3]: Likewise.
32801         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32802         * conform/data/strings.h-data [XPG3]: Likewise.
32803         * conform/data/stropts.h-data [XPG3]: Likewise.
32804         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32805         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32806         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32807         Likewise.
32808         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32809         * conform/data/sys/time.h-data [XPG3]: Likewise.
32810         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32811         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32812         * conform/data/sys/un.h-data [XPG3]: Likewise.
32813         * conform/data/syslog.h-data [XPG3]: Likewise.
32814         * conform/data/ucontext.h-data [XPG3]: Likewise.
32815         * conform/data/utmpx.h-data [XPG3]: Likewise.
32816         * conform/data/varargs.h-data [UNIX98]: Enable file.
32818         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32820         * math/libm-test.inc (struct test_f_f_data): Move expected results
32821         into structure for each rounding mode.
32822         (struct test_ff_f_data): Likewise.
32823         (struct test_ff_f_data_nexttoward): Likewise.
32824         (struct test_fi_f_data): Likewise.
32825         (struct test_fl_f_data): Likewise.
32826         (struct test_if_f_data): Likewise.
32827         (struct test_fff_f_data): Likewise.
32828         (struct test_c_f_data): Likewise.
32829         (struct test_f_f1_data): Likewise.
32830         (struct test_fF_f1_data): Likewise.
32831         (struct test_ffI_f1_data): Likewise.
32832         (struct test_c_c_data): Likewise.
32833         (struct test_cc_c_data): Likewise.
32834         (struct test_f_i_data): Likewise.
32835         (struct test_ff_i_data): Likewise.
32836         (struct test_f_l_data): Likewise.
32837         (struct test_f_L_data): Likewise.
32838         (struct test_fFF_11_data): Likewise.
32839         (RM_): New macro.
32840         (RM_FE_DOWNWARD): Likewise.
32841         (RM_FE_TONEAREST): Likewise.
32842         (RM_FE_TOWARDZERO): Likewise.
32843         (RM_FE_UPWARD): Likewise.
32844         (RUN_TEST_LOOP_f_f): Update references to expected results.
32845         (RUN_TEST_LOOP_2_f): Likewise.
32846         (RUN_TEST_LOOP_fff_f): Likewise.
32847         (RUN_TEST_LOOP_c_f): Likewise.
32848         (RUN_TEST_LOOP_f_f1): Likewise.
32849         (RUN_TEST_LOOP_fF_f1): Likewise.
32850         (RUN_TEST_LOOP_fI_f1): Likewise.
32851         (RUN_TEST_LOOP_ffI_f1): Likewise.
32852         (RUN_TEST_LOOP_c_c): Likewise.
32853         (RUN_TEST_LOOP_cc_c): Likewise.
32854         (RUN_TEST_LOOP_f_i): Likewise.
32855         (RUN_TEST_LOOP_f_i_tg): Likewise.
32856         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32857         (RUN_TEST_LOOP_f_b): Likewise.
32858         (RUN_TEST_LOOP_f_b_tg): Likewise.
32859         (RUN_TEST_LOOP_f_l): Likewise.
32860         (RUN_TEST_LOOP_f_L): Likewise.
32861         (RUN_TEST_LOOP_fFF_11): Likewise.
32862         * math/gen-libm-test.pl (parse_args): Output four copies of
32863         expected results for each test.
32865         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32866         (__ASSUME_UTIMES): Remove.
32867         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32868         (__ASSUME_UTIMES): Likewise.
32870         * math/gen-auto-libm-tests.c: Update comment on output format.
32871         (output_for_one_input_case): Generate before-rounding and
32872         after-rounding information as conditions on output flags not
32873         floating-point format.
32874         * math/auto-libm-test-out: Regenerated.
32875         * math/gen-libm-test.pl (cond_value): New function.
32876         (or_cond_value): Use cond_value.
32877         (generate_testfile): Handle conditional exceptions.
32879 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32881         * math/libm-test.inc (max_valid_error): New variable.
32882         (init_max_error): Take new argument specifying whether function
32883         results are exactly determined.  Set max_valid_error and bound
32884         other variables for errors based on this argument.
32885         (set_max_error): Do not record results above max_valid_error.
32886         (check_float_internal): Only accept errors of up to 0.5ulps if
32887         also at most max_valid_error.
32888         (START): Take new argument EXACT and pass it to init_max_error.
32889         (acos_test): Update call to START.
32890         (acos_test_tonearest): Likewise.
32891         (acos_test_towardzero): Likewise.
32892         (acos_test_downward): Likewise.
32893         (acos_test_upward): Likewise.
32894         (acosh_test): Likewise.
32895         (asin_test): Likewise.
32896         (asin_test_tonearest): Likewise.
32897         (asin_test_towardzero): Likewise.
32898         (asin_test_downward): Likewise.
32899         (asin_test_upward): Likewise.
32900         (asinh_test): Likewise.
32901         (atan_test): Likewise.
32902         (atanh_test): Likewise.
32903         (atan2_test): Likewise.
32904         (cabs_test): Likewise.
32905         (cacos_test): Likewise.
32906         (cacosh_test): Likewise.
32907         (carg_test): Likewise.
32908         (casin_test): Likewise.
32909         (casinh_test): Likewise.
32910         (catan_test): Likewise.
32911         (catanh_test): Likewise.
32912         (cbrt_test): Likewise.
32913         (ccos_test): Likewise.
32914         (ccosh_test): Likewise.
32915         (ceil_test): Likewise.
32916         (cexp_test): Likewise.
32917         (cimag_test): Likewise.
32918         (clog_test): Likewise.
32919         (clog10_test): Likewise.
32920         (conj_test): Likewise.
32921         (copysign_test): Likewise.
32922         (cos_test): Likewise.
32923         (cos_test_tonearest): Likewise.
32924         (cos_test_towardzero): Likewise.
32925         (cos_test_downward): Likewise.
32926         (cos_test_upward): Likewise.
32927         (cosh_test): Likewise.
32928         (cosh_test_tonearest): Likewise.
32929         (cosh_test_towardzero): Likewise.
32930         (cosh_test_downward): Likewise.
32931         (cosh_test_upward): Likewise.
32932         (cpow_test): Likewise.
32933         (cproj_test): Likewise.
32934         (creal_test): Likewise.
32935         (csin_test): Likewise.
32936         (csinh_test): Likewise.
32937         (csqrt_test): Likewise.
32938         (ctan_test): Likewise.
32939         (ctan_test_tonearest): Likewise.
32940         (ctan_test_towardzero): Likewise.
32941         (ctan_test_downward): Likewise.
32942         (ctan_test_upward): Likewise.
32943         (ctanh_test): Likewise.
32944         (ctanh_test_tonearest): Likewise.
32945         (ctanh_test_towardzero): Likewise.
32946         (ctanh_test_downward): Likewise.
32947         (ctanh_test_upward): Likewise.
32948         (erf_test): Likewise.
32949         (erfc_test): Likewise.
32950         (exp_test): Likewise.
32951         (exp_test_tonearest): Likewise.
32952         (exp_test_towardzero): Likewise.
32953         (exp_test_downward): Likewise.
32954         (exp_test_upward): Likewise.
32955         (exp10_test): Likewise.
32956         (exp10_test_tonearest): Likewise.
32957         (exp10_test_towardzero): Likewise.
32958         (exp10_test_downward): Likewise.
32959         (exp10_test_upward): Likewise.
32960         (pow10_test): Likewise.
32961         (exp2_test): Likewise.
32962         (expm1_test): Likewise.
32963         (expm1_test_tonearest): Likewise.
32964         (expm1_test_towardzero): Likewise.
32965         (expm1_test_downward): Likewise.
32966         (expm1_test_upward): Likewise.
32967         (fabs_test): Likewise.
32968         (fdim_test): Likewise.
32969         (floor_test): Likewise.
32970         (fma_test): Likewise.
32971         (fma_test_towardzero): Likewise.
32972         (fma_test_downward): Likewise.
32973         (fma_test_upward): Likewise.
32974         (fmax_test): Likewise.
32975         (fmin_test): Likewise.
32976         (fmod_test): Likewise.
32977         (fpclassify_test): Likewise.
32978         (frexp_test): Likewise.
32979         (hypot_test): Likewise.
32980         (ilogb_test): Likewise.
32981         (isfinite_test): Likewise.
32982         (finite_test): Likewise.
32983         (isgreater_test): Likewise.
32984         (isgreaterequal_test): Likewise.
32985         (isinf_test): Likewise.
32986         (isless_test): Likewise.
32987         (islessequal_test): Likewise.
32988         (islessgreater_test): Likewise.
32989         (isnan_test): Likewise.
32990         (isnormal_test): Likewise.
32991         (issignaling_test): Likewise.
32992         (isunordered_test): Likewise.
32993         (j0_test): Likewise.
32994         (j1_test): Likewise.
32995         (jn_test): Likewise.
32996         (ldexp_test): Likewise.
32997         (lgamma_test): Likewise.
32998         (gamma_test): Likewise.
32999         (lrint_test): Likewise.
33000         (lrint_test_tonearest): Likewise.
33001         (lrint_test_towardzero): Likewise.
33002         (lrint_test_downward): Likewise.
33003         (lrint_test_upward): Likewise.
33004         (llrint_test): Likewise.
33005         (llrint_test_tonearest): Likewise.
33006         (llrint_test_towardzero): Likewise.
33007         (llrint_test_downward): Likewise.
33008         (llrint_test_upward): Likewise.
33009         (log_test): Likewise.
33010         (log10_test): Likewise.
33011         (log1p_test): Likewise.
33012         (log2_test): Likewise.
33013         (logb_test): Likewise.
33014         (logb_test_downward): Likewise.
33015         (lround_test): Likewise.
33016         (llround_test): Likewise.
33017         (modf_test): Likewise.
33018         (nearbyint_test): Likewise.
33019         (nextafter_test): Likewise.
33020         (nexttoward_test): Likewise.
33021         (pow_test): Likewise.
33022         (pow_test_tonearest): Likewise.
33023         (pow_test_towardzero): Likewise.
33024         (pow_test_downward): Likewise.
33025         (pow_test_upward): Likewise.
33026         (remainder_test): Likewise.
33027         (drem_test): Likewise.
33028         (remainder_test_tonearest): Likewise.
33029         (drem_test_tonearest): Likewise.
33030         (remainder_test_towardzero): Likewise.
33031         (drem_test_towardzero): Likewise.
33032         (remainder_test_downward): Likewise.
33033         (drem_test_downward): Likewise.
33034         (remainder_test_upward): Likewise.
33035         (drem_test_upward): Likewise.
33036         (remquo_test): Likewise.
33037         (rint_test): Likewise.
33038         (rint_test_tonearest): Likewise.
33039         (rint_test_towardzero): Likewise.
33040         (rint_test_downward): Likewise.
33041         (rint_test_upward): Likewise.
33042         (round_test): Likewise.
33043         (scalb_test): Likewise.
33044         (scalbn_test): Likewise.
33045         (scalbln_test): Likewise.
33046         (signbit_test): Likewise.
33047         (sin_test): Likewise.
33048         (sin_test_tonearest): Likewise.
33049         (sin_test_towardzero): Likewise.
33050         (sin_test_downward): Likewise.
33051         (sin_test_upward): Likewise.
33052         (sincos_test): Likewise.
33053         (sinh_test): Likewise.
33054         (sinh_test_tonearest): Likewise.
33055         (sinh_test_towardzero): Likewise.
33056         (sinh_test_downward): Likewise.
33057         (sinh_test_upward): Likewise.
33058         (sqrt_test): Likewise.
33059         (sqrt_test_tonearest): Likewise.
33060         (sqrt_test_towardzero): Likewise.
33061         (sqrt_test_downward): Likewise.
33062         (sqrt_test_upward): Likewise.
33063         (tan_test): Likewise.
33064         (tan_test_tonearest): Likewise.
33065         (tan_test_towardzero): Likewise.
33066         (tan_test_downward): Likewise.
33067         (tan_test_upward): Likewise.
33068         (tanh_test): Likewise.
33069         (tgamma_test): Likewise.
33070         (trunc_test): Likewise.
33071         (y0_test): Likewise.
33072         (y1_test): Likewise.
33073         (yn_test): Likewise.
33074         (significand_test): Likewise.
33076         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33077         individual tests in comment.
33078         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33079         (prev_max_error): New variable.
33080         (prev_real_max_error): Likewise.
33081         (prev_imag_max_error): Likewise.
33082         (compare_ulp_data): Don't refer to test names in comment.
33083         (find_test_ulps): Remove function.
33084         (find_function_ulps): Likewise.
33085         (find_complex_function_ulps): Likewise.
33086         (init_max_error): Take function name as argument.  Look up ulps
33087         for that function.
33088         (print_ulps): Remove function.
33089         (print_max_error): Use prev_max_error instead of calling
33090         find_function_ulps.
33091         (print_complex_max_error): Use prev_real_max_error and
33092         prev_imag_max_error instead of calling find_complex_function_ulps.
33093         (check_float_internal): Take max_ulp parameter instead of calling
33094         find_test_ulps.  Don't call print_ulps.
33095         (check_float): Update call to check_float_internal.
33096         (check_complex): Update calls to check_float_internal.
33097         (START): Pass argument to init_max_error.
33098         * math/gen-libm-test.pl (%results): Don't include "kind"
33099         information.
33100         (parse_ulps): Don't handle ulps of individual tests.
33101         (print_ulps_file): Likewise.
33102         (output_ulps): Likewise.
33103         * math/README.libm-test: Update.
33104         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33105         individual tests.
33106         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33107         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33108         * sysdeps/arm/libm-test-ulps: Likewise.
33109         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33110         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33111         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33112         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33113         * sysdeps/microblaze/libm-test-ulps: Likewise.
33114         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33115         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33116         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33117         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33118         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33119         * sysdeps/sh/libm-test-ulps: Likewise.
33120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33121         * sysdeps/tile/libm-test-ulps: Likewise.
33122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33124 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33126         * math/libm-test.inc (print_complex_max_error): Check separately
33127         whether real and imaginary errors are within allowed range and
33128         pass 0 to print_complex_function_ulps instead of value within
33129         allowed range.
33131 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33133         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33134         formatting.
33135         (get_handles_fopen): Likewise.
33136         (do_write_test): Likewise.
33138         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33140         * libio/fileops.c (do_ftell): Use cached offset when
33141         available.
33142         * libio/iofwide.c (do_ftell_wide): Likewise.
33143         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33144         _IO_file_attach.
33145         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33147         [BZ #16532]
33148         * libio/libioP.h (get_file_offset): New function.
33149         * libio/fileops.c (get_file_offset): Likewise.
33150         (do_ftell): Likewise.
33151         (_IO_new_file_seekoff): Split out ftell logic.
33152         * libio/wfileops.c (do_ftell_wide): Likewise.
33153         (_IO_wfile_seekoff): Split out ftell logic.
33154         * libio/tst-ftell-active-handler.c: New test case.
33155         * libio/Makefile (tests): Add it.
33157 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33159         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33160         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33162 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33164         [BZ #16639]
33165         * nscd/connections.c (nscd_init): Call do_exit.
33166         (start_threads): Call do_exit and notify_parent.
33167         (begin_drop_privileges): Call do_exit.
33168         (finish_drop_privileges): Likewise.
33169         * nscd/selinux.c (preserve_capabilities): Likewise.
33170         (install_real_capabilities): Likewise.
33171         (nscd_selinux_enabled): Likewise.
33172         (avc_create_thread): Likewise.
33173         (avc_alloc_lock): Likewise.
33174         (nscd_avc_init): Likewise.
33175         * nscd/nscd.c (parent_fd): New static variable.
33176         (main): Create a pipe between parent and child processes.
33177         Skip closing parent_fd.
33178         (monitor_child): New function.
33179         (do_exit): Likewise.
33180         (notify_parent): Likewise.
33181         * nscd/nscd.h (notify_parent): Likewise.
33182         (do_exit): Likewise.
33184 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33186         * malloc/malloc.c (__libc_calloc): Revert last change.
33188 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33192 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33194         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33196         implementation.
33197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33198         (__libc_ifunc_impl_list): Likewise.
33199         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33200         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33201         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33202         * string/strrchr.c: Define STRRCHR.
33204 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33206         * benchtest/bench-strtok.c (simple_strtok): Delete.
33207         (strtok_string): Use as benchmark.
33208         * string/strtok (STRTOK): New macro.
33210 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33212         * manual/threads.texi: Add header and standard comments to all
33213         functions.
33215         * elf/dl-lookup.c (check_match): New function.
33216         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33217         (do_lookup_x): Remove nested function check_match. Use non-nested
33218         function check_match.
33220 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33222         * csu/Makefile (generated, before-compile): Use += rather than =.
33223         * catgets/Makefile (generated, generated-dirs): Likewise.
33224         * debug/Makefile (generated): Likewise.
33225         * dlfcn/Makefile (generated): Likewise.
33226         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33227         * iconvdata/Makefile (before-compile, generated): Likewise.
33228         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33229         * libio/Makefile (generated): Likewise.
33230         * malloc/Makefile (generated): Likewise.
33231         * manual/Makefile (generated, generated-dirs): Likewise.
33232         * misc/Makefile (generated): Likewise.
33233         * posix/Makefile (generated): Likewise.
33234         * resolv/Makefile (generated): Likewise.
33235         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33236         * timezone/Makefile (generated, generated-dirs): Likewise.
33238         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33240 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33243         power8 implementation.
33244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33245         file: POWER8 llround ifunc implementation.
33246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33247         (__lllround): Add POWER8 implementation.
33248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33249         POWER8 llround implementation.
33251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33252         power8 implementation.
33253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33254         file: POWER8 llrint ifunc implementation.
33255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33256         Add POWER8 implementation.
33257         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33258         POWER8 llrint implementation.
33260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33261         power8 implementation.
33262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33263         file: POWER8 finite ifunc implementation.
33264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33265         Add POWER8 implementation.
33266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33267         Likewise.
33268         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33269         POWER8 finite implementation.
33270         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33273         power8 implementation.
33274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33275         file: POWER8 isinf ifunc implementation.
33276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33277         POWER8 implementation.
33278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33279         Likewise.
33280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33281         isinf implementation.
33282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33284         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33285         (INIT_ARCH): Add hwcap2 initialization.
33286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33287         power8 implementation.
33288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33289         file: POWER8 isnan ifunc implementation.
33290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33291         POWER8 implementation.
33292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33293         Likewise.
33294         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33295         isnan implementation.
33296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33298 2014-02-27  Joey Ye  <joey.ye@arm.com>
33300         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33301         (_FP_NANFRAC_Q): Set to zero.
33303 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33305         [BZ #16623]
33306         * math/auto-libm-test-in: New test inputs.
33307         * math/auto-libm-test-out: Regenerate.
33308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33309         and DA.
33310         (__cos): Likewise.
33311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33313 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33315         * scripts/evaluate-test.sh: Take new argument indicating whether
33316         failure is expected.
33317         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33318         indicating whether failure is expected.
33319         * conform/Makefile (test-xfail-run-conformtest): New variable.
33320         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33321         level.
33322         * posix/Makefile (test-xfail-annexc): New variable.
33323         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33325 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33327         * argp/Makefile: Include Makeconfig immediately after defining
33328         subdir.
33329         * assert/Makefile: Likewise.
33330         * benchtests/Makefile: Likewise.
33331         * catgets/Makefile: Likewise.
33332         * conform/Makefile: Likewise.
33333         * crypt/Makefile: Likewise.
33334         * csu/Makefile: Likewise.
33335         (all): Remove target.
33336         * ctype/Makefile: Include Makeconfig immediately after defining
33337         subdir.
33338         * debug/Makefile: Likewise.
33339         * dirent/Makefile: Likewise.
33340         * dlfcn/Makefile: Likewise.
33341         * gmon/Makefile: Likewise.
33342         * gnulib/Makefile: Likewise.
33343         * grp/Makefile: Likewise.
33344         * gshadow/Makefile: Likewise.
33345         * hesiod/Makefile: Likewise.
33346         * hurd/Makefile: Likewise.
33347         (all): Remove target.
33348         * iconvdata/Makefile: Include Makeconfig immediately after
33349         defining subdir.
33350         * inet/Makefile: Likewise.
33351         * intl/Makefile: Likewise.
33352         * io/Makefile: Likewise.
33353         * libio/Makefile: Likewise.
33354         (all): Remove target.
33355         * locale/Makefile: Include Makeconfig immediately after defining
33356         subdir.
33357         * login/Makefile: Likewise.
33358         * mach/Makefile: Likewise.
33359         (all): Remove target.
33360         * malloc/Makefile: Include Makeconfig immediately after defining
33361         subdir.
33362         (all): Remove target.
33363         * manual/Makefile: Include Makeconfig immediately after defining
33364         subdir.
33365         * math/Makefile: Likewise.
33366         * misc/Makefile: Likewise.
33367         * nis/Makefile: Likewise.
33368         * nss/Makefile: Likewise.
33369         * po/Makefile: Likewise.
33370         (all): Remove target.
33371         * posix/Makefile: Include Makeconfig immediately after defining
33372         subdir.
33373         * pwd/Makefile: Likewise.
33374         * resolv/Makefile: Likewise.
33375         * resource/Makefile: Likewise.
33376         * rt/Makefile: Likewise.
33377         * setjmp/Makefile: Likewise.
33378         * shadow/Makefile: Likewise.
33379         * signal/Makefile: Likewise.
33380         * socket/Makefile: Likewise.
33381         * soft-fp/Makefile: Likewise.
33382         * stdio-common/Makefile: Likewise.
33383         * stdlib/Makefile: Likewise.
33384         * streams/Makefile: Likewise.
33385         * string/Makefile: Likewise.
33386         * sunrpc/Makefile: Likewise.
33387         (all): Remove target.
33388         * sysvipc/Makefile: Include Makeconfig immediately after defining
33389         subdir.
33390         * termios/Makefile: Likewise.
33391         * time/Makefile: Likewise.
33392         * timezone/Makefile: Likewise.
33393         (all): Remove target.
33394         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33395         subdir.
33396         * wctype/Makefile: Likewise.
33398 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33400         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33401         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33402         (libc_feholdexcept_setround_mips): Ditto.
33403         (libc_feholdsetround): New.
33404         (libc_feholdsetroundf): New.
33405         (libc_feholdsetroundl): New.
33406         (libc_feupdateenv_test_mips): New.
33407         (libc_feupdateenv_test): New.
33408         (libc_feupdateenv_testf): New.
33409         (libc_feupdateenv_testl): New.
33410         (libc_feresetround): New.
33411         (libc_feresetroundf): New.
33412         (libc_feresetroundl): New.
33413         (libc_fetestexcept_mips): New.
33414         (libc_fetestexcept): New.
33415         (libc_fetestexceptf): New.
33416         (libc_fetestexceptl): New.
33417         (HAVE_RM_CTX): New.
33418         (libc_feholdexcept_setround_mips_ctx): New.
33419         (libc_feholdexcept_setround_ctx): New.
33420         (libc_feholdexcept_setroundf_ctx): New.
33421         (libc_feholdexcept_setroundl_ctx): New.
33422         (libc_fesetenv_mips_ctx): New.
33423         (libc_fesetenv_ctx): New.
33424         (libc_fesetenv_ctxf): New.
33425         (libc_fesetenv_ctxl): New.
33426         (libc_feupdateenv_mips_ctx): New.
33427         (libc_feupdateenv_ctx): New.
33428         (libc_feupdateenvf_ctx): New.
33429         (libc_feupdateenvl_ctx): New.
33430         (libc_feholdsetround_mips_ctx): New.
33431         (libc_feholdsetround_ctx): New.
33432         (libc_feholdsetroundf_ctx): New.
33433         (libc_feholdsetroundl_ctx): New.
33434         (libc_feresetround_mips_ctx): New.
33435         (libc_feresetround_ctx): New.
33436         (libc_feresetroundf_ctx): New.
33437         (libc_feresetroundl_ctx): New.
33439 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33441         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33443         * manual/ipc.texi: New file.
33444         * manual/Makefile (chapters): Add ipc.
33445         * manual/job.texi: Add "Inter-Process Communication" to next.
33446         * manual/process.texi: Add "Inter-Process Communication" to prev.
33448 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33452 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33454         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33456         * manual/arith.texi: Fix spaces after sentences.
33457         * manual/charset.texi: Likewise.
33458         * manual/errno.texi: Likewise.
33459         * manual/install.texi: Likewise.
33460         * manual/llio.texi: Likewise.
33461         * manual/locale.texi: Likewise.
33462         * manual/maint.texi: Likewise.
33463         * manual/math.texi: Likewise.
33464         * manual/memory.texi: Likewise.
33465         * manual/message.texi: Likewise.
33466         * manual/probes.texi: Likewise.
33467         * manual/resource.texi: Likewise.
33468         * manual/signal.texi: Likewise.
33469         * manual/socket.texi: Likewise.
33470         * manual/stdio.texi: Likewise.
33471         * manual/string.texi: Likewise.
33472         * manual/time.texi: Likewise.
33473         * manual/users.texi: Likewise.
33475 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33477         [BZ #16632]
33478         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33479         _DEFAULT_SOURCE is defined.
33481 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33482             Carlos O'Donell  <carlos@redhat.com>
33484         [BZ #16613]
33485         * elf/dl-tls.c (_dl_count_modids): New function.
33486         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33487         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33488         audit library and increment generation counter.
33489         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33490         * elf/tst-audit9.c: New file.
33491         * elf/tst-auditmod9a.c: New file.
33492         * elf/tst-auditmod9b.c: New file.
33493         * elf/Makefile: Add rules to build and run tst-audit9.
33495 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33497         [BZ #15347]
33498         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33500 2014-02-25  Will Newton  <will.newton@linaro.org>
33502         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33503         (__longjmp): Restore sp and lr before restoring callee
33504         saved registers.  Add longjmp and longjmp_target
33505         SystemTap probe point.
33506         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33507         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33508         Define to zero to match jmpbuf layout.
33509         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33510         (__sigsetjmp): Save sp and lr before saving callee
33511         saved registers.  Add setjmp SystemTap probe point.
33513 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33515         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33517 2014-02-24  Andreas Schwab  <schwab@suse.de>
33519         [BZ #15804]
33520         * elf/pldd.c (wait_for_ptrace_stop): New function.
33521         (main): Call it after attaching.
33523 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33525         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33526         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33527         Versions files is now verboten.
33528         * hurd/Versions (libc: GLIBC_2.0):
33529         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33530         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33531         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33532         * mach/Versions: Likewise.
33534         * csu/Versions: Remove unused %include.
33535         * resolv/Versions: Likewise.
33537 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33539         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33540         ($(objpfx)check-local-headers.out): Likewise.
33541         ($(objpfx)begin-end-check.out): Likewise.
33542         * Makerules (check-abi-%.out): Likewise.
33543         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33544         ($(objpfx)test2.cat): Likewise.
33545         ($(objpfx)de/libc.cat): Likewise.
33546         ($(objpfx)test-gencat.out): Likewise.
33547         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33548         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33549         ($(objpfx)noload-mem): Likewise.
33550         ($(objpfx)tst-pathopt.out): Likewise.
33551         ($(objpfx)tst-rtld-load-self.out): Likewise.
33552         ($(objpfx)tst-array1-cmp.out): Likewise.
33553         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33554         ($(objpfx)tst-array2-cmp.out): Likewise.
33555         ($(objpfx)tst-array3-cmp.out): Likewise.
33556         ($(objpfx)tst-array4-cmp.out): Likewise.
33557         ($(objpfx)tst-array5-cmp.out): Likewise.
33558         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33559         ($(objpfx)check-textrel.out): Likewise.
33560         ($(objpfx)check-execstack.out): Likewise.
33561         ($(objpfx)check-localplt.out): Likewise.
33562         ($(objpfx)order2-cmp.out): Likewise.
33563         ($(objpfx)tst-leaks1-mem): Likewise.
33564         ($(objpfx)tst-leaks1-static-mem): Likewise.
33565         ($(objpfx)tst-initorder-cmp.out): Likewise.
33566         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33567         ($(objpfx)tst-unused-dep.out): Likewise.
33568         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33569         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33570         * iconv/Makefile (test-iconvconfig): Likewise.
33571         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33572         ($(objpfx)iconv-test.out): Likewise.
33573         ($(objpfx)tst-tables.out): Likewise.
33574         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33575         ($(objpfx)tst-gettext.out): Likewise.
33576         ($(objpfx)tst-translit.out): Likewise.
33577         ($(objpfx)tst-gettext2.out): Likewise.
33578         ($(objpfx)tst-gettext4.out): Likewise.
33579         ($(objpfx)tst-gettext6.out): Likewise.
33580         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33581         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33582         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33583         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33584         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33585         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33586         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33587         ($(objpfx)wordexp-tst.out): Likewise.
33588         ($(objpfx)annexc.out): Likewise.
33589         ($(objpfx)tst-fnmatch-mem): Likewise.
33590         ($(objpfx)bug-regex2-mem): Likewise.
33591         ($(objpfx)bug-regex14-mem): Likewise.
33592         ($(objpfx)bug-regex21-mem): Likewise.
33593         ($(objpfx)bug-regex31-mem): Likewise.
33594         ($(objpfx)tst-vfork3-mem): Likewise.
33595         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33596         ($(objpfx)tst-pcre-mem): Likewise.
33597         ($(objpfx)tst-boost-mem): Likewise.
33598         ($(objpfx)tst-getconf.out): Likewise.
33599         ($(objpfx)bug-ga2-mem): Likewise.
33600         ($(objpfx)bug-glob2-mem): Likewise.
33601         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33602         ($(objpfx)mtrace-tst-leaks2): Likewise.
33603         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33604         ($(objpfx)tst-printf.out): Likewise.
33605         ($(objpfx)tst-setvbuf1.out): Likewise.
33606         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33607         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33608         ($(objpfx)tst-fmtmsg.out): Likewise.
33609         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33610         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33612         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33613         * bits/sigaction.h [__USE_MISC]: Likewise.
33614         * bits/waitstatus.h: Update #endif comments.
33615         * ctype/ctype.h: Likewise.
33616         * dirent/dirent.h: Likewise.
33617         [__USE_MISC]: Remove redundant conditionals.
33618         * grp/grp.h: Update #endif comments.
33619         [__USE_GNU]: Remove redundant conditionals.
33620         [__USE_MISC]: Likewise.
33621         * inet/netinet/in.h [__USE_GNU]: Likewise.
33622         * io/sys/stat.h [__USE_MISC]: Likewise.
33623         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33624         * libio/bits/stdio.h: Update #endif comments.
33625         [__USE_MISC]: Remove redundant conditionals.
33626         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33627         * libio/stdio.h: Update #endif comments.
33628         [__USE_MISC]: Remove redundant conditionals.
33629         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33630         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33631         * math/math.h: Update #else and #endif comments.
33632         [__USE_MISC]: Remove redundant conditionals.
33633         * misc/sys/uio.h: Update #endif comments.
33634         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33635         * posix/glob.h [__USE_MISC]: Likewise.
33636         * posix/sys/types.h: Update #endif comments.
33637         [__USE_MISC]: Remove redundant conditionals.
33638         * posix/sys/wait.h: Update #endif comments.
33639         [__USE_MISC]: Remove redundant conditionals.
33640         * posix/unistd.h: Update #endif comments.
33641         [__USE_MISC]: Remove redundant conditionals.
33642         * pwd/pwd.h [__USE_GNU]: Likewise.
33643         [__USE_MISC]: Likewise.
33644         * resolv/netdb.h [__USE_GNU]: Likewise.
33645         * signal/signal.h: Update #endif comments.
33646         [__USE_MISC]: Remove redundant conditionals.
33647         * stdlib/stdlib.h: Update #else and #endif comments.
33648         [__USE_MISC]: Remove redundant conditionals.
33649         [__USE_GNU]: Likewise.
33650         * string/bits/string2.h [__USE_MISC]: Likewise.
33651         * string/string.h: Update #endif comments.
33652         [__USE_MISC]: Remove redundant conditionals.
33653         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33654         Likewise.
33655         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33656         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33657         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33658         Likewise.
33659         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33660         Likewise.
33661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33662         comments.
33663         [__USE_MISC]: Remove redundant conditionals.
33664         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33665         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33666         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33667         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33668         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33669         Likewise.
33670         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33671         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33672         Likewise.
33673         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33674         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33675         Likewise.
33676         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33677         Likewise.
33678         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33679         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33680         Likewise.
33681         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33682         Likewise.
33683         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33684         * sysdeps/x86/bits/string.h: Update #endif comments.
33685         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33686         conditionals.
33687         * time/sys/time.h: Update #endif comments.
33688         * time/time.h: Likewise.
33689         [__USE_MISC]: Remove redundant conditionals.
33691 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33693         [BZ #16600]
33694         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33696 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33698         * Versions.def (librt): Add GLIBC_2.17.
33700 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33702         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33703         synonym for _SYS_AUXV_H to allow direct inclusion.
33704         * sysdeps/sparc/bits/hwcap.h: Likewise.
33705         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33706         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33707         * sysdeps/sparc/sysdep.h: Likewise.
33709 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33711         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33713 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33715         * benchtests/bench-strrchr.c: Print length instead of position.
33717 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33719         [BZ #16611]
33720         * sysdeps/unix/sysv/linux/kernel-features.h
33721         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33722         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33723         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33724         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33725         Likewise.
33726         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33727         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33728         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33729         (__ASSUME_SENDMMSG): Define instead of using previous
33730         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33731         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33732         (__ASSUME_SENDMMSG_SYSCALL): Define.
33733         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33734         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33735         Likewise.
33736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33737         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33738         Likewise.
33739         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33740         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33741         Likewise.
33742         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33743         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33744         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33745         [__ASSUME_SENDMMSG]: Change conditionals to
33746         [__ASSUME_SENDMMSG_SOCKETCALL].
33747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33748         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33749         Define.
33750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33751         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33752         Likewise.
33753         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33754         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33755         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33756         [!__ASSUME_SENDMMSG]: Change conditional to
33757         [!__ASSUME_SENDMMSG_SOCKETCALL].
33758         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33759         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33760         Define.
33762         [BZ #16610]
33763         * sysdeps/unix/sysv/linux/kernel-features.h
33764         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33765         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33766         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33767         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33768         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33769         [__i386__ || __sparc__]
33770         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33771         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33772         (__ASSUME_RECVMMSG): Define instead of using previous
33773         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33774         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33775         (__ASSUME_RECVMMSG_SYSCALL): Define.
33776         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33777         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33778         Likewise.
33779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33780         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33781         Likewise.
33782         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33783         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33784         Likewise.
33785         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33786         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33787         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33788         [__ASSUME_RECVMMSG]: Change condition to
33789         [__ASSUME_RECVMMSG_SOCKETCALL].
33790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33791         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33792         Define.
33793         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33795         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33796         Likewise.
33797         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33798         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33799         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33800         [!__ASSUME_RECVMMSG]: Change condition to
33801         [!__ASSUME_RECVMMSG_SOCKETCALL].
33802         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33803         (__ASSUME_RECVMMSG_SYSCALL): Define.
33805         [BZ #16609]
33806         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33807         __powerpc__ || __s390__ || __sh__ || __sparc__]
33808         (__ASSUME_SOCKETCALL): Define.
33809         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33810         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33811         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33812         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33813         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33814         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33815         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33816         (__ASSUME_ACCEPT4): Define instead of using previous
33817         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33818         __powerpc__ || __sparc__ || __s390__)] condition.
33819         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33820         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33821         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33822         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33823         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33824         [!__ASSUME_ACCEPT4]: Change condition to
33825         [!__ASSUME_ACCEPT4_SOCKETCALL].
33826         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33827         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33828         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33829         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33830         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33831         __ASSUME_ACCEPT4_SYSCALL.
33832         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33833         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33834         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33835         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33836         __ASSUME_ACCEPT4_SYSCALL.
33837         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33838         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33839         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33840         [__ASSUME_ACCEPT4]: Change condition to
33841         [__ASSUME_ACCEPT4_SOCKETCALL].
33842         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33843         (__ASSUME_SOCKETCALL): Define.
33844         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33846         (__ASSUME_SOCKETCALL): Define.
33847         (__ASSUME_ACCEPT4): Remove.
33848         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33849         Define.
33850         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33851         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33852         Likewise.
33853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33854         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33856         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33857         macro.
33858         (HWCAP_ARM_LPAE): Likewise.
33859         (HWCAP_ARM_EVTSTRM): Likewise.
33860         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33861         Add vpfd32, lpae and evtstrm.
33862         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33863         Increase to 22.
33865 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33867         * math/auto-libm-test-in: Add tests of clog10.
33868         * math/auto-libm-test-out: Regenerated.
33869         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33870         * sysdeps/i386/fpu/libm-test-ulps: Update.
33871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33873 2014-02-18  Andreas Schwab  <schwab@suse.de>
33875         [BZ #16574]
33876         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33877         Store non-zero if the second buffer was newly allocated.
33878         (send_dg): Likewise.
33879         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33880         to send_vc and send_dg.
33881         (res_nsend): Pass NULL for ansp2_malloced.
33882         * resolv/res_query.c (__libc_res_nquery): Add parameter
33883         answerp2_malloced and pass it down to __libc_res_nsend.
33884         (res_nquery): Pass additional NULL to __libc_res_nquery.
33885         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33886         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33887         second answer buffer if answerp2_malloced was set.
33888         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33889         (__libc_res_nquerydomain): Add parameter
33890         answerp2_malloced and pass it down to __libc_res_nquery.
33891         (res_nquerydomain): Pass additional NULL to
33892         __libc_res_nquerydomain.
33893         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33894         additional NULL to __libc_res_nsend and __libc_res_nquery.
33895         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33896         additional NULL to __libc_res_nsearch.
33897         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33898         parameter of __libc_res_nsearch to check for separately allocated
33899         second buffer.
33900         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33901         __libc_res_nquery.
33902         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33903         additional NULL to __libc_res_nquery.
33904         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33905         __libc_res_nsearch.
33906         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33907         * include/resolv.h: Update prototypes of __libc_res_nquery,
33908         __libc_res_nsearch, __libc_res_nsend.
33910 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33912         * math/auto-libm-test-in: Add tests of fma.
33913         * math/auto-libm-test-out: Regenerated.
33914         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33915         (fma_towardzero_test_data): Likewise.
33916         (fma_downward_test_data): Likewise.
33917         (fma_upward_test_data): Likewise.
33918         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33919         mpc_mode.
33920         (rounding_modes): Add values for new field.
33921         (func_calc_method): Add value mpfr_fff_f.
33922         (func_calc_desc): Add mpfr_fff_f union field.
33923         (test_function): Add field exact_args.
33924         (FUNC): Add macro argument EXACT_ARGS.
33925         (FUNC_mpfr_f_f): Update call to FUNC.
33926         (FUNC_mpfr_f_f): Likewise.
33927         (FUNC_mpfr_ff_f): Likewise.
33928         (FUNC_mpfr_if_f): Likewise.
33929         (FUNC_mpc_c_f): Likewise.
33930         (FUNC_mpc_c_c): Likewise.
33931         (test_functions): Add fma.  Update calls to FUNC.
33932         (handle_input_arg): Add argument exact_args.
33933         (add_test): Update call to handle_input_arg.
33934         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33935         (output_for_one_input_case): Update call to calc_generic_results.
33936         Recalculate exact zero results in each rounding mode.
33938         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33939         non-negative before setting low bit.
33940         * math/auto-libm-test-in: Mark one asin test possibly having
33941         spurious underflow.
33942         * math/auto-libm-test-out: Regenerated.
33943         * sysdeps/i386/fpu/libm-test-ulps: Update.
33944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33946 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33948         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33949         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33950         ports/sysdeps/unix/sysv/linux/microblaze.
33951         * README: Add missing listing for microblaze*-*-linux-gnu.
33953 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33955         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33956         duplicate code
33958 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33960         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33961         * sysdeps/unix/sysv/linux/ia64: Move directory from
33962         ports/sysdeps/unix/sysv/linux/ia64.
33963         * README: Update listing for ia64-*-linux-gnu.
33965 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33966             Joseph Myers  <joseph@codesourcery.com>
33968         * Makeconfig (test-name): New variable.
33969         (evaluate-test): Likewise.
33970         * Makerules (do-test-clean): Remove .test-result files.
33971         (common-mostlyclean): Likewise.
33972         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33973         * scripts/evaluate-test.sh: New file.
33975 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33977         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33978         separate $(objpfx)tst-fopenloc-cmp.out and
33979         $(objpfx)tst-fopenloc-mem.out targets.
33980         (tests): Update dependencies.
33981         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33982         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33983         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33984         (tst-rxspencer-no-utf8-ARGS): New variable.
33985         (tst-rxspencer-no-utf8-ENV): Likewise.
33986         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33987         instead of $(objpfx)tst-rxspencer-mem.
33988         ($(objpfx)tst-rxspencer-mem): Change target to
33989         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33990         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33991         * posix/tst-rxspencer-no-utf8.c: New file.
33993         * elf/Makefile ($(objpfx)order.out): Remove rule.
33994         [$(run-built-tests) = yes] (tests): Depend on
33995         $(objpfx)order-cmp.out.
33996         ($(objpfx)order-cmp.out): New rule.
33997         [$(run-built-tests) = yes] (tests): Depend on
33998         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33999         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34000         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34001         $(objpfx)tst-array5-static-cmp.out.
34002         ($(objpfx)tst-array1.out): Remove rule.
34003         ($(objpfx)tst-array1-cmp.out): New rule.
34004         ($(objpfx)tst-array1-static.out): Remove rule.
34005         ($(objpfx)tst-array1-static-cmp.out): New rule.
34006         ($(objpfx)tst-array2.out): Remove rule.
34007         ($(objpfx)tst-array2-cmp.out): New rule.
34008         ($(objpfx)tst-array3.out): Remove rule.
34009         ($(objpfx)tst-array3-cmp.out): New rule.
34010         ($(objpfx)tst-array4.out): Remove rule.
34011         ($(objpfx)tst-array4-cmp.out): New rule.
34012         ($(objpfx)tst-array5.out): Remove rule.
34013         ($(objpfx)tst-array5-cmp.out): New rule.
34014         ($(objpfx)tst-array5-static.out): Remove rule.
34015         ($(objpfx)tst-array5-static-cmp.out): New rule.
34016         [$(run-built-tests) = yes] (tests): Depend on
34017         $(objpfx)order2-cmp.out.
34018         ($(objpfx)order2.out): Remove rule.
34019         ($(objpfx)order2-cmp.out): New rule.
34020         ($(objpfx)tst-initorder.out): Remove rule.
34021         [$(run-built-tests) = yes] (tests): Depend on
34022         $(objpfx)tst-initorder-cmp.out.
34023         ($(objpfx)tst-initorder-cmp.out): New rule.
34024         ($(objpfx)tst-initorder2.out): Remove rule.
34025         [$(run-built-tests) = yes] (tests): Depend on
34026         $(objpfx)tst-initorder2-cmp.out.
34027         ($(objpfx)tst-initorder2-cmp.out): New rule.
34028         [$(run-built-tests) = yes] (tests): Depend on
34029         $(objpfx)tst-unused-dep-cmp.out.
34030         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34031         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34032         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34033         on $(objpfx)tst-setvbuf1-cmp.out.
34034         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34035         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34036         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34037         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34038         ($(objpfx)tst-svc.out): Remove rule.
34039         ($(objpfx)tst-svc-cmp.out): New rule.
34041 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34043         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34044         * ctype/ctype.h [__USE_MISC]: Likewise.
34045         * dirent/dirent.h [__USE_MISC]: Likewise.
34046         * grp/grp.h [__USE_MISC]: Likewise.
34047         * io/fcntl.h [__USE_MISC]: Likewise.
34048         * io/sys/stat.h [__USE_MISC]: Likewise.
34049         * libio/stdio.h [__USE_MISC]: Likewise.
34050         * posix/unistd.h [__USE_MISC]: Likewise.
34051         * pwd/pwd.h [__USE_MISC]: Likewise.
34052         * stdlib.h [__USE_MISC]: Likewise.
34053         * string/bits/string2.h [__USE_MISC]: Likewise.
34054         * string/string.h [__USE_MISC]: Likewise.
34055         * time/time.h [__USE_MISC]: Likewise.
34057 2014-02-13  Andreas Schwab  <schwab@suse.de>
34059         [BZ #16574]
34060         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34061         second answer buffer if it was separately allocated.
34063 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34065         * sysdeps/mips/math-tests.h: Include <features.h>.
34066         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34067         (ROUNDING_TESTS_long_double): Do not define.
34068         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34069         (EXCEPTION_TESTS_long_double): Likewise.
34070         * sysdeps/mips/mips64/libm-test-ulps: Update.
34072         * include/features.h (__USE_BSD): Remove macro definitions.
34073         (__USE_SVID): Likewise.
34074         (_BSD_SOURCE): Likewise.
34075         (_SVID_SOURCE): Likewise.
34076         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34077         from definition of _DEFAULT_SOURCE.
34078         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34079         [_DEFAULT_SOURCE].
34080         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34081         * bits/mman.h [__USE_BSD]: Likewise.
34082         * bits/termios.h [__USE_BSD]: Likewise.
34083         * bits/waitstatus.h [__USE_BSD]: Likewise.
34084         * ctype/ctype.h [__USE_SVID]: Likewise.
34085         * dirent/dirent.h [__USE_BSD]: Likewise.
34086         * grp/grp.h [__USE_SVID]: Likewise.
34087         [__USE_BSD]: Likewise.
34088         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34089         * io/fcntl.h [__USE_BSD]: Likewise.
34090         * io/ftw.h [__USE_BSD]: Likewise.
34091         * io/sys/stat.h [__USE_BSD]: Likewise.
34092         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34093         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34094         * libio/stdio.h [__USE_SVID]: Likewise.
34095         [__USE_BSD]: Likewise.
34096         * math/math.h [__USE_SVID]: Likewise.
34097         [__USE_BSD]: Likewise.
34098         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34099         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34100         * misc/search.h [__USE_SVID]: Likewise.
34101         * misc/sys/mman.h [__USE_BSD]: Likewise.
34102         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34103         * misc/sys/uio.h [__USE_BSD]: Likewise.
34104         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34105         * posix/glob.h [__USE_BSD]: Likewise.
34106         * posix/regex.h [__USE_BSD]: Likewise.
34107         * posix/sys/types.h [__USE_BSD]: Likewise.
34108         [__USE_SVID]: Likewise.
34109         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34110         * posix/sys/wait.h [__USE_BSD]: Likewise.
34111         [__USE_SVID]: Likewise.
34112         * posix/unistd.h [__USE_BSD]: Likewise.
34113         [__USE_SVID]: Likewise.
34114         * pwd/pwd.h [__USE_SVID]: Likewise.
34115         * resolv/netdb.h [__USE_BSD]: Likewise.
34116         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34117         * signal/signal.h [__USE_BSD]: Likewise.
34118         [__USE_SVID]: Likewise.
34119         * socket/sys/socket.h [__USE_BSD]: Likewise.
34120         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34121         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34122         [__USE_SVID]: Likewise.
34123         * string/bits/string2.h [__USE_BSD]: Likewise.
34124         [__USE_SVID]: Likewise.
34125         * string/bits/string3.h [__USE_BSD]: Likewise.
34126         * string/endian.h [__USE_BSD]: Likewise.
34127         * string/string.h [__USE_SVID]: Likewise.
34128         [__USE_BSD]: Likewise.
34129         * string/strings.h [__USE_BSD]: Likewise.
34130         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34131         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34132         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34133         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34134         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34135         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34136         Likewise.
34137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34138         Likewise.
34139         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34140         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34141         Likewise.
34142         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34143         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34144         Likewise.
34145         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34146         Likewise.
34147         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34148         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34149         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34150         Likewise.
34151         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34152         Likewise.
34153         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34154         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34155         * termios/termios.h [__USE_BSD]: Likewise.
34156         * time/sys/time.h [__USE_BSD]: Likewise.
34157         * time/time.h [__USE_BSD]: Likewise.
34158         [__USE_SVID]: Likewise.
34160         * Makefile (subdir_targets): Remove subdir_lint.out.
34162         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34163         (do-tst-printf): Likewise.
34164         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34165         $(objpfx)tst-printf.out.
34167         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34169         * Makerules (check-abi-%): Change target to
34170         $(objpfx)check-abi-%.out.
34171         (check-abi target): Update dependencies.
34172         (check-abi-pattern variable): Redirect output of diff to $@.
34173         (check-abi variable): Likewise.
34174         * elf/Makefile (check-abi): Update dependencies.
34176         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34177         unused.
34178         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34179         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34180         subnormal range.
34181         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34182         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34183         value has largest subnormal exponent.
34184         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34185         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34186         * sysdeps/aarch64/soft-fp/sfp-machine.h
34187         (_FP_TININESS_AFTER_ROUNDING): New macro.
34188         * sysdeps/alpha/soft-fp/sfp-machine.h
34189         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34190         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34191         Likewise.
34192         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34193         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34194         * sysdeps/mips/soft-fp/sfp-machine.h
34195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34196         * sysdeps/powerpc/soft-fp/sfp-machine.h
34197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34198         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34199         Likewise.
34200         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34201         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34203         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34204         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34205         Likewise.
34207 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34209         [BZ #16545]
34210         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34211         model 1.
34213 2014-02-12  Richard Henderson  <rth@redhat.com>
34215         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34216         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34217         * sysdeps/unix/sysv/linux/alpha: Move directory from
34218         ports/sysdeps/unix/sysv/linux/alpha.
34219         * README: Update listing for alpha-*-linux-gnu.
34221 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34223         * include/features.h: Update comment documenting feature test
34224         macros.
34225         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34226         _DEFAULT_SOURCE.
34227         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34228         (_SVID_SOURCE): Likewise.
34229         (_DEFAULT_SOURCE): Update description of default features.
34230         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34231         with _GNU_SOURCE.
34232         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34233         (S_ISVTX): Likewise.
34234         * manual/math.texi (Mathematical Constants): Likewise.
34235         * manual/signal.texi (Interrupted Primitives): Likewise.
34236         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34237         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34238         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34239         Don't refer to _SVID_SOURCE in warning text.
34241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34243         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34244         already defined.
34245         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34246         * sysdeps/mips/dl-lookup.c: Remove.
34247         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34249 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34251         [BZ #16447]
34252         * math/auto-libm-test-in: Add testcase for expl.
34253         * math/auto-libm-test-out: Regenerate.
34254         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34255         calculation of unsafe.
34256         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34258 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34260         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34261         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34262         ports/sysdeps/unix/sysv/linux/aarch64.
34263         * README: Update listing for aarch64*-*-linux-gnu.
34265 2014-02-11  Will Newton  <will.newton@linaro.org>
34267         * manual/probes.texi (Mathematical Function Probes): Use
34268         "triggered" instead of "hit".
34270         * manual/probes.texi (Internal Probes): Add documentation
34271         of setjmp, longjmp and longjmp_target probes.
34273         * include/stap-probe.h: Add comment about probe argument
34274         format.
34276         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34277         definition.  (tr_where, tr_freehook, tr_mallochook,
34278         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34280 2014-02-11  David S. Miller  <davem@davemloft.net>
34282         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34283         processing int_tests.
34285 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34287         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34288         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34289         * sysdeps/unix/sysv/linux/mips: Move directory from
34290         ports/sysdeps/unix/sysv/linux/mips.
34291         * README: Update listing for mips-*-linux-gnu and
34292         mips64-*-linux-gnu.
34294 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34296         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34297         * sysdeps/unix/sysv/linux/m68k: Move directory from
34298         ports/sysdeps/unix/sysv/linux/m68k.
34299         * README: Update listing for m68k-*-linux-gnu.
34301 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34303         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34304         * sysdeps/unix/sysv/linux/generic: Move directory from
34305         ports/sysdeps/unix/sysv/linux/generic.
34306         * sysdeps/unix/sysv/linux/tile: Move directory from
34307         ports/sysdeps/unix/sysv/linux/tile.
34308         * README: Update listing for tile*-*-linux-gnu.
34310 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34312         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34313         __builtin_expect.
34314         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34315         * catgets/open_catalog.c (__open_catalog): Likewise.
34316         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34317         * debug/confstr_chk.c: Likewise.
34318         * debug/fread_chk.c (__fread_chk): Likewise.
34319         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34320         * debug/getgroups_chk.c: Likewise.
34321         * debug/mbsnrtowcs_chk.c: Likewise.
34322         * debug/mbsrtowcs_chk.c: Likewise.
34323         * debug/mbstowcs_chk.c: Likewise.
34324         * debug/memcpy_chk.c: Likewise.
34325         * debug/memmove_chk.c: Likewise.
34326         * debug/mempcpy_chk.c: Likewise.
34327         * debug/memset_chk.c: Likewise.
34328         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34329         * debug/strcat_chk.c (__strcat_chk): Likewise.
34330         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34331         * debug/strncat_chk.c (__strncat_chk): Likewise.
34332         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34333         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34334         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34335         * debug/wcpncpy_chk.c: Likewise.
34336         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34337         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34338         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34339         * debug/wcsncpy_chk.c: Likewise.
34340         * debug/wcsnrtombs_chk.c: Likewise.
34341         * debug/wcsrtombs_chk.c: Likewise.
34342         * debug/wcstombs_chk.c: Likewise.
34343         * debug/wmemcpy_chk.c: Likewise.
34344         * debug/wmemmove_chk.c: Likewise.
34345         * debug/wmempcpy_chk.c: Likewise.
34346         * debug/wmemset_chk.c: Likewise.
34347         * dirent/scandirat.c (SCANDIRAT): Likewise.
34348         * dlfcn/dladdr1.c (dladdr1): Likewise.
34349         * dlfcn/dladdr.c (dladdr): Likewise.
34350         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34351         * dlfcn/dlerror.c (__dlerror): Likewise.
34352         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34353         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34354         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34355         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34356         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34357         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34358         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34359         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34360         Likewise.
34361         * elf/dl-conflict.c: Likewise.
34362         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34363         * elf/dl-dst.h: Likewise.
34364         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34365         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34366         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34367         * elf/dl-init.c (call_init, _dl_init): Likewise.
34368         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34369         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34370         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34371         Likewise.
34372         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34373         Likewise.
34374         * elf/dl-minimal.c (__libc_memalign): Likewise.
34375         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34376         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34377         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34378         * elf/dl-sym.c (do_sym): Likewise.
34379         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34380         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34381         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34382         * elf/dl-writev.h (_dl_writev): Likewise.
34383         * elf/ldconfig.c (search_dir): Likewise.
34384         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34385         (dl_main): Likewise.
34386         * elf/setup-vdso.h (setup_vdso): Likewise.
34387         * grp/compat-initgroups.c (compat_call): Likewise.
34388         * grp/fgetgrent.c (fgetgrent): Likewise.
34389         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34390         * grp/putgrent.c (putgrent): Likewise.
34391         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34392         Likewise.
34393         * hurd/hurdinit.c: Likewise.
34394         * iconvdata/8bit-gap.c (struct): Likewise.
34395         * iconvdata/ansi_x3.110.c : Likewise.
34396         * iconvdata/big5.c : Likewise.
34397         * iconvdata/big5hkscs.c : Likewise.
34398         * iconvdata/cp1255.c: Likewise.
34399         * iconvdata/cp1258.c : Likewise.
34400         * iconvdata/cp932.c : Likewise.
34401         * iconvdata/euc-cn.c: Likewise.
34402         * iconvdata/euc-jisx0213.c : Likewise.
34403         * iconvdata/euc-jp.c: Likewise.
34404         * iconvdata/euc-jp-ms.c : Likewise.
34405         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34406         * iconvdata/gb18030.c : Likewise.
34407         * iconvdata/gbbig5.c (const): Likewise.
34408         * iconvdata/gbgbk.c: Likewise.
34409         * iconvdata/gbk.c : Likewise.
34410         * iconvdata/ibm1364.c : Likewise.
34411         * iconvdata/ibm930.c : Likewise.
34412         * iconvdata/ibm932.c: Likewise.
34413         * iconvdata/ibm933.c : Likewise.
34414         * iconvdata/ibm935.c : Likewise.
34415         * iconvdata/ibm937.c : Likewise.
34416         * iconvdata/ibm939.c : Likewise.
34417         * iconvdata/ibm943.c: Likewise.
34418         * iconvdata/iso_11548-1.c: Likewise.
34419         * iconvdata/iso-2022-cn.c : Likewise.
34420         * iconvdata/iso-2022-cn-ext.c : Likewise.
34421         * iconvdata/iso-2022-jp-3.c: Likewise.
34422         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34423         * iconvdata/iso-2022-kr.c : Likewise.
34424         * iconvdata/iso646.c (gconv_end): Likewise.
34425         * iconvdata/iso_6937-2.c : Likewise.
34426         * iconvdata/iso_6937.c : Likewise.
34427         * iconvdata/iso8859-1.c: Likewise.
34428         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34429         * iconvdata/shift_jisx0213.c : Likewise.
34430         * iconvdata/sjis.c : Likewise.
34431         * iconvdata/t.61.c : Likewise.
34432         * iconvdata/tcvn5712-1.c : Likewise.
34433         * iconvdata/tscii.c: Likewise.
34434         * iconvdata/uhc.c : Likewise.
34435         * iconvdata/unicode.c (gconv_end): Likewise.
34436         * iconvdata/utf-16.c (gconv_end): Likewise.
34437         * iconvdata/utf-32.c (gconv_end): Likewise.
34438         * iconvdata/utf-7.c (base64): Likewise.
34439         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34440         * iconv/gconv_close.c (__gconv_close): Likewise.
34441         * iconv/gconv_open.c (__gconv_open): Likewise.
34442         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34443         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34444         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34445         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34446         (ucs4le_internal_loop_single): Likewise.
34447         * iconv/iconv.c (iconv): Likewise.
34448         * iconv/iconv_close.c: Likewise.
34449         * iconv/loop.c (SINGLE): Likewise.
34450         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34451         * include/atomic.h: Likewise.
34452         * inet/inet6_option.c (option_alloc): Likewise.
34453         * intl/bindtextdom.c (set_binding_values): Likewise.
34454         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34455         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34456         * intl/localealias.c (read_alias_file): Likewise.
34457         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34458         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34459         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34460         * libio/fmemopen.c (fmemopen): Likewise.
34461         * libio/iofgets.c (_IO_fgets): Likewise.
34462         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34463         * libio/iofgetws.c (fgetws): Likewise.
34464         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34465         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34466         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34467         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34468         * locale/findlocale.c (_nl_find_locale): Likewise.
34469         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34470         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34471         Likewise.
34472         * locale/setlocale.c (setlocale): Likewise.
34473         * login/programs/pt_chown.c (main): Likewise.
34474         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34475         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34476         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34477         (mmap, mmap64, mremap, munmap): Likewise.
34478         * math/e_exp2l.c: Likewise.
34479         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34480         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34481         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34482         * math/s_catan.c (__catan): Likewise.
34483         * math/s_catanf.c (__catanf): Likewise.
34484         * math/s_catanh.c (__catanh): Likewise.
34485         * math/s_catanhf.c (__catanhf): Likewise.
34486         * math/s_catanhl.c (__catanhl): Likewise.
34487         * math/s_catanl.c (__catanl): Likewise.
34488         * math/s_ccosh.c (__ccosh): Likewise.
34489         * math/s_ccoshf.c (__ccoshf): Likewise.
34490         * math/s_ccoshl.c (__ccoshl): Likewise.
34491         * math/s_cexp.c (__cexp): Likewise.
34492         * math/s_cexpf.c (__cexpf): Likewise.
34493         * math/s_cexpl.c (__cexpl): Likewise.
34494         * math/s_clog10.c (__clog10): Likewise.
34495         * math/s_clog10f.c (__clog10f): Likewise.
34496         * math/s_clog10l.c (__clog10l): Likewise.
34497         * math/s_clog.c (__clog): Likewise.
34498         * math/s_clogf.c (__clogf): Likewise.
34499         * math/s_clogl.c (__clogl): Likewise.
34500         * math/s_csin.c (__csin): Likewise.
34501         * math/s_csinf.c (__csinf): Likewise.
34502         * math/s_csinh.c (__csinh): Likewise.
34503         * math/s_csinhf.c (__csinhf): Likewise.
34504         * math/s_csinhl.c (__csinhl): Likewise.
34505         * math/s_csinl.c (__csinl): Likewise.
34506         * math/s_csqrt.c (__csqrt): Likewise.
34507         * math/s_csqrtf.c (__csqrtf): Likewise.
34508         * math/s_csqrtl.c (__csqrtl): Likewise.
34509         * math/s_ctan.c (__ctan): Likewise.
34510         * math/s_ctanf.c (__ctanf): Likewise.
34511         * math/s_ctanh.c (__ctanh): Likewise.
34512         * math/s_ctanhf.c (__ctanhf): Likewise.
34513         * math/s_ctanhl.c (__ctanhl): Likewise.
34514         * math/s_ctanl.c (__ctanl): Likewise.
34515         * math/w_pow.c: Likewise.
34516         * math/w_powf.c: Likewise.
34517         * math/w_powl.c: Likewise.
34518         * math/w_scalb.c (sysv_scalb): Likewise.
34519         * math/w_scalbf.c (sysv_scalbf): Likewise.
34520         * math/w_scalbl.c (sysv_scalbl): Likewise.
34521         * misc/error.c (error_tail): Likewise.
34522         * misc/pselect.c (__pselect): Likewise.
34523         * nis/nis_callback.c (__nis_create_callback): Likewise.
34524         * nis/nis_call.c (__nisfind_server): Likewise.
34525         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34526         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34527         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34528         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34529         * nis/nis_lookup.c (nis_lookup): Likewise.
34530         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34531         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34532         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34533         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34534         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34535         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34536         * nis/nss_compat/compat-initgroups.c (add_group)
34537         (internal_getgrent_r): Likewise.
34538         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34539         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34540         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34541         (internal_getspnam_r): Likewise.
34542         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34543         (_nss_nis_getaliasbyname_r): Likewise.
34544         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34545         (_nss_nis_getntohost_r): Likewise.
34546         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34547         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34548         (_nss_nis_getgrgid_r): Likewise.
34549         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34550         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34551         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34552         (_nss_nis_gethostbyname4_r): Likewise.
34553         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34554         (initgroups_netid): Likewise.
34555         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34556         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34557         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34558         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34559         (_nss_nis_getprotobynumber_r): Likewise.
34560         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34561         (_nss_nis_getsecretkey): Likewise.
34562         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34563         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34564         (_nss_nis_getpwuid_r): Likewise.
34565         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34566         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34567         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34568         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34569         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34570         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34571         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34572         Likewise.
34573         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34574         (_nss_nisplus_getntohost_r): Likewise.
34575         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34576         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34577         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34578         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34579         Likewise.
34580         * nis/nss_nisplus/nisplus-initgroups.c
34581         (_nss_nisplus_initgroups_dyn): Likewise.
34582         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34583         (_nss_nisplus_getnetbyaddr_r): Likewise.
34584         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34585         (_nss_nisplus_getprotobynumber_r): Likewise.
34586         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34587         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34588         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34589         Likewise.
34590         * nis/nss_nisplus/nisplus-service.c
34591         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34592         (_nss_nisplus_getservbyport_r): Likewise.
34593         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34594         (_nss_nisplus_getspnam_r): Likewise.
34595         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34596         Likewise.
34597         * nscd/aicache.c (addhstaiX): Likewise.
34598         * nscd/cache.c (cache_search, prune_cache): Likewise.
34599         * nscd/connections.c (register_traced_file, send_ro_fd)
34600         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34601         (main_loop_epoll): Likewise.
34602         * nscd/grpcache.c (addgrbyX): Likewise.
34603         * nscd/hstcache.c (addhstbyX): Likewise.
34604         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34605         * nscd/mem.c (gc, mempool_alloc): Likewise.
34606         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34607         (addinnetgrX): Likewise.
34608         * nscd/nscd-client.h (__nscd_acquire_maplock)
34609         (__nscd_drop_map_ref): Likewise.
34610         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34611         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34612         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34613         Likewise.
34614         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34615         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34616         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34617         (__nscd_get_map_ref): Likewise.
34618         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34619         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34620         Likewise.
34621         * nscd/pwdcache.c (addpwbyX): Likewise.
34622         * nscd/selinux.c (preserve_capabilities): Likewise.
34623         * nscd/servicescache.c (addservbyX): Likewise.
34624         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34625         * posix/fnmatch.c (fnmatch): Likewise.
34626         * posix/getopt.c (_getopt_internal_r): Likewise.
34627         * posix/glob.c (glob, glob_in_dir): Likewise.
34628         * posix/wordexp.c (exec_comm_child): Likewise.
34629         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34630         (getanswer_r, gaih_getanswer_slice): Likewise.
34631         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34632         * resolv/res_init.c: Likewise.
34633         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34634         * resolv/res_query.c (__libc_res_nquery): Likewise.
34635         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34636         Likewise.
34637         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34638         * stdio-common/perror.c (perror): Likewise.
34639         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34640         * stdio-common/tmpnam.c (tmpnam): Likewise.
34641         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34642         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34643         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34644         Likewise.
34645         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34646         * stdlib/putenv.c (putenv): Likewise.
34647         * stdlib/setenv.c (__add_to_environ): Likewise.
34648         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34649         * stdlib/strtol_l.c (INTERNAL): Likewise.
34650         * string/memmem.c (memmem): Likewise.
34651         * string/strerror.c (strerror): Likewise.
34652         * string/strnlen.c (__strnlen): Likewise.
34653         * string/test-memmem.c (simple_memmem): Likewise.
34654         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34655         * sunrpc/pm_getport.c (__get_socket): Likewise.
34656         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34657         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34658         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34659         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34660         Likewise.
34661         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34662         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34663         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34664         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34665         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34666         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34667         Likewise.
34668         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34669         Likewise.
34670         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34671         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34672         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34673         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34674         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34676         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34677         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34678         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34679         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34680         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34681         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34682         Likewise.
34683         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34684         Likewise.
34685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34686         Likewise.
34687         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34688         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34689         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34690         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34691         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34692         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34693         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34694         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34696         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34697         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34699         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34700         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34702         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34703         Likewise.
34704         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34705         Likewise.
34706         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34707         Likewise.
34708         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34709         Likewise.
34710         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34712         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34713         Likewise.
34714         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34715         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34716         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34717         * sysdeps/posix/sleep.c: Likewise.
34718         * sysdeps/posix/tempname.c: Likewise.
34719         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34720         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34721         Likewise.
34722         * sysdeps/powerpc/powerpc32/dl-machine.h
34723         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34724         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34726         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34727         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34728         Likewise.
34729         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34731         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34733         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34734         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34735         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34736         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34737         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34738         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34740         (elf_machine_lazy_rel): Likewise.
34741         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34743         (elf_machine_lazy_rel): Likewise.
34744         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34745         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34746         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34747         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34748         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34749         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34750         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34752         Likewise.
34753         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34754         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34755         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34756         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34757         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34758         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34759         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34760         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34761         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34762         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34763         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34764         Likewise.
34765         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34766         (__posix_fallocate64_l64): Likewise.
34767         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34768         (posix_fallocate): Likewise.
34769         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34770         Likewise.
34771         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34772         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34773         (getifaddrs_internal): Likewise.
34774         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34775         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34776         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34777         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34778         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34779         (__posix_fallocate64_l64): Likewise.
34780         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34781         Likewise.
34782         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34783         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34784         (__get_clockfreq): Likewise.
34785         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34786         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34787         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34790         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34791         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34792         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34793         Likewise.
34794         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34795         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34796         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34797         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34798         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34799         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34800         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34801         Likewise.
34802         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34803         (posix_fallocate): Likewise.
34804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34805         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34806         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34807         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34808         (elf_machine_rela, elf_machine_rela_relative)
34809         (elf_machine_lazy_rel): Likewise.
34810         * time/asctime.c (asctime_internal): Likewise.
34811         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34812         * time/tzset.c (__tzset_parse_tz): Likewise.
34813         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34814         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34815         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34816         * wcsmbs/wcsmbsload.h: Likewise.
34818         [BZ #15894]
34819         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34821         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34822         (arena_get2): Remove THREAD_STATS conditionals.
34823         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34824         (__malloc_stats, int): Likewise.
34826 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34828         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34829         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34831         * manual/setjmp.texi: Fix typos/grammar errors.
34833         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34834         Only return early when n is <= 0.  Delete unused return statement.
34836         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34837         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34838         * debug/tst-longjmp_chk3.c: New file.
34840         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34841         (test_main): Replace code with set_fortify_handler call.
34842         * debug/test-strcpy_chk.c: Likewise.
34843         * debug/tst-chk1.c: Likewise.
34844         * debug/tst-longjmp_chk.c: Likewise.
34845         * test-skeleton.c: Include fcntl.h & paths.h
34846         (set_fortify_handler): Define.
34848         * debug/tst-longjmp_chk.c: Add header comment and include
34849         ../test-skeleton.c.
34850         (do_test): Mark static.
34851         (TEST_FUNCTION): Define.
34853         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34854         (IP_PMTUDISC_INTERFACE): Likewise.
34855         (IP_MULTICAST_IF): Likewise.
34856         (IP_MULTICAST_TTL): Likewise.
34857         (IP_MULTICAST_LOOP): Likewise.
34858         (IP_ADD_MEMBERSHIP): Likewise.
34859         (IP_DROP_MEMBERSHIP): Likewise.
34860         (IP_UNBLOCK_SOURCE): Likewise.
34861         (IP_BLOCK_SOURCE): Likewise.
34862         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34863         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34864         (IP_MSFILTER): Likewise.
34865         (MCAST_JOIN_GROUP): Likewise.
34866         (MCAST_BLOCK_SOURCE): Likewise.
34867         (MCAST_UNBLOCK_SOURCE): Likewise.
34868         (MCAST_LEAVE_GROUP): Likewise.
34869         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34870         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34871         (MCAST_MSFILTER): Likewise.
34872         (IP_MULTICAST_ALL): Likewise.
34873         (IP_UNICAST_IF): Likewise.
34875         * timezone/Makefile: Delete $(have-ksh) check.
34876         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34877         * timezone/tzselect.ksh: Add +x mode bits.
34879         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34880         (ANON_INODE_FS_MAGIC): Likewise.
34881         (BDEVFS_MAGIC): Likewise.
34882         (BINFMTFS_MAGIC): Likewise.
34883         (BTRFS_TEST_MAGIC): Likewise.
34884         (CRAMFS_MAGIC_WEND): Likewise.
34885         (DEBUGFS_MAGIC): Likewise.
34886         (ECRYPTFS_SUPER_MAGIC): Likewise.
34887         (EXT3_SUPER_MAGIC): Likewise.
34888         (EXT4_SUPER_MAGIC): Likewise.
34889         (FUTEXFS_SUPER_MAGIC): Likewise.
34890         (HOSTFS_SUPER_MAGIC): Likewise.
34891         (HUGETLBFS_MAGIC): Likewise.
34892         (MINIX3_SUPER_MAGIC): Likewise.
34893         (MTD_INODE_FS_MAGIC): Likewise.
34894         (NILFS_SUPER_MAGIC): Likewise.
34895         (OPENPROM_SUPER_MAGIC): Likewise.
34896         (PIPEFS_MAGIC): Likewise.
34897         (PSTOREFS_MAGIC): Likewise.
34898         (QNX6_SUPER_MAGIC): Likewise.
34899         (RAMFS_MAGIC): Likewise.
34900         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34901         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34902         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34903         (SECURITYFS_MAGIC): Likewise.
34904         (SELINUX_MAGIC): Likewise.
34905         (SMACK_MAGIC): Likewise.
34906         (SOCKFS_MAGIC): Likewise.
34907         (SQUASHFS_MAGIC): Likewise.
34908         (STACK_END_MAGIC): Likewise.
34909         (TMPFS_MAGIC): Likewise.
34910         (USBDEVICE_SUPER_MAGIC): Likewise.
34911         (V9FS_MAGIC): Likewise.
34912         (XENFS_SUPER_MAGIC): Likewise.
34913         (CRAMFS_MAGIC): Fix typo in comment.
34914         (EXT2_SUPER_MAGIC): Update comment.
34915         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34917 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34919         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34920         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34921         * sysdeps/unix/sysv/linux/arm: Move directory from
34922         ports/sysdeps/unix/sysv/linux/arm.
34923         * README: Update listing for arm-*-linux-gnueabi.
34925         * README: Remove mention of am33.
34927 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34929         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34930         than the comma operator, to avoid "rhs of comma has no effect"
34931         compiler warnings.
34932         (__sigfillset, __sigandset, __sigorset): Likewise.
34933         * include/signal.h (__sigemptyset): Likewise.
34934         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34936 2014-02-07  Allan McRae  <allan@archlinux.org>
34938         * version.h (RELEASE): Set to "development".
34939         (VERSION): Set to "2.19.90"
34940         * NEWS: Add 2.20 section.
34942 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34944         [BZ #16529]
34945         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34947 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34949         * manual/contrib.texi: Update entry for Carlos O'Donell,
34950         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34952 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34954         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34956         * sysdeps/unix/sysv/linux/kernel-features.h
34957         [__LINUX_KERNEL_VERSION >= 0x020621]
34958         (__ASSUME_PROC_PID_TASK_COMM): Define.
34960 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34962         [BZ #16398]
34963         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34964         conversion when destination buffer does not have enough space.
34965         * libio/tst-ftell-partial-wide.c: New test case.
34966         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34968         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34969         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34970         Leonard and Allan McRae.
34972 2014-02-04  David S. Miller  <davem@davemloft.net>
34974         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34975         32-bit.
34977 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34980         New file
34981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34982         New file
34983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34984         New file.
34985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34986         New file.
34987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34988         New file.
34989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34990         New file.
34991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34992         New file.
34993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34994         New file.
34995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34996         New file.
34997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34998         New file.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35000         New file.
35001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35002         New file.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35004         New file.
35006 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35008         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35009         * shlib-versions: Likewise.
35011 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35014         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35015         (abilist-pattern): New variable, set to %-le.abilist.
35017         * Makerules (abilist-pattern): New variable.
35018         (vpath): Use $(abilist-pattern) in place of %.abilist.
35019         (check-abi-% pattern rule): Likewise.
35020         (check-abi, update-abi): Likewise.
35022 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35026 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35028         * manual/startup.texi: Add next, previous, and top entries for
35029         the `Program Arguments' and `Environment Variables' nodes.
35031 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35033         * manual/macros.texi: Add comments before MTASC-safety macros.
35035         * manual/users.texi: Document MTASC-safety properties.
35037         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35038         (pthread_getspecific, pthread_setspecific): Format with
35039         @deftypefun, and add @safety note.
35040         * manual/signal.texi: Move comments that analyze the above
35041         functions to their home place.
35043 2014-02-03  Allan McRae  <allan@archlinux.org>
35045         * po/sl.po: Update Slovenian translation from translation project.
35047 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35049         * manual/time.texi (timegm): Add missing blank after @c.
35050         Reported by Joseph Myers <joseph@codesourcery.com>.
35052 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35054         * manual/check-safety.sh: New.
35055         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35057         * manual/terminal.texi: Document MTASC-safety properties.
35059         * manual/filesys.texi: Document MTASC-safety properties.
35061         * manual/errno.texi: Document MTASC-safety properties.
35063         * manual/intro.texi: Document safety identifiers and
35064         conditionals.
35066         * manual/string.texi (wcstok): Fix prototype.
35067         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35069         * manual/time.texi: Document MTASC-safety properties.
35071         * manual/string.texi: Document MTASC-safety properties.
35073         * manual/threads.texi: Document MTASC-safety properties.
35075         * manual/stdio.texi: Document MTASC-safety properties.
35077         * manual/syslog.texi: Document MTASC-safety properties.
35079         * manual/sysinfo.texi: Document MTASC-safety properties.
35081         * manual/startup.texi: Document MTASC-safety properties.
35083         * manual/socket.texi: Document MTASC-safety properties.
35085         * manual/signal.texi: Document MTASC-safety properties.
35087 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35089         * manual/setjmp.texi: Document MTASC-safety properties.
35091         * manual/search.texi: Document MTASC-safety properties.
35093         * manual/resource.texi: Document MTASC-safety properties.
35095         * manual/process.texi: Document MTASC-safety properties.
35097         * manual/platform.texi: Document MTASC-safety properties.
35099         * manual/pipe.texi: Document MTASC-safety properties.
35101         * manual/pattern.texi: Document MTASC-safety properties.
35103         * manual/message.texi: Document MTASC-safety properties.
35105         [BZ #12751]
35106         * manual/memory.texi: Document MTASC-safety properties.
35108         * manual/math.texi: Document MTASC-safety properties.
35110         * manual/locale.texi: Document MTASC-safety properties.
35112         * manual/llio.texi: Document MTASC-safety properties.
35114         * manual/libdl.texi: New.
35116         * manual/lang.texi: Document MTASC-safety properties.
35118         * manual/job.texi: Document MTASC-safety properties.
35120         * manual/getopt.texi: Document MTASC-safety properties.
35122         * manual/ctype.texi: Document MTASC-safety properties.
35124 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35126         [BZ #16046]
35127         * csu/libc-tls.c (static_map): Remove variable.
35128         (__libc_setup_tls): Use main executable's link map for TLS data.
35129         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35130         casing for LM_ID_BASE and GL(dl_nns).
35131         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35132         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35133         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35134         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35135         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35136         member.
35137         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35138         l_phnum members.
35140 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35142         * manual/debug.texi: Document MTASC-safety properties.
35144 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35146         [BZ #16510]
35147         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35148         of __x86_64__ when disabling x87 inline functions.
35150 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35152         * manual/charset.texi: Document MTASC-safety properties.
35154         * manual/crypt.texi: Document MTASC-safety properties.
35156         * manual/conf.texi: Document MTASC-safety properties.
35158         * manual/arith.texi: Document MTASC-safety properties.
35160         * manual/argp.texi: Document MTASC-safety properties.
35162         * manual/macros.texi: Introduce macros to document multi
35163         thread, asynchronous signal and asynchronous cancellation
35164         safety properties.
35165         * manual/intro.texi: Introduce the properties themselves.
35167 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35169         * sysdeps/sh/sh4/Makefile: New file.
35171 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35173         * math/gen-libm-test.pl ($srcdir): New variable.
35174         ($auto_input): Use it.
35176 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35178         [BZ #16506]
35179         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35180         access beyond array bounds when parsing netgroups file.
35182         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35183         the old buffer before realloc.
35185 2014-01-27  Allan McRae  <allan@archlinux.org>
35187         * po/fr.po: Update French translation from translation project.
35189 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35191         * sysdeps/sh/libm-test-ulps: Regenerate.
35193 2014-01-24  David S. Miller  <davem@davemloft.net>
35195         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35197 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35199         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35200         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35202 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35204         [BZ #16474]
35205         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35206         string pointers after reallocation.
35208 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35210         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35211         __SH4A__ instead of __SH_FPU_ANY__.
35213 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35215         * sysdeps/sh/fpu_control.h: New file.
35216         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35217         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35218         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35219         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35220         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35221         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35222         * sysdeps/sh/sys/ucontext.h: Remove.
35223         * sysdeps/sh/sys: Remove directory.
35225 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35227         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35228         s390/sys/ucontext.h.
35229         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35230         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35232 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35234         [BZ #15605]
35235         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35237 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35239         [BZ#16431]
35240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35241         Adjust the vDSO correctly for internal calls.
35242         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35244 2014-01-20  Allan McRae  <allan@archlinux.org>
35246         * po/ca.po: Update Catalan translation from translation project.
35248 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35250         * sysdeps/s390/sotruss-lib.c: New file.
35252 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35254         [BZ#16430]
35255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35256         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35257         local calls issues by not having a PLT stub required for IFUNC calls.
35258         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35260 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35262         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35263         * math/test-fpucw-static.c: Likewise.
35265 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35267         [BZ #16453]
35268         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35270 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35272         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35273         implementation for powerpc.
35275 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35277         [BZ #14782]
35278         * sysdeps/posix/system.c (__libc_system): Do not enable
35279         asynchronous cancellation.
35281 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35283         [BZ #16427]
35284         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35285         handling only for numbers special also in the IEEE case.
35287 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35289         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35291 2014-01-11  Allan McRae  <allan@archlinux.org>
35293         * po/bg.po: Update Bulgarian translation from translation project.
35295         * po/de.po: Update German translation from translation project.
35297 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35299         * sysdeps/generic/gcc-compat.h: New file.
35301 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35303         * benchtests/asin-inputs: Correct slow inputs.
35304         * benchtests/acos-inputs: Likewise.
35306 2014-01-10  Allan McRae  <allan@archlinux.org>
35308         * po:sv.po: Update Swedish translation from translation project.
35310         * po/vi.po: Update Vietnamese translation from translation project.
35312         * po/eo.po: Update Esperanto translation from translation project.
35314         * po/cs.po: Update Czech translation from translation project.
35316         * po/nl.po: Update Dutch translation from translation project.
35318         * po/pl.po: Update Polish translation from translation project.
35320         * po/ru.po: Update Russian translation from translation project.
35322         * po/uk.po: Update Ukrainian translation from translation project.
35324 2014-01-08  Brooks Moses  <bmoses@google.com>
35326         * elf/dl-load.c: Fix comment typo.
35328 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35330         * po/header.pot: Rename to...
35331         * po/pot.header: ... this.
35332         * po/Makefile: Use pot.header.
35334 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35335             Maxim Kuvyrkov  <maxim@kugelworks.com>
35337         [BZ #16394]
35338         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35339         SRC and DEST against LEN.
35341 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35343         [BZ #16414]
35344         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35345         implementation.
35346         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35348 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35352 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35354         [BZ #16408]
35355         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35356         for large positive arguments.
35358 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35360         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35362         * math/auto-libm-test-in: Mark various tests with
35363         xfail-rounding:ldbl-128ibm.
35364         * math/auto-libm-test-out: Regenerated.
35366         [BZ #16407]
35367         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35368         Increase overflow threshold.
35370 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35372         [BZ #14286]
35373         * stdio-common/vfprintf.c: Check for integer overflow.
35375 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35377         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35378         the first argument and return value of __tls_get_addr_internal.
35380 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35382         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35383         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35385 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35387         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35388         * sysdeps/s390/rtld-global-offsets.sym: New file.
35389         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35390         GLIBC_2.19 symbol.
35391         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35392         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35393         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35394         ... this.
35395         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35396         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35397         ... this.
35398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35399         Regenerate.
35400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35401         Regenerate.
35402         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35403         halfs of GPRs for high_gprs contexts.
35404         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35405         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35406         field.
35407         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35408         uc_flags field.
35409         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35410         64 bit versions:
35411         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35412         for high GPRs (uc_high_gprs) and for future extensions
35413         (__reserved).
35414         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35415         for future extensions (__reserved).
35416         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35417         64 bit versions:
35418         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35419         SC_HIGHGPRS offset definition.
35420         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35421         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35423         * Versions.def: Add GLIBC_2.19 for libpthread.
35424         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35425         siglongjmp for libpthread with GLIBC_2.19 symver.
35426         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35427         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35428         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35429         * sysdeps/s390/__longjmp.c: New file.
35430         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35431         * sysdeps/s390/longjmp.c: New file.
35432         * sysdeps/s390/setjmp.S: New file.
35433         * sysdeps/s390/sigjmp.S: New file.
35434         * sysdeps/s390/v1-longjmp.c: New file.
35435         * sysdeps/s390/v1-setjmp.h: New file.
35436         * sysdeps/s390/v1-sigjmp.c: New file.
35437         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35438         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35439         GLIBC_2.19 version.
35440         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35441         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35442         versioned symbols for ____longjmp_chk.
35443         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35444         Likewise.
35445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35446         Regenerate.
35447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35448         Regenerate.
35449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35450         Regenerate.
35451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35452         Regenerate.
35453         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35454         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35455         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35456         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35457         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35458         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35459         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35460         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35461         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35462         * sysdeps/s390/rtld-__longjmp.c: New file.
35463         * sysdeps/s390/rtld-setjmp.S: New file.
35465 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35467         [BZ #16400]
35468         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35469         Return -__logl (x) for small positive arguments without evaluating
35470         a polynomial.
35472 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35474         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35475         Rename to ...
35476         (__ptrace_peeksiginfo_args): ... this.
35477         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35479         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35481 2014-01-06  Allan McRae  <allan@archlinux.org>
35483         * inet/netinet/in.h: Fix typo in comment.
35485 2014-01-05  Andreas Jaeger  <aj@suse.de>
35487         * sysdeps/i386/fpu/libm-test-ulps: Update.
35489 2014-01-05  Allan McRae  <allan@archlinux.org>
35491         * po/libc.pot: Regenerated.
35493         * malloc/memusagestat.c: Fix gettext call formatting.
35495 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35497         * nscd/nscd.c: Improve usage() output.
35499 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35501         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35502         * sysdeps/unix/sysv/linux/configure: Regenerated.
35503         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35504         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35506 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35508         [BZ #16390]
35509         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35510         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35512 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35514         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35515         extra tokens at end of #undef directive.
35516         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35517         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35518         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35520 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35522         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35524         * math/auto-libm-test-in: Mark various tests with
35525         xfail-rounding:ldbl-128ibm.
35526         * math/auto-libm-test-out: Regenerated.
35528 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35530         [BZ #16386]
35531         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35532         numbers with subnormal high part when calculating exponent.
35534         [BZ #16385]
35535         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35536         fabs.
35538         [BZ #16384]
35539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35540         M_LN2l.
35541         (__ieee754_acoshl): Use __log1pl not __log1p.
35543 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35545         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35546         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35547         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35548         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35549         (reused_arena, arena_get2): Convert to GNU style.
35550         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35551         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35552         (memalign_check, __malloc_set_state): Likewise.
35553         * malloc/mallocbug.c (main): Likewise.
35554         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35555         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35556         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35557         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35558         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35559         (__posix_memalign, malloc_info): Likewise.
35560         * malloc/malloc.h: Likewise.
35561         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35562         (mallochook, memalignhook, reallochook, mabort): Likewise.
35563         * malloc/mcheck.h: Likewise.
35564         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35565         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35566         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35567         * malloc/morecore.c (__default_morecore): Likewise.
35568         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35569         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35570         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35571         (print_and_abort): Likewise.
35572         * malloc/obstack.h: Likewise.
35573         * malloc/set-freeres.c (__libc_freeres): Likewise.
35574         * malloc/tst-mallocstate.c (main): Likewise.
35575         * malloc/tst-mtrace.c (main): Likewise.
35576         * malloc/tst-realloc.c (do_test): Likewise.
35578 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35580         [BZ #16366]
35581         * nscd/netgroupcache.c (do_notfound): New function.
35582         (addgetnetgrentX): Use it.
35584         [BZ # 16365]
35585         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35586         NSS_STATUS_NOTFOUND.
35588 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35590         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593 2014-01-01  Allan McRae  <allan@archlinux.org>
35595         * scripts/update-copyrights: Update configure input file suffix.
35597         * NEWS: Update copyright year.
35598         * catgets/gencat.c: Likewise.
35599         * csu/version.c: Likewise.
35600         * debug/catchsegv.sh: Likewise.
35601         * debug/pcprofiledump.c: Likewise.
35602         * debug/xtrace.sh: Likewise.
35603         * elf/ldconfig.c: Likewise.
35604         * elf/ldd.bash.in: Likewise.
35605         * elf/pldd.c: Likewise.
35606         * elf/sotruss.ksh: Likewise.
35607         * elf/sprof.c: Likewise.
35608         * iconv/iconv_prog.c: Likewise.
35609         * iconv/iconvconfig.c: Likewise.
35610         * locale/programs/locale.c: Likewise.
35611         * locale/programs/localedef.c: Likewise.
35612         * login/programs/pt_chown.c: Likewise.
35613         * malloc/memusage.sh: Likewise.
35614         * malloc/memusagestat.c: Likewise.
35615         * malloc/mtrace.pl: Likewise.
35616         * manual/libc.texinfo: Likewise.
35617         * nscd/nscd.c: Likewise.
35618         * nss/getent.c: Likewise.
35619         * nss/makedb.c: Likewise.
35620         * posix/getconf.c: Likewise.
35621         * scripts/test-installation.pl: Likewise.
35623         * All files with FSF copyright notices: Update copyright dates
35624         using scripts/update-copyrights.
35625         * intl/plural.c: Regenerated.
35626         * locale/programs/charmap-kw.h: Likewise.
35627         * locale/programs/locfile-kw.h: Likewise.
35629 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35631         * sysdeps/unix/sysv/linux/configure: Regenerated.
35632         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35633         the linux/fanotify.h header.
35634         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35635         HAVE_LINUX_FANOTIFY_H is defined.
35637 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35639         * benchtests/cos-inputs: New inputs.
35640         * benchtests/sin-inputs: Likewise.
35642         * benchtests/atan-inputs: New inputs. Fix name of multiple
35643         precision fallback inputs.
35645         * benchtests/atanh-inputs: New inputs.
35646         * benchtests/tanh-inputs: Likewise.
35648         * benchtests/acosh-inputs: New inputs.
35649         * benchtests/asinh-inputs: Likewise.
35651         * benchtests/cosh-inputs: New inputs.
35652         * benchtests/sinh-inputs: Likewise.
35654         * benchtests/acos-inputs: Add more inputs.
35655         * benchtests/asin-inputs: Likewise.
35657 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35659         [BZ #16375]
35660         * manual/arith.texi: Fix spelling.
35661         * manual/charset.texi: Likewise.
35662         * manual/errno.texi: Likewise.
35663         * manual/filesys.texi: Likewise.
35664         * manual/lang.texi: Likewise.
35665         * manual/llio.texi: Likewise.
35666         * manual/locale.texi: Likewise.
35667         * manual/message.texi: Likewise.
35668         * manual/resource.texi: Likewise.
35669         * manual/search.texi: Likewise.
35670         * manual/setjmp.texi: Likewise.
35671         * manual/stdio.texi: Likewise.
35672         * manual/string.texi: Likewise.
35673         * manual/sysinfo.texi: Likewise.
35674         * manual/time.texi: Likewise.
35676 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35678         * po/sl.po: New file.
35680 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35682         * .gitignore: Add core/.gdbinit/.gdb_history.
35684 2013-12-27  Allan McRae  <allan@archlinux.org>
35686         [BZ #16369]
35687         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35688         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35690 2013-12-24  Brooks Moses  <bmoses@google.com>
35692         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35693         all compilers that claim C++98 compliance, not just GCC.
35694         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35695         Likewise.
35697 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35699         * NEWS: Restore accidentally deleted bug-fix entries.
35701 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35702             Ondřej Bílka  <neleai@seznam.cz>
35704         [BZ #15073]
35705         * malloc/malloc.c (_int_free): Perform sanity check only if we
35706         have_lock.
35708 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35710         [BZ #12986]
35711         * manual/stdio.texi (String Input Conversions): Clarify that character
35712         classes are not supported.
35714 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35718 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35720         [BZ #16337]
35721         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35722         Calculate results for small negative arguments directly rather
35723         than using reflection formula with special underflow handling.
35725         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35726         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35727         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35728         (fchflags): Likewise.
35729         (revoke): Likewise.
35730         (setlogin): Likewise.
35731         (sigaltstack): Likewise.
35732         (wait4): Likewise.
35733         (sigblock): Remove.
35734         (sigsetmask): Likewise.
35735         (wait3): Likewise.
35736         (waitpid): Likewise.
35737         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35738         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35739         file.
35740         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35741         * sysdeps/unix/bsd/Makefile: ... here.
35742         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35743         * sysdeps/unix/bsd/Versions: ... here.
35744         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35745         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35746         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35747         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35748         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35749         * sysdeps/unix/bsd/sigblock.c: ... here.
35750         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35751         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35752         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35753         * sysdeps/unix/bsd/sigvec.c: ... here.
35754         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35755         * sysdeps/unix/bsd/tcdrain.c: ... here.
35756         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35757         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35758         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35759         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35760         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35761         * sysdeps/unix/bsd/wait.c: ... here.
35762         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35763         * sysdeps/unix/bsd/wait3.c: ... here.
35764         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35765         * sysdeps/unix/bsd/waitpid.c: ... here.
35767 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35769         [BZ #16356]
35770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35771         round-to-nearest for [!USE_AS_EXPM1L].
35772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35773         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35774         more tests of exp and exp10.  Expect some exp10 tests to miss
35775         exceptions or fail in directed rounding modes.
35776         * math/auto-libm-test-out: Regenerated.
35777         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35778         (exp10_test_tonearest): New function.
35779         (exp10_towardzero_test_data): New array.
35780         (exp10_test_towardzero): New function.
35781         (exp10_downward_test_data): New array.
35782         (exp10_test_downward): New function.
35783         (exp10_upward_test_data): New array.
35784         (exp10_test_upward): New function.
35785         (main): Call the new functions.
35786         * sysdeps/i386/fpu/libm-test-ulps: Update.
35787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35789 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35791         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35792         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35793         * math/auto-libm-test-out: Regenerated.
35794         * math/libm-test.inc (acosh_test_data): Add more tests.
35795         (atanh_test_data): Likewise.
35796         (ceil_test_data): Likewise.
35797         (copysign_test_data): Likewise.
35798         * sysdeps/i386/fpu/libm-test-ulps: Update.
35799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35801         * timezone/checktab.awk: Update from tzcode 2013i.
35802         * timezone/private.h: Likewise.
35803         * timezone/scheck.c: Likewise.
35804         * timezone/tzfile.h: Likewise.
35805         * timezone/tzselect.ksh: Likewise.
35806         * timezone/zdump.c: Likewise.
35807         * timezone/zic.c: Likewise.
35809         * math/auto-libm-test-in: Add tests of cpow.
35810         * math/auto-libm-test-out: Regenerated.
35811         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35813         mpc_cc_c.
35814         (func_calc_desc): Add mpc_cc_c union field.
35815         (test_functions): Add cpow.
35816         (special_fill_2pi): New function.
35817         (special_real_inputs): Add 2pi.
35818         (calc_generic_results): Handle mpc_cc_c.
35819         * sysdeps/i386/fpu/libm-test-ulps: Update.
35820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35822         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35823         csqrt, ctan and ctanh.
35824         * math/auto-libm-test-out: Regenerated.
35825         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35826         (TEST_COND_x86): Likewise.
35827         (ccos_test_data): Use AUTO_TESTS_c_c.
35828         (ccosh_test_data): Likewise.
35829         (cexp_test_data): Likewise.
35830         (clog_test_data): Likewise.
35831         (csqrt_test_data): Likewise.
35832         (ctan_test_data): Likewise.
35833         (ctan_tonearest_test_data): Likewise.
35834         (ctan_towardzero_test_data): Likewise.
35835         (ctan_downward_test_data): Likewise.
35836         (ctan_upward_test_data): Likewise.
35837         (ctanh_test_data): Likewise.
35838         (ctanh_tonearest_test_data): Likewise.
35839         (ctanh_towardzero_test_data): Likewise.
35840         (ctanh_downward_test_data): Likewise.
35841         (ctanh_upward_test_data): Likewise.
35842         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35843         mpc_c_c.
35844         (func_calc_desc): Add mpc_c_c union field.
35845         (FUNC_mpc_c_c): New macro.
35846         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35847         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35848         ctanh.
35849         (special_fill_min_subnorm_p120): New function.
35850         (special_real_inputs): Add min_subnorm_p120.
35851         (calc_generic_results): Handle mpc_c_c.
35852         * sysdeps/i386/fpu/libm-test-ulps: Update.
35853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35855 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35857         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35858         (do_sin_slow): New functions.
35859         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35860         (cslow2, csloww1, csloww2): Use the new functions.
35862         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35863         Use M to change sign of result instead of X.  Assume X is
35864         positive.
35865         (csloww1): Likewise.
35866         (__sin): Adjust.
35867         (__cos): Adjust.
35869         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35870         arguments A and DA.
35871         (__sin): Adjust.
35872         (__cos): Likewise.
35874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35875         (__cos): Likewise.
35876         (sloww1): Don't adjust sign of DX.
35877         (csloww1): Likewise.
35878         (sloww2): Use X directly and don't adjust sign of DX.
35879         (csloww2): Likewise.
35881 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35883         * math/auto-libm-test-in: Add tests of cabs and carg.
35884         * math/auto-libm-test-out: Regenerated.
35885         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35886         (carg_test_data): Likewise.
35887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35888         mpc_c_f.
35889         (func_calc_desc): Add mpc_c_f union field.
35890         (test_functions): Add cabs and carg.
35891         (calc_generic_results): Handle mpc_c_f.
35893         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35894         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35895         as a macro and a compat symbol.
35896         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35897         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35898         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35899         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35900         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35901         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35902         not use .hidden.
35903         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35904         Likewise.
35905         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35906         Likewise.
35907         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35908         Likewise.
35909         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35910         Likewise.
35911         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35912         Likewise.
35913         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35914         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35915         from GLIBC_2.3.2.
35917 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35921 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35923         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35924         trailing whitespace removed.
35925         * scripts/config.guess: Update to version 2013-11-29.
35926         * scripts/config.sub: Update to version 2013-10-01.
35928         * math/auto-libm-test-in: Add tests of sincos.
35929         * math/auto-libm-test-out: Regenerated.
35930         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35931         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35932         mpfr_f_11.
35933         (func_calc_desc): Add mpfr_f_11 union field.
35934         (test_functions): Add sincos.
35935         (calc_generic_results): Handle mpfr_f_11.
35936         * sysdeps/i386/fpu/libm-test-ulps: Update.
35937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35939 2013-12-19  Andreas Schwab  <schwab@suse.de>
35941         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35942         CALL_MCOUNT.
35943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35944         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35945         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35947 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35949         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35950         * sysdeps/i386/fpu/libm-test-ulps: Update.
35951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35953         [BZ #16293]
35954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35955         round-to-nearest mode when using frndint.
35956         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35957         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35959         Likewise.
35960         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35961         sinh test to fail.
35962         * math/auto-libm-test-out: Regenerated.
35963         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35964         (TEST_COND_x86): Likewise.
35965         (expm1_tonearest_test_data): New array.
35966         (expm1_test_tonearest): New function.
35967         (expm1_towardzero_test_data): New array.
35968         (expm1_test_towardzero): New function.
35969         (expm1_downward_test_data): New array.
35970         (expm1_test_downward): New function.
35971         (expm1_upward_test_data): New array.
35972         (expm1_test_upward): New function.
35973         (main): Run the new test functions.
35974         * sysdeps/i386/fpu/libm-test-ulps: Update.
35975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35977         * include/features.h: Update comment documenting feature test
35978         macros.  Mention _DEFAULT_SOURCE in comment.
35979         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35980         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35981         _BSD_SOURCE and _SVID_SOURCE.
35982         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35983         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35984         !_SVID_SOURCE]: Likewise.
35985         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35986         (__USE_POSIX_IMPLICITLY): Define.
35987         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35988         (_POSIX_SOURCE): Undefine and redefine.
35989         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35990         (_POSIX_C_SOURCE): Likewise.
35991         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35992         (Feature Test Macros): Update documentation of default features.
35994 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35996         * benchtests/Makefile: Add bench-strtok.
35997         * benchtests/bench-strtok.c: New file: strtok benchtest.
35999 2013-12-19  Allan McRae  <allan@archlinux.org>
36001         * manual/install.texi: Suppress menu for plain text output.
36002         * INSTALL: Regenerated.
36004 2013-12-18  Brooks Moses  <bmoses@google.com>
36006         [BZ #15846]
36007         * misc/getauxval.c: Include errno.h.
36008         (__getauxval): Set errno to ENOENT if the requested type is not
36009         found.
36010         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36011         don't declare with __attribute_const__.
36012         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36013         * manual/startup.texi: Document that getauxval sets errno.
36015 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36017         * math/auto-libm-test-in: Add tests of jn and yn.
36018         * math/auto-libm-test-out: Regenerated.
36019         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36020         (yn_test_data): Likewise.
36021         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36022         mpfr_if_f.
36023         (func_calc_desc): Add mpfr_if_f union field.
36024         (FUNC_mpfr_if_f): New macro.
36025         (test_functions): Add jn and yn.
36026         (calc_generic_results): Assert type of second input for
36027         mpfr_ff_f.  Handle mpfr_if_f.
36028         (output_for_one_input_case): Disable all checking for arguments
36029         fitting floating-point types in case of an integer argument.
36030         * sysdeps/i386/fpu/libm-test-ulps: Update.
36031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36034         Don't expect fegetround reference in libm.so.
36036 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36038         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36039         $(config-cflags-nofma).
36041 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36043         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36044         * math/auto-libm-test-out: Regenerated.
36046         [BZ #16338]
36047         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36048         to determine exponent and adjust argument to have exponent of -1.
36049         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36050         log2.
36051         * math/auto-libm-test-out: Regenerated.
36052         * sysdeps/i386/fpu/libm-test-ulps: Update.
36053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36055 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36057         * manual/probes.texi: Remove cases when per-thread arenas are
36058         disabled.
36060 2013-12-18  Andreas Schwab  <schwab@suse.de>
36062         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36063         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36064         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36065         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36066         * sysdeps/i386/i686/multiarch/Makefile: Update.
36067         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36069 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36071         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36072         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36074 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36076         [BZ #15968]
36077         Support TZ transition times < 00:00:00.
36078         This is needed for version-3 tz-format files; it supports time
36079         stamps past 2037 for America/Godthab (the only entry in the tz
36080         database for which this change is relevant).
36081         * manual/time.texi (TZ Variable): Document transition times
36082         from -167:59:59 through -00:00:01.
36083         * time/tzset.c (tz_rule): Time of day is now signed.
36084         (__tzset_parse_tz): Parse negative time of day.
36086         Document TZ transition times >= 25:00:00.
36087         * manual/time.texi (TZ Variable): Document transition times from
36088         25:00:00 through 167:59:59.  These are already supported, and this
36089         support will help with version-3 tz-format files.
36091         * manual/time.texi (TZ Variable): Modernize North America example
36092         to reflect current (i.e., 2007-and-later) daylight saving rules.
36094         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36096 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36098         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36099         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36101         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36102         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36103         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36104         * sysdeps/unix/bsd/clock.c: Likewise.
36105         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36106         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36107         * sysdeps/unix/bsd/init-posix.c: Likewise.
36108         * sysdeps/unix/bsd/poll.c: Likewise.
36109         * sysdeps/unix/bsd/ptsname.c: Likewise.
36110         * sysdeps/unix/bsd/seekdir.c: Likewise.
36111         * sysdeps/unix/bsd/setegid.c: Likewise.
36112         * sysdeps/unix/bsd/seteuid.c: Likewise.
36113         * sysdeps/unix/bsd/setgid.c: Likewise.
36114         * sysdeps/unix/bsd/setrgid.c: Likewise.
36115         * sysdeps/unix/bsd/setruid.c: Likewise.
36116         * sysdeps/unix/bsd/setsid.c: Likewise.
36117         * sysdeps/unix/bsd/setuid.c: Likewise.
36118         * sysdeps/unix/bsd/sigaction.c: Likewise.
36119         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36120         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36121         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36122         * sysdeps/unix/bsd/telldir.c: Likewise.
36123         * sysdeps/unix/bsd/times.c: Likewise.
36124         * sysdeps/unix/bsd/usleep.c: Likewise.
36126         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36127         ($(objpfx)libbsd-compat.a): Remove rule.
36129         * include/features.h (__FAVOR_BSD): Do not define.
36130         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36131         features conflicting with POSIX.
36132         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36133         (_BSD_SOURCE): Remove description of not being a subset of other
36134         feature test macros.
36135         * manual/job.texi (getpgrp): Do not document BSD version.
36136         (getpgid): Do not document by reference to BSD getpgrp.
36137         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36138         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36139         * signal/signal.h [__FAVOR_BSD]: Likewise.
36140         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36141         instead of making contents conditional on [__FAVOR_BSD].
36142         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36144 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36148 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36150         [BZ #16314]
36151         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36152         values below 2**-450, not 2**-500.
36153         * math/auto-libm-test-in: Don't allow spurious underflow from
36154         hypot.
36155         * math/auto-libm-test-out: Regenerated.
36157         [BZ #16316]
36158         [BZ #16330]
36159         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36160         values of ha and hb and sort them after adjusting subnormal
36161         arguments.
36162         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36163         Likewise.
36164         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36165         values of ea and eb and sort them after adjusting subnormal
36166         arguments.
36167         * math/auto-libm-test-in: Do not expect some hypot tests of
36168         subnormals to fail.  Add more hypot tests.
36169         * math/auto-libm-test-out: Regenerated.
36171 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36173         [BZ #13304]
36174         * sysdeps/sh/s_fma.c: New file.
36175         * sysdeps/sh/s_fmaf.c: New file.
36176         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36177         version.
36178         * sysdeps/sh/Implies: Add sh/soft-fp.
36180 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36182         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36183         level of indirection to members `objname', `errstring', `malloced'.
36184         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36185         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36186         it as the __longjmp argument (just pass 1 instead).
36187         (_dl_catch_error): Initialize C with argument pointers and address of
36188         volatile local ERRCODE rather than copying values out of C at return.
36190 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36192         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36193         * math/auto-libm-test-out: Regenerated.
36194         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36195         (hypot_test_data): Likewise.
36196         (pow_test_data): Likewise.
36197         (pow_tonearest_test_data): Likewise.
36198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36199         mpfr_ff_f.
36200         (func_calc_desc): Add mpfr_ff_f union field.
36201         (FUNC_mpfr_ff_f): New macro.
36202         (test_functions): Add atan2, hypot and pow.
36203         (special_fill_min): New function.
36204         (special_fill_minus_min): Likewise.
36205         (special_fill_min_subnorm): Likewise.
36206         (special_fill_minus_min_subnorm): Likewise.
36207         (special_real_inputs): Add min, -min, min_subnorm and
36208         -min_subnorm.
36209         (calc_generic_results): Handle mpfr_ff_f.
36210         * sysdeps/i386/fpu/libm-test-ulps: Update.
36211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36213 2013-12-16  Will Newton  <will.newton@linaro.org>
36215         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36216         (Aligned Memory Blocks): Add documentation for aligned_alloc
36217         and suggest it as an alternative to posix_memalign.
36218         (Hooks for Malloc): Document __memalign_hook is also called
36219         for aligned_alloc.  (Summary of Malloc): Add summary for
36220         aligned alloc.  Document __memalign_hook is also called
36221         for aligned_alloc.
36223 2013-12-16  Will Newton  <will.newton@linaro.org>
36225         * manual/memory.texi (Malloc Examples): Clarify default
36226         alignment documentation.  Suggest posix_memalign rather
36227         than memalign or valloc.
36228         (Aligned Memory Blocks): Remove suggestion to use memalign
36229         or valloc.  Remove obsolete comment about BSD.
36230         Document memalign errno values and mark the function obsolete.
36231         Document posix_memalign returned error codes.  Mark valloc
36232         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36233         called for posix_memalign and valloc.
36234         (Summary of Malloc): Add posix_memalign to function summary.
36235         __memalign_hook is also called for posix_memalign and valloc.
36237 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36239         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36240         TAYLOR_SIN.
36241         (__sin): Adjust.
36242         (__cos): Likewise.
36243         (sloww): Use mynumber union.  Expand ternary operator into
36244         if-else statements.
36245         (cslow): use mynumber union.
36247 2013-12-16  Allan McRae  <allan@archlinux.org>
36249         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36250         * configure: Regenerated.
36252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36254         [BZ #14120]
36255         * configure.ac: Added --enable-maintainer-mode. Check for
36256         autoconf when enabled.
36257         * configure: Regenerated.
36259         * nscd/nscd.service: New file.
36260         * nscd/nscd.tmpfiles: New file.
36262 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36264         [BZ #12100]
36265         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36266         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36267         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36268         (strstr): Add __strstr_sse2_unaligned ifunc.
36269         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36270         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36271         (strcasestr): Remove __strcasestr_sse42 ifunc.
36272         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36276 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36278         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36279         * sysdeps/sh/bits/fenv.h: ... here.
36280         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36284         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36287         hypotf multiarch implementations.
36288         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36289         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36291         multiarch hypot for PPC64.
36292         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36293         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36295         multiarch hypotf for PPC64.
36297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36298         modff multiarch implementations.
36299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36302         multiarch modf for PPC64.
36303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36306         multiarch modff for PPC64.
36308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36309         and logl multiarch implementations.
36310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36313         multiarch logb for PPC64.
36314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36317         multiarch logb for PPC64.
36318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36321         multiarch logb for PPC64.
36323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36324         isinff multiarch implementation.
36325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36326         file.
36327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36329         multiarch isinf for PPC64.
36330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36331         file.
36332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36333         multiarch isinff for PPC64.
36335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36336         finitef multiarch implementation.
36337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36338         file.
36339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36341         multiarch finite for PPC64.
36342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36343         file.
36344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36345         multiarch finitef for PPC64.
36347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36348         lrint multiarch implementation.
36349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36350         file.
36351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36353         multiarch llrint for PPC64.
36354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36355         multiarch lrint for PPC64.
36357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36358         copysignf multiarch implementation.
36359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36360         file.
36361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36362         file.
36363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36364         multiarch copysign for PPC64.
36365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36366         multiarch copysignf for PPC64.
36368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36369         multiarch implementation.
36370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36371         file.
36372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36373         file.
36374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36375         file.
36376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36377         file.
36378         multiarch llround for PPC64.
36379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36380         multiarch trunc for PPC64.
36381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36382         multiarch truncf for PPC64.
36384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36385         multiarch implementation.
36386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36387         file.
36388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36389         file.
36390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36391         file.
36392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36393         file.
36394         multiarch llround for PPC64.
36395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36396         multiarch round for PPC64.
36397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36398         multiarch roundf for PPC64.
36400         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36401         multiarch implementation.
36402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36403         file.
36404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36405         file.
36406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36407         file.
36408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36409         file.
36410         multiarch llround for PPC64.
36411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36412         multiarch floor for PPC64.
36413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36414         multiarch floorf for PPC64.
36416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36417         multiarch implementation.
36418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36419         file.
36420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36421         file.
36422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36423         file.
36424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36425         file.
36426         multiarch llround for PPC64.
36427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36428         multiarch ceil for PPC64.
36429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36430         multiarch ceilf for PPC64.
36432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36433         multiarch implementation.
36434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36435         file.
36436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36437         file.
36438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36439         file.
36440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36441         multiarch llround for PPC64.
36442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36443         multiarch lround for PPC64.
36445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36446         multiarch implementation.
36447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36450         file.
36451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36454         multiarch isnan for PPC64.
36455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36456         multiarch isnanf for PPC64.
36458         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36459         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36460         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36461         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36462         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36465         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36466         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36467         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36471         multiarch implementations.
36472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36473         (__libc_ifunc_impl_list): Likewise.
36474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36475         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36476         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36477         multiarch stpcpy for PPC64.
36479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36480         multiarch implementations.
36481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36482         (__libc_ifunc_impl_list): Likewise.
36483         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36484         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36485         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36486         multiarch strcpy for PPC64.
36488         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36489         redefine function name.
36490         (_wordcopy_fwd_dest_aligned): Likewise.
36491         (_wordcopy_bwd_aligned): Likewise.
36492         (_wordcopy_bwd_dest_aligned): Likewise.
36493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36494         multiarch implementations.
36495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36496         (__libc_ifunc_impl_list): Likewise.
36497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36498         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36501         multiarch wcscpy for PPC64.
36503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36504         multiarch implementations.
36505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36506         (__libc_ifunc_impl_list): Likewise.
36507         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36508         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36509         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36510         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36511         multiarch wcscpy for PPC64.
36513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36514         multiarch implementations.
36515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36516         (__libc_ifunc_impl_list): Likewise.
36517         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36518         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36519         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36520         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36521         multiarch wcsrchr for PPC64.
36523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36524         multiarch implementations.
36525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36526         (__libc_ifunc_impl_list): Likewise.
36527         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36528         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36529         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36530         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36531         multiarch wcschr for PPC64.
36533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36534         multiarch implementations.
36535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36536         (__libc_ifunc_impl_list): Likewise.
36537         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36538         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36539         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36540         multiarch strchrnul for PPC64.
36542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36543         implementations.
36544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36545         (__libc_ifunc_impl_list): Likewise.
36546         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36547         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36548         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36549         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36550         strchr for PPC64.
36552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36553         implementations.
36554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36555         (__libc_ifunc_impl_list): Likewise.
36556         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36557         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36558         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36559         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36560         strncmp for PPC64.
36562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36563         multiarch implementations.
36564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36565         (__libc_ifunc_impl_list): Likewise.
36566         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36567         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36568         strncasecmp for PPC64.
36569         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36570         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36571         multiarch strncasecmp_l for PPC64.
36573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36574         multiarch implementations.
36575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36576         (__libc_ifunc_impl_list): Likewise.
36577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36578         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36579         multiarch strcasecmp for PPC64.
36580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36581         file.
36582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36583         multiarch strcasecmp_l for PPC64.
36585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36586         implementations.
36587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36588         (__libc_ifunc_impl_list): Likewise.
36589         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36590         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36591         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36592         strnlen for PPC64.
36594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36595         implementations.
36596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36597         (__libc_ifunc_impl_list): Likewise.
36598         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36599         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36600         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36601         strlen for PPC64.
36603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36604         implementations.
36605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36606         (__libc_ifunc_impl_list): Likewise.
36607         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36608         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36609         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36610         rawmemrchr for PPC64.
36612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36613         implementation.
36614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36615         (__libc_ifunc_impl_list): Likewise.
36616         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36617         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36618         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36619         memrchr for PPC64.
36621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36622         implementation.
36623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36624         (__libc_ifunc_impl_list): Likewise.
36625         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36626         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36627         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36628         memchr for PPC64.
36630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36631         implementation.
36632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36633         (__libc_ifunc_impl_list): Likewise.
36634         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36635         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36636         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36637         mempcpy for PPC64.
36639         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36640         avoid cretion of __bzero symbol.
36641         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36642         Likewise.
36643         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36644         Likewise.
36645         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36646         Likewise.
36647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36648         multiarch implementations.
36649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36650         (__libc_ifunc_impl_list): Likewise.
36651         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36652         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36653         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36654         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36655         bzero for PPC32.
36656         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36657         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36658         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36659         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36660         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36661         memset for PPC64.
36662         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36664         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36666         implementations.
36667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36668         (__libc_ifunc_impl_list): Likewise.
36669         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36670         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36671         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36672         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36673         memcmp for PPC64.
36675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36676         multiarch for POWER/PPC64.
36677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36678         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36680         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36681         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36682         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36683         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36685         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36686         memcpy for PPC64.
36688         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36689         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36690         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36691         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36692         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36693         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36694         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36695         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36696         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36697         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36698         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36699         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36700         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36701         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36702         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36711 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36713         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36715 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36717         * benchtests/Makefile (bench): Add exp2 and log2.
36718         (LDLIBS-bench-exp2): Add -lm.
36719         (LDLIBS-bench-log2): Likewise.
36720         * benchtests/exp2-inputs: New inputs file.
36721         * benchtests/log2-inputs: New inputs file.
36722         * benchtests/log-inputs: Add new inputs.
36723         * benchtests/tan-inputs: Likewise.
36725 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36727         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36728         definition...
36729         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36730         (csloww2): ... from here.
36732         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36733         instead of structures.
36734         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36735         (POLYNOMIAL): Likewise.
36736         (TAYLOR_SLOW): Likewise.
36737         (__sin): Likewise.
36738         (__cos): Likewise.
36739         (slow1): Likewise.
36740         (slow2): Likewise.
36741         (sloww): Likewise.
36742         (sloww1); Likewise.
36743         (sloww2): Likewise.
36744         (bsloww1): Likewise.
36745         (bsloww2): Likewise.
36746         (cslow2): Likewise.
36747         (csloww): Likewise.
36748         (csloww1): Likewise.
36749         (csloww2): Likewise.
36751 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36753         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36754         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36755         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36756         * malloc/hooks.c (realloc_check): Likewise.
36758         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36759         * malloc/arena.c: Remove PER_THREAD conditional.
36760         [!PER_THREAD]: Remove code.
36761         (ptmalloc_unlock_all2): Likewise.
36762         (ptmalloc_init): Likewise.
36763         (_int_new_arena): Likewise.
36764         (arena_get2): Likewise.
36765         * malloc/hooks.c (__malloc_get_state): Likewise.
36766         (__malloc_set_state): Likewise.
36767         * malloc/malloc.c: Likewise.
36768         (struct malloc_state): Likewise.
36769         (struct malloc_par): Likewise.
36770         (__libc_realloc): Likewise.
36771         (__libc_mallopt): Likewise.
36773 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36775         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36777 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36779         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36780         macro to a function.  Check for zero perturb_byte.
36781         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36783         * malloc/malloc.c: (force_reg): Remove.
36784         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36785         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36786         force_reg by atomic_forced_read.
36787         * malloc/arena.c (ptmalloc_init): Likewise.
36788         * malloc/hooks.c (top_check): Likewise.
36790 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36794 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36798 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36800         * math/auto-libm-test-in: Add tests of lgamma.
36801         * math/auto-libm-test-out: Regenerated.
36802         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36803         (M_LOG_2_SQRT_PIl): Likewise.
36804         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36805         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36806         mpfr_f_f1.
36807         (func_calc_desc): Add mpfr_f_f1 union field.
36808         (ARGS1): New macro.
36809         (ARGS2): Likewise.
36810         (ARGS3): Likewise.
36811         (ARGS4): Likewise.
36812         (RET1): Likewise.
36813         (RET2): Likewise.
36814         (CALC): Likewise.
36815         (FUNC): Likewise.
36816         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36817         (test_functions): Add lgamma.
36818         (calc_generic_results): Handle mpfr_f_f1.
36819         * sysdeps/i386/fpu/libm-test-ulps: Update.
36820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36822 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36824         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36825         __mpn_add_n for PowerPC64/POWER7.
36826         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36827         __mpn_sub_n for PowerPC64/POWER7.
36829         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36830         __mpn_addmul_1 for PowerPC64.
36831         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36832         __mpn_submul_1 for PowerPC64.
36833         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36834         for PowerPC64.
36835         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36836         for PowerPC64.
36838 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36840         [BZ #15089]
36841         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36843 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36845         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36847         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36848         add multiarch folders.
36849         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36850         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36851         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36852         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36853         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36854         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36855         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36856         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36857         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36858         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36859         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36868         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36870         New file.
36871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36872         New file.
36873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36874         multiarch __ieee754_hypot for PowerPC32.
36875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36876         New file.
36877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36878         New file.
36879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36880         multiarch __ieee754_hypotf for PowerPC32.
36882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36883         long_double_symbol only if __logbl is defined.
36884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36885         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36887         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36889         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36891         path for implementation.
36892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36893         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36895         logb, and logbl multiarch implementations for PowerPC32.
36896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36897         file.
36898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36899         file.
36900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36901         multiarch logb for PowerPC32.
36902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36903         file.
36904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36905         file.
36906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36907         multiarch logbf for PowerPC32.
36908         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36910         file.
36911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36912         multiarch logbl implementation for PowerPC32.
36914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36915         and modff multiarch implementations.
36916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36917         New file.
36918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36919         New file.
36920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36921         multiarch modf for PowerPC32.
36922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36923         New file.
36924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36925         New file.
36926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36927         multiarch modff for PowerPC32.
36929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36930         and lrintf multiarch implementations.
36931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36932         New file.
36933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36934         New file.
36935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36936         multiarch lrint for PowerPC32.
36937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36938         file: multiarch lrintf for PowerPC32.
36940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36941         and lroundf multiarch implementations.
36942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36943         New file.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36945         New file.
36946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36947         New file.
36948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36949         multiarch lround for PowerPC32.
36950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36951         file: multiarch lroundf for PowerPC32.
36953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36954         copysign and copysignf multiarch implementations.
36955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36956         New file.
36957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36958         New file.
36959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36960         file: multiarch copysign for PowerPC32.
36961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36962         file: multiarch copysignf for PowerPC32.
36964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36965         and truncf multiarch implementations.
36966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36967         New file.
36968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36969         file.
36970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36971         multiarch trunc for PowerPC32.
36972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36973         New file.
36974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36975         New file.
36976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36977         multiarch truncf for PowerPC32.
36979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36980         and roundf multiarch implementations.
36981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36982         New file.
36983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36984         file.
36985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36986         multiarch round for PowerPC32.
36987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36988         New file.
36989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36990         New file.
36991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36992         multiarch roundf for PowerPC32.
36994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36995         and floorf multiarch implementations.
36996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36997         New file.
36998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36999         file.
37000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37001         multiarch floor for PowerPC32.
37002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37003         New file.
37004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37005         New file.
37006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37007         multiarch floorf for PowerPC32.
37009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37010         and ceilf multiarch implementations.
37011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37012         New file.
37013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37014         file.
37015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37016         multiarch ceil for PowerPC32.
37017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37018         New file.
37019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37020         file.
37021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37022         multiarch ceilf for PowerPC32.
37024         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37025         is defined.
37026         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37027         FINITEF is defined.
37028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37029         and finitef multiarch implementations.
37030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37031         New file.
37032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37033         file.
37034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37035         multiarch finite for PowerPC32.
37036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37037         New file.
37038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37039         file: multiarch finitef for PowerPC32.
37041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37042         and isinff multiarch implementations.
37043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37044         file.
37045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37046         file.
37047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37048         multiarch isinf for PowerPC32.
37049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37050         New file.
37051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37052         multiarch isinff for PowerPC32.
37054         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37055         alias when __isnan is defined.
37056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37057         and isnanf multiarch implementations.
37058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37059         file.
37060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37061         file.
37062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37063         file.
37064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37065         file.
37066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37067         multiarch isnan for PowerPC32.
37068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37069         New file.
37070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37071         New file.
37072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37073         multiarch isnanf for PowerPC32.
37075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37076         and sqrtf multiarch implementations.
37077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37078         file.
37079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37080         file.
37081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37082         multiarch sqrt for PowerPC32.
37083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37084         file.
37085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37086         file.
37087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37088         multiarch sqrtf for PowerPC32.
37090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37091         and llroundf multiarch implementations.
37092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37093         New file.
37094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37095         New file.
37096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37097         New file.
37098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37099         file: multiarch llround for PowerPC32.
37100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37101         file: multiarch llroundf for PowerPC32.
37103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37104         multiarch PowerPC32 fpu implementations.
37105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37106         New file.
37107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37108         New file.
37109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37110         multiarch llrint for PowerPC32.
37111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37112         New file.
37113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37114         New file.
37115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37116         file.
37118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37120         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37121         file.
37122         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37123         file.
37124         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37125         file.
37126         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37127         multiarch wordcopy for PPC32.
37128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37129         wordcopy objects.
37130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37131         (__libc_ifunc_impl_list): Likewise.
37132         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37133         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37134         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37135         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37136         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37137         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37139         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37141         file.
37142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37143         file.
37144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37145         file.
37146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37147         multiarch wcscpy for PPC32.
37148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37149         multiarch objects.
37150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37151         (__libc_ifunc_impl_list): Likewise.
37152         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37153         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37154         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37155         sysdeps/powerpc/power6/wcscpy.c.
37157         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37159         file.
37160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37161         file.
37162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37163         file.
37164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37165         multiarch wcsrchr for PPC32.
37166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37167         multiarch objects.
37168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37169         (__libc_ifunc_impl_list): Likewise.
37170         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37171         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37172         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37173         sysdeps/powerpc/power6/wcsrchr.c.
37175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37176         file.
37177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37178         file.
37179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37181         multiarch wcschr for PPc32.
37182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37183         multiarch objects.
37184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37185         (__libc_ifunc_impl_list): Likewise.
37186         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37187         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37188         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37189         sysdeps/powerpc/power6/wcschr.c.
37191         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37192         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37193         file.
37194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37195         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37196         file: multiarch strchr for PPC32.
37197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37198         multiarch objects.
37199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37200         (__libc_ifunc_impl_list): Likewise.
37202         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37203         name.
37204         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37205         file.
37206         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37207         file.
37208         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37209         multiarch strchrnul for PPC32.
37210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37211         multiarch objects.
37212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37213         (__libc_ifunc_impl_list): Likewise.
37215         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37216         file.
37217         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37218         multiarch strncasecmp for PPC32.
37219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37220         file.
37221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37222         multiarch strncasecmp_l for PPC32.
37223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37224         strncasecmp multiarch objects.
37225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37226         (__libc_ifunc_impl_list): Likewise.
37228         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37229         file.
37230         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37231         multiarch strncasecmp for PPC32.
37232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37233         New file.
37234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37235         multiarch strcasecmp_l for PPC32.
37236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37237         multiarch objects.
37238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37239         (__libc_ifunc_impl_list): Likewise.
37241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37242         file.
37243         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37244         file.
37245         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37246         multiarch strncmp for PPC32.
37247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37248         multiarch objects.
37249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37250         (__libc_ifunc_impl_list): Likewise.
37252         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37253         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37254         file.
37255         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37256         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37258         multiarch objects.
37259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37260         (__libc_ifunc_impl_list): Likewise.
37262         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37263         file.
37264         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37265         file.
37266         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37268         multiarch objects.
37269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37270         (__libc_ifunc_impl_list): Likewise.
37272         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37273         file.
37274         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37275         file.
37276         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37277         multiarch rawmemchr for PPC32.
37278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37279         multiarch objects.
37280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37281         (__libc_ifunc_impl_list): Likewise.
37283         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37284         file.
37285         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37286         file.
37287         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37288         file: memrchr multiarch for PPC32.
37289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37290         multiarch objects.
37291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37292         (__libc_ifunc_impl_list): Likewise.
37294         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37295         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37296         file.
37297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37298         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37299         multiarch memchr for PPC32.
37300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37301         multiarch objects.
37302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37303         (__libc_ifunc_impl_list): Likewise.
37305         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37306         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37307         file.
37308         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37309         file.
37310         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37311         file: multiarch mempcpy for PPC32.
37312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37313         multiarch objects.
37314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37315         (__libc_ifunc_impl_list): Likewise.
37317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37319         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37320         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37321         multiarch bzero for PPC32.
37322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37323         file.
37324         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37325         file.
37326         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37327         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37328         file: multiarch memset for PPC32.
37329         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37331         memset multiarch objects.
37332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37333         (__libc_ifunc_impl_list): Likewise.
37335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37336         file.
37337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37339         memcmp for PPC32.
37340         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37342         multiarch objects.
37343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37344         (__libc_ifunc_impl_list): Likewise.
37346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37349         file.
37350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37351         file.
37352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37353         file.
37354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37355         multiarch memcpy for PPC32.
37356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37357         multiarch objects.
37358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37359         (__libc_ifunc_impl_list): Likewise.
37361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37362         support multiarch for POWER/PPC32.
37363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37364         Likewise.
37365         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37367         Implies file to make multiarch folder appers before the fpu and
37368         default folder for power4 configuration.
37370 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37372         * scripts/bench.pl: Append volatile keyword to type.
37374 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37376         * sysdeps/sh/sotruss-lib.c: New file.
37377         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37379 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37383 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37385         [BZ #6810]
37386         * math/w_tgamma.c: Include <errno.h>.
37387         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37388         * math/w_tgammaf.c: Include <errno.h>.
37389         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37390         * math/w_tgammal.c: Include <errno.h>.
37391         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37392         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37393         underflow.  Add more tgamma tests.
37394         * math/auto-libm-test-out: Regenerated.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37399         sin, sinh, tan, tanh, tgamma, y0 and y1.
37400         * math/auto-libm-test-out: Regenerated.
37401         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37402         (TEST_COND_x86): Likewise.
37403         (M_E2l): Remove macro.
37404         (M_E3l): Likewise.
37405         (M_2_SQRT_PIl): Likewise.
37406         (M_SQRT_PIl): Likewise.
37407         (M_1_DIV_El): Likewise.
37408         (log_test_data): Use AUTO_TESTS_f_f.
37409         (log10_test_data): Likewise.
37410         (log1p_test_data): Likewise.
37411         (log2_test_data): Likewise.
37412         (sin_test_data): Likewise.
37413         (sin_tonearest_test_data): Likewise.
37414         (sin_towardzero_test_data): Likewise.
37415         (sin_downward_test_data): Likewise.
37416         (sin_upward_test_data): Likewise.
37417         (sinh_test_data): Likewise.
37418         (sinh_tonearest_test_data): Likewise.
37419         (sinh_towardzero_test_data): Likewise.
37420         (sinh_downward_test_data): Likewise.
37421         (sinh_upward_test_data): Likewise.
37422         (tan_test_data): Likewise.
37423         (tan_tonearest_test_data): Likewise.
37424         (tan_towardzero_test_data): Likewise.
37425         (tan_downward_test_data): Likewise.
37426         (tan_upward_test_data): Likewise.
37427         (tanh_test_data): Likewise.
37428         (tgamma_test_data): Likewise.
37429         (y0_test_data): Likewise.
37430         (y1_test_data): Likewise.
37431         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37432         (special_real_inputs): Add pi/4.
37433         * sysdeps/i386/fpu/libm-test-ulps: Update.
37434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37436 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37438         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37439         "longjmp_target" static probes.
37440         (__longjmp): Rename to __longjmp_symbol.
37441         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37442         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37443         on which longjmp to generate.
37444         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37445         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37446         probe.
37447         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37448         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37449         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37450         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37451         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37452         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37454         __longjmp_symbol based on which __longjmp to generate.
37455         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37456         probe.
37457         (setjmp): Rename to setjmp_symbol.
37458         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37459         (_setjmp): Rename to _setjmp_symbol.
37460         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37461         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37462         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37463         which setjmp to generate.
37464         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37465         "longjmp_target" static probes.
37467 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37469         * benchtests/README: Add note about output arguments.
37470         * benchtests/bench-sincos.c: Remove file.
37471         * benchtests/sincos-inputs: New file.
37472         * scripts/bench.pl: Identify output arguments and define
37473         static variables for them.
37475         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37477         [BZ #15941]
37478         * Makefile (INSTALL): Add install-plain.texi as the primary
37479         dependency.
37480         * manual/install-plain.texi: New file.
37481         * manual/install.texi: Include node directive only for
37482         non-plaintext output.
37484 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37486         * stdlib/longlong.h: Update from GCC.
37488         [BZ #6807]
37489         [BZ #15901]
37490         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37491         * math/w_j0f.c (y0f): Likewise.
37492         * math/w_j0l.c (__y0l): Likewise.
37493         * math/w_j1.c (y1): Likewise.
37494         * math/w_j1f.c (y1f): Likewise.
37495         * math/w_j1l.c (__y1l): Likewise.
37496         * math/w_jn.c (yn): Likewise.
37497         * math/w_jnf.c (ynf): Likewise.
37498         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37499         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37500         value for Bessel function domain errors outside _SVID_ mode.
37501         Adjust sign of return value for yn (negative integer, 0).
37502         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37503         by zero in return for negative x and set sign appropriately for
37504         negative n.
37505         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37506         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37507         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37508         expectations in error cases.
37509         (y1_test_data): Likewise.
37510         (yn_test_data): Likewise.
37511         * sysdeps/i386/fpu/libm-test-ulps: Update.
37512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37514 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37516         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37517         "64" to "64-v1".  Add "64-v2".
37518         (abi-64-options): Rename to ...
37519         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37520         (abi-64-condition): Rename to ...
37521         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37522         (abi-64-ld-soname): Rename to ...
37523         (abi-64-v1-ld-soname): ... this.
37524         (abi-64-v2-options): Define.
37525         (abi-64-v2-condition): Likewise.
37526         (abi-64-v2-ld-soname): Likewise.
37527         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37528         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37533 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37534             Alan Modra  <amodra@gmail.com>
37536         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37537         New versions for use with the ELFv2 ABI.
37538         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37539         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37540         declaration.
37541         (struct La_ppc64v2_retval): Likewise.
37542         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37543         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37544         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37545         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37546         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37547         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37548         Do not save or restore CR.
37549         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37550         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37551         return values for ELFv2 ABI.  Fix location of FPR return registers.
37552         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37553         updated values for _CALL_ELF == 2.
37554         (La_regs, La_retval, int_retval): Likewise.
37556 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37558         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37559         (FRAME_MIN_SIZE_PARM): Likewise.
37560         (FRAME_BACKCHAIN): Likewise.
37561         (FRAME_CR_SAVE): Likewise.
37562         (FRAME_LR_SAVE): Likewise.
37563         (FRAME_TOC_SAVE): Likewise.
37564         (FRAME_PARM_SAVE): Likewise.
37565         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37566         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37567         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37568         (call_mcount_parm_offset): New macro.
37569         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37570         (PROF): Use symbolic stack frame offsets.
37571         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37572         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37573         Redefine in terms of FRAME_MIN_SIZE.
37574         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37575         (_dl_profile_resolve): Likewise.  Update comment.
37576         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37577         symbols stack frame offsets.
37578         (__sigsetjmp): Likewise.
37579         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37580         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37581         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37582         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37585         (FRAME_BACKCHAIN): Remove.
37586         (FRAME_CR_SAVE): Likewise.
37587         (FRAME_LR_SAVE): Likewise.
37588         (FRAME_COMPILER_DW): Likewise.
37589         (FRAME_LINKER_DW): Likewise.
37590         (FRAME_TOC_SAVE): Likewise.
37591         (FRAME_PARM_SAVE): Likewise.
37592         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37593         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37594         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37596         (CHECK_SP): Use symbolic stack frame offsets.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37598         zone" instead of caller's parameter save area for temp storage.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37600         Likewise.  Also, use symbolic stack frame offsets.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37602         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37603         our own stack frame instead of the caller's.
37604         (__socket): Use symbolic stack frame offsets.
37606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37607             Alan Modra  <amodra@gmail.com>
37609         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37610         Define.
37611         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37612         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37613         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37614         New function.
37615         (elf_machine_fixup_plt): Call it.
37616         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37617         reloc arguments.
37618         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37619         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37620         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37621         r2 before calling target.
37623 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37624             Alan Modra  <amodra@gmail.com>
37626         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37627         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37628         versions of macros to support ELFv2 ABI.
37629         (LOCALENTRY): New macro.
37630         (ENTRY, EALIGN): Use it.
37631         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37632         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37633         fall through into ENTRY entry point.
37634         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37635         Only define if _CALL_ELF != 2.
37637         (elf_machine_matches_host): Verify ABI version matches.
37638         (RTLD_START): Use LOCALENTRY.
37639         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37640         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37641         (PLT_ENTRY_WORDS): New macro.
37642         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37643         (elf_machine_runtime_setup): Support ELFv2 ABI.
37644         (elf_machine_fixup_plt): Likewise.
37645         (elf_machine_plt_conflict): Likewise.
37646         (resolve_ifunc): Likewise.
37647         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37648         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37649         Likewise.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37651         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37653         (makecontext): Support ELFv2 ABI.
37654         * elf/elf.h (EF_PPC64_ABI): Define.
37656 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37658         * sysdeps/powerpc/powerpc64/sysdep.h
37659         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37660         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37661         (ENTRY) [ASSEMBLER]: ... but instead here ...
37662         (EALIGN) [ASSEMBLER]: ... and here.
37663         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37664         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37665         (ENTRY_2) [!ASSEMBLER]: Use it.
37666         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37667         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37668         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37669         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37670         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37672         Use PPC64_LOAD_FUNCPTR.
37674         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37676 2013-12-04  Alan Modra  <amodra@gmail.com>
37678         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37679         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37680         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37681         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37684         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37685         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37686         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37687         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37688         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37690 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37693         (__makecontext): Fix incorrect CFI when backtracing out of
37694         context created via makecontext.
37695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37696         (__setcontext): Fix incorrect CFI during switch to new context.
37697         (__novec_setcontext): Likewise.
37699 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37701         [BZ #4772]
37702         * time/strptime_l.c (__strptime_internal): Allow modifiers
37703         in strptime.
37704         * time/tst-strptime.c (day_tests): Add testcase.
37706 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37708         * scripts/bench.pl: Skip over blank lines.
37710 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37712         [BZ #926]
37713         * manual/time.texi (Calendar Time): Clarify what timezone functions
37714         use.
37716 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37720 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37722         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37723         implementation.
37724         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37725         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37726         * debug/memset_chk.c (__memset_chk): Likewise.
37727         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37728         * debug/strncpy_chk.c: Likewise.
37730 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37732         [BZ #15268]
37733         [BZ #15425]
37734         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37735         (__ieee754_exp): For possibly underflowing results, check size of
37736         result and force underflow exception if required.
37737         * math/auto-libm-test-in: Add more tests of exp.
37738         * math/auto-libm-test-out: Regenerated.
37739         * sysdeps/i386/fpu/libm-test-ulps: Update.
37740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37742         [BZ #16283]
37743         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37744         * math/w_exp2f.c (__exp2f): Likewise.
37745         * math/w_exp2l.c (__exp2l): Likewise.
37746         * math/auto-libm-test-in: Do not allow missing errno on exp2
37747         underflow.
37748         * math/auto-libm-test-out: Regenerated.
37750 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37752         [BZ #16274]
37753         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37754         handle filename validation.
37755         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37756         (do_open): Delete.
37758 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37760         [BZ #6786]
37761         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37762         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37763         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37764         <float.h>.
37765         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37767         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37769         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37770         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37771         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37772         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37773         Add more erfc tests.
37774         * math/auto-libm-test-out: Regenerated.
37775         * sysdeps/i386/fpu/libm-test-ulps: Update.
37776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37778         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37779         exp2, expm1, j0 and j1.
37780         * math/auto-libm-test-out: Regenerated.
37781         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37782         (erfc_test_data): Likewise.
37783         (exp_test_data): Likewise.
37784         (exp_tonearest_test_data): Likewise.
37785         (exp_towardzero_test_data): Likewise.
37786         (exp_downward_test_data): Likewise.
37787         (exp_upward_test_data): Likewise.
37788         (exp10_test_data): Likewise.
37789         (exp2_test_data): Likewise.
37790         (expm1_test_data): Likewise.
37791         (j0_test_data): Likewise.
37792         (j1_test_data): Likewise.
37793         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37794         (input_flag_type): Add flag_xfail_rounding.
37795         (input_flags): Add xfail-rounding.
37796         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37797         (output_for_one_input_case): Handle flag_xfail_rounding.
37798         * sysdeps/i386/fpu/libm-test-ulps: Update.
37799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37801 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37803         [BZ #16289]
37804         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37805         division by 0.
37807 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         [BZ #16195]
37810         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37811         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37812         (STAP_PROBE0): New macro.
37813         (STAP_PROBE1): Likewise.
37814         (STAP_PROBE2): Likewise.
37815         (STAP_PROBE3): Likewise.
37816         (STAP_PROBE4): Likewise.
37818 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37820         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37822 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37824         * benchtests/Makefile (bench): Add sqrt.
37825         (LDLIBS-bench-sqrt): New.
37826         * benchtests/sqrt-input: New.
37828 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37830         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37831         (GAIH_EAI): Likewise.
37832         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37833         (gaih_inet): Likewise.
37834         (getaddrinfo): Don't use GAIH_EAI.
37836         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37837         (struct gaih): Remove definition.
37839 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37841         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37842         Use HERRNOP directly.
37844 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37848 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37850         * math/gen-auto-libm-tests.c (test_functions): Add more
37851         single-argument functions.
37852         (special_fill_pi_2): New function.
37853         (special_fill_minus_pi_2): Likewise.
37854         (special_fill_pi_6): Likewise.
37855         (special_fill_minus_pi_6): Likewise.
37856         (special_fill_pi_3): Likewise.
37857         (special_fill_2pi_3): Likewise.
37858         (special_fill_e): Likewise.
37859         (special_fill_1_e): Likewise.
37860         (special_fill_e_minus_1): Likewise.
37861         (special_real_inputs): Add more special inputs.
37862         (output_for_one_input_case): Do not require ERANGE on underflow to
37863         zero if round-to-nearest result does not underflow to zero, unless
37864         exact results required.
37865         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37866         atan, atanh, cbrt, cos and cosh.
37867         * math/auto-libm-test-out: Regenerated.
37868         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37869         (acos_tonearest_test_data): Likewise.
37870         (acos_towardzero_test_data): Likewise.
37871         (acos_downward_test_data): Likewise.
37872         (acos_upward_test_data): Likewise.
37873         (acosh_test_data): Likewise.
37874         (asin_test_data): Likewise.
37875         (asin_tonearest_test_data): Likewise.
37876         (asin_towardzero_test_data): Likewise.
37877         (asin_upward_test_data): Likewise.
37878         (asinh_test_data): Likewise.
37879         (atan_test_data): Likewise.
37880         (atanh_test_data): Likewise.
37881         (cbrt_test_data): Likewise.
37882         (cos_test_data): Likewise.
37883         (cos_tonearest_test_data): Likewise.
37884         (cos_towardzero_test_data): Likewise.
37885         (cos_downward_test_data): Likewise.
37886         (cos_upward_test_data): Likewise.
37887         (cosh_test_data): Likewise.
37888         (cosh_tonearest_test_data): Likewise.
37889         (cosh_towardzero_test_data): Likewise.
37890         (cosh_downward_test_data): Likewise.
37891         (cosh_upward_test_data): Likewise.
37892         * sysdeps/i386/fpu/libm-test-ulps: Update.
37893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37895 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37897         [BZ #6787]
37898         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37899         * math/w_exp10f.c (__exp10f): Likewise.
37900         * math/w_exp10l.c (__exp10l): Likewise.
37901         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37902         errno settings in existing tests.
37904         [BZ #14032]
37905         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37906         precision control set to double precision.
37907         * sysdeps/i386/fpu/w_sqrt.c: New file.
37908         * math/auto-libm-test-in: Add more tests.
37909         * math/auto-libm-test-out: Update.
37911         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37912         (sqrt_test_tonearest): New function.
37913         (sqrt_towardzero_test_data): New variable.
37914         (sqrt_test_towardzero): New function.
37915         (sqrt_downward_test_data): New variable.
37916         (sqrt_test_downward): New function.
37917         (sqrt_upward_test_data): New variable.
37918         (sqrt_test_upward): New function.
37919         (main): Call the new functions.
37921         * math/gen-auto-libm-tests.c: New file.
37922         * math/auto-libm-test-in: Likewise.
37923         * math/auto-libm-test-out: New generated file.
37924         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37925         variables.
37926         (%beautify): Add generated representations of zero.
37927         (top level): Set $auto_input and call parse_auto_input.
37928         (beautify): Remove trailing "f" from hex float constants.
37929         (parse_args): Handle XFAIL_TEST.
37930         (convert_condition): New function.
37931         (or_value): Likewise.
37932         (or_cond_value): Likewise.
37933         (generate_testfile): Handle AUTO_TESTS_* lines.
37934         (parse_auto_input): New function.
37935         * math/libm-test.inc (XFAIL_TEST): New macro.
37936         (ERRNO_UNCHANGED): Update value.
37937         (ERRNO_EDOM): Likewise.
37938         (ERRNO_ERANGE): Likewise.
37939         (IGNORE_RESULT): Likewise.
37940         (TEST_COND_flt_32): New macro.
37941         (TEST_COND_dbl_64): Likewise.
37942         (TEST_COND_ldbl_96_intel): Likewise.
37943         (TEST_COND_ldbl_96_m68k): Likewise.
37944         (TEST_COND_ldbl_128): Likewise.
37945         (TEST_COND_ldbl_128ibm): Likewise.
37946         (TEST_COND_long32): Likewise.
37947         (TEST_COND_long64): Likewise.
37948         (TEST_COND_before_rounding): Likewise.
37949         (TEST_COND_after_rounding): Likewise.
37950         (enable_test): Handle XFAIL_TEST flag.
37951         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37952         with finite results.
37953         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37954         auto-libm-test-out.
37956 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37957             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37959         [BZ #16214]
37960         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37961         __tls_get_addr_internal instead of __tls_get_offset in order to
37962         avoid GOT pointer dependency.  Make rtld export
37963         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37964         __tls_get_addr since we are a __tls_get_offset platform.
37965         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37966         GOT pointer being set up before.
37967         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37969 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37971         * manual/math.texi (Errors in Math Functions): Document accuracy
37972         goals.
37974         [BZ #15004]
37975         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37976         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37979         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37980         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37981         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37982         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37983         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37984         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37985         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37986         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37988         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37989         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37990         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37992         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37993         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37994         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37995         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37996         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37997         Likewise.
37998         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37999         Likewise.
38000         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38001         Likewise.
38002         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38003         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38004         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38005         atomic-feupdateenv and flt-rounds.
38006         * sysdeps/powerpc/nofpu/Versions (libc): Add
38007         __atomic_feholdexcept, __atomic_feclearexcept,
38008         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38009         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38010         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38011         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38012         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38013         here.
38014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38015         Update.
38017         * manual/arith.texi (FP Exceptions): Document that exceptions may
38018         not be raised when matherr is used.
38019         (Math Error Reporting): Document overflow in directed rounding
38020         modes.  Document that errno may not be set when finite values are
38021         returned on overflow.  Document intent to set errno on underflow
38022         only for underflow to zero.
38024         [BZ #16271]
38025         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38026         round-to-nearest then adjust result for other rounding modes.
38027         * include/fenv.h (fegetround): Use libm_hidden_proto.
38028         * math/fegetround.c (fegetround): Use libm_hidden_def.
38029         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38030         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38031         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38032         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38033         Likewise.
38034         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38035         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38036         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38037         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38039 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38041         [BZ #16077]
38042         * nss/Versions (libnss_files): Add
38043         _nss_files_gethostbyname3_r.
38044         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38045         New function.
38046         (HOST_DB_LOOKUP): Remove macro.
38047         (_nss_files_gethostbyname_r): Implement function without the
38048         HOST_DB_LOOKUP macro.
38049         (_nss_files_gethostbyname2_r): Likewise.
38051 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38053         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38055 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38057         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38058         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38059         warning.
38061 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38063         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38064         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38065         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38066         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38067         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38068         __fe_nomask_env_priv and attribute_hidden.
38069         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38070         (libc_feupdateenv_test_ppc): Likewise.
38071         (libc_feresetround_ppc): Likewise.
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38073         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38074         compat_symbol macro.
38075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38076         (__fe_nomask_env): Likewise.
38077         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38079 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38081         * string/Makefile: Remove ifunc tests.
38082         * string/test-string.h: Define TEST_IFUNC.
38083         * string/test-bcopy-ifunc.c: Remove.
38084         * string/test-bzero-ifunc.c: Likewise.
38085         * string/test-memccpy-ifunc.c: Likewise.
38086         * string/test-memchr-ifunc.c: Likewise.
38087         * string/test-memcmp-ifunc.c: Likewise.
38088         * string/test-memcpy-ifunc.c: Likewise.
38089         * string/test-memmem-ifunc.c: Likewise.
38090         * string/test-memmove-ifunc.c: Likewise.
38091         * string/test-mempcpy-ifunc.c: Likewise.
38092         * string/test-memrchr-ifunc.c: Likewise.
38093         * string/test-memset-ifunc.c: Likewise.
38094         * string/test-rawmemchr-ifunc.c: Likewise.
38095         * string/test-stpcpy-ifunc.c: Likewise.
38096         * string/test-stpncpy-ifunc.c: Likewise.
38097         * string/test-strcasecmp-ifunc.c: Likewise.
38098         * string/test-strcasestr-ifunc.c: Likewise.
38099         * string/test-strcat-ifunc.c: Likewise.
38100         * string/test-strchr-ifunc.c: Likewise.
38101         * string/test-strchrnul-ifunc.c: Likewise.
38102         * string/test-strcmp-ifunc.c: Likewise.
38103         * string/test-strcpy-ifunc.c: Likewise.
38104         * string/test-strcspn-ifunc.c: Likewise.
38105         * string/test-strlen-ifunc.c: Likewise.
38106         * string/test-strncasecmp-ifunc.c: Likewise.
38107         * string/test-strncat-ifunc.c: Likewise.
38108         * string/test-strncmp-ifunc.c: Likewise.
38109         * string/test-strncpy-ifunc.c: Likewise.
38110         * string/test-strnlen-ifunc.c: Likewise.
38111         * string/test-strpbrk-ifunc.c: Likewise.
38112         * string/test-strrchr-ifunc.c: Likewise.
38113         * string/test-strspn-ifunc.c: Likewise.
38114         * string/test-strstr-ifunc.c: Likewise.
38116 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38118         * benchtests/Makefile: Remove ifunc tests.
38119         * benchtests/bench-string.h: Define TEST_IFUNC.
38120         * benchtests/bench-bcopy-ifunc.c: Remove.
38121         * benchtests/bench-bzero-ifunc.c: Likewise.
38122         * benchtests/bench-memccpy-ifunc.c: Likewise.
38123         * benchtests/bench-memchr-ifunc.c: Likewise.
38124         * benchtests/bench-memcmp-ifunc.c: Likewise.
38125         * benchtests/bench-memcpy-ifunc.c: Likewise.
38126         * benchtests/bench-memmem-ifunc.c: Likewise.
38127         * benchtests/bench-memmove-ifunc.c: Likewise.
38128         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38129         * benchtests/bench-memrchr-ifunc.c: Likewise.
38130         * benchtests/bench-memset-ifunc.c: Likewise.
38131         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38132         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38133         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38134         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38135         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38136         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38137         * benchtests/bench-strcat-ifunc.c: Likewise.
38138         * benchtests/bench-strchr-ifunc.c: Likewise.
38139         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38140         * benchtests/bench-strcmp-ifunc.c: Likewise.
38141         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38142         * benchtests/bench-strcpy-ifunc.c: Likewise.
38143         * benchtests/bench-strcspn-ifunc.c: Likewise.
38144         * benchtests/bench-strlen-ifunc.c: Likewise.
38145         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38146         * benchtests/bench-strncat-ifunc.c: Likewise.
38147         * benchtests/bench-strncmp-ifunc.c: Likewise.
38148         * benchtests/bench-strncpy-ifunc.c: Likewise.
38149         * benchtests/bench-strnlen-ifunc.c: Likewise.
38150         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38151         * benchtests/bench-strrchr-ifunc.c: Likewise.
38152         * benchtests/bench-strsep-ifunc.c: Likewise.
38153         * benchtests/bench-strspn-ifunc.c: Likewise.
38154         * benchtests/bench-strstr-ifunc.c: Likewise.
38156 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38158         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38160 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38162         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38163         * rt/aio.h: Likewise.
38164         * sysdeps/gnu/bits/utmp.h: Likewise.
38165         * sysdeps/gnu/bits/utmpx.h: Likewise.
38166         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38167         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38168         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38169         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38170         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38171         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38172         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38173         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38174         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38175         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38176         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38177         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38178         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38180         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38181         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38182         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38183         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38184         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38185         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38186         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38187         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38188         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38189         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38190         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38192         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38193         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38194         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38195         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38196         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38197         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38198         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38199         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38200         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38201         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38202         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38203         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38204         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38205         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38206         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38207         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38209 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38211         [BZ #16245]
38212         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38213         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38215 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38217         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38218         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38219         Likewise.
38221 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38224         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38225         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38226         (__fesetround): Remove define.
38227         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38228         rounding and exceptions handling.
38229         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38230         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38231         (__fe_nomask_env): Likewise.
38232         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38233         __fegetround instead of fegetround.
38234         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38235         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38237 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38239         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38240         it's there.
38242         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38244 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38246         [BZ #11157]
38247         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38248         (encrypt_r): Likewise.
38249         * malloc/obstack.h (obstack_free): Likewise.
38250         * posix/unistd.h (encrypt): Likewise.
38252 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38254         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38255         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38256         DL_CALL_DT_FINI() that call the functions directly.
38257         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38258         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38259         * elf/dl-fini.c: Likewise.
38261 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38263         * malloc/hooks.c (memalign_check): Add alignment rounding.
38264         * malloc/malloc.c (_mid_memalign): New function.
38265         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38266         Implement by calling _mid_memalign.
38267         * manual/probes.texi (Memory Allocation Probes): Remove
38268         memory_valloc_retry and memory_pvalloc_retry.
38270 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         * locale/programs/locarchive.c (open_archive): Add const
38273         qualifier to ARCHIVEFNAME and copy default fname to
38274         DEFAULT_FNAME.
38276         [BZ #15601]
38277         * libio/tst-widetext.input: Rename Oriya to Odia.
38278         * locale/iso-639.def: Likewise.
38280         * manual/probes.texi (Mathematical Function Probes): Add
38281         documentation for sin, cos, asin and acos probes.
38282         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38283         (__sin32): Add slowasin probe.
38284         (__cos32): Add slowacos probe.
38285         (__mpsin): Add slowsin probe.
38286         (__mpcos): Add slowcos probe.
38288 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38290         [BZ #15483]
38291         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38292         thread-local __sim_exceptions_thread and global
38293         __sim_exceptions_global.
38294         (__sim_disabled_exceptions): Change to thread-local
38295         __sim_disabled_exceptions_thread and global
38296         __sim_disabled_exceptions_global.
38297         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38298         and global __sim_round_mode_global.
38299         (__simulate_exceptions): Use thread-local floating-point state and
38300         set global state from it as needed.
38301         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38302         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38303         __sim_round_mode_thread.
38304         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38305         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38306         and global __sim_exceptions_global.
38307         (__sim_disabled_exceptions): Change to thread-local
38308         __sim_disabled_exceptions_thread and global
38309         __sim_disabled_exceptions_global.
38310         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38311         and global __sim_round_mode_global.
38312         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38313         (SIM_SET_GLOBAL): Likewise.
38314         * sysdeps/powerpc/soft-fp/sfp-machine.h
38315         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38316         __sim_round_mode_thread.
38317         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38318         __sim_disabled_exceptions_thread.
38319         (__sim_exceptions): Change to __sim_exceptions_thread.
38320         (__sim_disabled_exceptions): Change to
38321         __sim_disabled_exceptions_thread.
38322         (__sim_round_mode): Change to __sim_round_mode_thread.
38323         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38324         thread-local floating-point state and set global state from it as
38325         needed.
38326         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38327         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38328         (__sim_disabled_exceptions): Remove extern declaration.
38329         (feenableexcept): Use thread-local floating-point state and set
38330         global state from it as needed.
38331         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38332         extern declaration.
38333         (__sim_disabled_exceptions): Likewise.
38334         (__sim_round_mode): Likewise.
38335         (__fegetenv): Use thread-local floating-point state.
38336         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38337         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38338         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38339         floating-point state and set global state from it as needed.
38340         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38341         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38342         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38343         Likewise.
38344         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38345         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38346         Likewise.
38347         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38348         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38349         Use __sim_round_mode_thread.
38350         * math/test-fenv-tls.c: New file.
38351         * math/Makefile (tests): Add test-fenv-tls.
38352         ($(objpfx)test-fenv-tls): Depend on
38353         $(common-objpfx)nptl/libpthread.so.
38355 2013-11-19  Andreas Schwab  <schwab@suse.de>
38357         * locale/programs/locale.c (show_info): Decode wordarray elements.
38358         * locale/categories.def (LC_MONETARY): Add element for
38359         _NL_MONETARY_CRNCYSTR.
38360         * locale/C-monetary.c (conversion_rate): New variable.
38361         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38362         element.
38364 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38366         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38367         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38369 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38371         * elf/Makefile (tst-auxv): New test.
38372         * elf/tst-auxv.c: New
38373         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38375 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38377         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38378         (hidden_proto): Caller changed.
38379         (hidden_tls_proto): New macro.
38380         (libc_hidden_tls_proto): Likewise.
38381         (rtld_hidden_tls_proto): Likewise.
38382         (libm_hidden_tls_proto): Likewise.
38383         (libresolv_hidden_tls_proto): Likewise.
38384         (librt_hidden_tls_proto): Likewise.
38385         (libdl_hidden_tls_proto): Likewise.
38386         (libnss_files_hidden_tls_proto): Likewise.
38387         (libnsl_hidden_tls_proto): Likewise.
38388         (libnss_nisplus_hidden_tls_proto): Likewise.
38389         (libutil_hidden_tls_proto): Likewise.
38391 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38393         [BZ #10253]
38394         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38395         (decompose_rpath): Defer expansion to fillin_rpath.
38396         (_dl_init_paths): Pass linkmap to fillin_rpath.
38398 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38400         * benchtests/Makefile: Add strsep.
38401         * benchtests/bench-strsep.c: New file: strsep benchtest.
38402         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38404 2013-11-18  Andreas Schwab  <schwab@suse.de>
38406         * locale/programs/locale.c (show_info) [case byte]: Check for
38407         '\377' instead of '\177'.
38408         * locale/C-monetary.c (not_available): Always use "\377".
38409         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38410         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38411         detect unavailable sign_posn locale elements.
38412         * locale/localeconv.c (__localeconv): For grouping and
38413         mon_grouping handle "\177" and "\377" like no grouping.
38414         (INT_ELEM): New macro.  Use it to set all numeric members.
38415         * locale/programs/ld-monetary.c (monetary_read)
38416         <tok_mon_grouping>: Normalize single -1 to the empty string.
38417         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38418         Likewise.
38420 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38422         [BZ #16055]
38423         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38424         when we match (nil).
38425         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38427 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38429         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38430         (NO_TEST_INLINE): Update value.
38431         (ERRNO_UNCHANGED): Likewise.
38432         (ERRNO_EDOM): Likewise.
38433         (ERRNO_ERANGE): Likewise.
38434         (IGNORE_RESULT): Likewise.
38435         (check_float_internal): Check signs of NaN results if
38436         TEST_NAN_SIGN used.
38437         (check_complex): Pass TEST_NAN_SIGN flag through to second
38438         check_float_internal call.
38439         (copysign_test_data): Add tests with quiet NaNs as second
38440         argument.  Use TEST_NAN_SIGN.
38441         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38442         TEST_NAN_SIGN.
38443         (signbit_test_data): Add tests of quiet NaN argument.
38444         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38446         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38447         $ignore_result.
38448         (parse_args): Handle function results specified as IGNORE.
38449         * math/libm-test.inc (IGNORE_RESULT): New macro.
38450         (check_float_internal): Do not check numerical result if flag
38451         IGNORE_RESULT set.
38452         (check_complex): Pass through IGNORE_RESULT to second
38453         check_float_internal call.
38454         (check_int): Do not check numerical result if flag IGNORE_RESULT
38455         set.
38456         (check_long): Likewise.
38457         (check_bool): Likewise.
38458         (check_longlong): Likewise.
38459         (lrint_test_data): Add tests of infinite and NaN arguments.
38460         (lrint_tonearest_test_data): Likewise.
38461         (lrint_towardzero_test_data): Likewise.
38462         (lrint_downward_test_data): Likewise.
38463         (lrint_upward_test_data): Likewise.
38464         (llrint_test_data): Likewise.
38465         (llrint_tonearest_test_data): Likewise.
38466         (llrint_towardzero_test_data): Likewise.
38467         (llrint_downward_test_data): Likewise.
38468         (llrint_upward_test_data): Likewise.
38469         (lround_test_data): Likewise.
38470         (llround_test_data): Likewise.
38472         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38473         (ERRNO_UNCHANGED): Update value.
38474         (ERRNO_EDOM): Likewise.
38475         (ERRNO_ERANGE): Likewise.
38476         (NO_TEST_INLINE_FLOAT): New macro.
38477         (NO_TEST_INLINE_DOUBLE): Likewise.
38478         (enable_test): New function.
38479         (RUN_TEST_f_f): Check enable_test before running test.
38480         (RUN_TEST_2_f): Likewise.
38481         (RUN_TEST_fff_f): Likewise.
38482         (RUN_TEST_c_f): Likewise.
38483         (RUN_TEST_f_f1): Likewise.
38484         (RUN_TEST_fF_f1): Likewise.
38485         (RUN_TEST_fI_f1): Likewise.
38486         (RUN_TEST_ffI_f1): Likewise.
38487         (RUN_TEST_c_c): Likewise.
38488         (RUN_TEST_cc_c): Likewise.
38489         (RUN_TEST_f_i): Likewise.
38490         (RUN_TEST_f_i_tg): Likewise.
38491         (RUN_TEST_ff_i_tg): Likewise.
38492         (RUN_TEST_f_b): Likewise.
38493         (RUN_TEST_f_b_tg): Likewise.
38494         (RUN_TEST_f_l): Likewise.
38495         (RUN_TEST_f_L): Likewise.
38496         (RUN_TEST_fFF_11): Likewise.
38497         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38498         conditionals.
38499         (cosh_test_data): Likewise.
38500         (exp_test_data): Likewise.
38501         (expm1_test_data): Likewise.
38502         (hypot_test_data): Likewise.
38503         (pow_test_data): Likewise.
38504         (sinh_test_data): Likewise.
38505         (tanh_test_data): Likewise.
38506         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38507         flags argument.
38509         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38510         tests with quiet NaN input and output.
38511         (acosh_test_data): Likewise.
38512         (asin_test_data): Likewise.
38513         (asinh_test_data): Likewise.
38514         (atan_test_data): Likewise.
38515         (atanh_test_data): Likewise.
38516         (atan2_test_data): Likewise.
38517         (cbrt_test_data): Likewise.
38518         (cos_test_data): Likewise.
38519         (cosh_test_data): Likewise.
38520         (erf_test_data): Likewise.
38521         (erfc_test_data): Likewise.
38522         (exp_test_data): Likewise.
38523         (exp10_test_data): Likewise.
38524         (exp2_test_data): Likewise.
38525         (expm1_test_data): Likewise.
38526         (hypot_test_data): Likewise.
38527         (j0_test_data): Likewise.
38528         (j1_test_data): Likewise.
38529         (jn_test_data): Likewise.
38530         (lgamma_test_data): Likewise.
38531         (log_test_data): Likewise.
38532         (log10_test_data): Likewise.
38533         (log1p_test_data): Likewise.
38534         (log2_test_data): Likewise.
38535         (pow_test_data): Likewise.
38536         (scalb_test_data): Likewise.
38537         (sin_test_data): Likewise.
38538         (sincos_test_data): Likewise.
38539         (sinh_test_data): Likewise.
38540         (tan_test_data): Likewise.
38541         (tanh_test_data): Likewise.
38542         (tgamma_test_data): Likewise.
38543         (y0_test_data): Likewise.
38544         (y1_test_data): Likewise.
38545         (yn_test_data): Likewise.
38547         [BZ #16167]
38548         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38549         argument being NaN and avoid computations with second argument in
38550         that case.
38551         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38552         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38553         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38555 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38557         * locale/iso-639.def: Add Chitwani Tharu (the).
38559 2013-11-14  Andreas Schwab  <schwab@suse.de>
38561         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38562         word instead of empty string.
38564 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38567         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38569         (__fe_nomask_env): Likewise.
38571 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38573         * benchtests/bench-timing.h: Include time.h.
38575 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38577         [BZ #15997]
38578         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38579         to 3.4.0 for x32.
38580         * sysdeps/unix/sysv/linux/configure: Regenerated.
38582 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38584         [BZ #16151]
38585         * stdlib/strtod_l.c (round_and_return): Do not consider
38586         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38587         exponent one less than half the least subnormal exponent.
38588         * stdlib/test-strtod-round-data: Add more tests.
38589         * stdlib/tst-strtod-round.c (tests): Regenerated.
38591 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38593         [BZ #14143]
38594         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38595         (__fe_mask_env): Likewise.
38596         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38597         libm_hidden_proto and add function prototype.
38598         (__fe_mask_env): Add function prototype.
38599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38600         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38602         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38604         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38606 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38608         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38609         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38611 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38613         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38614         of htab_find_slot().
38616 2013-11-11  David S. Miller  <davem@davemloft.net>
38618         [BZ #16150]
38619         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38620         symbol in the non-vis3 case in static builds.
38621         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38622         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38623         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38624         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38626 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38628         [BZ #387]
38629         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38630         it is empty.
38632 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38634         * benchtests/Makefile: Add bench-strtod.
38635         * benchtests/bench-strtod.c: New file: strtod benchtest
38637 2013-11-11  Andreas Schwab  <schwab@suse.de>
38639         [BZ #16153]
38640         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38641         terminating NUL in key length.
38643 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38646         Add artificial ODP entry for vDSO symbol for PPC64.
38647         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38648         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38650 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38652         [BZ #15374]
38653         * nss/getent.c (services_keys): Recognize services starting with digit.
38655 2013-11-06  David S. Miller  <davem@davemloft.net>
38657         [BZ #15985]
38658         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38659         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38661 2013-11-06  Will Newton  <will.newton@linaro.org>
38663         * manual/memory.texi (Malloc Examples): Remove register
38664         keyword from examples.
38666 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38668         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38670 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38672         [BZ #6981]
38673         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38674         depending on [__GCC_IEC_559 > 0].
38675         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38676         depending on [__GCC_IEC_559_COMPLEX > 0].
38678 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38680         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38681         to iso-639.def.
38683 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38685         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38687 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38689         [BZ #16112]
38690         * malloc/malloc (malloc_info): Do not handle first bin as
38691         special case.
38693 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38695         * locale/iso-639.def: Add Central Nahuatl (nhn).
38697 2013-11-01  Bruno Haible  <bruno@clisp.org>
38699         [BZ #7003]
38700         * manual/math.texi (BSD Random): Specify range upper bound as
38701         in POSIX.
38703 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38705         * locale/iso-639.def: Add Meadow Mari (mhr).
38707 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38709         [BZ #14752], [BZ #15763]
38710         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38711         Validate name.
38712         * rt/tst_shm.c: Add test for escaping directory.
38714 2013-10-31  Andreas Schwab  <schwab@suse.de>
38716         [BZ #15917]
38717         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38718         followed by 'x' as part of digit sequence.
38719         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38721 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38723         [BZ #16037]
38724         * configure.ac: allow GNU Make 4.0 and greater.
38725         * configure: Regenerated.
38727 2013-10-30  Will Newton  <will.newton@linaro.org>
38729         [BZ #16038]
38730         * malloc/hooks.c (memalign_check): Limit alignment to the
38731         maximum representable power of two.
38732         * malloc/malloc.c (__libc_memalign): Likewise.
38733         * malloc/tst-memalign.c (do_test): Add test for very
38734         large alignment values.
38735         * malloc/tst-posix_memalign.c (do_test): Likewise.
38737 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38739         [BZ #11087]
38740         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38741         (munmap_chunk): Likewise.
38742         (mremap_chunk): Likewise.
38744 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38746         [BZ #15799]
38747         * stdlib/div.c (div): Remove obsolete code.
38748         * stdlib/ldiv.c (ldiv): Likewise.
38749         * stdlib/lldiv.c (lldiv): Likewise.
38751 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38753         [BZ #16071]
38754         * nss/nss_files/files-XXX.c (get_contents_ret): New
38755         enumerator.
38756         (get_contents): New function.
38757         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38759 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38761         * configure.in: Moved to ...
38762         * configure.ac: ... here. Change reference to configure.in
38763         to configure.ac.
38764         * sysdeps/arm/preconfigure.ac: ... here.
38765         configure.in to configure.ac.
38766         * sysdeps/gnu/configure.in: Moved to ...
38767         * sysdeps/gnu/configure.ac: ... here.
38768         * sysdeps/i386/configure.in: Moved to ...
38769         * sysdeps/i386/configure.ac: ... here.
38770         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38771         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38772         * sysdeps/mach/configure.in: Moved to ...
38773         * sysdeps/mach/configure.ac: ... here.
38774         * sysdeps/mach/hurd/configure.in: Moved to ...
38775         * sysdeps/mach/hurd/configure.ac: ... here.
38776         * sysdeps/powerpc/configure.in: Moved to ...
38777         * sysdeps/powerpc/configure.ac: ... here.
38778         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38779         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38780         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38781         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38782         * sysdeps/s390/s390-32/configure.in: Moved to ...
38783         * sysdeps/s390/s390-32/configure.ac: ... here.
38784         * sysdeps/s390/s390-64/configure.in: Moved to ...
38785         * sysdeps/s390/s390-64/configure.ac: ... here.
38786         * sysdeps/sh/configure.in: Moved to ...
38787         * sysdeps/sh/configure.ac: ... here.
38788         * sysdeps/sparc/configure.in: Moved to ...
38789         * sysdeps/sparc/configure.ac: ... here.
38790         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38791         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38792         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38793         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38794         * sysdeps/x86_64/configure.in: Moved to ...
38795         * sysdeps/x86_64/configure.ac: ... here.
38796         * sysdeps/x86_64/preconfigure.in: Moved to ...
38797         * sysdeps/x86_64/preconfigure.ac: ... here.
38798         * aclocal.m4: Change reference to configure.in to configure.ac.
38799         * config.h.in: Likewise.
38800         * manual/install.texi: Likewise.
38801         * manual/maint.texi: Likewise.
38802         * Makefile: Likewise.
38803         * malloc/Makefile: Likewise.
38804         * nscd/Makefile: Likewise.
38805         * Makeconfig: Change reference to configure.in and
38806         preconfigure.in to configure.ac and preconfigure.ac
38807         respectively.
38808         * INSTALL: Regenerated.
38809         * configure: Likewise.
38810         * sysdeps/gnu/configure: Likewise.
38811         * sysdeps/i386/configure: Likewise.
38812         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38813         * sysdeps/mach/configure: Likewise.
38814         * sysdeps/mach/hurd/configure: Likewise.
38815         * sysdeps/powerpc/configure: Likewise.
38816         * sysdeps/powerpc/powerpc32/configure: Likewise.
38817         * sysdeps/powerpc/powerpc64/configure: Likewise.
38818         * sysdeps/s390/s390-32/configure: Likewise.
38819         * sysdeps/s390/s390-64/configure: Likewise.
38820         * sysdeps/sh/configure: Likewise.
38821         * sysdeps/sparc/configure: Likewise.
38822         * sysdeps/unix/sysv/linux/configure: Likewise.
38823         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38824         * sysdeps/x86_64/configure: Likewise.
38825         * sysdeps/x86_64/preconfigure: Likewise.
38827 2013-10-29  Andreas Schwab  <schwab@suse.de>
38829         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38831 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38833         * benchtests/pow-inputs: Add new inputs.
38835         * benchtests/exp-inputs: Add new inputs.
38837         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38838         conditional check for return value.
38839         (__cos32): Likewise.
38841 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38843         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38844         to provide a boost for large inputs with word alignment.
38845         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38846         implementation based on optimized PPC64 strcpy.
38847         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38848         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38849         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38850         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38852 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38854         [BZ #2801]
38855         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38859         [BZ #14876]
38860         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38861         * time/tst-strptime.c (day_tests): Add testcase.
38863 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38865         [BZ #14029]
38866         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38868 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38870         [BZ #16074]
38871         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38872         MAP_FAILED on error.
38874 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38876         [BZ #16072]
38877         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38878         heap for large requests.
38880 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38882         [BZ #9954]
38883         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38884         result if the result has no associated interface.
38885         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38886         interface for all 127.X.Y.Z addresses.
38888 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38890         * locale/iso-639.def: Add Ligurian (lij)
38892 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38894         [BZ #15825]
38895         * sunrpc/rpc_main.c: Document rpcgen -5.
38897 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38899         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38901 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38903         [BZ #10278]
38904         * posix/glob.c: Match only directories when trailing slash is present.
38905         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38906         (main): Add testcase.
38908 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38910         [BZ #15670]
38911         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38913 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38915         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38916         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38917         AUTH_DES and cindex for FIPS 140-2.
38918         (DES Encryption): Add cindex FIPS 46-3.
38920         * locale/locarchive.h (struct locarhandle): Add fname.
38921         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38922         if an optional argument was specified to --list-archive,
38923         otherwise NULL.
38924         * locale/programs/locarchive.c (show_archive_content): Take new
38925         argument fname and pass it via ah.fname to open_archive.
38926         * locale/programs/localedef.h: Update decl.
38927         (open_archive): If AH->fname is non-null, open that file
38928         rather than the default file name, and don't ignore ENOENT.
38929         (create_archive): Set AH.fname to NULL.
38930         (delete_locales_from_archive): Likewise.
38931         (add_locales_to_archive): Likewise.
38932         * locale/programs/locfile.c (write_all_categories): Likewise.
38934 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38935             Aldy Hernandez  <aldyh@redhat.com>
38937         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38938         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38939         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38940         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38941         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38942         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38943         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38945         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38946         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38947         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38948         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38949         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38950         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38951         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38952         Likewise.
38953         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38954         Likewise.
38955         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38956         Likewise.
38957         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38958         Likewise.
38959         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38960         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38961         Likewise.
38962         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38963         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38964         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38965         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38966         Likewise.
38967         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38968         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38969         * sysdeps/powerpc/preconfigure: Likewise.
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38971         Likewise.
38972         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38973         Replace contents of file by #include of <fenv_libc.h>.
38974         * sysdeps/powerpc/soft-fp/sfp-machine.h
38975         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38976         and <sys/prctl.h>.
38977         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38990         Allow copysignl PLT reference to be missing.
38992 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38993             Joseph Myers  <joseph@codesourcery.com
38995         [BZ #15948]
38996         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38997         single character.
38998         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39000 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39002         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39003         * elf/tst-tls1.c: Likewise.
39004         * elf/tst-tls10.h: Likewise.
39005         * elf/tst-tls14.c: Likewise.
39006         * elf/tst-tls2.c: Likewise.
39007         * elf/tst-tls3.c: Likewise.
39008         * elf/tst-tls4.c: Likewise.
39009         * elf/tst-tls5.c: Likewise.
39010         * elf/tst-tls6.c: Likewise.
39011         * elf/tst-tls7.c: Likewise.
39012         * elf/tst-tls8.c: Likewise.
39013         * elf/tst-tls9.c: Likewise.
39014         * elf/tst-tlsmod1.c: Likewise.
39015         * elf/tst-tlsmod13.c: Likewise.
39016         * elf/tst-tlsmod13a.c: Likewise.
39017         * elf/tst-tlsmod14a.c: Likewise.
39018         * elf/tst-tlsmod16a.c: Likewise.
39019         * elf/tst-tlsmod16b.c: Likewise.
39020         * elf/tst-tlsmod2.c: Likewise.
39021         * elf/tst-tlsmod3.c: Likewise.
39022         * elf/tst-tlsmod4.c: Likewise.
39023         * elf/tst-tlsmod5.c: Likewise.
39024         * elf/tst-tlsmod6.c: Likewise.
39026 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39028         [BZ #12486]
39029         * malloc/malloc.c: remove checks for statistics.
39031 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39033         [BZ #15277]
39034         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39035         * inet/tst-network.c: Add testcase.
39037 2013-10-17  Andreas Schwab  <schwab@suse.de>
39039         [BZ #15218]
39040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39041         to determine canonical name.
39043 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39045         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39046         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39047         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39048         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39049         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39050         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39051         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39052         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39053         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39054         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39055         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39056         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39057         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39058         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39060         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39062         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39063         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39064         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39065         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39068         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39069         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39070         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39071         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39072         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39073         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39074         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39075         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39077         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39078         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39079         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39080         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39081         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39082         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39083         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39084         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39086         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39087         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39088         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39089         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39090         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39091         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39092         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39093         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39094         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39095         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39096         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39098         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39099         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39100         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39102         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39104 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39106         [BZ #16041]
39107         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39108         make result into a quiet NaN.
39110 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39112         * soft-fp/adddf3.c: Fix horizontal whitespace.
39113         * soft-fp/addsf3.c: Likewise.
39114         * soft-fp/addtf3.c: Likewise.
39115         * soft-fp/divdf3.c: Likewise.
39116         * soft-fp/divsf3.c: Likewise.
39117         * soft-fp/divtf3.c: Likewise.
39118         * soft-fp/double.h: Likewise.
39119         * soft-fp/eqdf2.c: Likewise.
39120         * soft-fp/eqsf2.c: Likewise.
39121         * soft-fp/eqtf2.c: Likewise.
39122         * soft-fp/extenddftf2.c: Likewise.
39123         * soft-fp/extended.h: Likewise.
39124         * soft-fp/extendsfdf2.c: Likewise.
39125         * soft-fp/extendsftf2.c: Likewise.
39126         * soft-fp/extendxftf2.c: Likewise.
39127         * soft-fp/fixdfdi.c: Likewise.
39128         * soft-fp/fixdfsi.c: Likewise.
39129         * soft-fp/fixdfti.c: Likewise.
39130         * soft-fp/fixsfdi.c: Likewise.
39131         * soft-fp/fixsfsi.c: Likewise.
39132         * soft-fp/fixsfti.c: Likewise.
39133         * soft-fp/fixtfdi.c: Likewise.
39134         * soft-fp/fixtfsi.c: Likewise.
39135         * soft-fp/fixtfti.c: Likewise.
39136         * soft-fp/fixunsdfdi.c: Likewise.
39137         * soft-fp/fixunsdfsi.c: Likewise.
39138         * soft-fp/fixunsdfti.c: Likewise.
39139         * soft-fp/fixunssfdi.c: Likewise.
39140         * soft-fp/fixunssfsi.c: Likewise.
39141         * soft-fp/fixunssfti.c: Likewise.
39142         * soft-fp/fixunstfdi.c: Likewise.
39143         * soft-fp/fixunstfsi.c: Likewise.
39144         * soft-fp/fixunstfti.c: Likewise.
39145         * soft-fp/floatdidf.c: Likewise.
39146         * soft-fp/floatdisf.c: Likewise.
39147         * soft-fp/floatditf.c: Likewise.
39148         * soft-fp/floatsidf.c: Likewise.
39149         * soft-fp/floatsisf.c: Likewise.
39150         * soft-fp/floatsitf.c: Likewise.
39151         * soft-fp/floattidf.c: Likewise.
39152         * soft-fp/floattisf.c: Likewise.
39153         * soft-fp/floattitf.c: Likewise.
39154         * soft-fp/floatundidf.c: Likewise.
39155         * soft-fp/floatundisf.c: Likewise.
39156         * soft-fp/floatunditf.c: Likewise.
39157         * soft-fp/floatunsidf.c: Likewise.
39158         * soft-fp/floatunsisf.c: Likewise.
39159         * soft-fp/floatunsitf.c: Likewise.
39160         * soft-fp/floatuntidf.c: Likewise.
39161         * soft-fp/floatuntisf.c: Likewise.
39162         * soft-fp/floatuntitf.c: Likewise.
39163         * soft-fp/fmadf4.c: Likewise.
39164         * soft-fp/fmasf4.c: Likewise.
39165         * soft-fp/fmatf4.c: Likewise.
39166         * soft-fp/gedf2.c: Likewise.
39167         * soft-fp/gesf2.c: Likewise.
39168         * soft-fp/getf2.c: Likewise.
39169         * soft-fp/ledf2.c: Likewise.
39170         * soft-fp/lesf2.c: Likewise.
39171         * soft-fp/letf2.c: Likewise.
39172         * soft-fp/muldf3.c: Likewise.
39173         * soft-fp/mulsf3.c: Likewise.
39174         * soft-fp/multf3.c: Likewise.
39175         * soft-fp/negdf2.c: Likewise.
39176         * soft-fp/negsf2.c: Likewise.
39177         * soft-fp/negtf2.c: Likewise.
39178         * soft-fp/op-1.h: Likewise.
39179         * soft-fp/op-2.h: Likewise.
39180         * soft-fp/op-4.h: Likewise.
39181         * soft-fp/op-8.h: Likewise.
39182         * soft-fp/op-common.h: Likewise.
39183         * soft-fp/quad.h: Likewise.
39184         * soft-fp/single.h: Likewise.
39185         * soft-fp/soft-fp.h: Likewise.
39186         * soft-fp/sqrtdf2.c: Likewise.
39187         * soft-fp/sqrtsf2.c: Likewise.
39188         * soft-fp/sqrttf2.c: Likewise.
39189         * soft-fp/subdf3.c: Likewise.
39190         * soft-fp/subsf3.c: Likewise.
39191         * soft-fp/subtf3.c: Likewise.
39192         * soft-fp/truncdfsf2.c: Likewise.
39193         * soft-fp/trunctfdf2.c: Likewise.
39194         * soft-fp/trunctfsf2.c: Likewise.
39195         * soft-fp/trunctfxf2.c: Likewise.
39196         * soft-fp/unorddf2.c: Likewise.
39197         * soft-fp/unordsf2.c: Likewise.
39198         * soft-fp/unordtf2.c: Likewise.
39200 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39202         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39203         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39205 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39207         * elf/dl-libc.c: Clear initfini list after freeing.
39209 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39211         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39212         * soft-fp/addsf3.c: Likewise.
39213         * soft-fp/addtf3.c: Likewise.
39214         * soft-fp/divdf3.c: Likewise.
39215         * soft-fp/divsf3.c: Likewise.
39216         * soft-fp/divtf3.c: Likewise.
39217         * soft-fp/double.h: Likewise.
39218         * soft-fp/eqdf2.c: Likewise.
39219         * soft-fp/eqsf2.c: Likewise.
39220         * soft-fp/eqtf2.c: Likewise.
39221         * soft-fp/extenddftf2.c: Likewise.
39222         * soft-fp/extended.h: Likewise.
39223         * soft-fp/extendsfdf2.c: Likewise.
39224         * soft-fp/extendsftf2.c: Likewise.
39225         * soft-fp/extendxftf2.c: Likewise.
39226         * soft-fp/fixdfdi.c: Likewise.
39227         * soft-fp/fixdfsi.c: Likewise.
39228         * soft-fp/fixdfti.c: Likewise.
39229         * soft-fp/fixsfdi.c: Likewise.
39230         * soft-fp/fixsfsi.c: Likewise.
39231         * soft-fp/fixsfti.c: Likewise.
39232         * soft-fp/fixtfdi.c: Likewise.
39233         * soft-fp/fixtfsi.c: Likewise.
39234         * soft-fp/fixtfti.c: Likewise.
39235         * soft-fp/fixunsdfdi.c: Likewise.
39236         * soft-fp/fixunsdfsi.c: Likewise.
39237         * soft-fp/fixunsdfti.c: Likewise.
39238         * soft-fp/fixunssfdi.c: Likewise.
39239         * soft-fp/fixunssfsi.c: Likewise.
39240         * soft-fp/fixunssfti.c: Likewise.
39241         * soft-fp/fixunstfdi.c: Likewise.
39242         * soft-fp/fixunstfsi.c: Likewise.
39243         * soft-fp/fixunstfti.c: Likewise.
39244         * soft-fp/floatdidf.c: Likewise.
39245         * soft-fp/floatdisf.c: Likewise.
39246         * soft-fp/floatditf.c: Likewise.
39247         * soft-fp/floatsidf.c: Likewise.
39248         * soft-fp/floatsisf.c: Likewise.
39249         * soft-fp/floatsitf.c: Likewise.
39250         * soft-fp/floattidf.c: Likewise.
39251         * soft-fp/floattisf.c: Likewise.
39252         * soft-fp/floattitf.c: Likewise.
39253         * soft-fp/floatundidf.c: Likewise.
39254         * soft-fp/floatundisf.c: Likewise.
39255         * soft-fp/floatunsidf.c: Likewise.
39256         * soft-fp/floatunsisf.c: Likewise.
39257         * soft-fp/floatuntidf.c: Likewise.
39258         * soft-fp/floatuntisf.c: Likewise.
39259         * soft-fp/floatuntitf.c: Likewise.
39260         * soft-fp/fmadf4.c: Likewise.
39261         * soft-fp/fmasf4.c: Likewise.
39262         * soft-fp/fmatf4.c: Likewise.
39263         * soft-fp/gedf2.c: Likewise.
39264         * soft-fp/gesf2.c: Likewise.
39265         * soft-fp/getf2.c: Likewise.
39266         * soft-fp/ledf2.c: Likewise.
39267         * soft-fp/lesf2.c: Likewise.
39268         * soft-fp/letf2.c: Likewise.
39269         * soft-fp/muldf3.c: Likewise.
39270         * soft-fp/mulsf3.c: Likewise.
39271         * soft-fp/multf3.c: Likewise.
39272         * soft-fp/negdf2.c: Likewise.
39273         * soft-fp/negsf2.c: Likewise.
39274         * soft-fp/negtf2.c: Likewise.
39275         * soft-fp/op-1.h: Likewise.
39276         * soft-fp/op-2.h: Likewise.
39277         * soft-fp/op-4.h: Likewise.
39278         * soft-fp/op-8.h: Likewise.
39279         * soft-fp/op-common.h: Likewise.
39280         * soft-fp/quad.h: Likewise.
39281         * soft-fp/single.h: Likewise.
39282         * soft-fp/soft-fp.h: Likewise.
39283         * soft-fp/sqrtdf2.c: Likewise.
39284         * soft-fp/sqrtsf2.c: Likewise.
39285         * soft-fp/sqrttf2.c: Likewise.
39286         * soft-fp/subdf3.c: Likewise.
39287         * soft-fp/subsf3.c: Likewise.
39288         * soft-fp/subtf3.c: Likewise.
39289         * soft-fp/truncdfsf2.c: Likewise.
39290         * soft-fp/trunctfdf2.c: Likewise.
39291         * soft-fp/trunctfsf2.c: Likewise.
39292         * soft-fp/trunctfxf2.c: Likewise.
39293         * soft-fp/unorddf2.c: Likewise.
39294         * soft-fp/unordsf2.c: Likewise.
39295         * soft-fp/unordtf2.c: Likewise.
39297 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39299         [BZ #15672]
39300         * misc/error.c (error_tail): Fix possible buffer overflow.
39302 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39304         [BZ #13028]
39305         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39306         address.
39308 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39310         [BZ #832]
39311         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39312         testing pipefail option.
39314 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39316         * soft-fp/double.h: Indent preprocessor directives inside #if.
39317         * soft-fp/extended.h: Likewise.
39318         * soft-fp/op-2.h: Likewise.
39319         * soft-fp/op-4.h: Likewise.
39320         * soft-fp/op-common.h: Likewise.
39321         * soft-fp/quad.h: Likewise.
39322         * soft-fp/single.h: Likewise.
39323         * soft-fp/soft-fp.h: Likewise.
39325 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39327         * iconv/iconv_prog.c: Fix typos.
39328         * stdio-common/psiginfo-data.h: Likewise.
39330 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39332         [BZ #15764]
39333         * locale/setlocale.c: Fix typo.
39335 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39337         [BZ #16036]
39338         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39339         signaling NaN arguments.
39340         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39341         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39343         [BZ #14910]
39344         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39345         unordered operands.
39346         * soft-fp/gesf2.c (__gesf2): Likewise.
39347         * soft-fp/getf2.c (__getf2): Likewise.
39348         * soft-fp/ledf2.c (__ledf2): Likewise.
39349         * soft-fp/lesf2.c (__lesf2): Likewise.
39350         * soft-fp/letf2.c (__letf2): Likewise.
39352         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39353         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39354         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39355         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39356         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39357         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39358         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39359         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39360         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39361         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39362         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39363         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39364         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39365         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39366         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39367         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39368         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39369         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39370         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39371         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39372         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39373         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39374         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39375         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39376         * soft-fp/floattidf.c (__floattidf): Likewise.
39377         * soft-fp/floattisf.c (__floattisf): Likewise.
39378         * soft-fp/floattitf.c (__floattitf): Likewise.
39379         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39380         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39381         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39382         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39383         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39384         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39385         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39386         * soft-fp/gesf2.c (__gesf2): Likewise.
39387         * soft-fp/getf2.c (__getf2): Likewise.
39388         * soft-fp/ledf2.c (__ledf2): Likewise.
39389         * soft-fp/lesf2.c (__lesf2): Likewise.
39390         * soft-fp/letf2.c (__letf2): Likewise.
39392         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39393         Undefine and redefine.
39394         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39395         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39396         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39397         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39398         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39399         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39400         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39401         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39402         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39403         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39404         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39405         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39406         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39407         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39408         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39410         [BZ #16032]
39411         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39412         without decrementing exponent if mantissa >= that for the
39413         denominator, not >.
39414         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39415         denominator, not >.  Decrement exponent in < case instead of
39416         incrementing in >= case.
39417         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39418         without decrementing exponent if mantissa >= that for the
39419         denominator, not >.
39421         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39422         computing saturated result for unsigned overflow.
39424 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39425             Jeff Law  <law@redhat.com>
39427         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39428         (atan2Mp): Add systemtap probe marker.
39429         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39430         (__ieee754_log): Add systemtap probe marker.
39431         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39432         (atanMp): Add systemtap probe marker.
39433         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39434         (tanMp): Add systemtap probe marker.
39435         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39436         (__slowexp): Add systemtap probe marker.
39437         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39438         (__slowpow): Add systemtap probe marker.
39439         * manual/probes.texi: Document probes.
39441 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39443         [BZ #15362]
39444         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39445         written.
39446         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39447         written.
39448         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39449         written to buffer but not flushed.
39450         * libio/iofwrite_u.c:  Likewise.
39451         * libio/iopadn.c:  Return bytes returned even if EOF was
39452         encountered.
39453         * libio/iowpadn.c:  Likewise.
39454         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39455         if _IO_padn does not write the whole buffer.
39456         [!COMPILE_WPRINTF] (PAD): Likewise.
39458 2013-10-10  David S. Miller  <davem@davemloft.net>
39460         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39461         directory block.
39463 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39465         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39466         instead of FSF address.
39467         * soft-fp/fixdfti.c: Likewise.
39468         * soft-fp/fixsfti.c: Likewise.
39469         * soft-fp/fixtfti.c: Likewise.
39470         * soft-fp/fixunsdfti.c: Likewise.
39471         * soft-fp/fixunssfti.c: Likewise.
39472         * soft-fp/fixunstfti.c: Likewise.
39473         * soft-fp/floattidf.c: Likewise.
39474         * soft-fp/floattisf.c: Likewise.
39475         * soft-fp/floattitf.c: Likewise.
39476         * soft-fp/floatuntidf.c: Likewise.
39477         * soft-fp/floatuntisf.c: Likewise.
39478         * soft-fp/floatuntitf.c: Likewise.
39479         * soft-fp/trunctfxf2.c: Likewise.
39481         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39482         * soft-fp/fixdfti.c: Likewise.
39483         * soft-fp/fixsfti.c: Likewise.
39484         * soft-fp/fixtfti.c: Likewise.
39485         * soft-fp/fixunsdfti.c: Likewise.
39486         * soft-fp/fixunssfti.c: Likewise.
39487         * soft-fp/fixunstfti.c: Likewise.
39488         * soft-fp/floattidf.c: Likewise.
39489         * soft-fp/floattisf.c: Likewise.
39490         * soft-fp/floattitf.c: Likewise.
39491         * soft-fp/floatuntidf.c: Likewise.
39492         * soft-fp/floatuntisf.c: Likewise.
39493         * soft-fp/floatuntitf.c: Likewise.
39494         * soft-fp/trunctfxf2.c: Likewise.
39496 2013-10-10  David S. Miller  <davem@davemloft.net>
39498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39500 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39502         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39503         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39504         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39505         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39506         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39507         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39508         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39511         for NaNs before doing comparisons on argument.
39512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39513         Likewise.
39515 2013-10-10  Will Newton  <will.newton@linaro.org>
39517         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39518         passed to _int_memalign does not overflow.
39520 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39522         * scripts/bench.pl: Add include-sources directive.
39523         * benchtests/README: Update documentation.
39525 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39527         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39528         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39529         instead of FP_INIT_ROUNDMODE.
39530         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39531         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39533         [BZ #16034]
39534         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39535         copy class of input value.
39536         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39537         not handle exceptions.
39538         * soft-fp/negsf2.c (__negsf2): Likewise.
39539         * soft-fp/negtf2.c (__negtf2): Likewise.
39540         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39542 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39544         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39545         semicolon.  From Linux kernel.
39547 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39549         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39551 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39553         [BZ #156]
39554         * manual/socket.texi: Added statement about buffer
39555         for gethostbyname2_r.
39557 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39559         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39560         Use .p2align directive instead, throughout.
39561         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39562         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39563         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39564         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39566         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39567         * sysdeps/x86_64/strchr.S: Likewise.
39568         * sysdeps/x86_64/strrchr.S: Likewise.
39570 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39572         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39574         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39576         * sysdeps/generic/math_private.h (__mpsin1): Remove
39577         declaration.
39578         (__mpcos1): Likewise.
39579         (__mpsin): New argument __range_reduce.
39580         (__mpcos): Likewise.
39581         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39582         (slow): Use __mpsin and __mpcos.
39583         (slow1): Likewise.
39584         (slow2): Likewise.
39585         (sloww): Likewise.
39586         (sloww1): Likewise.
39587         (sloww2): Likewise.
39588         (bsloww): Likewise.
39589         (bsloww1): Likewise.
39590         (bsloww2): Likewise.
39591         (cslow2): Likewise.
39592         (csloww): Likewise.
39593         (csloww1): Likewise.
39594         (csloww2): Likewise.
39595         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39596         range_reduce.  Merge in __mpsin1.
39597         (__mpcos): Likewise.
39598         (__mpsin1): Remove.
39599         (__mpcos1): Likewise.
39601 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39603         * locale/loadlocale.c (_nl_intern_locale_data): Use
39604         LOCFILE_ALIGNED_P.
39605         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39606         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39607         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39608         obstack data is appropriately aligned.
39609         (obstack_int32_grow_fast): Likewise.
39610         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39611         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39612         (add_locale_uint32_array): Likewise.
39614 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39616         * benchtests/Makefile: Remove ARGLIST and RET variables.
39617         ($(objpfx)bench-%.c): Pass only function name to the script.
39618         * benchtests/README: Update documentation.
39619         * benchtests/acos-inputs: Add new directives.
39620         * benchtests/acosh-inputs: Likewise.
39621         * benchtests/asin-inputs: Likewise.
39622         * benchtests/asinh-inputs: Likewise.
39623         * benchtests/atan-inputs: Likewise.
39624         * benchtests/atanh-inputs: Likewise.
39625         * benchtests/cos-inputs: Likewise.
39626         * benchtests/cosh-inputs: Likewise.
39627         * benchtests/exp-inputs: Likewise.
39628         * benchtests/log-inputs: Likewise.
39629         * benchtests/pow-inputs: Likewise.
39630         * benchtests/rint-inputs: Likewise.
39631         * benchtests/sin-inputs: Likewise.
39632         * benchtests/sinh-inputs: Likewise.
39633         * benchtests/tan-inputs: Likewise.
39634         * benchtests/tanh-inputs: Likewise.
39635         * scripts/bench.pl: Add support for new directives.
39637 2013-10-07  Alan Modra  <amodra@gmail.com>
39639         * README: Fix careless merge.
39641 2013-10-05  Alan Modra  <amodra@gmail.com>
39643         * NEWS: Mention powerpc64le support and bugs fixed.
39644         * README: Both big-endian and little-endian powerpc64 supported.
39646 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39648         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39649         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39650         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39651         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39653 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39655         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39656         match prototype.
39658 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39660         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39661         Move -mhard-float appending from
39662         ports/sysdeps/powerpc/powerpc32/Makefile.
39663         [$(with-fp) = yes] (ASFLAGS): Likewise.
39664         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39665         * sysdeps/powerpc/nofpu: Move directory from
39666         ports/sysdeps/powerpc/nofpu.
39667         * sysdeps/powerpc/soft-fp: Move directory from
39668         ports/sysdeps/powerpc/soft-fp.
39669         * sysdeps/powerpc/powerpc32/405: Move directory from
39670         ports/sysdeps/powerpc/powerpc32/405.
39671         * sysdeps/powerpc/powerpc32/440: Move directory from
39672         ports/sysdeps/powerpc/powerpc32/440.
39673         * sysdeps/powerpc/powerpc32/464: Move directory from
39674         ports/sysdeps/powerpc/powerpc32/464.
39675         * sysdeps/powerpc/powerpc32/476: Move directory from
39676         ports/sysdeps/powerpc/powerpc32/476.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39678         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39682         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39684         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39687         * README: Update for powerpc-*-linux-gnu software floating point
39688         support in libc.
39690         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39691         case to powerpc/powerpc32*.
39692         * sysdeps/unix/sysv/linux/configure: Regenerated.
39694         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39695         (_FPU_MASK_OM): Define as 0x04.
39696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39698         0x00c10080.
39699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39700         0x0000003c.
39701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39704         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39705         getcontext_e500.
39706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39707         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39708         setcontext_e500.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39710         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39711         and setcontext_e500.
39713 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39715         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39717 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39719         * manual/threads.texi (Default Thread Attributes): Fix typo.
39721 2013-10-04  Will Newton  <will.newton@linaro.org>
39723         * malloc/Makefile: Add tst-memalign.
39724         * malloc/tst-memalign.c: New file.
39726         * malloc/tst-posix_memalign.c: Add comments.
39727         (do_test): Add comments and call free on all potentially
39728         allocated pointers. Add space after cast.
39730         * malloc/tst-pvalloc.c: Add comments.
39731         (do_test): Add comments and call free on all potentially
39732         allocated pointers. Remove duplicate check for NULL pointer.
39733         Add space after cast.
39735         * malloc/tst-valloc.c: Add comments.
39736         (do_test): Add comments and call free on all potentially
39737         allocated pointers. Remove duplicate check for NULL pointer.
39738         Add space after cast.
39740 2013-10-04  Alan Modra  <amodra@gmail.com>
39742         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39743         Use stdint types in rather than __attribute__((mode())).
39744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39746 2013-10-04  Alan Modra  <amodra@gmail.com>
39748         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39749         Correct handling of unaligned relocs for little-endian.
39750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39752 2013-10-04  Alan Modra  <amodra@gmail.com>
39754         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39755         * configure: Regenerate.
39756         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39757         * shlib-versions: Likewise.
39759 2013-10-04  Alan Modra  <amodra@gmail.com>
39761         * string/tester.c (test_memrchr): Increment reported test cycle.
39763 2013-10-04  Alan Modra  <amodra@gmail.com>
39765         * string/test-memcpy.c (do_one_test): When reporting errors, print
39766         string address and don't overrun end of string.
39768 2013-10-04  Alan Modra  <amodra@gmail.com>
39770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39771         insrdi.  Make better use of reg selection to speed exit slightly.
39772         Schedule entry path a little better.  Remove useless "are we done"
39773         checks on entry to main loop.  Handle wrapping around zero address.
39774         Correct main loop count.  Handle single left-over word from main
39775         loop inline rather than by using loop_small.  Remove extra word
39776         case in loop_small caused by wrong loop count.  Add little-endian
39777         support.
39778         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39779         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39780         cache hint.
39781         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39782         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39783         support.  Avoid rlwimi.
39784         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39786 2013-10-04  Alan Modra  <amodra@gmail.com>
39788         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39789         insrdi.  Formatting.
39790         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39791         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39792         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39793         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39794         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39795         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39797 2013-10-04  Alan Modra  <amodra@gmail.com>
39799         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39802         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39803         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39804         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39806         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39807         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39808         use of regs.  Use power7 mtocrf.  Tidy function tails.
39810 2013-10-04  Alan Modra  <amodra@gmail.com>
39812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39813         Formatting.  Consistently use rXXX register defines or rN defines.
39814         Use early exit labels that avoid restoring unused non-volatile regs.
39815         Make cr field use more consistent with rWORDn compares.  Rename
39816         regs used as shift registers for unaligned loop, using rN defines
39817         for short lifetime/multiple use regs.
39818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39819         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39820         addi 1,1,64 to pop stack frame.  Simplify return value code.
39821         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39823 2013-10-04  Alan Modra  <amodra@gmail.com>
39825         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39826         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39827         rather than rlwimi.
39828         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39829         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39830         little-endian support.  Correct typos.
39831         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39832         rather than rlwimi.
39833         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39834         in loop and entry code to keep "and." results.
39835         (strchr): Add little-endian support.  Comment.  Move cntlzd
39836         earlier in tail.
39837         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39839 2013-10-04  Alan Modra  <amodra@gmail.com>
39841         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39842         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39843         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39844         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39846 2013-10-04  Alan Modra  <amodra@gmail.com>
39848         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39849         (rTMP): Define as r11.
39850         (strcmp): Add little-endian support.  Optimise tail.
39851         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39852         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39853         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39854         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39857         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39859 2013-10-04  Alan Modra  <amodra@gmail.com>
39861         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39862         little-endian support.  Remove unnecessary "are we done" tests.
39863         Handle "s" wrapping around zero and extremely large "size".
39864         Correct main loop count.  Handle single left-over word from main
39865         loop inline rather than by using small_loop.  Correct comments.
39866         Delete "zero" tail, use "end_max" instead.
39867         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39869 2013-10-04  Alan Modra  <amodra@gmail.com>
39871         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39872         support.  Don't branch over align.
39873         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39874         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39875         support.  Rearrange tmp reg use to suit.  Comment.
39876         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39878 2013-10-04  Alan Modra  <amodra@gmail.com>
39880         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39882 2013-10-04  Alan Modra  <amodra@gmail.com>
39884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39885         conditional form of branch and link when obtaining pc.
39886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39888 2013-10-04  Alan Modra  <amodra@gmail.com>
39890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39891         HIWORD/LOWORD.
39892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39895 2013-10-04  Alan Modra  <amodra@gmail.com>
39897         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39898         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39899         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39900         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39901         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39902         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39903         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39904         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39905         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39906         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39909             Alistair Popple <alistair@ozlabs.au.ibm.com>
39910             Alan Modra <amodra@gmail.com>
39912         [BZ #15723]
39913         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39915         _dl_hwcap access for little-endian.
39916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39917         destroy vmx regs when saving unaligned.
39918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39919         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39920         destroy vmx regs when saving unaligned.
39922 2013-10-04  Alan Modra  <amodra@gmail.com>
39924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39925         Don't use a union to pack hi/low value.
39927 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39929         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39930         for little-endian.
39931         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39932         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39933         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39934         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39935         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39937 2013-10-04  Alan Modra  <amodra@gmail.com>
39939         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39940         constants to usual value for .cst8 section, and remove redundant
39941         high address load.
39942         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39943         constant for 0x1p52.  Load little-endian words of double from
39944         correct stack offsets.
39946 2013-10-04  Alan Modra  <amodra@gmail.com>
39948         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39949         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39950         words of double from correct stack offsets.
39951         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39952         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39953         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39956         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39957         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39958         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39959         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39960         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39963         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39964         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39965         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39966         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39967         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39969 2013-10-04  Alan Modra  <amodra@gmail.com>
39971         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39972         64-bit int/double union.
39973         (_FPU_SETCW): Likewise.
39974         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39975         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39977 2013-10-04  Alan Modra  <amodra@gmail.com>
39979         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39980         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39982 2013-10-04  Alan Modra  <amodra@gmail.com>
39984         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39985         use vector int constants.
39986         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39988 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39990         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39991         array with long long.
39992         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39993         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39994         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39995         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39996         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39997         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39998         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39999         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40000         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40001         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40002         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40003         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40004         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40006 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40008         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40009         (__signbit): Likewise.  Correct for little-endian.
40010         (__signbitl): Call __signbit.
40011         (lrint): Correct for little-endian.
40012         (lrintf): Call lrint.
40014 2013-10-04  Alan Modra  <amodra@gmail.com>
40016         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40017         union 32-bit int array member with 64-bit int array.
40018         (t515, tm256): Double rather than long double.
40019         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40021 2013-10-04  Alan Modra  <amodra@gmail.com>
40023         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40024         Delete.
40025         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40027         version of math_ldbl.h.
40029 2013-10-04  Alan Modra  <amodra@gmail.com>
40031         [BZ #15734], [BZ #15735]
40032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40033         all uses of ieee875 long double macros and unions.  Simplify test
40034         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40035         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40036         normalize after ldbl_extract_mantissa, and don't add hidden bit
40037         already handled.  Don't treat low word of ieee854 mantissa like
40038         low word of IBM long double and mask off bit when testing for
40039         zero.
40040         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40041         all uses of ieee875 long double macros and unions.  Simplify tests
40042         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40043         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40044         two1022, instead use their values.  Recognise that tests for large
40045         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40046         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40047         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40048         test for 0.0L and nan.  Correct negation.
40049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40050         ieee875 long double macros and unions.  Correct output for large
40051         magnitude x.  Correct absolute value calculation.
40052         (__erfcl): Likewise.
40053         * math/libm-test.inc: Add tests for errors discovered in IBM long
40054         double versions of fmodl, remainderl, erfl and erfcl.
40056 2013-10-04  Alan Modra  <amodra@gmail.com>
40058         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40059         all uses of ieee854 long double macros and unions.  Simplify tests
40060         for long doubles that are fully specified by the high double.
40061         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40062         Likewise.
40063         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40064         Remove dead code too.
40065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40066         (__ieee754_ynl): Likewise.
40067         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40070         Remove dead code too.
40071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40072         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40073         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40075         Simplify.
40076         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40077         Simplify.
40078         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40081         Comment on variable precision.
40082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40083         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40084         Likewise.
40085         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40086         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40089         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40091 2013-10-04  Alan Modra  <amodra@gmail.com>
40093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40094         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40095         all uses of ieee854 long double macros and unions.
40096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40099         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40102         Likewise.
40103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40104         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40105         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40106         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40109         Simplify sign and nan test too.
40110         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40111         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40112         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40113         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40114         Likewise.
40115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40116         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40117         Likewise.
40118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40119         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40121         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40122         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40125 2013-10-04  Alan Modra  <amodra@gmail.com>
40127         * stdio-common/printf_size.c (__printf_size): Don't use
40128         union ieee854_long_double in fpnum union.
40129         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40130         signbit macro to retrieve sign from long double.
40131         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40132         retrieve sign from long double.
40133         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40134         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40135         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40136         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40137         * math/test-misc.c (main): Don't use union ieee854_long_double.
40139 2013-10-04  Alan Modra  <amodra@gmail.com>
40141         [BZ #15680]
40142         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40143         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40144         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40145         calculation.  Remove unnecessary test for denormal exponent.
40146         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40147         Correct handling of denormals.  Avoid undefined shift behaviour.
40148         Correct normalisation of low mantissa when low double is denormal.
40149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40150         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40151         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40152         Correct normalisation of low mantissa.  Test for overflow of high
40153         mantissa and normalise.
40154         (ldbl_nearbyint): Use more readable constant for two52.
40155         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40156         (__mpn_construct_long_double): Fix test for overflow of high
40157         mantissa and correct normalisation.  Avoid undefined shift.
40159 2013-10-04  Alan Modra  <amodra@gmail.com>
40161         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40162         (union ibm_extended_long_double): Define as an array of ieee754_double.
40163         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40164         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40165         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40166         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40168         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40171         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40172         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40173         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40175 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40177         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40178         page size instead of calling getpagesize.
40180         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40181         (LOCFILE_ALIGN_MASK): Likewise.
40182         (LOCFILE_ALIGN_UP): Likewise.
40183         (LOCFILE_ALIGNED_P): Likewise.
40184         * locale/programs/ld-collate.c (collate_output): Use the new
40185         macros instead of __alignof__ (int32_t).
40186         * locale/weight.h (findidx): Likewise.
40188 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40190         [BZ #431]
40191         * manual/string.texi: Fix strncat and wcsncat.
40193 2013-10-03  Brooks Moses  <bmoses@google.com>
40195         [BZ #15915]
40196         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40197         * Makerules: ...here, and adjust associated comments.
40199 2013-10-02  Will Newton  <will.newton@linaro.org>
40201         * malloc/Makefile: Add tst-pvalloc.
40202         * malloc/tst-pvalloc.c: New file.
40204 2013-10-02  Will Newton  <will.newton@linaro.org>
40206         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40207         improve test coverage.
40209 2013-10-02  Will Newton  <will.newton@linaro.org>
40211         * malloc/Makefile: Add tst-posix_memalign.
40212         * malloc/tst-posix_memalign.c: New file.
40214 2013-10-01  Eric Blake  <eblake@redhat.com>
40216         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40217         Use __THROWNL rather than __THROW on static functions.
40219 2013-09-30  Petr Machata  <pmachata@redhat.com>
40221         * elf/elf.h (R_AARCH64_ABS16): New macro.
40222         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40223         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40224         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40225         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40226         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40227         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40228         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40229         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40230         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40231         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40232         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40233         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40234         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40235         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40236         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40237         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40238         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40239         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40240         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40241         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40242         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40243         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40244         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40245         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40246         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40247         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40248         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40249         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40250         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40251         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40252         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40253         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40254         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40255         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40256         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40257         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40258         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40259         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40260         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40261         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40262         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40263         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40264         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40265         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40266         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40267         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40268         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40269         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40270         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40271         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40272         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40273         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40274         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40275         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40276         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40277         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40278         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40279         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40280         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40281         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40282         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40283         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40284         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40285         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40286         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40287         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40288         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40289         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40290         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40291         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40292         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40293         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40294         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40295         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40296         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40297         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40298         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40299         (R_AARCH64_TLSDESC_LDR): Likewise.
40300         (R_AARCH64_TLSDESC_ADD): Likewise.
40301         (R_AARCH64_TLSDESC_CALL): Likewise.
40303 2013-09-30  Andreas Schwab  <schwab@suse.de>
40305         [BZ #15048]
40306         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40307         the nss database lookup.
40308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40311 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40313         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40315 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40317         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40318         ${Bash-specific parameter/pattern/string} parameter expansion.
40319         * sysdeps/unix/make-syscalls.sh: Likewise.
40321 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40323         * sysdeps/sh/stackguard-macros.h: New file.
40325 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40329         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40331         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40332         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40334 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40336         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40337         Fix thread ID register.
40339 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40341         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40342         [POSIX || UNIX98]: Require rather than permitting all symbols from
40343         <time.h>.
40344         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40345         element of struct sched_param.
40346         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40347         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40348         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40349         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40350         constant.
40352 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40354         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40355         argument calculation.
40357 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40359         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40360         Expect macro.
40361         [POSIX] (pthread_attr_t): Do not require type.
40362         [POSIX] (pthread_cond_t): Likewise.
40363         [POSIX] (pthread_condattr_t): Likewise.
40364         [POSIX] (pthread_key_t): Likewise.
40365         [POSIX] (pthread_mutex_t): Likewise.
40366         [POSIX] (pthread_mutexattr_t): Likewise.
40367         [POSIX] (pthread_once_t): Likewise.
40368         [POSIX] (pthread_t): Likewise.
40369         [POSIX-based standards] (pthread_atfork): Expect function.
40371 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40372             Richard Sandiford  <richard@codesourcery.com>
40374         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40375         (swap_endianness_p): New extern variable.
40376         (set_big_endian): New inline function.
40377         (maybe_swap_uint32): Likewise.
40378         (maybe_swap_uint32_array): Likewise.
40379         (maybe_swap_uint32_obstack): Likewise.
40380         * locale/programs/locfile.c: Include <stdbool.h>.
40381         (swap_endianness_p): New variable.
40382         (add_locale_uint32): Call maybe_swap_uint32.
40383         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40384         (write_locale_data): Call maybe_swap_uint32_array.
40385         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40386         maybe_swap_uint32.
40387         (obstack_int32_grow_fast): Likewise.
40388         (output_weightwc): Call maybe_swap_uint32_obstack.
40389         (collate_output): Likewise.
40390         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40391         (OPT_LITTLE_ENDIAN): Likewise.
40392         (options): Add --little-endian and --big-endian options.
40393         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40394         * locale/programs/locarchive.c: Include "locfile.h".
40395         (GET): New macro.
40396         (SET): Likewise.
40397         (INC): Likewise.
40398         (create_archive): Use the new macros to access fields of
40399         structures directly mapped from or written to locale archives.
40400         (oldlocrecentcmp): Likewise.
40401         (enlarge_archive): Likewise.
40402         (insert_name): Likewise.
40403         (add_alias): Likewise.
40404         (add_locale): Likewise.
40405         (delete_locales_from_archive): Likewise.
40406         (show_archive_content): Likewise.
40407         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40408         locale data.
40410 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40412         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40413         http://www.gnu.org/doc/freemanuals.texi.
40414         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40416 2013-09-24  Will Newton  <will.newton@linaro.org>
40418         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40419         macro.
40421 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40423         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40424         unsigned char.
40426 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40428         * manual/threads.texi (POSIX Threads): Fix a typo.
40430 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40432         [BZ #14547]
40433         * string/tst-strcoll-overflow.c: New test case.
40434         * string/Makefile (xtests): Add tst-strcoll-overflow.
40435         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40436         cache if string sizes may cause integer overflow.
40438         [BZ #14547]
40439         * string/strcoll_l.c (coll_seq): New members rule, idx,
40440         save_idx and back_us.
40441         (get_next_seq_nocache): New function.
40442         (do_compare_nocache): New function.
40443         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40444         when malloc fails.
40446 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40448         [BZ #15754]
40449         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40450         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40451         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40453         [BZ #15754]
40454         * elf/Makefile (tests): Add tst-ptrguard1.
40455         (tests-static): Add tst-ptrguard1-static.
40456         (tst-ptrguard1-ARGS): Define.
40457         (tst-ptrguard1-static-ARGS): Define.
40458         * elf/tst-ptrguard1.c: New file.
40459         * elf/tst-ptrguard1-static.c: New file.
40460         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40461         * sysdeps/i386/stackguard-macros.h: Likewise.
40462         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40463         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40464         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40465         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40466         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40467         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40469 2013-09-23  Hector Marco  <hecmargi@upv.es>
40470             Ismael Ripoll  <iripoll@disca.upv.es>
40471             Carlos O'Donell  <carlos@redhat.com>
40473         [BZ #15754]
40474         * sysdeps/generic/stackguard-macros.h: Define
40475         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40476         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40477         Define __pointer_chk_guard_local.
40478         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40479         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40481 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40483         [BZ #15859]
40484         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40486 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40488         * include/string.h (__ffs): Declare as hidden.
40489         * string/ffs.c (__ffs): Define as hidden.
40490         * sysdeps/i386/ffs.c (__ffs): Likewise.
40491         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40492         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40493         * sysdeps/s390/ffs.c (__ffs): Likewise.
40494         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40496 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40498         * NEWS: Mention malloc probes.
40500         * malloc/arena.c (new_heap): New memory_heap_new probe.
40501         (grow_heap): New memory_heap_more probe.
40502         (shrink_heap): New memory_heap_less probe.
40503         (heap_trim): New memory_heap_free probe.
40504         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40505         (systrim): New memory_sbrk_less probe.
40506         * manual/probes.texi: Document them.
40508         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40509         * manual/probes.texi: Document it.
40511         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40512         (__libc_realloc): Add memory_realloc_retry probe.
40513         (__libc_memalign): Add memory_memalign_retry probe.
40514         (__libc_valloc): Add memory_valloc_retry probe.
40515         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40516         (__libc_calloc): Add memory_calloc_retry probe.
40517         * manual/probes.texi: Document them.
40519         * malloc/arena.c (get_free_list): Add probe
40520         memory_arena_reuse_free_list.
40521         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40522         and memory_arena_reuse.
40523         (arena_get2) [!PER_THREAD]: Likewise.
40524         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40525         memory_arena_reuse_realloc.
40526         * manual/probes.texi: Document them.
40528         * malloc/malloc.c (__libc_free): Add
40529         memory_mallopt_free_dyn_thresholds probe.
40530         (__libc_mallopt): Add multiple memory_mallopt probes.
40531         * manual/probes.texi: Document them.
40533         * malloc/malloc.c: Include stap-probe.h.
40534         (__libc_mallopt): Add memory_mallopt probe.
40535         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40536         * manual/probes.texi: New.
40537         * manual/Makefile (chapters): Add probes.
40538         * manual/threads.texi: Set next node.
40540 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40542         [BZ #15963, #13985]
40543         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40544         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40545         Add `Chinese' to `nan' entry name.
40547 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40549         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40550         (POLYNOMIAL): Likewise.
40551         (TAYLOR_SINCOS): Likewise.
40552         (TAYLOR_SLOW): Likewise.
40553         (__sin): Use TAYLOR_SINCOS.
40554         (__cos): Likewise.
40555         (slow): Use TAYLOR_SLOW.
40556         (sloww): Likewise.
40557         (bsloww): Likewise.
40558         (csloww): Likewise.
40560 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40562         * stdlib/strtod_l.c: Fix buffer overrun.
40564 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         * benchtests/Makefile (bench): Add sincos.
40567         * benchtests/bench-sincos.c: New file.
40569         * math/libm-test.inc (cos_test_data): New test inputs.
40570         (sin_test_data): Likewise.
40572         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40573         macro.
40574         (__sin): Use it.
40575         (__cos): Likewise.
40576         (slow1): Likewise.
40577         (slow2): Likewise.
40578         (sloww1): Likewise.
40579         (sloww2): Likewise.
40580         (bsloww1): Likewise.
40581         (bsloww2): Likewise.
40582         (cslow2): Likewise.
40583         (csloww1): Likewise.
40584         (csloww2): Likewise.
40586         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40587         function.
40588         (__sin): Use it.
40589         (__cos): Likewise.
40591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40592         gotos.
40593         (__cos): Likewise.
40595 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40597         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40598         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40599         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40600         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40601         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40602         * elf/cache.c (print_entry): Handle the new cache flags.
40604 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40605             Aldy Hernandez  <aldyh@redhat.com>
40607         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40608         Change condition to [_SOFT_FLOAT].
40609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40621         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40624         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40625         declaration.
40627 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40629         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40630         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40631         (__longjmp): Use LOAD_GP to load saved GPRs.
40632         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40633         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40634         (__sigsetjmp): Use SAVE_GP to save GPRs.
40636         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40637         Do not append -msoft-float.
40638         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40640 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40642         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40644 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40646         [BZ #15966]
40647         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40648         (_FPU_GETCW): Use initial "__" on variable and field names but not
40649         on macro parameter name.
40650         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40651         parentheses around reference to macro parameter.
40653 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40655         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40656         prototype.
40657         (ctype_startup): Use uint32_t in cast and sizeof for
40658         ctype->charnames.
40660 2013-09-11  Jia Liu  <proljc@gmail.com>
40662         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40663         __daddr_t_defined.
40664         [__FreeBSD__]: Likewise.
40666 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40669         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40670         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40671         (strchr): Remove __strchr_sse42 ifunc selection.
40672         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40673         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40675 2013-09-11  Will Newton  <will.newton@linaro.org>
40677         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40678         parameter to RES. Remove hardcoded 1000 value.
40679         * benchtests/bench-skeleton.c (main): Pass RES parameter
40680         to TIMING_INIT and multiply result by 1000.
40682 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40686 2013-09-11  Andreas Schwab  <schwab@suse.de>
40688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40689         if not defined.
40690         (O_TMPFILE) [__USE_GNU]: Define.
40691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40692         Define.
40694 2013-09-11  Will Newton  <will.newton@linaro.org>
40696         [BZ #15857]
40697         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40698         does not overflow.
40700 2013-09-11  Will Newton  <will.newton@linaro.org>
40702         [BZ #15856]
40703         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40704         does not overflow.
40706 2013-09-11  Will Newton  <will.newton@linaro.org>
40708         [BZ #15855]
40709         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40710         does not overflow.
40712 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40714         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40715         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40716         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40717         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40718         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40720 2013-09-10  Allan McRae  <allan@archlinux.org>
40722         [BZ #15748]
40723         * manual/arith.texi (Parsing of Floats): Clarify
40724         cross-reference.
40726         [BZ #15849]
40727         * manual/install.texi (Running make install): Mention
40728         --enable-pt-chown.
40729         * INSTALL: Regenerated.
40731 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40733         * csu/init-first.c (_init): Remove the !SHARED condition around
40734         FPU control word initialization.
40735         * elf/dl-support.c (_dl_fpu_control): New variable.
40736         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40737         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40738         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40739         * math/test-fpucw-static.c: New file.
40740         * math/test-fpucw-ieee.c: New file.
40741         * math/test-fpucw-ieee-static.c: New file.
40742         * math/Makefile (tests): Add `test-fpucw-ieee' and
40743         `$(tests-static)'.
40744         (tests-static): New variable.
40745         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40746         dependency to...
40747         [($(build-shared),yes)]
40748         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40749         ... this.
40750         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40751         New dependency.
40753 2013-09-09  Allan McRae  <allan@archlinux.org>
40755         [BZ #15939]
40756         * manual/string.texi (Collation Functions): Fix typo in
40757         strcoll example.
40758         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40760         [BZ #15893]
40761         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40763         [BZ #15892]
40764         * libio/memstream.c (open_memstream): Fix memory leak.
40765         * libio/wmemstream.c (open_wmemstream): Likewise.
40767         [BZ #15895]
40768         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40770 2013-09-09  Will Newton  <will.newton@linaro.org>
40772         * malloc/Makefile: Add tst-realloc to tests.
40773         * malloc/tst-realloc.c: New file.
40775 2013-09-09  Allan McRae  <allan@archlinux.org>
40777         [BZ #15844]
40778         * COPYING: Update from GNU website to fix FSF address.
40779         * COPYING.LIB: Likewise.
40781 2013-09-06  David S. Miller  <davem@davemloft.net>
40783         * po/zh_TW.po: Update Chinese (traditional) translation from
40784         translation project.
40786 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40787             Joseph Myers  <joseph@codesourcery.com>
40789         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40790         "localeinfo.h".
40791         (obstack_chunk_alloc): New macro.
40792         (obstack_chunk_free): Likewise.
40793         (record_offset): New function.
40794         (init_locale_data): Likewise.
40795         (align_locale_data): Likewise.
40796         (add_locale_empty): Likewise.
40797         (add_locale_raw_data): Likewise.
40798         (add_locale_raw_obstack): Likewise.
40799         (add_locale_string): Likewise.
40800         (add_locale_wstring): Likewise.
40801         (add_locale_uint32): Likewise.
40802         (add_locale_uint32_array): Likewise.
40803         (add_locale_char): Likewise.
40804         (start_locale_structure): Likewise.
40805         (end_locale_structure): Likewise.
40806         (start_locale_prelude): Likewise.
40807         (end_locale_prelude): Likewise.
40808         (write_locale_data): Take locale_file structure rather than an
40809         iovec.
40810         * locale/programs/locfile.h: Include "obstack.h".
40811         (struct locale_file): Change to store locale file contents instead
40812         of header.
40813         (init_locale_data): New prototype.
40814         (align_locale_data): Likewise.
40815         (add_locale_empty): Likewise.
40816         (add_locale_raw_data): Likewise.
40817         (add_locale_raw_obstack): Likewise.
40818         (add_locale_string): Likewise.
40819         (add_locale_wstring): Likewise.
40820         (add_locale_uint32): Likewise.
40821         (add_locale_uint32_array): Likewise.
40822         (add_locale_char): Likewise.
40823         (start_locale_structure): Likewise.
40824         (end_locale_structure): Likewise.
40825         (start_locale_prelude): Likewise.
40826         (end_locale_prelude): Likewise.
40827         (write_locale_data): Update prototype.
40828         * locale/programs/3level.h (struct TABLE): Remove result field.
40829         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40830         Use new locale_file interface.
40831         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40832         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40833         * locale/programs/ld-address.c (address_output): Use new
40834         locale_file interface.
40835         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40836         NO_ADD_LOCALE.
40837         (collate_finish): Don't call collseq_table_finalize.
40838         (collate_output): Use new locale_file interface.
40839         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40840         in file.
40841         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40842         (TABLE): Move defines earlier in file.
40843         (ELEMENT): Likewise.
40844         (DEFAULT): Likewise.
40845         (wctrans_table_add): Move macro and inline function earlier in
40846         file.
40847         (struct wctype_table): Move type earlier in file.
40848         (add_locale_wctype_table): New static prototype.
40849         (struct locale_ctype_t): Use logical types instead of struct iovec
40850         pointers for members.
40851         (ctype_output): Use new locale_file interface.
40852         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40853         new locale_file interface.
40854         (allocate_arrays): Update for use of new locale_file interface.
40855         * locale/programs/ld-identification.c (identification_output): Use
40856         new locale_file interface.
40857         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40858         * locale/programs/ld-messages.c (messages_output): Likewise.
40859         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40860         * locale/programs/ld-name.c (name_output): Likewise.
40861         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40862         * locale/programs/ld-paper.c (paper_output): Likewise.
40863         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40864         * locale/programs/ld-time.c (time_output): Likewise.
40866 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40868         * benchtests/Makefile: Add memrchr benchmark.
40869         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40870         benchmark as memrchr.
40871         * benchtests/bench-memrchr-ifunc.c: New file.
40872         * benchtests/bench-memrchr.c: New file.
40874 2013-09-06   Will Newton  <will.newton@linaro.org>
40876         * benchtests/Makefile (string-bench): Add memcpy.
40878 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40879             Cong Wang  <amwang@redhat.com>
40881         [BZ #15850]
40882         * sysdeps/unix/sysv/linux/bits/in.h
40883         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40884         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40885         before __USE_KERNEL_IPV6_DEFS uses.
40886         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40887         IPPROTO_BEETPH.
40888         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40889         sockaddr_in6, or ipv6_mreq.
40891 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40893         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40894         memory access for final bytes in some large inputs.
40895         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40897 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40899         * string/test-memrchr.c: New file.
40900         * string/test-memrchr-ifunc.c: New file.
40901         * string/Makefile: Add new memrchr testcase.
40903 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40905         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40906         fanotify_init returns EPERM.
40908 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40910         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40911         errors.
40912         (top level): Treat second token from macro or constant entries for
40913         allowed headers as allowed.
40914         * include/complex.h: Condition internal declarations on
40915         [!_ISOMAC].
40916         * include/fenv.h: Condition include of <stdbool.h> and internal
40917         declarations on [!_ISOMAC].
40919 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40921         [BZ #15923]
40922         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40924 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40926         * configure.in (--enable-versioning): Remove configure option.
40927         (libc_cv_asm_symver_directive): Remove configure test.
40928         (libc_cv_ld_version_script_option): Likewise.
40929         (VERSIONING): Remove variable and AC_SUBST.
40930         (DO_VERSIONING): Remove AC_DEFINE.
40931         * configure: Regenerated.
40932         * config.h.in (DO_VERSIONING): Remove macro.
40933         * Makerules [$(versioning) = yes]: Change conditionals to
40934         [$(build-shared) = yes].
40935         * config.make.in (versioning): Remove variable.
40936         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40937         [$(build-shared) = yes].
40938         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40939         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40940         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40941         [$(build-shared) = yes].
40942         * extra-lib.mk [$(versioning) = yes]: Likewise.
40943         * hurd/Makefile [$(versioning) = yes]: Likewise.
40944         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40945         [SHARED].
40946         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40947         [SHARED].
40948         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40949         [SHARED && !NO_HIDDEN].
40950         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40951         [SHARED].
40952         [SHARED && DO_VERSIONING]: Likewise..
40953         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40954         [$(build-shared) = yes].
40955         * manual/install.texi (--disable-versioning): Remove
40956         documentation.
40957         * INSTALL: Regenerated.
40958         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40959         to [SHARED].
40960         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40961         [$(build-shared) = yes].
40962         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40963         * sysdeps/i386/i686/multiarch/strstr-c.c
40964         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40965         [SHARED && !NO_HIDDEN].
40966         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40967         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40968         * sysdeps/powerpc/powerpc32/dl-machine.c
40969         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40970         * sysdeps/powerpc/powerpc32/sysdep.h
40971         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40972         to [SHARED && PIC && !NO_HIDDEN].
40973         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40974         conditional to [SHARED].
40976 2013-09-04   Will Newton  <will.newton@linaro.org>
40978         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40979         * benchtests/bench-string.h: Include bench-timing.h instead
40980         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40981         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40982         call to HP_TIMING_DIFF_INIT.
40983         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40984         instead of hp-timing.h macros.
40985         * benchtests/bench-memchr.c: Likewise.
40986         * benchtests/bench-memcmp.c: Likewise.
40987         * benchtests/bench-memcpy.c: Likewise.
40988         * benchtests/bench-memmem.c: Likewise.
40989         * benchtests/bench-memmove.c: Likewise.
40990         * benchtests/bench-memset.c: Likewise.
40991         * benchtests/bench-rawmemchr.c: Likewise.
40992         * benchtests/bench-strcasecmp.c: Likewise.
40993         * benchtests/bench-strcasestr.c: Likewise.
40994         * benchtests/bench-strcat.c: Likewise.
40995         * benchtests/bench-strchr.c: Likewise.
40996         * benchtests/bench-strcmp.c: Likewise.
40997         * benchtests/bench-strcpy.c: Likewise.
40998         * benchtests/bench-strcpy_chk.c: Likewise.
40999         * benchtests/bench-strlen.c: Likewise.
41000         * benchtests/bench-strncasecmp.c: Likewise.
41001         * benchtests/bench-strncat.c: Likewise.
41002         * benchtests/bench-strncmp.c: Likewise.
41003         * benchtests/bench-strncpy.c: Likewise.
41004         * benchtests/bench-strnlen.c: Likewise.
41005         * benchtests/bench-strpbrk.c: Likewise.
41006         * benchtests/bench-strrchr.c: Likewise.
41007         * benchtests/bench-strspn.c: Likewise.
41008         * benchtests/bench-strstr.c: Likewise.
41010 2013-09-04  Will Newton  <will.newton@linaro.org>
41012         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41014 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41016         [BZ #15427]
41017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41018         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41019         * math/libm-test.inc (lgamma_test_data): Add more tests.
41020         * sysdeps/i386/fpu/libm-test-ulps: Update.
41021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41023 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41025         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41027         Add ifunc.
41028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41029         Add strcmp-sse2-unaligned
41030         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41032 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41034         * Versions.def (libc): Add GLIBC_2.19.
41036 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41038         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41039         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41041 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41043         [BZ #14155]
41044         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41045         intermediate calculations in recurrence.
41046         (__ieee754_ynf): Likewise.
41047         * math/libm-test.inc (jn_test_data): Do not allow spurious
41048         underflow exception.  Add more tests.
41049         (yn_test_data): Add more tests.
41050         * sysdeps/i386/fpu/libm-test-ulps: Update.
41051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41053 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41057 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41059         * csu/init-first.c: Fix then/than typos.
41060         * locale/programs/ld-collate.c: Likewise.
41061         * locale/programs/linereader.h: Likewise.
41062         * manual/charset.texi: Likewise.
41063         * manual/filesys.texi: Likewise.
41064         * manual/stdio.texi: Likewise.
41065         * manual/string.texi: Likewise.
41066         * stdlib/fmtmsg.c: Likewise.
41067         * sysdeps/i386/stpncpy.S: Likewise.
41068         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41069         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41071         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41073 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41075         * elf/dl-open.c: Fix typos.
41076         * iconvdata/gbbig5.c: Likewise.
41077         * iconvdata/iso-2022-jp.c: Likewise.
41078         * iconv/gconv_int.h: Likewise.
41079         * iconv/loop.c: Likewise.
41080         * nis/rpcsvc/nis.h: Likewise.
41081         * resolv/ns_name.c: Likewise.
41082         * stdio-common/vfscanf.c: Likewise.
41083         * streams/stropts.h: Likewise.
41084         * sunrpc/rpc_thread.c: Likewise.
41085         * sysdeps/i386/strpbrk.S: Likewise.
41086         * sysdeps/ieee754/k_standard.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41089         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41090         * sysdeps/mach/hurd/profil.c: Likewise.
41091         * sysdeps/s390/dl-procinfo.h: Likewise.
41092         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41094         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41095         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41096         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41098 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41100         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41103 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41106         aix specific files.
41107         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41108         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41109         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41110         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41111         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41112         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41113         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41114         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41116 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41117             Roland McGrath  <roland@hack.frob.com>
41119         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41120         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41122 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41124         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41125         __executable_start symbol instead of _start.
41127 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41129         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41130         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41131         Move macros to...
41132         * sysdeps/gnu/ldsodefs.h: ... this new file.
41134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41135         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41136         instead of ELFOSABI_LINUX.
41138         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41139         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41140         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41141         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41142         Likewise.
41143         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41144         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41145         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41146         Likewise.
41147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41148         (ibm_extended_long_double): Add ieee_nan member.
41149         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41150         (do_test): New function.
41152         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41153         TEST_TRUNC.
41154         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41155         functions, renamed from truncdfsf_test, trunctfsf_test,
41156         trunctfdf_test.
41157         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41158         functions.
41159         (do_test): Run all these.
41161 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41163         * argp/argp-help.c: Fix typos.
41164         * argp/argp-parse.c: Likewise.
41165         * debug/backtracesyms.c: Likewise.
41166         * elf/elf.h: Likewise.
41167         * malloc/malloc.c: Likewise.
41168         * nis/nis_print.c: Likewise.
41169         * resolv/res_comp.c: Likewise.
41170         * stdlib/stdlib.h: Likewise.
41171         * sunrpc/clnt_tcp.c: Likewise.
41172         * sunrpc/clnt_udp.c: Likewise.
41173         * sunrpc/clnt_unix.c: Likewise.
41174         * sysdeps/unix/bsd/ptsname.c: Likewise.
41175         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41176         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41178         Likewise.
41179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41180         Likewise.
41181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41182         Likewise.
41183         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41185 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41187         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41190 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41192         [BZ #15897]
41193         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41194         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41195         ($(objpfx)bug-dl-leaf): New rule.
41196         ($(objpfx)bug-dl-leaf.so): Likewise.
41197         ($(objpfx)bug-dl-leaf.out): Likewise.
41198         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41199         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41200         * dlfcn/bug-dl-leaf.c: New test.
41201         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41202         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41203         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41204         (dlclose): Likewise.
41205         (dlmopen): Likewise.
41207 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41209         * include/netdb.h [!_ISOMAC]:
41210         Don't include <tls.h>.
41211         (h_errno, __libc_h_errno): Move declaration and macros out of
41212         [_LIBC_REENTRANT].
41214         * include/resolv.h [_RESOLV_H_]:
41215         Don't include <tls.h>.
41216         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41217         * resolv/res_libc.c: Don't include <tls.h>.
41218         (_res): Use __attribute__ ((nocommon)) in place of
41219         __attribute__ ((section (".bss"))).
41221         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41222         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41224         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41226         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41227         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41229         * resolv/res_mkquery.c: Include <sys/time.h>.
41231         * inet/ifreq.c: Moved to ...
41232         * sysdeps/unix/ifreq.c: ... here.
41233         * inet/ifreq.c: New file, true stub version.
41235         * socket/sa_len.c: New file.
41236         * socket/Makefile (aux): Add it.
41237         * sysdeps/unix/sysv/linux/Makefile
41238         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41239         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41240         and #include <socket/sa_len.c>.
41241         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41242         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41245         * bits/socket.h: ... here.
41247         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41248         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41249         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41251 2013-08-27  Andreas Schwab  <schwab@suse.de>
41253         [BZ #15736]
41254         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41255         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41256         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41257         * string/test-strcasecmp.c (test_main): Run tests in several
41258         locales.
41259         * string/test-strncasecmp.c (test_main): Likewise.
41261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41262         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41263         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41265         (__strncasecmp_ssse3) [PIC]: Likewise.
41267 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41269         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41271         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41272         instead of explicitly declaring xdecrypt.
41273         * nis/nss_nis/nis-publickey.c: Likewise.
41275 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41277         [BZ #15890]
41278         * nscd/aicache.c: Include res_hconf.h.
41279         (addhstaiX): Initialize res_hconf.
41281 2013-08-26  Andreas Schwab  <schwab@suse.de>
41283         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41284         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41286 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41288         * nscd/aicache.c (addhstaiX): Fix indentation.
41290 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41292         * configure.ac: Quote $build_pt_chown test.
41293         * configure: Regenerated.
41295 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41297         [BZ #15532]
41298         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41299         * math/s_cexpf.c (__cexpf): Likewise.
41300         * math/s_cexpl.c (__cexpl): Likewise.
41301         * math/libm-test.inc (cexp_test_data): Correct expected return
41302         value for NaN + i0.  Add another test.
41304 2013-08-22  David S. Miller  <davem@davemloft.net>
41306         * po/ca.po: Update Catalan translation from translation project.
41307         * po/uk.po: Add Ukrainian translations from translation project.
41309 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41311         [BZ #15797]
41312         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41313         is infinite, not alongside NaN test.
41314         * math/s_fdimf.c (__fdimf): Likewise.
41315         * math/s_fdiml.c (__fdiml): Likewise.
41316         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41317         errno is unchanged.
41319 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41321         * argp/argp-help.c: Fix typos.
41322         * crypt/speeds.c: Likewise.
41323         * csu/check_fds.c: Likewise.
41324         * elf/dl-load.c: Likewise.
41325         * elf/dl-open.c: Likewise.
41326         * elf/reldep3.c: Likewise.
41327         * elf/reldep.c: Likewise.
41328         * elf/sprof.c: Likewise.
41329         * iconv/iconv_charmap.c: Likewise.
41330         * iconv/skeleton.c: Likewise.
41331         * iconv/strtab.c: Likewise.
41332         * io/lockf64.c: Likewise.
41333         * libio/libioP.h: Likewise.
41334         * resolv/gai_notify.c: Likewise.
41335         * resolv/ns_name.c: Likewise.
41336         * resolv/ns_samedomain.c: Likewise.
41337         * resolv/res_send.c: Likewise.
41338         * stdlib/random.c: Likewise.
41339         * sunrpc/rpc/xdr.h: Likewise.
41340         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41344         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41345         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41348         * sysdeps/mach/hurd/check_fds.c: Likewise.
41349         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41353         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41354         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41355         * sysdeps/pthread/aio_notify.c: Likewise.
41356         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41357         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41358         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41360         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41362 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41364         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41365         version if bit_Slow_SSE4_2 is set.
41366         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41367         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41369 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41371         [BZ #15867]
41372         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41373         trampoline stack frame information.
41374         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41376         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41377         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41378         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41379         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41380         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41381         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41382         sa_flags value.
41383         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41384         interrupting a syscall and set with option SA_SIGINFO.
41386 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41388         [BZ #15531]
41389         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41390         argument is infinite.
41391         * math/s_cprojf.c (__cprojf): Likewise.
41392         * math/s_cprojl.c (__cprojl): Likewise.
41393         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41394         * math/libm-test.inc (cproj_test_data): Add more tests.
41396         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41398         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41399         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41400         size.  Use __ffs to determine corresponding shift.
41402 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41403             Roland McGrath  <roland@hack.frob.com>
41405         * Makefile (INSTALL): Remove trailing blank lines from output of
41406         makeinfo.
41408 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41410         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41411         Align 32 bit compat elf_greg to 8 bytes.
41413 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41415         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41417 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41419         * string/strcoll_l.c (coll_seq): New structure.
41420         (get_next_seq_cached): New function.
41421         (get_next_seq): New function.
41422         (do_compare): New function.
41423         (STRCOLL): Use GNU style definition.  Simplify implementation
41424         by using get_next_seq, get_next_seq_cached and do_compare.
41426 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41428         [BZ #14699]
41429         CVE-2013-4237
41430         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41431         member.
41432         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41433         member.
41434         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41435         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41436         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41437         conditional.
41438         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41439         GETDENTS_64BIT_ALIGNED.
41440         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41441         * manual/filesys.texi (Reading/Closing Directory): Document
41442         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41443         strongly.
41444         * manual/conf.texi (Limits for Files): Add portability note to
41445         NAME_MAX, PATH_MAX.
41446         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41448 2013-08-13  Andreas Schwab  <schwab@suse.de>
41450         [BZ #15749]
41451         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41452         of fabs.
41453         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41454         LDBL_MAX_EXP >= 16384]: Add tests for it.
41456 2013-08-12  David S. Miller  <davem@davemloft.net>
41458         * version.h (RELEASE): Set to "development".
41459         (VERSION): Set to "2.18.90".
41460         * NEWS: Add 2.19 section.
41462 2013-08-03  David S. Miller  <davem@davemloft.net>
41464         * po/ko.po: Update Korean translation from translation project.
41466 2013-08-01  David S. Miller  <davem@davemloft.net>
41468         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41469         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41470         Bilka.
41472 2013-07-30  David S. Miller  <davem@davemloft.net>
41474         * po/fr.po: Update French translation from translation project.
41476 2013-07-28  David S. Miller  <davem@davemloft.net>
41478         * po/cs.po: Update Czech translation from translation project.
41480         * po/sv.po: Update Swedish translation from translation project.
41482 2013-07-27  David S. Miller  <davem@davemloft.net>
41484         * po/eo.po: Update Esperanto translation from translation project.
41486         * po/vi.po: Update Vietnamese translation from translation project.
41488         * po/de.po: Update German translation from translation project.
41490 2013-07-26  David S. Miller  <davem@davemloft.net>
41492         * po/bg.po: Update Bulgarian translation from translation project.
41494         * po/nl.po: Update Dutch translation from translation project.
41495         * po/pl.po: Update Polish translation from translation project.
41496         * po/ru.po: Update Russian translation from translation project.
41498 2013-07-24  David S. Miller  <davem@davemloft.net>
41500         * po/libc.pot: Update.
41502 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41504         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41505         variable page size.
41506         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41507         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41508         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41510 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41512         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41514 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41515             Andreas Schwab  <schwab@suse.de>
41516             Roland McGrath  <roland@hack.frob.com>
41517             Joseph Myers  <joseph@codesourcery.com>
41518             Carlos O'Donell  <carlos@redhat.com>
41520         [BZ #15755]
41521         * config.h.in: Define HAVE_PT_CHOWN.
41522         * config.make.in (build-pt-chown): New variable.
41523         * configure.in (--enable-pt_chown): New configure option.
41524         * configure: Regenerate.
41525         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41526         build-pt-chown is enabled.
41527         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41528         pt_chown to fix pty ownership.
41529         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41530         CLOSE_ALL_FDS.
41531         * manual/install.texi (Configuring and compiling): Mention
41532         --enable-pt_chown. Add @findex for grantpt.
41533         * INSTALL: Regenerate.
41535 2013-07-20  David S. Miller  <davem@davemloft.net>
41537         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41538         difference between 32-bit and 64-bit.
41540 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41542         [BZ #15711]
41543         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41544         Avoid system header dependency with -ffreestanding.
41545         ($(objpfx)bits/syscall%d): Likewise.
41547 2013-07-13  David S. Miller  <davem@davemloft.net>
41549         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41550         underflows from atanl/atan2l due to bug 15319.
41551         (casinh_test_data): Likewise.
41553 2013-07-07  David S. Miller  <davem@davemloft.net>
41555         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41557 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41559         * sysdeps/i386/fpu/libm-test-ulps: Update.
41560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41562 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41564         * configure.in (--enable-lock-elision): Fix message text.
41565         * INSTALL: Regenerate.
41566         * configure: Regenerate.
41568 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41572 2013-07-03  Andreas Jaeger  <aj@suse.de>
41574         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41575         define.
41576         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41577         (ptrace_peeksiginfo_args): Add.
41578         (__ptrace_peeksiginfo_flags): Add.
41579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41581         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41583 2013-07-03  Allan McRae  <allan@archlinux.org>
41585         * sysdeps/i386/fpu/libm-test-ulps: Update.
41587 2013-07-02  David S. Miller  <davem@davemloft.net>
41589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41591 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41595 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41597         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41600 2013-07-02  Andi Kleen <ak@linux.intel.com>
41602         * config.h.in (ENABLE_LOCK_ELISION): Add.
41603         * configure.in (--enable-lock-elision): Add option.
41604         * manual/install.texi: Document --enable lock elision.
41605         * configure: Regenerate
41606         * INSTALL: Regenerate.
41608 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41610         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41611         SSE4.2 strcasecmp for libc.a.
41612         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41614 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41616         [BZ #13304]
41617         * soft-fp/op-common.h (_FP_FMA): New macro.
41618         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41619         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41620         (_FP_MUL_MEAT_1_imm): ... here.
41621         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41622         (_FP_MUL_MEAT_1_wide): ... here.
41623         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41624         (_FP_MUL_MEAT_1_hard): ... here.
41625         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41626         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41627         (_FP_MUL_MEAT_2_wide): ... here.
41628         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41629         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41630         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41631         (_FP_MUL_MEAT_2_gmp): ... here.
41632         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41633         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41634         (_FP_MUL_MEAT_4_wide): ... here.
41635         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41636         (_FP_MUL_MEAT_4_gmp): ... here.
41637         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41638         (_FP_WFRACBITS_DW_S): Likewise.
41639         (_FP_WFRACXBITS_DW_S): Likewise.
41640         (_FP_HIGHBIT_DW_S): Likewise.
41641         (FP_FMA_S): Likewise.
41642         (_FP_FRAC_HIGH_DW_S): Likewise.
41643         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41644         (_FP_WFRACBITS_DW_D): Likewise.
41645         (_FP_WFRACXBITS_DW_D): Likewise.
41646         (_FP_HIGHBIT_DW_D): Likewise.
41647         (FP_FMA_D): Likewise.
41648         (_FP_FRAC_HIGH_DW_D): Likewise.
41649         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41650         (_FP_WFRACBITS_DW_E): Likewise.
41651         (_FP_WFRACXBITS_DW_E): Likewise.
41652         (_FP_HIGHBIT_DW_E): Likewise.
41653         (FP_FMA_E): Likewise.
41654         (_FP_FRAC_HIGH_DW_E): Likewise.
41655         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41656         (_FP_WFRACBITS_DW_Q): Likewise.
41657         (_FP_WFRACXBITS_DW_Q): Likewise.
41658         (_FP_HIGHBIT_DW_Q): Likewise.
41659         (FP_FMA_Q): Likewise.
41660         (_FP_FRAC_HIGH_DW_Q): Likewise.
41661         * soft-fp/fmasf4.c: New file.
41662         * soft-fp/fmadf4.c: Likewise.
41663         * soft-fp/fmatf4.c: Likewise.
41665 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41668         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41669         Silvermont.
41670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41671         macro.
41672         (index_Slow_SSE4_2): Likewise.
41673         (index_Prefer_PMINUB_for_stringop): Likewise.
41674         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41675         bit_Slow_SSE4_2 is set.
41676         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41679 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41681         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41682         rtld_global._dl_hwcap2.
41683         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41684         POWER8.
41685         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41686         POWER8 feature descriptions defined in _dl_hwcap2.
41687         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41688         string handling for POWER8 feature bits.
41689         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41690         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41691         _dl_powerpc_cap_flags.
41692         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41693         * sysdeps/powerpc/rtld-global-offsets.sym
41694         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41695         _dl_hwcap2 in the rtld_global_ro structure.
41697 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41699         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41700         hardware capabilities in support of AT_HWCAP2.
41701         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41702         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41703         GLRO(dl_hwcap2).
41704         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41705         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41706         explicitly the unknown a_type display mechanism is used.
41707         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41708         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41709         struct member.
41710         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41711         to macro prototype for AT_HWCAP2 support.
41712         * sysdeps/i386/dl-procinfo.h: Likewise.
41713         * sysdeps/s390/dl-procinfo.h: Likewise.
41714         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41715         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41716         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41717         return -1 for unknown a_type display fallback.
41718         * sysdeps/sparc/dl-procinfo.h: Likewise.
41719         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41720         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41722 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41725         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41727 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41729         [BZ #12492]
41730         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41731         mprotect making __stack_prot writable.
41733 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41734             Joseph Myers  <joseph@codesourcery.com>
41736         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41737         as being properly aligned.
41739 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41741         * dlfcn/modstatic5.c: New file.
41742         * dlfcn/tststatic5.c: New file.
41743         * dlfcn/Makefile (tests): Add tststatic5.
41744         (tests-static): Likewise.
41745         (modules-names): Add modstatic5.
41746         (tststatic5-ENV): New variable.
41747         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41749         [BZ #15022]
41750         * elf/dl-support.c (_dl_main_map): New variable.
41751         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41752         (_dl_nns, _dl_load_adds): Set to 1.
41753         (_dl_initial_searchlist): Refer to _dl_main_map.
41754         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41755         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41756         call to _dl_get_origin.
41757         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41758         around call_map.
41759         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41760         * dlfcn/modstatic3.c: New file.
41761         * dlfcn/tststatic3.c: New file.
41762         * dlfcn/tststatic4.c: New file.
41763         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41764         (tests-static): Likewise.
41765         (modules-names): Add modstatic3.
41766         (tststatic3-ENV, tststatic4-ENV): New variables.
41767         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41768         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41770 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41772         * configure.in (CC): Require GCC version 4.4 or later.
41773         * configure: Regenerated.
41774         * manual/install.texi (Tools for Compilation): Update GCC version
41775         requirement.
41776         * INSTALL: Regenerated.
41778 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41780         [BZ #15674]
41781         * string/test-memcmp.c (check2): New.
41782         (main): Call check2.
41784         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41786 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41788         [BZ #15022]
41789         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41790         over to...
41791         (dl_open_worker) [!SHARED]: ... here.
41793 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41795         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41797 2013-06-25  Richard Henderson  <rth@redhat.com>
41799         * locale/programs/locarchive.c: Include <libc-internal.h>
41801 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41803         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41804         trailing whitespace removed.
41806 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41808         [BZ #10283]
41809         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41810         * locale/programs/locarchive.c: Include libc-mmap.h.
41811         (prepare_address_space): Take two new outputs (the mmap base and len).
41812         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41813         values.
41814         (create_archive): Declare new mmap base and len values for
41815         prepare_address_space, and store the result in ah.
41816         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41817         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41818         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41819         Declare new mmap base and len values for
41820         prepare_address_space, and store the result in new_ah.
41821         (open_archive): Declare new mmap base and len values for
41822         prepare_address_space, and store the result in ah.
41823         (close_archive): If ah->mmap_base is not NULL, use that and
41824         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41825         * sysdeps/generic/libc-mmap.h: New file.
41827 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41829         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41830         (ALIGN_UP): Likewise.
41831         (PTR_ALIGN_DOWN): Likewise.
41832         (PTR_ALIGN_UP): Likewise.
41834 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41837         entry mapped to PPC_PLATFORM_POWER8.
41838         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41839         POWER8.
41840         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41841         (_dl_string_platform): Add case for exporting platform position for
41842         POWER8.
41843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41844         search path to sysdeps/powerpc/powerpc32/power8 directory.
41845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41846         search path to sysdeps/powerpc/powerpc64/power8 directory.
41847         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41848         power7 directories.
41849         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41850         power7 directories.
41852 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41854         * INSTALL: Regenerate.
41856         * nscd/connections.c (nscd_init): Fix comment.
41858 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41860         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41862         [BZ #15667]
41863         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41864         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41866 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41868         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41869         DL_DST_REQ_STATIC.
41870         (DL_DST_REQ_STATIC): Remove macro.
41872 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41874         [BZ #7006]
41875         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41876         with a shift of 0 bits.
41878 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41880         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41881         $(tststatic-ENV).
41883 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41885         [BZ #15655]
41886         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41888 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41890         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41891         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41892         accepts -fno-tree-loop-distribute-patterns.
41893         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41894         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41895         recursive call.
41896         * string/memset.c (memset): Likewise.
41897         * string/test-memmove.c (simple_memmove): Disable loop transformation
41898         to library calls.
41899         * string/test-memset.c (simple_memset): Likewise.
41900         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41901         * benchtests/bench-memset.c (simple_memset): Likewise.
41902         * configure: Regenerated.
41904 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41906         * math/test-misc.c (main): Ignore fesetround failure when failures
41907         of subsequent rounding tests would be ignored.
41909         [BZ #15654]
41910         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41911         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41912         * math/fegetenv.c (__fegetenv): Return 0.
41913         * math/fegetexcept.c (fegetexcept): Return 0.
41914         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41915         FE_TONEAREST.
41916         * math/feholdexcpt.c (feholdexcept): Return 0.
41917         * math/fesetenv.c (__fesetenv): Return 0.
41918         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41919         argument FE_TONEAREST.
41920         * math/feupdateenv.c (__feupdateenv): Return 0.
41921         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41923 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41925         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41926         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41927         ($(objpfx)rtld-%.os rules): Use them.
41929 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41931         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41932         fields.
41934 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41936         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41937         length of target pattern, then descending length of dependency pattern.
41938         * configure.in (AWK): Require gawk 3.1.2 or newer.
41939         * manual/install.texi (Tools for Compilation): Say that we do.
41940         * configure: Regenerated.
41942         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41943         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41944         * scripts/sysd-rules.awk: ... this new script.
41945         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41946         than a glob-style pattern.
41948 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41950         * math/test-misc.c (main): Do not treat incorrectly rounded
41951         conversions as failure unless ROUNDING_TESTS passes.
41953 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41955         [BZ #15631]
41956         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41957         restore exception state around main square root computation, then
41958         check for inexactness explicitly.
41960         * math/libm-test.inc (fma_test_data): Add another test.
41962 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41964         * manual/threads.texi (Non-POSIX Extensions): New document
41965         node.  Document pthread_getattr_default_np and
41966         pthread_setattr_default_np.
41968         * Versions.def (libpthread): Add GLIBC_2.18.
41969         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41971         Likewise.
41972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41973         Likewise.
41974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41975         Likewise.
41976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41977         Likewise.
41978         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41979         Likewise.
41980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41981         Likewise.
41982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41983         Likewise.
41984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41985         Likewise.
41986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41987         Likewise.
41989 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41992         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41994 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41995             H.J. Lu  <hjl.tools@gmail.com>
41997         [BZ #15627]
41998         * sysdeps/x86_64/rtld-memset.c: Remove file.
41999         * sysdeps/x86_64/rtld-memset.S: New file.
42001 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42003         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42004         (test_in_one_mode): Take arguments for whether the rounding mode
42005         is supported for each floating-point type.
42006         (do_test): Pass new arguments to test_in_one_mode using
42007         ROUNDING_TESTS.
42009 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42011         * posix/tst-waitid.c (do_test): Distinguish different instances of
42012         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42013         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42014         before entering the kernel for waitpid.
42016 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42018         * NEWS: Fix note on clock function precision.  Text by Roland
42019         McGrath.
42021 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42023         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42024         it into place only when and if the sanity check passes.
42026 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42028         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42029         output for whether conversion result is exact.  Take argument
42030         indicating whether type is IBM long double.
42031         (round_for_all): Change need_exact field to ibm_ld.
42032         * stdlib/tst-strtod-round.c (struct exactness): New type.
42033         (struct test): Change bool ld_ok field to struct exactness exact.
42034         (TEST): Update all definitions for change to field.
42035         (tests): Regenerate array contents.
42036         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42037         field value.  Check for IBM long double here.
42038         (do_test): Update calls to test_in_one_mode.
42040 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42042         [BZ #12515]
42043         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42044         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42046 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42048         [BZ #15605]
42049         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42050         generated by the compiler on loop optimizations.
42051         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42052         general definitions.
42054 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42056         * math/bug-nextafter.c: Include <math-tests.h>.
42057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42058         the relevant type.
42059         * math/bug-nexttoward.c: Include <math-tests.h>.
42060         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42061         the relevant type.
42062         * math/test-misc.c: Include <math-tests.h>.
42063         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42064         the relevant type.
42066 2013-06-12  Andreas Jaeger  <aj@suse.de>
42068         * po/ia.po: Update Interlingua translation from translation
42069         project.
42071 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42073         * include/fenv.h: Include stdbool.h.
42074         (struct rm_ctx): New structure.
42075         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42076         Define macro.
42077         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42078         (SET_RESTORE_ROUNDF): Likewise.
42079         (SET_RESTORE_ROUNDL): Likewise.
42080         (SET_RESTORE_ROUND_NOEX): Likewise.
42081         (SET_RESTORE_ROUND_NOEXF): Likewise.
42082         (SET_RESTORE_ROUND_NOEXL): Likewise.
42083         (SET_RESTORE_ROUND_53BIT): Likewise.
42084         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42085         (libc_feresetround_noexf_ctx): Likewise.
42086         (libc_feresetround_noexl_ctx): Likewise.
42087         (libc_feholdsetround_53bit_ctx): Likewise.
42088         (libc_feresetround_53bit_ctx): Likewise.
42089         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42090         (libc_feholdexcept_setround_sse_ctx): New function.
42091         (libc_fesetenv_sse_ctx): Likewise.
42092         (libc_feupdateenv_sse_ctx): Likewise.
42093         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42094         (libc_feholdexcept_setround_387_ctx): Likewise.
42095         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42096         (libc_feholdsetround_387_prec_ctx): Likewise.
42097         (libc_feholdsetround_387_ctx): Likewise.
42098         (libc_feholdsetround_387_53bit_ctx): Likewise.
42099         (libc_feholdsetround_sse_ctx): Likewise.
42100         (libc_feresetround_sse_ctx): Likewise.
42101         (libc_feresetround_387_ctx): Likewise.
42102         (libc_feupdateenv_387_ctx): Likewise.
42103         (libc_feholdexcept_setroundf_ctx): Define macro.
42104         (libc_fesetenvf_ctx): Likewise.
42105         (libc_feupdateenvf_ctx): Likewise.
42106         (libc_feholdsetroundf_ctx): Likewise.
42107         (libc_feresetroundf_ctx): Likewise.
42108         (libc_feholdexcept_setround_ctx): Likewise.
42109         (libc_fesetenv_ctx): Likewise.
42110         (libc_feupdateenv_ctx): Likewise.
42111         (libc_feholdsetround_ctx): Likewise.
42112         (libc_feresetround_ctx): Likewise.
42113         (libc_feholdexcept_setroundl_ctx): Likewise.
42114         (libc_feupdateenvl_ctx): Likewise.
42115         (libc_feholdsetroundl_ctx): Likewise.
42116         (libc_feresetroundl_ctx): Likewise.
42117         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42118         (libc_feresetround_53bit_ctx): Likewise.
42120 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42122         * locale/iso-639.def: Convert to UTF-8.
42124 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42126         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42127         (EXCEPTION_TESTS_double): Likewise.
42128         (EXCEPTION_TESTS_long_double): Likewise.
42129         (EXCEPTION_TESTS): Likewise.
42130         * math/libm-test.inc (test_exceptions): Only test exceptions if
42131         EXCEPTION_TESTS (FLOAT).
42133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42135         * benchtests/Makefile (string-bench): Add strcpy_chk and
42136         stpcpy_chk.
42137         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42138         * benchtests/bench-stpcpy_chk.c: New file.
42139         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42140         * benchtests/bench-strcpy_chk.c: New file.
42141         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42142         code.
42143         (do_test): Likewise.
42145 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42147         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42148         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42149         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42150         with tabs where appropriate.
42151         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42152         dl-procinfo.h.
42153         [PPC_PLATFORM_PPC440]: Likewise.
42154         [PPC_PLATFORM_PPC464]: Likewise.
42155         [PPC_PLATFORM_PPC476]: Likewise.
42156         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42157         ppc464, and ppc476 platform strings merging from ports/
42158         dl-procinfo.h.
42160 2013-06-11  Andreas Schwab  <schwab@suse.de>
42162         [BZ #14991]
42163         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42164         (from_ucs4_idx): Regenerate.
42165         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42166         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42167         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42168         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42169         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42170         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42171         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42172         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42173         from FROM_LOOP and TO_LOOP specific macros.
42174         (BODY): Handle combining characters.
42175         * iconvdata/BIG5HKSCS.irreversible: Update.
42176         * iconvdata/BIG5HKSCS.precomposed: New file.
42177         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42178         characters.
42179         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42183         * include/sys/time.h: Fix indentation and add copyright header.
42185         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42186         (do_test): Likewise.
42187         * string/test-memchr.c (do_one_test): Likewise.
42188         (do_test): Likewise.
42189         * string/test-memcmp.c (do_one_test): Likewise.
42190         (do_test): Likewise.
42191         * string/test-memcpy.c (do_one_test): Likewise.
42192         (do_test): Likewise.
42193         * string/test-memmem.c (do_one_test): Likewise.
42194         (do_test): Likewise.
42195         (do_random_tests): Likewise.
42196         * string/test-memmove.c (do_one_test): Likewise.
42197         (do_test): Likewise.
42198         * string/test-memset.c (do_one_test): Likewise.
42199         (do_test): Likewise.
42200         * string/test-rawmemchr.c (do_one_test): Likewise.
42201         (do_test): Likewise.
42202         * string/test-strcasecmp.c (do_one_test): Likewise.
42203         (do_test): Likewise.
42204         * string/test-strcasestr.c (do_one_test): Likewise.
42205         (do_test): Likewise.
42206         * string/test-strcat.c (do_one_test): Likewise.
42207         (do_test): Likewise.
42208         * string/test-strchr.c (do_one_test): Likewise.
42209         (do_test): Likewise.
42210         * string/test-strcmp.c (do_one_test): Likewise.
42211         (do_test): Likewise.
42212         * string/test-strcpy.c (do_one_test): Likewise.
42213         (do_test): Likewise.
42214         * string/test-string.h: Likewise.
42215         (test_init): Likewise.
42216         * string/test-strlen.c (do_one_test): Likewise.
42217         (do_test): Likewise.
42218         * string/test-strncasecmp.c (do_one_test): Likewise.
42219         (do_test): Likewise.
42220         * string/test-strncat.c (do_one_test): Likewise.
42221         (do_test): Likewise.
42222         * string/test-strncmp.c (do_one_test): Likewise.
42223         (do_test_limit): Likewise.
42224         (do_test): Likewise.
42225         * string/test-strncpy.c (do_one_test): Likewise.
42226         (do_test): Likewise.
42227         * string/test-strnlen.c (do_one_test): Likewise.
42228         (do_test): Likewise.
42229         * string/test-strpbrk.c (do_one_test): Likewise.
42230         (do_test): Likewise.
42231         * string/test-strrchr.c (do_one_test): Likewise.
42232         (do_test): Likewise.
42233         * string/test-strspn.c (do_one_test): Likewise.
42234         (do_test): Likewise.
42235         * string/test-strstr.c (do_one_test): Likewise.
42236         (do_test): Likewise.
42238         * benchtests/Makefile (string-bench): Add string benchmarks.
42239         * benchtests/bench-bcopy-ifunc.c: New file.
42240         * benchtests/bench-bcopy.c: New file.
42241         * benchtests/bench-bzero-ifunc.c: New file.
42242         * benchtests/bench-bzero.c: New file.
42243         * benchtests/bench-memccpy-ifunc.c: New file.
42244         * benchtests/bench-memccpy.c: New file.
42245         * benchtests/bench-memchr-ifunc.c: New file.
42246         * benchtests/bench-memchr.c: New file.
42247         * benchtests/bench-memcmp-ifunc.c: New file.
42248         * benchtests/bench-memcmp.c: New file.
42249         * benchtests/bench-memmem-ifunc.c: New file.
42250         * benchtests/bench-memmem.c: New file.
42251         * benchtests/bench-memmove-ifunc.c: New file.
42252         * benchtests/bench-memmove.c: New file.
42253         * benchtests/bench-mempcpy-ifunc.c: New file.
42254         * benchtests/bench-mempcpy.c: New file.
42255         * benchtests/bench-memset-ifunc.c: New file.
42256         * benchtests/bench-memset.c: New file.
42257         * benchtests/bench-rawmemchr-ifunc.c: New file.
42258         * benchtests/bench-rawmemchr.c: New file.
42259         * benchtests/bench-stpcpy-ifunc.c: New file.
42260         * benchtests/bench-stpcpy.c: New file.
42261         * benchtests/bench-stpncpy-ifunc.c: New file.
42262         * benchtests/bench-stpncpy.c: New file.
42263         * benchtests/bench-strcasecmp-ifunc.c: New file.
42264         * benchtests/bench-strcasecmp.c: New file.
42265         * benchtests/bench-strcasestr-ifunc.c: New file.
42266         * benchtests/bench-strcasestr.c: New file.
42267         * benchtests/bench-strcat-ifunc.c: New file.
42268         * benchtests/bench-strcat.c: New file.
42269         * benchtests/bench-strchr-ifunc.c: New file.
42270         * benchtests/bench-strchr.c: New file.
42271         * benchtests/bench-strchrnul-ifunc.c: New file.
42272         * benchtests/bench-strchrnul.c: New file.
42273         * benchtests/bench-strcmp-ifunc.c: New file.
42274         * benchtests/bench-strcmp.c: New file.
42275         * benchtests/bench-strcpy-ifunc.c: New file.
42276         * benchtests/bench-strcpy.c: New file.
42277         * benchtests/bench-strcspn-ifunc.c: New file.
42278         * benchtests/bench-strcspn.c: New file.
42279         * benchtests/bench-strlen-ifunc.c: New file.
42280         * benchtests/bench-strlen.c: New file.
42281         * benchtests/bench-strncasecmp-ifunc.c: New file.
42282         * benchtests/bench-strncasecmp.c: New file.
42283         * benchtests/bench-strncat-ifunc.c: New file.
42284         * benchtests/bench-strncat.c: New file.
42285         * benchtests/bench-strncmp-ifunc.c: New file.
42286         * benchtests/bench-strncmp.c: New file.
42287         * benchtests/bench-strncpy-ifunc.c: New file.
42288         * benchtests/bench-strncpy.c: New file.
42289         * benchtests/bench-strnlen-ifunc.c: New file.
42290         * benchtests/bench-strnlen.c: New file.
42291         * benchtests/bench-strpbrk-ifunc.c: New file.
42292         * benchtests/bench-strpbrk.c: New file.
42293         * benchtests/bench-strrchr-ifunc.c: New file.
42294         * benchtests/bench-strrchr.c: New file.
42295         * benchtests/bench-strspn-ifunc.c: New file.
42296         * benchtests/bench-strspn.c: New file.
42297         * benchtests/bench-strstr-ifunc.c: New file.
42298         * benchtests/bench-strstr.c: New file.
42300         * benchtests/Makefile: Disable parallel execution of targets.
42301         (string-bench): Add memcpy.
42302         (benchset): New variable to store a list of benchmark sets.
42303         (bench-func): Renamed from bench.
42304         (bench-set): New target.
42305         (bench): Depend on bench-func and bench-set.
42306         * benchtests/README: Add section on benchmark sets.
42307         * benchtests/bench-memcpy-ifunc.c: New file.
42308         * benchtests/bench-memcpy.c: New file.
42309         * benchtests/bench-string.h: New file.
42311 2013-06-11  Andreas Schwab  <schwab@suse.de>
42313         [BZ #15577]
42314         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42315         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42316         values in the triple.
42317         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42318         terminator in the group key.
42320 2013-06-11  Andreas Jaeger  <aj@suse.de>
42322         * po/zh_TW.po: Update Chinese (traditional) translation from
42323         translation project.
42325 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42327         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42328         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42329         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42330         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42331         (clock_getcpuclockid): Likewise.
42332         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42333         Add weak_alias and libc_hidden_def.
42334         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42335         * rt/clock_gettime.c (clock_gettime): Rename to
42336         __clock_gettime.  Add weak_alias and libc_hidden_def.
42337         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42338         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42339         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42340         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42341         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42342         Likewise.
42343         * rt/clock_settime.c (clock_settime): Rename to
42344         __clock_settime.  Add weak_alias and libc_hidden_def.
42345         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42347 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42349         * mach/err_boot.sub: Remove trailing whitespace.
42350         * mach/err_ipc.sub: Likewise.
42351         * mach/err_mach.sub: Likewise.
42353         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42354         (ROUNDING_TESTS_double): Likewise.
42355         (ROUNDING_TESTS_long_double): Likewise.
42356         (ROUNDING_TESTS): Likewise.
42357         * math/libm-test.inc: Include <math-tests.h>.
42358         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42359         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42360         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42361         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42363 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42365         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42366         of assigning.
42368 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42370         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42371         otherwise empty TRANS lines.
42372         * sysdeps/gnu/errlist.c: Regenerated.
42374         * catgets/gencat.c (error_print): Use (void) in function
42375         definition.
42376         * crypt/crypt_util.c (__init_des): Likewise.
42377         * crypt/speeds.c (Stop): Likewise.
42378         (main): Likewise.
42379         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42380         * inet/ruserpass.c (token): Likewise.
42381         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42382         * intl/localealias.c (extend_alias_table): Likewise.
42383         * intl/plural-exp.c (init_germanic_plural): Likewise.
42384         * libio/fcloseall.c (__fcloseall): Likewise.
42385         * libio/genops.c (_IO_flush_all): Likewise.
42386         (_IO_flush_all_linebuffered): Likewise.
42387         (_IO_cleanup): Likewise.
42388         (_IO_iter_begin): Likewise.
42389         (_IO_iter_end): Likewise.
42390         (_IO_list_lock): Likewise.
42391         (_IO_list_unlock): Likewise.
42392         (_IO_list_resetlock): Likewise.
42393         * libio/getchar.c (getchar): Likewise.
42394         * libio/getchar_u.c (getchar_unlocked): Likewise.
42395         * libio/getwchar.c (getwchar): Likewise.
42396         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42397         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42398         * login/getpt.c (__getpt): Likewise.
42399         * login/tst-utmp.c (main): Likewise.
42400         * malloc/hooks.c (__malloc_check_init): Likewise.
42401         * malloc/malloc.c (__malloc_stats): Likewise.
42402         * malloc/mtrace.c (tr_break): Likewise.
42403         (mtrace): Likewise.
42404         (muntrace): Likewise.
42405         * misc/fstab.c (endfsent): Likewise.
42406         * misc/getclktck.c (__getclktck): Likewise.
42407         * misc/getdtsz.c (__getdtablesize): Likewise.
42408         * misc/gethostid.c (gethostid): Likewise.
42409         * misc/getpagesize.c (__getpagesize): Likewise.
42410         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42411         (__get_nprocs): Likewise.
42412         (__get_phys_pages): Likewise.
42413         (__get_avphys_pages): Likewise.
42414         * misc/getttyent.c (getttyent): Likewise.
42415         (setttyent): Likewise.
42416         (endttyent): Likewise.
42417         * misc/getusershell.c (getusershell): Likewise.
42418         (endusershell): Likewise.
42419         (setusershell): Likewise.
42420         (initshells): Likewise.
42421         * misc/hsearch.c (__hdestroy): Likewise.
42422         * misc/sync.c (sync): Likewise.
42423         * misc/syslog.c (closelog_internal): Likewise.
42424         (closelog): Likewise.
42425         * misc/ttyslot.c (ttyslot): Likewise.
42426         * misc/vhangup.c (vhangup): Likewise.
42427         * posix/fork.c (__fork): Likewise.
42428         * posix/getegid.c (__getegid): Likewise.
42429         * posix/geteuid.c (__geteuid): Likewise.
42430         * posix/getgid.c (__getgid): Likewise.
42431         * posix/getpid.c (__getpid): Likewise.
42432         * posix/getppid.c (__getppid): Likewise.
42433         * posix/getuid.c (__getuid): Likewise.
42434         * posix/pause.c (pause): Likewise.
42435         * posix/setpgrp.c (setpgrp): Likewise.
42436         * posix/setsid.c (__setsid): Likewise.
42437         * posix/test-vfork.c (noop): Likewise.
42438         * resolv/gethnamaddr.c (_endhtent): Likewise.
42439         (_gethtent): Likewise.
42440         (ht_endhostent): Likewise.
42441         (gethostent): Likewise.
42442         (dns_service): Likewise.
42443         * stdlib/drand48.c (drand48): Likewise.
42444         * stdlib/lrand48.c (lrand48): Likewise.
42445         * stdlib/mrand48.c (mrand48): Likewise.
42446         * stdlib/rand.c (rand): Likewise.
42447         * stdlib/random.c (__random): Likewise.
42448         * stdlib/setenv.c (clearenv): Likewise.
42449         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42450         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42451         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42452         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42453         (__get_nprocs): Likewise.
42454         (__get_phys_pages): Likewise.
42455         (__get_avphys_pages): Likewise.
42456         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42457         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42458         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42459         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42460         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42461         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42462         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42463         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42464         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42465         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42466         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42467         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42468         * sysdeps/posix/clock.c (clock): Likewise.
42469         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42470         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42471         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42472         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42473         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42475         (__get_nprocs_conf): Likewise.
42476         (__get_phys_pages): Likewise.
42477         (__get_avphys_pages): Likewise.
42478         * time/clock.c (clock): Likewise.
42479         * time/tzset.c (__tzname_max): Likewise.
42481 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42483         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42484         (__bswap_32): Do not use "register".
42485         * crypt/crypt.c (_ufc_doit_r): Likewise.
42486         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42487         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42488         * gmon/gmon.c (__monstartup): Likewise.
42489         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42490         * hurd/hurdmalloc.c (more_memory): Likewise.
42491         (malloc): Likewise.
42492         (free): Likewise.
42493         (realloc): Likewise.
42494         (malloc_fork_prepare): Likewise.
42495         (malloc_fork_parent): Likewise.
42496         (malloc_fork_child): Likewise.
42497         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42498         (_svcauth_des): Likewise.
42499         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42500         * inet/inet_net.c (inet_network): Likewise.
42501         * inet/inet_netof.c (inet_netof): Likewise.
42502         * inet/rcmd.c (__validuser2_sa): Likewise.
42503         * io/fts.c (fts_open): Likewise.
42504         (fts_load): Likewise.
42505         (fts_close): Likewise.
42506         (fts_read): Likewise.
42507         (fts_children): Likewise.
42508         (fts_build): Likewise.
42509         (fts_stat): Likewise.
42510         (fts_sort): Likewise.
42511         (fts_alloc): Likewise.
42512         (fts_lfree): Likewise.
42513         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42514         (_IO_file_xsgetn): Likewise.
42515         (_IO_file_xsgetn_mmap): Likewise.
42516         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42517         (_IO_cookie_write): Likewise.
42518         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42519         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42520         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42521         * malloc/obstack.c (_obstack_begin): Likewise.
42522         (_obstack_begin_1): Likewise.
42523         (_obstack_newchunk): Likewise.
42524         (_obstack_allocated_p): Likewise.
42525         (obstack_free): Likewise.
42526         (_obstack_memory_used): Likewise.
42527         * misc/getttyent.c (getttynam): Likewise.
42528         (getttyent): Likewise.
42529         (skip): Likewise.
42530         (value): Likewise.
42531         * misc/getusershell.c (initshells): Likewise.
42532         * misc/syslog.c (__vsyslog_chk): Likewise.
42533         * misc/ttyslot.c (ttyslot): Likewise.
42534         * nis/nis_hash.c (__nis_hash): Likewise.
42535         * posix/fnmatch_loop.c (FCT): Likewise.
42536         * posix/getconf.c (print_all): Likewise.
42537         (main): Likewise.
42538         * posix/getopt.c (exchange): Likewise.
42539         * posix/glob.c (globfree): Likewise.
42540         (prefix_array): Likewise.
42541         (__glob_pattern_type): Likewise.
42542         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42543         (NS_GET32): Likewise.
42544         (NS_PUT16): Likewise.
42545         (NS_PUT32): Likewise.
42546         * resolv/gethnamaddr.c (getanswer): Likewise.
42547         (gethostbyname2): Likewise.
42548         (gethostbyaddr): Likewise.
42549         (_gethtent): Likewise.
42550         (_gethtbyname2): Likewise.
42551         (_gethtbyaddr): Likewise.
42552         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42553         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42554         * resolv/res_init.c (__res_vinit): Likewise.
42555         (net_mask): Likewise.
42556         * resolv/res_mkquery.c (outchar): Likewise.
42557         (PRINT): Likewise.
42558         * stdio-common/printf_fp.c (outchar): Likewise.
42559         (PRINT): Likewise.
42560         * stdio-common/printf_fphex.c (outchar): Likewise.
42561         (PRINT): Likewise.
42562         * stdio-common/printf_size.c (outchar): Likewise.
42563         (PRINT): Likewise.
42564         * stdio-common/test_rdwr.c (main): Likewise.
42565         * stdio-common/tfformat.c (matches): Likewise.
42566         * stdio-common/vfprintf.c (outchar): Likewise.
42567         (printf_unknown): Likewise.
42568         (buffered_vfprintf): Likewise.
42569         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42570         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42571         (ReadFile): Likewise.
42572         * stdlib/qsort.c (SWAP): Likewise.
42573         (_quicksort): Likewise.
42574         * stdlib/setenv.c (__add_to_environ): Likewise.
42575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42576         * stdlib/strtol_l.c (__strtol_l): Likewise.
42577         * stdlib/tst-strtod.c (main): Likewise.
42578         * stdlib/tst-strtol.c (main): Likewise.
42579         * stdlib/tst-strtoll.c (main): Likewise.
42580         * string/bits/string2.h (__strcmp_cc): Likewise.
42581         (__strcmp_cg): Likewise.
42582         (__strcspn_c1): Likewise.
42583         (__strcspn_c2): Likewise.
42584         (__strcspn_c3): Likewise.
42585         (__strspn_c1): Likewise.
42586         (__strspn_c2): Likewise.
42587         (__strspn_c3): Likewise.
42588         (__strsep_1c): Likewise.
42589         (__strsep_2c): Likewise.
42590         (__strsep_3c): Likewise.
42591         * string/memccpy.c (__memccpy): Likewise.
42592         * string/stpcpy.c (__stpcpy): Likewise.
42593         * string/strcmp.c (strcmp): Likewise.
42594         * string/strrchr.c (strrchr): Likewise.
42595         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42596         Likewise.
42597         * sysdeps/mach/hurd/getcwd.c
42598         (_hurd_canonicalize_directory_name_internal): Likewise.
42599         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42600         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42601         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42602         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42603         Likewise, in both definitions.
42604         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42605         definitions.
42606         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42607         64] (__bswap_64): Likewise.
42608         * time/test_time.c (main): Likewise.
42609         * time/tzfile.c (__tzfile_read): Likewise.
42610         (__tzfile_compute): Likewise.
42611         * time/tzset.c (__tzset_parse_tz): Likewise.
42612         (tzset_internal): Likewise.
42613         (compute_change): Likewise.
42614         * wcsmbs/wcscat.c (__wcscat): Likewise.
42615         * wcsmbs/wcschr.c (wcschr): Likewise.
42616         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42617         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42618         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42619         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42620         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42621         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42622         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42623         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42624         * wcsmbs/wmemset.c (wmemset): Likewise.
42626 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42628         * scripts/config.guess: Update to version 2013-05-16.
42629         * scripts/config.sub: Update to version 2013-04-24.
42630         * scripts/install-sh: Update to version 2011-11-20.07.
42631         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42632         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42634 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42636         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42637         * elf/sln.c: Likewise.
42638         * hurd/hurd/ioctl.h: Likewise.
42639         * hurd/hurdmalloc.c: Likewise.
42640         * hurd/xattr.c: Likewise.
42641         * include/shlib-compat.h: Likewise.
42642         * inet/ruserpass.c: Likewise.
42643         * libio/iofgets_u.c: Likewise.
42644         * libio/iofgetws_u.c: Likewise.
42645         * locale/programs/ld-identification.c: Likewise.
42646         * locale/programs/ld-time.c: Likewise.
42647         * mach/msg-destroy.c: Likewise.
42648         * nss/nss_files/files-netgrp.c: Likewise.
42649         * resolv/res_data.c: Likewise.
42650         * soft-fp/op-1.h: Likewise.
42651         * soft-fp/op-2.h: Likewise.
42652         * soft-fp/op-4.h: Likewise.
42653         * soft-fp/op-common.h: Likewise.
42654         * stdio-common/printf_fphex.c: Likewise.
42655         * stdlib/strtod_l.c: Likewise.
42656         * sunrpc/rpc/clnt.h: Likewise.
42657         * sysdeps/generic/framestate.c: Likewise.
42658         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42659         * sysdeps/i386/bsd-setjmp.S: Likewise.
42660         * sysdeps/i386/__longjmp.S: Likewise.
42661         * sysdeps/i386/setjmp.S: Likewise.
42662         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42663         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42680         * sysdeps/ieee754/support.c: Likewise.
42681         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42682         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42683         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42684         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42685         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42686         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42687         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42688         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42689         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42690         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42691         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42692         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42693         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42694         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42695         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42696         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42697         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42700 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42702         * posix/transbug.c: Remove executable mode.
42704 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42706         * crypt/speeds.c: Remove trailing whitespace.
42707         * dlfcn/default.c: Likewise.
42708         * elf/ifuncdep2.c: Likewise.
42709         * elf/ifuncmain1.c: Likewise.
42710         * elf/ifuncmain1vis.c: Likewise.
42711         * elf/testobj.h: Likewise.
42712         * elf/tst-stackguard1.c: Likewise.
42713         * gmon/sys/gmon.h: Likewise.
42714         * hurd/hurdmsg.c: Likewise.
42715         * hurd/new-fd.c: Likewise.
42716         * hurd/ports-get.c: Likewise.
42717         * iconvdata/ibm1008_420.c: Likewise.
42718         * inet/tst-getni1.c: Likewise.
42719         * inet/tst-getni2.c: Likewise.
42720         * libio/ioungetc.c: Likewise.
42721         * libio/wfiledoalloc.c: Likewise.
42722         * manual/libm-err-tab.pl: Likewise.
42723         * math/w_dremf.c: Likewise.
42724         * misc/ftruncate.c: Likewise.
42725         * posix/bug-glob2.c: Likewise.
42726         * posix/tst-pcre.c: Likewise.
42727         * posix/wait4.c: Likewise.
42728         * resolv/README: Likewise.
42729         * resolv/res_debug.h: Likewise.
42730         * resolv/tst-inet_ntop.c: Likewise.
42731         * setjmp/bug269-setjmp.c: Likewise.
42732         * soft-fp/extended.h: Likewise.
42733         * soft-fp/op-1.h: Likewise.
42734         * soft-fp/op-2.h: Likewise.
42735         * soft-fp/op-4.h: Likewise.
42736         * soft-fp/op-8.h: Likewise.
42737         * soft-fp/testit.c: Likewise.
42738         * stdio-common/bug16.c: Likewise.
42739         * stdlib/random.c: Likewise.
42740         * sunrpc/rpcsvc/rquota.x: Likewise.
42741         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42742         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42743         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42744         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42745         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42746         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42747         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42748         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42750         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42751         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42759         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42770         * sysdeps/ieee754/s_lib_version.c: Likewise.
42771         * sysdeps/mach/hurd/check_fds.c: Likewise.
42772         * sysdeps/mach/hurd/getsockname.c: Likewise.
42773         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42774         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42775         * sysdeps/powerpc/bits/link.h: Likewise.
42776         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42777         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42778         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42779         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42780         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42781         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42782         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42783         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42784         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42785         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42786         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42787         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42788         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42789         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42790         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42791         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42796         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42797         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42799         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42800         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42801         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42802         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42805         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42806         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42809         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42810         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42811         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42812         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42813         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42814         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42815         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42816         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42817         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42818         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42819         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42821         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42822         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42823         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42824         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42825         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42828         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42829         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42830         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42831         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42832         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42835         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42836         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42838         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42839         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42840         * sysdeps/powerpc/sysdep.h: Likewise.
42841         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42842         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42843         * sysdeps/sh/dl-trampoline.S: Likewise.
42844         * sysdeps/sh/memset.S: Likewise.
42845         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42846         * sysdeps/sh/strlen.S: Likewise.
42847         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42848         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42849         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42850         * sysdeps/sparc/sparc32/rem.S: Likewise.
42851         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42852         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42853         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42854         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42855         * sysdeps/sparc/sparc32/urem.S: Likewise.
42856         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42857         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42858         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42859         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42860         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42861         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42862         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42863         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42864         * sysdeps/unix/bsd/times.c: Likewise.
42865         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42866         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42870         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42871         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42872         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42873         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42874         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42875         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42876         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42877         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42878         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42879         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42880         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42881         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42882         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42883         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42884         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42885         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42886         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42887         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42888         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42889         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42890         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42891         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42892         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42893         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42894         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42895         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42896         * sysdeps/x86_64/strcspn.S: Likewise.
42898 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42900         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42901         generated file.  Regenerate properly from gen-translit.pl.
42902         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42903         locale/C-translit.h.
42905 2013-06-05  Andreas Schwab  <schwab@suse.de>
42907         [BZ #15100]
42908         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42909         week as 6 instead of -1.
42910         * time/tst-strptime.c (day_tests): Add test case.
42912 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42914         * sysdeps/generic/math_private.h
42915         (libc_feholdexcept_setround_53bit): Replace with
42916         libc_feholdsetround_53bit.
42917         (libc_feupdateenv_53bit): Replace with
42918         libc_feresetround_53bit.
42919         (SET_RESTORE_ROUND_53BIT): Adjust.
42921 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42923         * string/test-strchrnul.c: Add copyright header.
42925         * posix/tst-getaddrinfo4.c: Increase test timeout.
42927 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42929         [BZ #15536]
42930         * math/libm-test.inc (MAX_EXP): Remove
42931         (MIN_EXP): Define.
42932         (ulp): Use MIN_EXP - MANT_DIG.
42933         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42935 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42937         * po/be.po: Revert last change.
42938         * po/zh_CN.po: Likewise.
42939         * po/header.pot: Likewise.
42941 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42943         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42944         link-libc-deps to empty as target-specific variable.
42945         * Makerules (link-libc-args): New variable.
42946         (libc-for-link): Likewise.
42947         (link-libc-deps): Likewise.
42948         (lib%.so): Depend on $(link-libc-deps).  Link with
42949         $(link-libc-args).
42950         (build-module): Link with $(link-libc-args).
42951         (build-module-asneeded): Likewise.
42952         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42953         list of objects.
42954         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42955         target-specific variable.
42956         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42957         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42958         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42959         libc.
42960         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42961         libc and ld.so.
42962         ($(objpfx)libpcprofile.so): Likewise.
42963         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42964         libc_nonshared.a.
42965         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42966         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42967         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42968         $(link-libc-deps).
42969         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42970         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42971         * login/Makefile ($(objpfx)libutil.so): Likewise.
42972         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42973         * math/Makefile ($(objpfx)libm.so): Likewise.
42974         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42975         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42976         variable instead of depending directly on libc.
42977         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42978         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42979         $(link-libc-deps).
42980         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42981         libc.
42982         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42983         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42984         ($(objpfx)libanl.so): Likewise.
42985         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42986         ld.so.
42987         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42988         $(link-libc-deps).
42989         * sysdeps/i386/fpu/Makefile: Remove file.
42990         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42991         ($(objpfx)libm.so): Remove dependency on ld.so.
42993 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42995         [BZ # 15553]
42996         * nis/yp_xdr.c (XDRMAXNAME): Define.
42997         (XDRMAXRECORD): Define.
42998         (xdr_domainname): Use XDRMAXNAME.
42999         (xdr_mapname): Likewise.
43000         (xdr_peername): Likewise.
43001         (xdr_keydat): Use XDRMAXRECORD.
43002         (xdr_valdat): Likewise.
43004 2013-05-30  Jeff Law  <law@redhat.com>
43006         [BZ #14256]
43007         * manual/errno.texi (ESTALE): Update to account for more than
43008         just NFS file systems.
43009         * sysdeps/gnu/errlist.c: Regenerated.
43011 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43013         [BZ #15465]
43014         * elf/Makefile (tests): Add tst-null-argv.
43015         (modules-names):  Add tst-null-argv-lib.
43016         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43017         (tst-null-argv-ENV): Set environment for tst-null-argv.
43018         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43019         (RTLD_PROGNAME): New macro.
43020         * elf/tst-null-argv.c: New test case.
43021         * elf/tst-null-argv-lib.c: Library for test case.
43022         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43023         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43024         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43025         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43026         * elf/dl-init.c (call_init): Likewise.
43027         (_dl_init): Likewise.
43028         * elf/dl-load.c (print_search_path): Likewise.
43029         (_dl_map_object): Likewise.
43030         * elf/dl-lookup.c (do_lookup_x): Likewise.
43031         (add_dependency): Likewise.
43032         (_dl_lookup_symbol_x): Likewise.
43033         (_dl_debug_bindings): Likewise.
43034         * elf/dl-open.c (_dl_show_scope): Likewise.
43035         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43036         * elf/dl-version.c (match_symbol): Likewise.
43037         (_dl_check_map_versions): Likewise.
43038         * elf/rtld.c (dl_main): Likewise.
43039         (print_unresolved): Use RTLD_PROGNAME.
43040         (print_missing_version): Likewise.
43041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43042         (elf_machine_rela): Likewise.
43043         * sysdeps/powerpc/powerpc32/dl-machine.c
43044         (__process_machine_rela): Likewise.
43045         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43046         Likewise.
43047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43048         Likewise.
43049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43050         Likewise.
43051         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43053         Likewise.
43054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43055         Likewise.
43056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43058 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43060         * po/be.po: Add descriptive title.
43061         * po/zh_CN.po: Likewise.
43062         * po/header.pot: Likewise.
43064 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43066         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43067         error message.
43068         (enlarge_archive): Likewise.
43070 2013-05-28  Ben North  <ben@redfrontdoor.org>
43072         * manual/arith.texi (frexp): It is the magnitude of the return
43073         value which lies in [0.5, 1), not the return value itself.
43075 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43079 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43081         * stdio-common/bug26.c (main): Correct fscanf template.
43083         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43084         declare _dl_skip_args.
43086         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43087         Don't declare.
43089         * manual/platform.texi: Add missing @end deftypefun.
43091 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43093         [BZ #15529]
43094         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43095         bit of mantissa of 2^16382.
43096         * math/libm-test.inc (hypot_test_data): Add more tests.
43098         * math/libm-test.inc: Add drem and pow10 to list of tested
43099         functions.
43100         (pow10_test): New function.
43101         (drem_test): Likewise.
43102         (drem_test_tonearest): Likewise.
43103         (drem_test_towardzero): Likewise.
43104         (drem_test_downward): Likewise.
43105         (drem_test_upward): Likewise.
43106         (main): Call the new functions.
43108         * math/libm-test.inc (finite_test_data): Remove.
43109         (finite_test): Run tests from isfinite_test_data.
43110         (gamma_test_data): Remove.
43111         (gamma_test): Run tests from lgamma_test_data.
43112         * sysdeps/i386/fpu/libm-test-ulps: Update.
43113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43115 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43117         * manual/platform.texi: Add PowerPC PPR function set documentation.
43118         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43119         implementation.
43121 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43123         * math/libm-test.inc (MAX_EXP): Define.
43124         (ULPDIFF): Define.
43125         (ulp): New function.
43126         (check_float_internal): Use ULPDIFF.
43127         (cpow_test): Disable failing test.
43128         (check_ulp): Test ulp() implemetnation.
43129         (main): Call check_ulp before starting tests.
43131 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43133         * math/gen-libm-test.pl (generate_testfile): Do not handle
43134         START_DATA and END_DATA.
43135         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43136         END_DATA.
43137         (acos_tonearest_test_data): Likewise.
43138         (acos_towardzero_test_data): Likewise.
43139         (acos_downward_test_data): Likewise.
43140         (acos_upward_test_data): Likewise.
43141         (acosh_test_data): Likewise.
43142         (asin_test_data): Likewise.
43143         (asin_tonearest_test_data): Likewise.
43144         (asin_towardzero_test_data): Likewise.
43145         (asin_downward_test_data): Likewise.
43146         (asin_upward_test_data): Likewise.
43147         (asinh_test_data): Likewise.
43148         (atan_test_data): Likewise.
43149         (atanh_test_data): Likewise.
43150         (atan2_test_data): Likewise.
43151         (cabs_test_data): Likewise.
43152         (cacos_test_data): Likewise.
43153         (cacosh_test_data): Likewise.
43154         (carg_test_data): Likewise.
43155         (casin_test_data): Likewise.
43156         (casinh_test_data): Likewise.
43157         (catan_test_data): Likewise.
43158         (catanh_test_data): Likewise.
43159         (cbrt_test_data): Likewise.
43160         (ccos_test_data): Likewise.
43161         (ccosh_test_data): Likewise.
43162         (ceil_test_data): Likewise.
43163         (cexp_test_data): Likewise.
43164         (cimag_test_data): Likewise.
43165         (clog_test_data): Likewise.
43166         (clog10_test_data): Likewise.
43167         (conj_test_data): Likewise.
43168         (copysign_test_data): Likewise.
43169         (cos_test_data): Likewise.
43170         (cos_tonearest_test_data): Likewise.
43171         (cos_towardzero_test_data): Likewise.
43172         (cos_downward_test_data): Likewise.
43173         (cos_upward_test_data): Likewise.
43174         (cosh_test_data): Likewise.
43175         (cosh_tonearest_test_data): Likewise.
43176         (cosh_towardzero_test_data): Likewise.
43177         (cosh_downward_test_data): Likewise.
43178         (cosh_upward_test_data): Likewise.
43179         (cpow_test_data): Likewise.
43180         (cproj_test_data): Likewise.
43181         (creal_test_data): Likewise.
43182         (csin_test_data): Likewise.
43183         (csinh_test_data): Likewise.
43184         (csqrt_test_data): Likewise.
43185         (ctan_test_data): Likewise.
43186         (ctan_tonearest_test_data): Likewise.
43187         (ctan_towardzero_test_data): Likewise.
43188         (ctan_downward_test_data): Likewise.
43189         (ctan_upward_test_data): Likewise.
43190         (ctanh_test_data): Likewise.
43191         (ctanh_tonearest_test_data): Likewise.
43192         (ctanh_towardzero_test_data): Likewise.
43193         (ctanh_downward_test_data): Likewise.
43194         (ctanh_upward_test_data): Likewise.
43195         (erf_test_data): Likewise.
43196         (erfc_test_data): Likewise.
43197         (exp_test_data): Likewise.
43198         (exp_tonearest_test_data): Likewise.
43199         (exp_towardzero_test_data): Likewise.
43200         (exp_downward_test_data): Likewise.
43201         (exp_upward_test_data): Likewise.
43202         (exp10_test_data): Likewise.
43203         (exp2_test_data): Likewise.
43204         (expm1_test_data): Likewise.
43205         (fabs_test_data): Likewise.
43206         (fdim_test_data): Likewise.
43207         (finite_test_data): Likewise.
43208         (floor_test_data): Likewise.
43209         (fma_test_data): Likewise.
43210         (fma_towardzero_test_data): Likewise.
43211         (fma_downward_test_data): Likewise.
43212         (fma_upward_test_data): Likewise.
43213         (fmax_test_data): Likewise.
43214         (fmin_test_data): Likewise.
43215         (fmod_test_data): Likewise.
43216         (fpclassify_test_data): Likewise.
43217         (frexp_test_data): Likewise.
43218         (gamma_test_data): Likewise.
43219         (hypot_test_data): Likewise.
43220         (ilogb_test_data): Likewise.
43221         (isfinite_test_data): Likewise.
43222         (isgreater_test_data): Likewise.
43223         (isgreaterequal_test_data): Likewise.
43224         (isinf_test_data): Likewise.
43225         (isless_test_data): Likewise.
43226         (islessequal_test_data): Likewise.
43227         (islessgreater_test_data): Likewise.
43228         (isnan_test_data): Likewise.
43229         (isnormal_test_data): Likewise.
43230         (issignaling_test_data): Likewise.
43231         (isunordered_test_data): Likewise.
43232         (j0_test_data): Likewise.
43233         (j1_test_data): Likewise.
43234         (jn_test_data): Likewise.
43235         (ldexp_test_data): Likewise.
43236         (lgamma_test_data): Likewise.
43237         (lrint_test_data): Likewise.
43238         (lrint_tonearest_test_data): Likewise.
43239         (lrint_towardzero_test_data): Likewise.
43240         (lrint_downward_test_data): Likewise.
43241         (lrint_upward_test_data): Likewise.
43242         (llrint_test_data): Likewise.
43243         (llrint_tonearest_test_data): Likewise.
43244         (llrint_towardzero_test_data): Likewise.
43245         (llrint_downward_test_data): Likewise.
43246         (llrint_upward_test_data): Likewise.
43247         (log_test_data): Likewise.
43248         (log10_test_data): Likewise.
43249         (log1p_test_data): Likewise.
43250         (log2_test_data): Likewise.
43251         (logb_test_data): Likewise.
43252         (logb_downward_test_data): Likewise.
43253         (lround_test_data): Likewise.
43254         (llround_test_data): Likewise.
43255         (modf_test_data): Likewise.
43256         (nearbyint_test_data): Likewise.
43257         (nextafter_test_data): Likewise.
43258         (nexttoward_test_data): Likewise.
43259         (pow_test_data): Likewise.
43260         (pow_tonearest_test_data): Likewise.
43261         (pow_towardzero_test_data): Likewise.
43262         (pow_downward_test_data): Likewise.
43263         (pow_upward_test_data): Likewise.
43264         (remainder_test_data): Likewise.
43265         (remainder_tonearest_test_data): Likewise.
43266         (remainder_towardzero_test_data): Likewise.
43267         (remainder_downward_test_data): Likewise.
43268         (remainder_upward_test_data): Likewise.
43269         (remquo_test_data): Likewise.
43270         (rint_test_data): Likewise.
43271         (rint_tonearest_test_data): Likewise.
43272         (rint_towardzero_test_data): Likewise.
43273         (rint_downward_test_data): Likewise.
43274         (rint_upward_test_data): Likewise.
43275         (round_test_data): Likewise.
43276         (scalb_test_data): Likewise.
43277         (scalbn_test_data): Likewise.
43278         (scalbln_test_data): Likewise.
43279         (signbit_test_data): Likewise.
43280         (sin_test_data): Likewise.
43281         (sin_tonearest_test_data): Likewise.
43282         (sin_towardzero_test_data): Likewise.
43283         (sin_downward_test_data): Likewise.
43284         (sin_upward_test_data): Likewise.
43285         (sincos_test_data): Likewise.
43286         (sinh_test_data): Likewise.
43287         (sinh_tonearest_test_data): Likewise.
43288         (sinh_towardzero_test_data): Likewise.
43289         (sinh_downward_test_data): Likewise.
43290         (sinh_upward_test_data): Likewise.
43291         (sqrt_test_data): Likewise.
43292         (tan_test_data): Likewise.
43293         (tan_tonearest_test_data): Likewise.
43294         (tan_towardzero_test_data): Likewise.
43295         (tan_downward_test_data): Likewise.
43296         (tan_upward_test_data): Likewise.
43297         (tanh_test_data): Likewise.
43298         (tgamma_test_data): Likewise.
43299         (trunc_test_data): Likewise.
43300         (y0_test_data): Likewise.
43301         (y1_test_data): Likewise.
43302         (yn_test_data): Likewise.
43303         (significand_test_data): Likewise.
43305         * math/gen-libm-test.pl (@functions): Remove variable.
43306         (generate_testfile): Don't handle START and END lines.
43307         * math/libm-test.inc (START): New macro.
43308         (END): Likewise.
43309         (END_COMPLEX): Likewise.
43310         (acos_test): Use END macro without arguments.
43311         (acos_test_tonearest): Likewise.
43312         (acos_test_towardzero): Likewise.
43313         (acos_test_downward): Likewise.
43314         (acos_test_upward): Likewise.
43315         (acosh_test): Likewise.
43316         (asin_test): Likewise.
43317         (asin_test_tonearest): Likewise.
43318         (asin_test_towardzero): Likewise.
43319         (asin_test_downward): Likewise.
43320         (asin_test_upward): Likewise.
43321         (asinh_test): Likewise.
43322         (atan_test): Likewise.
43323         (atanh_test): Likewise.
43324         (atan2_test): Likewise.
43325         (cabs_test): Likewise.
43326         (cacos_test): Use END_COMPLEX macro without arguments.
43327         (cacosh_test): Likewise.
43328         (carg_test): Use END macro without arguments.
43329         (casin_test): Use END_COMPLEX macro without arguments.
43330         (casinh_test): Likewise.
43331         (catan_test): Likewise.
43332         (catanh_test): Likewise.
43333         (cbrt_test): Use END macro without arguments.
43334         (ccos_test): Use END_COMPLEX macro without arguments.
43335         (ccosh_test): Likewise.
43336         (ceil_test): Use END macro without arguments.
43337         (cexp_test): Use END_COMPLEX macro without arguments.
43338         (cimag_test): Use END macro without arguments.
43339         (clog_test): Use END_COMPLEX macro without arguments.
43340         (clog10_test): Likewise.
43341         (conj_test): Likewise.
43342         (copysign_test): Use END macro without arguments.
43343         (cos_test): Likewise.
43344         (cos_test_tonearest): Likewise.
43345         (cos_test_towardzero): Likewise.
43346         (cos_test_downward): Likewise.
43347         (cos_test_upward): Likewise.
43348         (cosh_test): Likewise.
43349         (cosh_test_tonearest): Likewise.
43350         (cosh_test_towardzero): Likewise.
43351         (cosh_test_downward): Likewise.
43352         (cosh_test_upward): Likewise.
43353         (cpow_test): Use END_COMPLEX macro without arguments.
43354         (cproj_test): Likewise.
43355         (creal_test): Use END macro without arguments.
43356         (csin_test): Use END_COMPLEX macro without arguments.
43357         (csinh_test): Likewise.
43358         (csqrt_test): Likewise.
43359         (ctan_test): Likewise.
43360         (ctan_test_tonearest): Likewise.
43361         (ctan_test_towardzero): Likewise.
43362         (ctan_test_downward): Likewise.
43363         (ctan_test_upward): Likewise.
43364         (ctanh_test): Likewise.
43365         (ctanh_test_tonearest): Likewise.
43366         (ctanh_test_towardzero): Likewise.
43367         (ctanh_test_downward): Likewise.
43368         (ctanh_test_upward): Likewise.
43369         (erf_test): Use END macro without arguments.
43370         (erfc_test): Likewise.
43371         (exp_test): Likewise.
43372         (exp_test_tonearest): Likewise.
43373         (exp_test_towardzero): Likewise.
43374         (exp_test_downward): Likewise.
43375         (exp_test_upward): Likewise.
43376         (exp10_test): Likewise.
43377         (exp2_test): Likewise.
43378         (expm1_test): Likewise.
43379         (fabs_test): Likewise.
43380         (fdim_test): Likewise.
43381         (finite_test): Likewise.
43382         (floor_test): Likewise.
43383         (fma_test): Likewise.
43384         (fma_test_towardzero): Likewise.
43385         (fma_test_downward): Likewise.
43386         (fma_test_upward): Likewise.
43387         (fmax_test): Likewise.
43388         (fmin_test): Likewise.
43389         (fmod_test): Likewise.
43390         (fpclassify_test): Likewise.
43391         (frexp_test): Likewise.
43392         (gamma_test): Likewise.
43393         (hypot_test): Likewise.
43394         (ilogb_test): Likewise.
43395         (isfinite_test): Likewise.
43396         (isgreater_test): Likewise.
43397         (isgreaterequal_test): Likewise.
43398         (isinf_test): Likewise.
43399         (isless_test): Likewise.
43400         (islessequal_test): Likewise.
43401         (islessgreater_test): Likewise.
43402         (isnan_test): Likewise.
43403         (isnormal_test): Likewise.
43404         (issignaling_test): Likewise.
43405         (isunordered_test): Likewise.
43406         (j0_test): Likewise.
43407         (j1_test): Likewise.
43408         (jn_test): Likewise.
43409         (ldexp_test): Likewise.
43410         (lgamma_test): Likewise.
43411         (lrint_test): Likewise.
43412         (lrint_test_tonearest): Likewise.
43413         (lrint_test_towardzero): Likewise.
43414         (lrint_test_downward): Likewise.
43415         (lrint_test_upward): Likewise.
43416         (llrint_test): Likewise.
43417         (llrint_test_tonearest): Likewise.
43418         (llrint_test_towardzero): Likewise.
43419         (llrint_test_downward): Likewise.
43420         (llrint_test_upward): Likewise.
43421         (log_test): Likewise.
43422         (log10_test): Likewise.
43423         (log1p_test): Likewise.
43424         (log2_test): Likewise.
43425         (logb_test): Likewise.
43426         (logb_test_downward): Likewise.
43427         (lround_test): Likewise.
43428         (llround_test): Likewise.
43429         (modf_test): Likewise.
43430         (nearbyint_test): Likewise.
43431         (nextafter_test): Likewise.
43432         (nexttoward_test): Likewise.
43433         (pow_test): Likewise.
43434         (pow_test_tonearest): Likewise.
43435         (pow_test_towardzero): Likewise.
43436         (pow_test_downward): Likewise.
43437         (pow_test_upward): Likewise.
43438         (remainder_test): Likewise.
43439         (remainder_test_tonearest): Likewise.
43440         (remainder_test_towardzero): Likewise.
43441         (remainder_test_downward): Likewise.
43442         (remainder_test_upward): Likewise.
43443         (remquo_test): Likewise.
43444         (rint_test): Likewise.
43445         (rint_test_tonearest): Likewise.
43446         (rint_test_towardzero): Likewise.
43447         (rint_test_downward): Likewise.
43448         (rint_test_upward): Likewise.
43449         (round_test): Likewise.
43450         (scalb_test): Likewise.
43451         (scalbn_test): Likewise.
43452         (scalbln_test): Likewise.
43453         (signbit_test): Likewise.
43454         (sin_test): Likewise.
43455         (sin_test_tonearest): Likewise.
43456         (sin_test_towardzero): Likewise.
43457         (sin_test_downward): Likewise.
43458         (sin_test_upward): Likewise.
43459         (sincos_test): Likewise.
43460         (sinh_test): Likewise.
43461         (sinh_test_tonearest): Likewise.
43462         (sinh_test_towardzero): Likewise.
43463         (sinh_test_downward): Likewise.
43464         (sinh_test_upward): Likewise.
43465         (sqrt_test): Likewise.
43466         (tan_test): Likewise.
43467         (tan_test_tonearest): Likewise.
43468         (tan_test_towardzero): Likewise.
43469         (tan_test_downward): Likewise.
43470         (tan_test_upward): Likewise.
43471         (tanh_test): Likewise.
43472         (tgamma_test): Likewise.
43473         (trunc_test): Likewise.
43474         (y0_test): Likewise.
43475         (y1_test): Likewise.
43476         (yn_test): Likewise.
43477         (significand_test): Likewise.
43479 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43481         [BZ #15381]
43482         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43484 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43486         [BZ #14894]
43487         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43488         __ppc_mdoio and __ppc_mdoom.
43489         * manual/platform.texi: Document new functions __ppc_yield,
43490         __ppc_mdoio and __ppc_mdoom.
43492 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43494         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43495         (main): Mention "tls" pseudo-hwcap is legacy.
43496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43498 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43500         * math/gen-libm-test.pl (parse_args): Output only string of
43501         arguments as text for test name, not full call or descriptions of
43502         tests for extra outputs.
43503         (generate_testfile): Do not pass function name to parse_args.
43504         Generate this_func variable from START.
43505         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43506         field to arg_str.
43507         (struct test_ff_f_data): Likewise.
43508         (test_ff_f_data_nexttoward): Likewise.
43509         (struct test_fi_f_data): Likewise.
43510         (struct test_fl_f_data): Likewise.
43511         (struct test_if_f_data): Likewise.
43512         (struct test_fff_f_data): Likewise.
43513         (struct test_c_f_data): Likewise.
43514         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43515         (struct test_fF_f1_data): Likewise.
43516         (struct test_ffI_f1_data): Likewise.
43517         (struct test_c_c_data): Rename test_name field to arg_str.
43518         (struct test_cc_c_data): Likewise.
43519         (struct test_f_i_data): Likewise.
43520         (struct test_ff_i_data): Likewise.
43521         (struct test_f_l_data): Likewise.
43522         (struct test_f_L_data): Likewise.
43523         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43524         and extra2_name.
43525         (COMMON_TEST_SETUP): New macro.
43526         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43527         (COMMON_TEST_CLEANUP): Likewise.
43528         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43529         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43530         macros.
43531         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43532         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43533         macros.
43534         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43535         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43536         cleanup macros.
43537         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43538         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43539         macros.
43540         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43541         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43542         macros.
43543         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43544         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43545         cleanup macros.
43546         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43547         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43548         cleanup macros.
43549         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43550         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43551         cleanup macros.
43552         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43553         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43554         macros.
43555         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43556         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43557         macros.
43558         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43559         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43560         macros.
43561         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43562         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43563         cleanup macros.
43564         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43565         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43566         cleanup macros.
43567         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43568         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43569         macros.
43570         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43571         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43572         cleanup macros.
43573         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43574         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43575         macros.
43576         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43577         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43578         macros.
43579         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43580         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43581         cleanup macros.
43582         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43584 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43586         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43587         to _sifields.sigfault.
43588         (si_addr_lsb): Define new macro.
43589         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43591         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43593 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43595         [BZ #15441]
43596         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43597         returns -1.
43598         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43599         null return -1.
43600         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43601         loading the domain.
43603 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43605         * math/gen-libm-test.pl (parse_args): Do not include expected
43606         result in test name.
43607         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43608         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43609         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43610         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43611         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43614 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43616         * benchtests/Makefile: Sort function entries.
43618         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43619         tanh, asinh, acosh, atanh.
43620         * benchtests/acos-inputs: New file.
43621         * benchtests/acosh-inputs: New file.
43622         * benchtests/asin-inputs: New file.
43623         * benchtests/asinh-inputs: New file.
43624         * benchtests/atanh-inputs: New file.
43625         * benchtests/cosh-inputs: New file.
43626         * benchtests/log-inputs: New file.
43627         * benchtests/sinh-inputs: New file.
43628         * benchtests/tanh-inputs: New file.
43630 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43632         [BZ #15339]
43633         * posix/tst-getaddrinfo4.c: New test.
43634         * posix/Makefile (tests): Add it.
43636 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43638         [BZ #15339]
43639         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43640         when no services were used.
43641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43642         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43644 2013-05-21  Andreas Schwab  <schwab@suse.de>
43646         [BZ #15014]
43647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43648         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43649         successful.
43650         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43651         redundant variable declarations and reallocation of buffer when
43652         parsing as IPv6 address.  Always set NSS status when called from
43653         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43654         buffer too small.  Correct computation of needed size.
43655         * nss/Makefile (tests): Add test-digits-dots.
43656         * nss/test-digits-dots.c: New test.
43658 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43660         * benchtests/Makefile: Remove instructions for adding
43661         benchmark tests.
43662         * benchtests/README: New file to explain how to execute and
43663         enhance the benchmark tests.
43665 2013-05-21  Andreas Schwab  <schwab@suse.de>
43667         [BZ #15493]
43668         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43669         * setjmp/tst-sigsetjmp.c: New test.
43671 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43673         * sysdeps/x86_64/memset.S (memset): New implementation.
43674         (__bzero): Likewise.
43675         (__memset_tail): New function.
43677 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43680         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43681         __memcpy_sse2_unaligned ifunc selection.
43682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43683         Add memcpy-sse2-unaligned.S.
43684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43685         Add: __memcpy_sse2_unaligned.
43687 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43689         [BZ #15490]
43690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43691         math_force_eval before restoring floating-point envrionment.
43692         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43694         Likewise.
43695         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43696         <math_private.h>.
43697         (__nearbyintl): Use math_force_eval before restoring
43698         floating-point environment.
43699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43701         * math/gen-libm-test.pl (special_functions): Remove.
43702         (parse_args): Don't handle TEST_extra.  Handle functions with no
43703         return value.
43704         * math/libm-test.inc (struct test_sincos_data): Replace with
43705         struct test_fFF_11_data.
43706         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43707         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43708         (sincos_test_data): Change element type to struct
43709         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43710         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43711         RUN_TEST_LOOP_sincos.
43712         * math/README.libm-test: Don't mention special handling of
43713         individual functions.
43714         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43716         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43717         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43718         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43721         * math/gen-libm-test.pl (get_variable): Remove function.
43722         (parse_args): Don't show pointer parameters to call in test
43723         names.  Use "extra output N" in test names for extra outputs
43724         rather than naming variables.
43726 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43728         [BZ #15488]
43729         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43730         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43731         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43732         double tests.
43733         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43734         disable.
43735         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43736         check_long_double.
43738         * math/gen-libm-test.pl (@tests): Remove variable.
43739         ($count): Likewise.
43740         (new_test): Remove function.
43741         (show_exceptions): New function.
43742         (special_functions): Use show_exceptions instead of new_test.
43743         (parse_args): Likewise.
43744         (generate_testfile): Pass only function name in generated call to
43745         print_max_error or print_complex_max_error.
43746         (get_ulps): Do not handle complex tests specially.
43747         (output_test): Rename to ...
43748         (get_all_ulps_for_test): ... this.  Return a string rather than
43749         printing to a file.  Require ulps to be present.
43750         (output_ulps): Generate arrays rather than #defines.
43751         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43752         (struct ulp_data): New type.
43753         (BUILD_COMPLEX_ULP): Remove macro.
43754         (compare_ulp_data): New function.
43755         (find_ulps): Likewise.
43756         (find_test_ulps): Likewise.
43757         (find_function_ulps): Likewise.
43758         (find_complex_function_ulps): Likewise.
43759         (print_max_error): Determine allowed ulps using
43760         find_function_ulps.
43761         (print_complex_max_error): Determine allowed ulps using
43762         find_complex_function_ulps.
43763         (check_float_internal): Determine max ulps using find_test_ulps.
43764         (check_float): Do not take max_ulp parameter.  Update call to
43765         check_float_internal.
43766         (check_complex): Likewise.
43767         (check_int): Do not take max_ulp parameter.
43768         (check_long): Likewise.
43769         (check_bool): Likewise.
43770         (check_longlong): Likewise.
43771         (struct test_f_f_data): Remove max_ulp field.
43772         (struct test_ff_f_data): Likewise.
43773         (struct test_ff_f_data_nexttoward): Likewise.
43774         (struct test_fi_f_data): Likewise.
43775         (struct test_fl_f_data): Likewise.
43776         (struct test_if_f_data): Likewise.
43777         (struct test_fff_f_data): Likewise.
43778         (struct test_c_f_data): Likewise.
43779         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43780         (struct test_fF_f1_data): Likewise.
43781         (struct test_ffI_f1_data): Likewise.
43782         (struct test_c_c_data): Remove max_ulp field.
43783         (struct test_cc_c_data): Likewise.
43784         (struct test_f_i_data): Likewise.
43785         (struct test_ff_i_data): Likewise.
43786         (struct test_f_l_data): Likewise.
43787         (struct test_f_L_data): Likewise.
43788         (struct test_sincos_data): Likewise.
43789         (RUN_TEST_f_f): Do not handle ulps.
43790         (RUN_TEST_LOOP_f_f): Likewise.
43791         (RUN_TEST_2_f): Likewise.
43792         (RUN_TEST_LOOP_2_f): Likewise.
43793         (RUN_TEST_fff_f): Likewise.
43794         (RUN_TEST_LOOP_fff_f): Likewise.
43795         (RUN_TEST_c_f): Likewise.
43796         (RUN_TEST_LOOP_c_f): Likewise.
43797         (RUN_TEST_f_f1): Likewise.
43798         (RUN_TEST_LOOP_f_f1): Likewise.
43799         (RUN_TEST_fF_f1): Likewise.
43800         (RUN_TEST_LOOP_fF_f1): Likewise.
43801         (RUN_TEST_fI_f1): Likewise.
43802         (RUN_TEST_LOOP_fI_f1): Likewise.
43803         (RUN_TEST_ffI_f1): Likewise.
43804         (RUN_TEST_LOOP_ffI_f1): Likewise.
43805         (RUN_TEST_c_c): Likewise.
43806         (RUN_TEST_LOOP_c_c): Likewise.
43807         (RUN_TEST_cc_c): Likewise.
43808         (RUN_TEST_LOOP_cc_c): Likewise.
43809         (RUN_TEST_f_i): Likewise.
43810         (RUN_TEST_LOOP_f_i): Likewise.
43811         (RUN_TEST_f_i_tg): Likewise.
43812         (RUN_TEST_LOOP_f_i_tg): Likewise.
43813         (RUN_TEST_ff_i_tg): Likewise.
43814         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43815         (RUN_TEST_f_b): Likewise.
43816         (RUN_TEST_LOOP_f_b): Likewise.
43817         (RUN_TEST_f_b_tg): Likewise.
43818         (RUN_TEST_LOOP_f_b_tg): Likewise.
43819         (RUN_TEST_f_l): Likewise.
43820         (RUN_TEST_LOOP_f_l): Likewise.
43821         (RUN_TEST_f_L): Likewise.
43822         (RUN_TEST_LOOP_f_L): Likewise.
43823         (RUN_TEST_sincos): Likewise.
43824         (RUN_TEST_LOOP_sincos): Likewise.
43826 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43828         [BZ #15480]
43829         [BZ #15485]
43830         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43831         main case of finite arguments, set rounding mode to FE_TONEAREST
43832         and discard exceptions.
43833         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43834         exceptions.
43835         (remainder_tonearest_test_data): New variable.
43836         (remainder_test_tonearest): New function.
43837         (remainder_towardzero_test_data): New variable.
43838         (remainder_test_towardzero): New function.
43839         (remainder_downward_test_data): New variable.
43840         (remainder_test_downward): New function.
43841         (remainder_upward_test_data): New variable.
43842         (remainder_test_upward): New function.
43843         (main): Call the new test functions.
43845         * math/libm-test.inc (struct test_f_f1_data): Remove field
43846         extra_init.
43847         (struct test_fF_f1_data): Likewise.
43848         (struct test_ffI_f1_data): Likewise.
43849         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43850         based on value of EXTRA_EXPECTED.
43851         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43852         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43853         EXTRA_VAR based on value of EXTRA_EXPECTED.
43854         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43855         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43856         EXTRA_VAR based on value of EXTRA_EXPECTED.
43857         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43858         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43859         EXTRA_VAR based on value of EXTRA_EXPECTED.
43860         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43861         * math/gen-libm-test.pl (parse_args): Don't output initializers
43862         for extra output values.
43864         * math/libm-test.inc (check_int): Expect result to be exactly
43865         equal to expected value and do not handle ulps.
43866         (check_long): Likewise.
43867         (check_longlong): Likewise.
43869         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43870         exceptions.
43871         (cimag_test_data): Likewise.
43872         (conj_test_data): Likewise.
43873         (copysign_test_data): Likewise.
43874         (cproj_test_data): Likewise.
43875         (creal_test_data): Likewise.
43876         (fabs_test_data): Likewise.
43877         (fdim_test_data): Likewise.
43878         (finite_test_data): Likewise.
43879         (floor_test_data): Likewise.
43880         (fmax_test_data): Likewise.
43881         (fmin_test_data): Likewise.
43882         (fmod_test_data): Likewise.
43883         (fpclassify_test_data): Likewise.
43884         (frexp_test_data): Likewise.
43885         (ilogb_test_data): Likewise.
43886         (isfinite_test_data): Likewise.
43887         (isgreater_test_data): Likewise.
43888         (isgreaterequal_test_data): Likewise.
43889         (isinf_test_data): Likewise.
43890         (isless_test_data): Likewise.
43891         (islessequal_test_data): Likewise.
43892         (islessgreater_test_data): Likewise.
43893         (isnan_test_data): Likewise.
43894         (isnormal_test_data): Likewise.
43895         (issignaling_test_data): Likewise.
43896         (isunordered_test_data): Likewise.
43897         (ldexp_test_data): Likewise.
43898         (lrint_test_data): Likewise.
43899         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43900         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43901         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43902         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43903         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43904         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43905         test input.
43906         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43907         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43908         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43909         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43910         that test input.
43911         (lrint_downward_test_data): Test for "inexact" exceptions.
43912         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43913         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43914         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43915         test input.
43916         (lrint_upward_test_data): Test for "inexact" exceptions.
43917         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43918         test input.
43919         (llrint_test_data): Test for "inexact" exceptions.
43920         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43921         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43922         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43923         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43924         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43925         (llrint_downward_test_data): Test for "inexact" exceptions.
43926         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43927         (llrint_upward_test_data): Test for "inexact" exceptions.
43928         (logb_test_data): Likewise.
43929         (logb_downward_test_data): Likewise.
43930         (nextafter_test_data): Likewise.
43931         (nexttoward_test_data): Likewise.
43932         (remainder_test_data): Likewise.
43933         (remquo_test_data): Likewise.
43934         (scalbn_test_data): Likewise.
43935         (scalbln_test_data): Likewise.
43936         (signbit_test_data): Likewise.
43937         (sqrt_test_data): Likewise.
43938         (significand_test_data): Likewise.
43940 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43942         [BZ #15424]
43943         * benchtests/bench-modf.c (struct args): Mark arg0 as
43944         volatile.
43945         * scripts/bench.pl: Mark members of struct args as volatile.
43947 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43949         [BZ # 15497]
43950         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43951         negative infinity on POWER6 or lower.
43952         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43954 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43956         [BZ #15442]
43957         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43958         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43959         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43960         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43961         (_FP_SETQNAN): New macro.
43962         (_FP_SETQNAN_SEMIRAW): Likewise.
43963         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43964         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43965         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43966         (FP_EXTEND): Use _FP_FRAC_SNANP.
43967         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43968         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43969         into account.
43970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43971         New macro.
43972         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43973         Likewise.
43975 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43977         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43978         with DIVIDE_BY_ZERO_EXCEPTION.
43979         (gamma_test_data): Likewise.
43980         (lgamma_test_data): Likewise.
43981         (log_test_data): Likewise.
43982         (log10_test_data): Likewise.
43983         (log2_test_data): Likewise.
43984         (tgamma_test_data): Likewise.
43986         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43987         (acos_test_tonearest): Likewise.
43988         (acos_test_towardzero): Likewise.
43989         (acos_test_downward): Likewise.
43990         (acos_test_upward): Likewise.
43991         (acosh_test): Likewise.
43992         (asin_test): Likewise.
43993         (asin_test_tonearest): Likewise.
43994         (asin_test_towardzero): Likewise.
43995         (asin_test_downward): Likewise.
43996         (asin_test_upward): Likewise.
43997         (asinh_test): Likewise.
43998         (atan_test): Likewise.
43999         (atanh_test): Likewise.
44000         (atan2_test): Likewise.
44001         (cabs_test): Likewise.
44002         (cacos_test): Likewise.
44003         (cacosh_test): Likewise.
44004         (casin_test): Likewise.
44005         (casinh_test): Likewise.
44006         (catan_test): Likewise.
44007         (catanh_test): Likewise.
44008         (cbrt_test): Likewise.
44009         (ccos_test): Likewise.
44010         (ccosh_test): Likewise.
44011         (cexp_test): Likewise.
44012         (clog_test): Likewise.
44013         (clog10_test): Likewise.
44014         (cos_test): Likewise.
44015         (cos_test_tonearest): Likewise.
44016         (cos_test_towardzero): Likewise.
44017         (cos_test_downward): Likewise.
44018         (cos_test_upward): Likewise.
44019         (cosh_test): Likewise.
44020         (cosh_test_tonearest): Likewise.
44021         (cosh_test_towardzero): Likewise.
44022         (cosh_test_downward): Likewise.
44023         (cosh_test_upward): Likewise.
44024         (cpow_test): Likewise.
44025         (csin_test): Likewise.
44026         (csinh_test): Likewise.
44027         (csqrt_test): Likewise.
44028         (ctan_test): Likewise.
44029         (ctan_test_tonearest): Likewise.
44030         (ctan_test_towardzero): Likewise.
44031         (ctan_test_downward): Likewise.
44032         (ctan_test_upward): Likewise.
44033         (ctanh_test): Likewise.
44034         (ctanh_test_tonearest): Likewise.
44035         (ctanh_test_towardzero): Likewise.
44036         (ctanh_test_downward): Likewise.
44037         (ctanh_test_upward): Likewise.
44038         (erf_test): Likewise.
44039         (erfc_test): Likewise.
44040         (exp_test): Likewise.
44041         (exp_test_tonearest): Likewise.
44042         (exp_test_towardzero): Likewise.
44043         (exp_test_downward): Likewise.
44044         (exp_test_upward): Likewise.
44045         (exp10_test): Likewise.
44046         (exp2_test): Likewise.
44047         (expm1_test): Likewise.
44048         (fmod_test): Likewise.
44049         (gamma_test): Likewise.
44050         (hypot_test): Likewise.
44051         (j0_test): Likewise.
44052         (j1_test): Likewise.
44053         (jn_test): Likewise.
44054         (lgamma_test): Likewise.
44055         (log_test): Likewise.
44056         (log10_test): Likewise.
44057         (log1p_test): Likewise.
44058         (log2_test): Likewise.
44059         (logb_test_downward): Likewise.
44060         (pow_test): Likewise.
44061         (pow_test_tonearest): Likewise.
44062         (pow_test_towardzero): Likewise.
44063         (pow_test_downward): Likewise.
44064         (pow_test_upward): Likewise.
44065         (remainder_test): Likewise.
44066         (remquo_test): Likewise.
44067         (sin_test): Likewise.
44068         (sin_test_tonearest): Likewise.
44069         (sin_test_towardzero): Likewise.
44070         (sin_test_downward): Likewise.
44071         (sin_test_upward): Likewise.
44072         (sincos_test): Likewise.
44073         (sinh_test): Likewise.
44074         (sinh_test_tonearest): Likewise.
44075         (sinh_test_towardzero): Likewise.
44076         (sinh_test_downward): Likewise.
44077         (sinh_test_upward): Likewise.
44078         (sqrt_test): Likewise.
44079         (tan_test): Likewise.
44080         (tan_test_tonearest): Likewise.
44081         (tan_test_towardzero): Likewise.
44082         (tan_test_downward): Likewise.
44083         (tan_test_upward): Likewise.
44084         (tanh_test): Likewise.
44085         (tgamma_test): Likewise.
44086         (y0_test): Likewise.
44087         (y1_test): Likewise.
44088         (yn_test): Likewise.
44090         * math/gen-libm-test.pl (adjust_arg): Remove function.
44091         (special_function): Remove argument $in_func.  Only handle
44092         generating output for tables of tests, not inside functions.
44093         (parse_args): Likewise.
44094         (generate_testfile): Remove variable $in_func.  Update call to
44095         parse_args.
44096         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44097         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44098         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44099         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44100         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44101         (MAX_VALUE_INIT): Rename macro to max_value.
44102         (MIN_VALUE_INIT): Rename macro to min_value.
44103         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44104         (plus_zero): Remove variable.
44105         (minus_zero): Likewise.
44106         (plus_infty): Likewise.
44107         (minus_infty): Likewise.
44108         (qnan_value): Likewise.
44109         (max_value): Likewise.
44110         (min_value): Likewise.
44111         (min_subnorm_value): Likewise.
44113 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44115         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44116         uint64_t or uint32_t usage.
44117         * crypt/sha256-block.c: Likewise.
44118         * crypt/sha256-crypt.c: Likewise.
44119         * crypt/sha256.c: Likewise.
44120         * crypt/sha512-block.c: Likewise.
44121         * crypt/sha512-crypt.c: Likewise.
44122         * crypt/sha512.c: Likewise.
44123         * debug/backtrace-tst.c: Likewise.
44124         * debug/pcprofiledump.c: Likewise.
44125         * elf/cache.c: Likewise.
44126         * elf/dl-cache.c: Likewise.
44127         * elf/dl-misc.c: Likewise.
44128         * elf/dl-profile.c: Likewise.
44129         * elf/dl-support.c: Likewise.
44130         * elf/ldconfig.c: Likewise.
44131         * elf/sprof.c: Likewise.
44132         * iconv/dummy-repertoire.c: Likewise.
44133         * iconv/iconv_charmap.c: Likewise.
44134         * iconv/skeleton.c: Likewise.
44135         * iconvdata/8bit-generic.c: Likewise.
44136         * iconvdata/cp737.h: Likewise.
44137         * iconvdata/cp775.h: Likewise.
44138         * iconvdata/ibm1008.h: Likewise.
44139         * iconvdata/ibm1025.h: Likewise.
44140         * iconvdata/ibm1046.h: Likewise.
44141         * iconvdata/ibm1097.h: Likewise.
44142         * iconvdata/ibm1112.h: Likewise.
44143         * iconvdata/ibm1122.h: Likewise.
44144         * iconvdata/ibm1123.h: Likewise.
44145         * iconvdata/ibm1124.h: Likewise.
44146         * iconvdata/ibm1129.h: Likewise.
44147         * iconvdata/ibm1130.h: Likewise.
44148         * iconvdata/ibm1132.h: Likewise.
44149         * iconvdata/ibm1133.h: Likewise.
44150         * iconvdata/ibm1137.h: Likewise.
44151         * iconvdata/ibm1140.h: Likewise.
44152         * iconvdata/ibm1141.h: Likewise.
44153         * iconvdata/ibm1142.h: Likewise.
44154         * iconvdata/ibm1143.h: Likewise.
44155         * iconvdata/ibm1144.h: Likewise.
44156         * iconvdata/ibm1145.h: Likewise.
44157         * iconvdata/ibm1146.h: Likewise.
44158         * iconvdata/ibm1147.h: Likewise.
44159         * iconvdata/ibm1148.h: Likewise.
44160         * iconvdata/ibm1149.h: Likewise.
44161         * iconvdata/ibm1153.h: Likewise.
44162         * iconvdata/ibm1154.h: Likewise.
44163         * iconvdata/ibm1155.h: Likewise.
44164         * iconvdata/ibm1156.h: Likewise.
44165         * iconvdata/ibm1157.h: Likewise.
44166         * iconvdata/ibm1158.h: Likewise.
44167         * iconvdata/ibm1160.h: Likewise.
44168         * iconvdata/ibm1161.h: Likewise.
44169         * iconvdata/ibm1162.h: Likewise.
44170         * iconvdata/ibm1163.h: Likewise.
44171         * iconvdata/ibm1164.h: Likewise.
44172         * iconvdata/ibm1166.h: Likewise.
44173         * iconvdata/ibm1167.h: Likewise.
44174         * iconvdata/ibm12712.h: Likewise.
44175         * iconvdata/ibm1390.h: Likewise.
44176         * iconvdata/ibm1399.h: Likewise.
44177         * iconvdata/ibm16804.h: Likewise.
44178         * iconvdata/ibm4517.h: Likewise.
44179         * iconvdata/ibm4899.h: Likewise.
44180         * iconvdata/ibm4909.h: Likewise.
44181         * iconvdata/ibm4971.h: Likewise.
44182         * iconvdata/ibm5347.h: Likewise.
44183         * iconvdata/ibm803.h: Likewise.
44184         * iconvdata/ibm856.h: Likewise.
44185         * iconvdata/ibm901.h: Likewise.
44186         * iconvdata/ibm902.h: Likewise.
44187         * iconvdata/ibm9030.h: Likewise.
44188         * iconvdata/ibm9066.h: Likewise.
44189         * iconvdata/ibm921.h: Likewise.
44190         * iconvdata/ibm922.h: Likewise.
44191         * iconvdata/ibm9448.h: Likewise.
44192         * iconvdata/isiri-3342.h: Likewise.
44193         * iconvdata/jis0201.h: Likewise.
44194         * include/link.h: Likewise.
44195         * include/netdb.h: Likewise.
44196         * inet/check_native.c: Likewise.
44197         * inet/check_pf.c: Likewise.
44198         * inet/getipv4sourcefilter.c: Likewise.
44199         * inet/getnameinfo.c: Likewise.
44200         * inet/getsourcefilter.c: Likewise.
44201         * inet/htonl.c: Likewise.
44202         * inet/setipv4sourcefilter.c: Likewise.
44203         * inet/setsourcefilter.c: Likewise.
44204         * inet/test-inet6_opt.c: Likewise.
44205         * inet/tst-network.c: Likewise.
44206         * locale/C-collate.c: Likewise.
44207         * locale/C-ctype.c: Likewise.
44208         * locale/C-time.c: Likewise.
44209         * locale/C-translit.h: Likewise.
44210         * locale/loadarchive.c: Likewise.
44211         * locale/programs/3level.h: Likewise.
44212         * locale/programs/charmap.c: Likewise.
44213         * locale/programs/charmap.h: Likewise.
44214         * locale/programs/ld-address.c: Likewise.
44215         * locale/programs/ld-collate.c: Likewise.
44216         * locale/programs/ld-ctype.c: Likewise.
44217         * locale/programs/ld-identification.c: Likewise.
44218         * locale/programs/ld-measurement.c: Likewise.
44219         * locale/programs/ld-messages.c: Likewise.
44220         * locale/programs/ld-monetary.c: Likewise.
44221         * locale/programs/ld-name.c: Likewise.
44222         * locale/programs/ld-numeric.c: Likewise.
44223         * locale/programs/ld-paper.c: Likewise.
44224         * locale/programs/ld-telephone.c: Likewise.
44225         * locale/programs/ld-time.c: Likewise.
44226         * locale/programs/linereader.c: Likewise.
44227         * locale/programs/locale.c: Likewise.
44228         * locale/programs/locarchive.c: Likewise.
44229         * locale/programs/locfile.h: Likewise.
44230         * locale/programs/repertoire.c: Likewise.
44231         * locale/programs/simple-hash.c: Likewise.
44232         * locale/programs/simple-hash.h: Likewise.
44233         * malloc/memusage.c: Likewise.
44234         * malloc/memusagestat.c: Likewise.
44235         * nis/nis_defaults.c: Likewise.
44236         * nis/nis_hash.c: Likewise.
44237         * nis/nis_print.c: Likewise.
44238         * nis/nis_xdr.c: Likewise.
44239         * nscd/connections.c: Likewise.
44240         * nscd/hstcache.c: Likewise.
44241         * nscd/nscd_gethst_r.c: Likewise.
44242         * nscd/nscd_getserv_r.c: Likewise.
44243         * nscd/nscd_helper.c: Likewise.
44244         * nscd/servicescache.c: Likewise.
44245         * nss/makedb.c: Likewise.
44246         * nss/nss_db/db-XXX.c: Likewise.
44247         * nss/nss_db/db-initgroups.c: Likewise.
44248         * nss/nss_db/db-netgrp.c: Likewise.
44249         * nss/nss_files/files-network.c: Likewise.
44250         * nss/nss_files/files-parse.c: Likewise.
44251         * posix/bug-regex5.c: Likewise.
44252         * posix/fnmatch_loop.c: Likewise.
44253         * posix/regcomp.c: Likewise.
44254         * posix/regexec.c: Likewise.
44255         * posix/tst-rfc3484-2.c: Likewise.
44256         * posix/tst-rfc3484-3.c: Likewise.
44257         * posix/tst-rfc3484.c: Likewise.
44258         * resolv/nss_dns/dns-canon.c: Likewise.
44259         * resolv/nss_dns/dns-network.c: Likewise.
44260         * resolv/res_init.c: Likewise.
44261         * resolv/res_mkquery.c: Likewise.
44262         * resolv/tst-aton.c: Likewise.
44263         * stdlib/cxa_atexit.c: Likewise.
44264         * stdlib/cxa_finalize.c: Likewise.
44265         * stdlib/gen-fpioconst.c: Likewise.
44266         * stdlib/strtol_l.c: Likewise.
44267         * string/tst-endian.c: Likewise.
44268         * sunrpc/auth_des.c: Likewise.
44269         * sunrpc/clnt_udp.c: Likewise.
44270         * sunrpc/rtime.c: Likewise.
44271         * sunrpc/svcauth_des.c: Likewise.
44272         * sunrpc/xdr.c: Likewise.
44273         * sunrpc/xdr_intXX_t.c: Likewise.
44274         * sunrpc/xdr_rec.c: Likewise.
44275         * sysdeps/generic/ldconfig.h: Likewise.
44276         * sysdeps/generic/ldsodefs.h: Likewise.
44277         * sysdeps/generic/memusage.h: Likewise.
44278         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44280         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44288         * sysdeps/posix/getaddrinfo.c: Likewise.
44289         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44290         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44291         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44292         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44293         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44294         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44295         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44296         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44297         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44298         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44299         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44300         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44301         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44302         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44303         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44304         * sysdeps/x86_64/dl-tls.h: Likewise.
44305         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44306         * time/alt_digit.c: Likewise.
44307         * time/era.c: Likewise.
44308         * wcsmbs/tst-c16c32-1.c: Likewise.
44310 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44312         * math/libm-test.inc (struct test_sincos_data): New type.
44313         (RUN_TEST_LOOP_sincos): New macro.
44314         (sincos_test_data): New variable.
44315         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44317 2013-05-16  Richard Henderson  <rth@redhat.com>
44319         * math/atest-exp2.c (LIMB64): New macro.
44320         (CONSTSZ): New macro.
44321         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44322         (hexdig): Move ...
44323         (print_mpn_fp): ... to function scope.
44324         (read_mpn_hex): Remove.
44325         (get_log2): Remove.
44326         (exp2_mpn): Use mp_log2.
44327         (main): Use mp_exp1.
44329 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44331         * math/libm-test.inc: Remove comment about not testing "inexact"
44332         exceptions.
44333         (INEXACT_EXCEPTION): New macro.
44334         (NO_INEXACT_EXCEPTION): Likewise.
44335         (INVALID_EXCEPTION_OK): Update value.
44336         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44337         (OVERFLOW_EXCEPTION_OK): Likewise.
44338         (UNDERFLOW_EXCEPTION_OK): Likewise.
44339         (IGNORE_ZERO_INF_SIGN): Likewise.
44340         (ERRNO_UNCHANGED): Likewise.
44341         (ERRNO_EDOM): Likewise.
44342         (ERRNO_ERANGE): Likewise.
44343         (test_exceptions): Handle testing "inexact" exceptions.
44344         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44345         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44346         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44347         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44348         INEXACT_EXCEPTION.
44349         (rint_towardzero_test_data): Likewise.
44350         (rint_downward_test_data): Likewise.
44351         (rint_upward_test_data): Likewise.
44353         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44354         with OVERFLOW_EXCEPTION.
44355         (exp10_test_data): Likewise.
44356         (exp2_test_data): Likewise.
44357         (expm1_test_data): Likewise.
44358         (lgamma_test_data): Likewise.
44359         (pow_test_data): Likewise.
44360         (tgamma_test_data): Likewise.
44361         (yn_test_data): Remove duplicate test of overflow.
44363         * math/libm-test.inc (struct test_cc_c_data): New type.
44364         (RUN_TEST_LOOP_cc_c): New macro.
44365         (cpow_test_data): New variable.
44366         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44368         * math/libm-test.inc (struct test_f_L_data): New type.
44369         (RUN_TEST_LOOP_f_L): New macro.
44370         (llrint_test_data): New variable.
44371         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44372         (llrint_tonearest_test_data): New variable.
44373         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44374         (llrint_towardzero_test_data): New variable.
44375         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44376         (llrint_downward_test_data): New variable.
44377         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44378         (llrint_upward_test_data): New variable.
44379         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44380         (llround_test_data): New variable.
44381         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44383 2013-05-13  Peter Collingbourne  <pcc@google.com>
44385         * math/atest-exp2.c (get_log2): Remove const attribute.
44387 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44389         * math/libm-test.inc (struct test_f_l_data): New type.
44390         (RUN_TEST_LOOP_f_l): New macro.
44391         (lrint_test_data): New variable.
44392         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44393         (lrint_tonearest_test_data): New variable.
44394         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44395         (lrint_towardzero_test_data): New variable.
44396         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44397         (lrint_downward_test_data): New variable.
44398         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44399         (lrint_upward_test_data): New variable.
44400         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44401         (lround_test_data): New variable.
44402         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44404 2013-05-15  Peter Collingbourne  <pcc@google.com>
44406         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44407         (EXTRACT_WORDS64) Use where appropriate.
44408         (INSERT_WORDS64) Likewise.
44410         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44411         constraints with x constraints.
44412         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44414         * malloc/obstack.c (_obstack_compat): Add initializer.
44416 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44419         si_trapno and add si_addr_lsb to _sifields.sigfault.
44420         (si_trapno): Remove macro.
44421         (si_addr_lsb): Define new macro.
44422         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44424 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44426         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44427         instead of TEST_f_l.
44428         (llrint_test_tonearest): Likewise.
44429         (llrint_test_towardzero): Likewise.
44430         (llrint_test_downward): Likewise.
44431         (llrint_test_upward): Likewise.
44432         (llround_test): Likewise.
44434         * math/libm-test.inc (struct test_f_i_data): Add comment.
44435         (RUN_TEST_LOOP_f_b): New macro.
44436         (RUN_TEST_LOOP_f_b_tg): Likewise.
44437         (finite_test_data): New variable.
44438         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44439         (isfinite_test_data): New variable.
44440         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44441         (isinf_test_data): New variable.
44442         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44443         (isnan_test_data): New variable.
44444         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44445         (isnormal_test_data): New variable.
44446         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44447         (issignaling_test_data): New variable.
44448         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44449         (signbit_test_data): New variable.
44450         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44452         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44453         with INVALID_EXCEPTION.
44454         (acosh_test_data): Likewise.
44455         (asin_test_data): Likewise.
44456         (atanh_test_data): Likewise.
44457         (fmod_test_data): Likewise.
44458         (log_test_data): Likewise.
44459         (log10_test_data): Likewise.
44460         (log2_test_data): Likewise.
44461         (pow_test_data): Likewise.
44462         (sqrt_test_data): Likewise.
44463         (y0_test_data): Likewise.
44464         (y1_test_data): Likewise.
44465         (yn_test_data): Likewise.
44467         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44468         function contents.
44470         * math/libm-test.inc (struct test_ff_i_data): New type.
44471         (RUN_TEST_LOOP_ff_i_tg): New macro.
44472         (isgreater_test_data): New variable.
44473         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44474         (isgreaterequal_test_data): New variable.
44475         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44476         (isless_test_data): New variable.
44477         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44478         (islessequal_test_data): New variable.
44479         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44480         (islessgreater_test_data): New variable.
44481         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44482         (isunordered_test_data): New variable.
44483         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44485 2013-05-14  David S. Miller  <davem@davemloft.net>
44487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44489 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44491         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44493         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44494         extra_test to int.
44495         (struct test_f_i_data): Change type of max_ulp to int.
44497         * math/libm-test.inc (test_ffI_f1_data): New type.
44498         (RUN_TEST_LOOP_ffI_f1): New macro.
44499         (remquo_test_data): New variable.
44500         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44502         * setjmp/tst-setjmp-fp.c: New file.
44503         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44504         (link-libm): New variable.
44505         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44507         * math/libm-test.inc (struct test_f_i_data): New type.
44508         (RUN_TEST_LOOP_f_i): New macro.
44509         (RUN_TEST_LOOP_f_i_tg): Likewise.
44510         (fpclassify_test_data): New variable.
44511         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44512         (ilogb_test_data): New variable.
44513         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44515         * math/libm-test.inc (scalbln_test): Correct function name in END
44516         call.
44518         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44519         (RUN_TEST_LOOP_fI_f1): New macro.
44520         (frexp_test_data): New variable.
44521         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44523         * math/libm-test.inc (struct test_fF_f1_data): New type.
44524         (RUN_TEST_LOOP_fF_f1): New macro.
44525         (modf_test_data): New variable.
44526         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44528         * math/libm-test.inc (struct test_f_f1_data): New type.
44529         (RUN_TEST_LOOP_f_f1): New macro.
44530         (gamma_test_data): New variable.
44531         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44532         (lgamma_test_data): New variable.
44533         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44535 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44537         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44538         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44539         (main): Comment "tls" pseudo-hwcap.
44541 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44543         * math/libm-test.inc (struct test_fl_f_data): New type.
44544         (RUN_TEST_LOOP_fl_f): New variable.
44545         (scalbln_test_data): New variable.
44546         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44548         * math/libm-test.inc (struct test_fi_f_data): New type.
44549         (RUN_TEST_LOOP_fi_f): New macro.
44550         (ldexp_test_data): New variable.
44551         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44552         (scalbn_test_data): New variable.
44553         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44555         * math/libm-test.inc (struct test_c_f_data): New type.
44556         (RUN_TEST_LOOP_c_f): New macro.
44557         (cabs_test_data): New variable.
44558         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44559         (carg_test_data): New variable.
44560         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44561         (cimag_test_data): New variable.
44562         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44563         (creal_test_data): New variable.
44564         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44566         * math/libm-test.inc (struct test_if_f_data): New type.
44567         (RUN_TEST_LOOP_if_f): New macro.
44568         (jn_test_data): New variable.
44569         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44570         (yn_test_data): New variable.
44571         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44573         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44575 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44577         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44578         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44580 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44583         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44584         (bench-deps): Add bench-timing.h.
44585         * benchtests-bench-skeleton.c: Include bench-timing.h.
44586         (main): Use TIMING_* macros instead of clock_gettime.
44587         * benchtests/bench-timing.h: New file.
44589         [BZ #14582]
44590         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44591         Renamed from _LIB_VERSION.
44592         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44594 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44596         * math/libm-test.inc (struct test_fff_f_data): New type.
44597         (RUN_TEST_LOOP_fff_f): New macro.
44598         (fma_test_data): New variable.
44599         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44600         (fma_towardzero_test_data): New variable.
44601         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44602         (fma_downward_test_data): New variable.
44603         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44604         (fma_upward_test_data): New variable.
44605         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44607         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44608         (struct test_c_c_data): New type.
44609         (RUN_TEST_LOOP_c_c): New macro.
44610         (cacos_test_data): New variable.
44611         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44612         (cacosh_test_data): New variable.
44613         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44614         (casin_test_data): New variable.
44615         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44616         (casinh_test_data): New variable.
44617         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44618         (catan_test_data): New variable.
44619         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44620         (catanh_test_data): New variable.
44621         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44622         (ccos_test_data): New variable.
44623         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44624         (ccosh_test_data): New variable.
44625         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44626         (cexp_test_data): New variable.
44627         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44628         (clog_test_data): New variable.
44629         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44630         (clog10_test_data): New variable.
44631         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44632         (conj_test_data): New variable.
44633         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44634         (cproj_test_data): New variable.
44635         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44636         (csin_test_data): New variable.
44637         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44638         (csinh_test_data): New variable.
44639         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44640         (csqrt_test_data): New variable.
44641         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44642         (ctan_test_data): New variable.
44643         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44644         (ctan_tonearest_test_data): New variable.
44645         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44646         (ctan_towardzero_test_data): New variable.
44647         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44648         (ctan_downward_test_data): New variable.
44649         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44650         (ctan_upward_test_data): New variable.
44651         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44652         (ctanh_test_data): New variable.
44653         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44654         (ctanh_tonearest_test_data): New variable.
44655         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44656         (ctanh_towardzero_test_data): New variable.
44657         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44658         (ctanh_downward_test_data): New variable.
44659         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44660         (ctanh_upward_test_data): New variable.
44661         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44662         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44663         of BUILD_COMPLEX.
44665         * math/libm-test.inc (struct test_ff_f_data): New type.
44666         (struct test_ff_f_data_nexttoward): Likewise.
44667         (RUN_TEST_LOOP_2_f): New macro.
44668         (RUN_TEST_LOOP_ff_f): Likewise.
44669         (atan2_test_data): New variable.
44670         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44671         (copysign_test_data): New variable.
44672         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44673         (fdim_test_data): New variable.
44674         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44675         (fmax_test_data): New variable.
44676         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44677         (fmin_test_data): New variable.
44678         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44679         (fmod_test_data): New variable.
44680         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44681         (hypot_test_data): New variable.
44682         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44683         (nextafter_test_data): New variable.
44684         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44685         (nexttoward_test_data): New variable.
44686         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44687         (pow_test_data): New variable.
44688         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44689         (pow_tonearest_test_data): New variable.
44690         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44691         (pow_towardzero_test_data): New variable.
44692         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44693         (pow_downward_test_data): New variable.
44694         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44695         (pow_upward_test_data): New variable.
44696         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44697         (remainder_test_data): New variable.
44698         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44699         (scalb_test_data): New variable.
44700         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44701         * sysdeps/i386/fpu/libm-test-ulps: Update.
44703 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44705         * math/libm-test.inc (fma_test): Use max_value instead of local
44706         variable fltmax.
44707         (nextafter_test): Likewise.
44709         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44710         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44711         (acos_downward_test_data): New variable.
44712         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44713         (acos_upward_test_data): New variable.
44714         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44715         (acosh_test_data): New variable.
44716         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44717         (asin_test_data): New variable.
44718         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44719         (asin_tonearest_test_data): New variable.
44720         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44721         (asin_towardzero_test_data): New variable.
44722         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44723         (asin_downward_test_data): New variable.
44724         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44725         (asin_upward_test_data): New variable.
44726         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44727         (asinh_test_data): New variable.
44728         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44729         (atan_test_data): New variable.
44730         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44731         (atanh_test_data): New variable.
44732         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44733         (cbrt_test_data): New variable.
44734         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44735         (ceil_test_data): New variable.
44736         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44737         (cos_test_data): New variable.
44738         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44739         (cos_tonearest_test_data): New variable.
44740         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44741         (cos_towardzero_test_data): New variable.
44742         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44743         (cos_downward_test_data): New variable.
44744         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44745         (cos_upward_test_data): New variable.
44746         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44747         (cosh_test_data): New variable.
44748         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44749         (cosh_tonearest_test_data): New variable.
44750         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44751         (cosh_towardzero_test_data): New variable.
44752         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44753         (cosh_downward_test_data): New variable.
44754         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44755         (cosh_upward_test_data): New variable.
44756         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44757         (erf_test_data): New variable.
44758         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44759         (erfc_test_data): New variable.
44760         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44761         (exp_test_data): New variable.
44762         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44763         (exp_tonearest_test_data): New variable.
44764         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44765         (exp_towardzero_test_data): New variable.
44766         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44767         (exp_downward_test_data): New variable.
44768         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44769         (exp_upward_test_data): New variable.
44770         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44771         (exp10_test_data): New variable.
44772         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44773         (exp2_test_data): New variable.
44774         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44775         (expm1_test_data): New variable.
44776         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44777         (fabs_test_data): New variable.
44778         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44779         (floor_test_data): New variable.
44780         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44781         (j0_test_data): New variable.
44782         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44783         (j1_test_data): New variable.
44784         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44785         (log_test_data): New variable.
44786         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44787         (log10_test_data): New variable.
44788         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44789         (log1p_test_data): New variable.
44790         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44791         (log2_test_data): New variable.
44792         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44793         (logb_test_data): New variable.
44794         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44795         (logb_downward_test_data): New variable.
44796         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44797         (nearbyint_test_data): New variable.
44798         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44799         (rint_test_data): New variable.
44800         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44801         (rint_tonearest_test_data): New variable.
44802         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44803         (rint_towardzero_test_data): New variable.
44804         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44805         (rint_downward_test_data): New variable.
44806         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44807         (rint_upward_test_data): New variable.
44808         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44809         (round_test_data): New variable.
44810         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44811         (sin_test_data): New variable.
44812         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44813         (sin_tonearest_test_data): New variable.
44814         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44815         (sin_towardzero_test_data): New variable.
44816         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44817         (sin_downward_test_data): New variable.
44818         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44819         (sin_upward_test_data): New variable.
44820         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44821         (sinh_test_data): New variable.
44822         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44823         (sinh_tonearest_test_data): New variable.
44824         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44825         (sinh_towardzero_test_data): New variable.
44826         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44827         (sinh_downward_test_data): New variable.
44828         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44829         (sinh_upward_test_data): New variable.
44830         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44831         (sqrt_test_data): New variable.
44832         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44833         (tan_test_data): New variable.
44834         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44835         (tan_tonearest_test_data): New variable.
44836         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44837         (tan_towardzero_test_data): New variable.
44838         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44839         (tan_downward_test_data): New variable.
44840         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44841         (tan_upward_test_data): New variable.
44842         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44843         (tanh_test_data): New variable.
44844         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44845         (tgamma_test_data): New variable.
44846         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44847         (trunc_test_data): New variable.
44848         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44849         (y0_test_data): New variable.
44850         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44851         (y1_test_data): New variable.
44852         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44853         (significand_test_data): New variable.
44854         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44856 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44858         [BZ #12387]
44859         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44861 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44863         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44865 2013-05-10  Andreas Jaeger  <aj@suse.de>
44867         [BZ #15448]
44868         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44869         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44871 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44873         * math/gen-libm-test.pl (adjust_arg): New function.
44874         (special_functions): Handle generating output in both functions
44875         and arrays.
44876         (parse_args): Likewise.
44877         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44878         $in_func argument to parse_args.
44879         * math/libm-test.inc (struct test_f_f_data): New type.
44880         (IF_ROUND_INIT_): New macro.
44881         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44882         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44883         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44884         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44885         (ROUND_RESTORE_): Likewise.
44886         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44887         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44888         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44889         (ROUND_RESTORE_FE_UPWARD): Likewise.
44890         (RUN_TEST_LOOP_f_f): New macro.
44891         (acos_test_data): New variable.
44892         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44893         (acos_tonearest_test_data): New variable.
44894         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44896 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44898         * benchtests/bench-skeleton.c (startup): Fix coding style.
44900 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44902         [BZ #6809]
44903         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44904         negative infinity argument.
44905         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44906         negative infinity argument.
44907         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44908         negative infinity argument.
44909         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44910         domain errors.
44912 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44914         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44915         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44916         * iconv/iconv_prog.c (main): Likewise.
44917         * locale/programs/charmap-dir.c (charmap_readdir)
44918         (fopen_uncompressed): Likewise.
44919         * locale/programs/locfile.c (siblings_uncached)
44920         (write_locale_data): Use lstat64 instead of lstat.
44921         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44922         stat.
44924 2013-05-10  Andreas Jaeger  <aj@suse.de>
44926         [BZ #15395]
44927         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44928         localization.
44929         Include <locale.h>.
44931 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44933         * elf/dl-close.c (_dl_close_worker): Add comments.
44935 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44937         [BZ #15359]
44938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44939         high part of pi/2.
44940         (__ieee754_rem_pio2l): Update comments.
44942         [BZ #15429]
44943         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44944         high part of pi/2.
44945         (__ieee754_rem_pio2l): Update comments.
44947         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44948         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44950         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44951         M_PI_4l.
44953         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44954         (M_PI_34_LOG10El): Likewise.
44955         (M_PI2_LOG10El): Likewise.
44956         (M_PI4_LOG10El): Likewise.
44957         (M_PI_LOG10El): Likewise.
44959 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44963 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44965         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44966         (MINUS_ZERO_INIT): Likewise.
44967         (PLUS_INFTY_INIT): Likewise.
44968         (MINUS_INFTY_INIT): Likewise.
44969         (QNAN_VALUE_INIT): Likewise.
44970         (MAX_VALUE_INIT): Likewise.
44971         (MIN_VALUE_INIT): Likewise.
44972         (MIN_SUBNORM_VALUE_INIT): Likewise.
44973         (plus_zero): Initialize with PLUS_ZERO_INIT.
44974         (minus_zero): Initialize with MINUS_ZERO_INIT.
44975         (plus_infty): Initialize with PLUS_INFTY_INIT.
44976         (minus_infty): Initialize with MINUS_INFTY_INIT.
44977         (qnan_value): Initialize with QNAN_VALUE_INIT.
44978         (max_value): Initialize with MAX_VALUE_INIT.
44979         (min_value): Initialize with MIN_VALUE_INIT.
44980         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44982         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44983         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44984         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44985         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44987         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44988         (RUN_TEST_2_f): Likewise.
44989         (RUN_TEST_ff_f): Likewise.
44990         (RUN_TEST_fi_f): Likewise.
44991         (RUN_TEST_fl_f): Likewise.
44992         (RUN_TEST_fff_f): Likewise.
44993         (RUN_TEST_c_f): Likewise.
44994         (RUN_TEST_f_f1): Likewise.
44995         (RUN_TEST_fF_f1): Likewise.
44996         (RUN_TEST_fI_f1): Likewise.
44997         (RUN_TEST_ffI_f1): Likewise.
44998         (RUN_TEST_c_c): Likewise.
44999         (RUN_TEST_cc_c): Likewise.
45000         (RUN_TEST_f_i): Likewise.
45001         (RUN_TEST_f_i_tg): Likewise.
45002         (RUN_TEST_ff_i_tg): Likewise.
45003         (RUN_TEST_f_b): Likewise.
45004         (RUN_TEST_f_b_tg): Likewise.
45005         (RUN_TEST_f_l): Likewise.
45006         (RUN_TEST_f_L): Likewise.
45007         (RUN_TEST_sincos): Likewise.
45008         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45009         whether to show exceptions.  Do not include ");\n" in return
45010         value.
45011         (special_functions): Output call to RUN_TEST_sincos instead of
45012         check_float calls.  Update calls to new_test.
45013         (parse_args): Output call to single RUN_TEST_* macro instead of
45014         check_* calls and other assignments.  Update calls to new_test.
45016         [BZ #2546]
45017         [BZ #2560]
45018         [BZ #5159]
45019         [BZ #15426]
45020         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45021         input to result for tgamma overflow.
45022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45023         (gamma_coeff): New variable.
45024         (NCOEFF): New macro.
45025         (gamma_positive): New function.
45026         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45027         underflow here.  Use gamma_positive instead of exp (lgamma) for
45028         other arguments.
45029         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45030         (gamma_coeff): New variable.
45031         (NCOEFF): New macro.
45032         (gammaf_positive): New function.
45033         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45034         underflow here.  Use gamma_positive instead of exp (lgamma) for
45035         other arguments.
45036         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45037         (gamma_coeff): New variable.
45038         (NCOEFF): New macro.
45039         (gammal_positive): New function.
45040         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45041         underflow here.  Use gamma_positive instead of exp (lgamma) for
45042         other arguments.
45043         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45044         (gamma_coeff): New variable.
45045         (NCOEFF): New macro.
45046         (gammal_positive): New function.
45047         (__ieee754_gammal_r): Handle positive infinity, overflow and
45048         underflow here.  Handle NaN the same as positive infinity.  Remove
45049         check x < 0xffffffff for negative integers.  Use gamma_positive
45050         instead of exp (lgamma) for other arguments.
45051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45052         (gamma_coeff): New variable.
45053         (NCOEFF): New macro.
45054         (gammal_positive): New function.
45055         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45056         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45057         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45058         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45060         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45061         * sysdeps/generic/math_private.h (__gamma_productf): New
45062         prototype.
45063         (__gamma_product): Likewise.
45064         (__gamma_productl): Likewise.
45065         * math/Makefile (libm-calls): Add gamma_product.
45066         * math/libm-test.inc (tgamma_test): Add more tests.
45067         * sysdeps/i386/fpu/libm-test-ulps: Update.
45068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45070 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45072         * benchtests/bench-skeleton.c (main): Preheat CPU.
45074 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45076         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45078 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45080         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45081         and _dl_skip_args_internal.
45083 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45085         * manual/message.texi (Message Translation): Talk about users.
45086         Message to key mapping impacts design.
45088 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45090         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45092         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45094         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45095         * sysdeps/wordsize-64/glob64.c: ... here.
45097         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45098         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45099         New macros.
45101         * debug/getlogin_r_chk.c: Moved to ...
45102         * login/getlogin_r_chk.c: ... here.
45103         * debug/Makefile (routines): Move getlogin_r_chk to ...
45104         * login/Makefile (routines): ... here.
45105         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45106         * login/Versions (libc: GLIBC_2.4): ... here.
45108         * io/poll.c (__poll): Renamed from poll.
45109         Add libc_hidden_def.
45110         (poll): Define as weak alias.
45112         * debug/ptsname_r_chk.c: Moved to ...
45113         * login/ptsname_r_chk.c: ... here.
45114         * debug/Makefile (routines): Move ptsname_r_chk to ...
45115         * login/Makefile (routines): ... here.
45116         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45117         * login/Versions (libc: GLIBC_2.4): ... here.
45119         * posix/getlogin.c: Moved to ...
45120         * login/getlogin.c: ... here.
45121         * posix/getlogin_r.c: Moved to ...
45122         * login/getlogin_r.c: ... here.
45123         * posix/getlogin_r.c: Moved to ...
45124         * login/getlogin_r.c: ... here.
45125         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45126         * login/Makefile (routines): ... here.
45127         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45128         * login/Versions (libc: GLIBC_2.0): ... here.
45130         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45131         (setrlimit): Define as weak alias.
45133         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45134         Call __ names for open, ftruncate, and close.
45135         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45136         (truncate): Define as weak alias.
45138 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45140         * math/gen-libm-test.pl (parse_args): Initialize x before each
45141         test of frexp, modf and remquo.
45143         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45144         test signgam value.
45146 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45148         [BZ #15418]
45149         [BZ #15419]
45150         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45151         internal tests.
45152         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45154 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45156         * elf/dl-writev.h: New file.
45157         * elf/dl-misc.c: Include it.
45158         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45159         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45161 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45163         * math/libm-test.inc (noXFails): Remove variable.
45164         (noXPasses): Likewise.
45165         (BUILD_COMPLEX_INT): Remove macro.
45166         (print_screen): Remove xfail argument.
45167         (print_screen_max_error): Likewise.
45168         (update_stats): Likewise.
45169         (print_max_error): Likewise.  Update calls to other affected
45170         functions.
45171         (print_complex_max_error): Likewise.
45172         (test_single_exception): Update calls to print_screen.
45173         (test_single_errno): Likewise.
45174         (check_float_internal): Remove xfail argument.  Update calls to
45175         other affected functions.
45176         (check_float): Likewise.
45177         (check_complex): Likewise.
45178         (check_int): Likewise.
45179         (check_long): Likewise.
45180         (check_bool): Likewise.
45181         (check_longlong): Likewise.
45182         (main): Don't print noXFails and noXPasses.
45183         * math/gen-libm-test.pl (top level): Don't mention expected
45184         failure handling in comment.
45185         (new_test): Don't handle expected failures.
45186         (parse_args): Don't mention expected failure handling in comment.
45187         (generate_testfile): Don't handle expected failures.
45188         (parse_ulps): Likewise.
45189         (print_ulps_file): Likewise.
45190         (get_failure): Remove function.
45191         (output_test): Don't handle expected failures.
45192         * make/README.libm-test: Don't mention expected failure handling.
45194         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45195         (minus_zero): Likewise.
45196         (plus_infty): Likewise.
45197         (minus_infty): Likewise.
45198         (qnan_value): Likewise.
45199         (max_value): Likewise.
45200         (min_value): Likewise.
45201         (min_subnorm_value): Likewise.
45202         (initialize): Do not initialize those variables dynamically.
45204 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45206         * io/open.c (__open_2): Moved to ...
45207         * io/open_2.c: ... this new file.
45208         * io/open64.c (__open64_2): Moved to ...
45209         * io/open64_2.c: ... this new file.
45210         * io/openat.c (__openat_2): Moved to ...
45211         * io/openat_2.c: ... this new file.
45212         * io/openat64.c (__openat64_2): Moved to ...
45213         * io/openat64_2.c: ... this new file.
45214         * io/Makefile (routines): Add them.
45215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45216         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45217         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45218         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45219         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45220         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45221         (__openat64): Add hidden_ver.
45222         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45223         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45225         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45226         Separately conditionalize setting of GLRO(dl_sysinfo) so
45227         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45228         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45230 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45232         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45234         definition.
45235         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45236         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45237         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45238         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45239         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45241 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45243         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45244         test signgam value.
45246         * math/libm-test.inc (hypot_test): Do not use
45247         IGNORE_ZERO_INF_SIGN.
45249 2013-05-03  Andreas Jaeger  <aj@suse.de>
45251         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45252         Linux 3.9.
45253         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45254         (PF_MAX): Adjust for VSOCK change.
45256 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45260 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45262         [BZ #15264]
45263         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45264         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45265         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45267 2013-05-02  David S. Miller  <davem@davemloft.net>
45269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45271 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45273         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45275 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45277         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45279 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45281         [BZ #14952]
45282         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45283         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45284         Use __attribute__ ((__gnu_inline__)).
45285         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45286         Don't use __attribute__ ((__gnu_inline__)).
45288 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45290         [BZ #15423]
45291         * math/s_catan.c (__catan): Handle small real or imaginary part of
45292         input specially to avoid spurious underflow.
45293         * math/s_catanf.c (__catanf): Likewise.
45294         * math/s_catanh.c (__catanh): Likewise.
45295         * math/s_catanhf.c (__catanhf): Likewise.
45296         * math/s_catanhl.c (__catanhl): Likewise.
45297         * math/s_catanl.c (__catanl): Likewise.
45298         * math/libm-test.inc (catan_test): Add more tests.
45299         (catanh_test): Likewise.
45300         * sysdeps/i386/fpu/libm-test-ulps: Update.
45301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45303 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45307 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45309         [BZ #15416]
45310         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45311         accurately for denominator in atan2.
45312         * math/s_catanf.c (__catanf): Likewise.
45313         * math/s_catanh.c (__catanh): Likewise.
45314         * math/s_catanhf.c (__catanhf): Likewise.
45315         * math/s_catanhl.c (__catanhl): Likewise.
45316         * math/s_catanl.c (__catanl): Likewise.
45317         * math/libm-test.inc (catan_test): Add more tests.
45318         (catanh_test): Likewise.
45319         * sysdeps/i386/fpu/libm-test-ulps: Update.
45320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45322 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45324         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45326         * benchtests/Makefile (bench): Remove slow benchmarks.
45327         * benchtests/atan-inputs: Add slow benchmark inputs.
45328         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45329         (BENCH_FUNC): Accept variant offset.
45330         (VARIANT): Define.
45331         * benchtests/bench-skeleton.c (main): Run benchmark for each
45332         variant.
45333         * benchtests/cos-inputs: Add slow benchmark inputs.
45334         * benchtests/exp-inputs: Likewise.
45335         * benchtests/pow-inputs: Likewise.
45336         * benchtests/sin-inputs: Likewise.
45337         * benchtests/slowatan-inputs: Remove.
45338         * benchtests/slowatan.c: Remove.
45339         * benchtests/slowcos-inputs: Remove.
45340         * benchtests/slowcos.c: Remove.
45341         * benchtests/slowexp-inputs: Remove.
45342         * benchtests/slowexp.c: Remove.
45343         * benchtests/slowpow-inputs: Remove.
45344         * benchtests/slowpow.c: Remove.
45345         * benchtests/slowsin-inputs: Remove.
45346         * benchtests/slowsin.c: Remove.
45347         * benchtests/slowtan-inputs: Remove.
45348         * benchtests/slowtan.c: Remove.
45349         * benchtests/tan-inputs: Add slow benchmark inputs.
45350         * scripts/bench.pl: Parse comments and directives.
45352         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45353         in CPPFLAGS.
45354         ($(objpfx)bench-%.c): Remove *-ITER.
45355         * benchtests/bench-modf.c: Remove definition of ITER.
45356         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45357         (main): Loop for DURATION seconds instead of fixed number of
45358         iterations.
45359         * scripts/bench.pl: Don't expect iterations in parameters.
45361 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45363         * io/fchdir.c (__fchdir): Renamed from fchdir.
45364         (fchdir): Define as weak alias.
45366 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45368         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45369         (ERRNO_EDOM): Likewise.
45370         (ERRNO_ERANGE): Likewise.
45371         (noErrnoTests): New variable.
45372         (init_max_error): Set errno to 0.
45373         (test_single_errno): New function.
45374         (test_errno): Likewise.
45375         (check_float_internal): Call test_errno.  Set errno to 0.
45376         (check_complex): Refer to errno tests in comment.
45377         (check_int): Call test_errno.  Set errno to 0.
45378         (check_long): Likewise.
45379         (check_bool): Likewise.
45380         (check_longlong): Likewise.
45381         (cos_test): Use ERRNO_* flags for errno tests instead of
45382         check_int.
45383         (expm1_test): Likewise.
45384         (fmod_test): Likewise.
45385         (ilogb_test): Likewise.
45386         (lgamma_test): Likewise.
45387         (pow_test): Likewise.
45388         (remainder_test): Likewise.
45389         (sin_test): Likewise.
45390         (tan_test): Likewise.
45391         (yn_test): Likewise.
45392         (initialize): Set errno to 0.
45393         (main): Print number of errno tests.
45394         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45396 2013-04-29  Andreas Jaeger  <aj@suse.de>
45398         [BZ #15084]
45399         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45400         and RES_USEVC.
45402         [BZ #15085]
45403         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45404         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45405         unimplemented.
45407         [BZ #15380]
45408         * stdlib/random.c (__initstate): Return NULL if
45409         __initstate fails.
45411         [BZ #15086]
45412         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45413         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45414         RES_SNGLKUPREOP.
45416 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45420 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45422         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45423         of individual tests.
45424         (casin_test): Likewise.
45425         (casinh_test): Likewise.
45427 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45429         [BZ #15409]
45430         * math/s_catan.c (__catan): Handle arguments with large real or
45431         imaginary part separately without squaring.
45432         * math/s_catanf.c (__catanf): Likewise.
45433         * math/s_catanh.c (__catanh): Likewise.
45434         * math/s_catanhf.c (__catanhf): Likewise.
45435         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45436         and redefine.
45437         (__catanhl): Handle arguments with large real or imaginary part
45438         separately without squaring.
45439         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45440         and redefine.
45441         (__catanl): Handle arguments with large real or imaginary part
45442         separately without squaring.
45443         * math/libm-test.inc (catan_test): Add more tests.
45444         (catanh_test): Likewise.
45445         * sysdeps/i386/fpu/libm-test-ulps: Update.
45446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45448 2013-04-27  Andreas Jaeger  <aj@suse.de>
45450         [BZ #15007]
45451         * stdlib/stdlib.h: Update guards for qecvt.
45452         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45453         <stdlib.h>.
45455 2013-04-27  Allan McRae  <allan@archlinux.org>
45457         * sysdeps/i386/fpu/libm-test-ulps: Update.
45459 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45461         [BZ #15406]
45462         * math/s_catan.c: Include <float.h>.
45463         (__catan): Ensure underflow exception occurs for underflowed
45464         result.
45465         * math/s_catanf.c: Include <float.h>.
45466         (__catanf): Ensure underflow exception occurs for underflowed
45467         result.
45468         * math/s_catanh.c: Include <float.h>.
45469         (__catanh): Ensure underflow exception occurs for underflowed
45470         result.
45471         * math/s_catanhf.c: Include <float.h>.
45472         (__catanhf): Ensure underflow exception occurs for underflowed
45473         result.
45474         * math/s_catanhl.c: Include <float.h>.
45475         (__catanhl): Ensure underflow exception occurs for underflowed
45476         result.
45477         * math/s_catanl.c: Include <float.h>.
45478         (__catanl): Ensure underflow exception occurs for underflowed
45479         result.
45480         * math/libm-test.inc (catan_test): Add more tests.
45481         (catanh_test): Likewise.
45483         [BZ #15405]
45484         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45485         underflowed result.
45486         * math/s_ccoshf.c (__ccoshf): Likewise.
45487         * math/s_ccoshl.c (__ccoshl): Likewise.
45488         * math/s_csin.c (__csin): Likewise.
45489         * math/s_csinf.c (__csinf): Likewise.
45490         * math/s_csinh.c (__csinh): Likewise.
45491         * math/s_csinhf.c (__csinhf): Likewise.
45492         * math/s_csinhl.c (__csinhl): Likewise.
45493         * math/s_csinl.c (__csinl): Likewise.
45494         * math/libm-test.inc (ccos_test): Add more tests.
45495         (ccosh_test): Likewise.
45496         (csin_test): Likewise.
45497         (csinh_test): Likewise.
45499 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45501         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45502         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45503         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45504         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45505         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45506         powerpc/power5+/fpu folders.
45507         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45510 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45514 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45516         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45517         additions to variable.
45518         [$(config-machine) = x86_64] (modules-names): Likewise.
45519         ($(objpfx)tst-audit3): Remove dependency.
45520         ($(objpfx)tst-audit3.out): Likewise.
45521         ($(objpfx)tst-audit4): Likewise.
45522         ($(objpfx)tst-audit4.out): Likewise.
45523         ($(objpfx)tst-audit5): Likewise.
45524         ($(objpfx)tst-audit5.out): Likewise.
45525         ($(objpfx)tst-audit6): Likewise.
45526         ($(objpfx)tst-audit6.out): Likewise.
45527         ($(objpfx)tst-audit7): Likewise.
45528         ($(objpfx)tst-audit7.out): Likewise.
45529         (tst-audit3-ENV): Remove variable.
45530         (tst-audit4-ENV): Likewise.
45531         (tst-audit5-ENV): Likewise.
45532         (tst-audit6-ENV): Likewise.
45533         (tst-audit7-ENV): Likewise.
45534         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45535         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45536         addition to variable.
45537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45538         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45539         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45540         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45541         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45542         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45543         tst-audit3, tst-audit4 and tst-audit5.
45544         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45545         tst-audit6 and tst-audit7.
45546         [$(subdir) = elf] (modules-names): Add audit modules for those
45547         tests.
45548         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45549         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45550         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45551         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45552         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45553         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45554         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45555         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45556         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45557         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45558         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45559         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45560         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45561         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45562         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45563         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45564         Likewise.
45565         [$(subdir) = elf && $(config-cflags-avx) = yes]
45566         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45567         [$(subdir) = elf && $(config-cflags-avx) = yes]
45568         (CFLAGS-tst-auditmod4a.c): Likewise.
45569         [$(subdir) = elf && $(config-cflags-avx) = yes]
45570         (CFLAGS-tst-auditmod4b.c): Likewise.
45571         [$(subdir) = elf && $(config-cflags-avx) = yes]
45572         (CFLAGS-tst-auditmod6b.c): Likewise.
45573         [$(subdir) = elf && $(config-cflags-avx) = yes]
45574         (CFLAGS-tst-auditmod6c.c): Likewise.
45575         [$(subdir) = elf && $(config-cflags-avx) = yes]
45576         (CFLAGS-tst-auditmod7b.c): Likewise.
45577         * elf/tst-audit3.c: Move to ...
45578         * sysdeps/x86_64/tst-audit3.c: ... here.
45579         * elf/tst-audit4.c: Move to ...
45580         * sysdeps/x86_64/tst-audit4.c: ... here.
45581         * elf/tst-audit5.c: Move to ...
45582         * sysdeps/x86_64/tst-audit5.c: ... here.
45583         * elf/tst-audit6.c: Move to ...
45584         * sysdeps/x86_64/tst-audit6.c: ... here.
45585         * elf/tst-audit7.c: Move to ...
45586         * sysdeps/x86_64/tst-audit7.c: ... here.
45587         * elf/tst-auditmod3a.c: Move to ...
45588         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45589         * elf/tst-auditmod3b.c: Move to ...
45590         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45591         * elf/tst-auditmod4a.c: Move to ...
45592         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45593         * elf/tst-auditmod4b.c: Move to ...
45594         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45595         * elf/tst-auditmod5a.c: Move to ...
45596         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45597         * elf/tst-auditmod5b.c: Move to ...
45598         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45599         * elf/tst-auditmod6a.c: Move to ...
45600         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45601         * elf/tst-auditmod6b.c: Move to ...
45602         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45603         * elf/tst-auditmod6c.c: Move to ...
45604         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45605         * elf/tst-auditmod7a.c: Move to ...
45606         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45607         * elf/tst-auditmod7b.c: Move to ...
45608         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45610 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45612         [BZ #15366]
45613         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45614         define unconditionally.
45615         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45616         define unconditionally.
45617         (INT8_C, INT16_C, etc.): Likewise.
45619 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45621         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45622         __ehdr_start with hidden visibility.
45624         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45626 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45628         * math/libm-test.inc (cos_test): Use accurate hex constants.
45629         (sincost_test): Likewise.
45631 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45633         * math/libm-test.inc (catan_test): Add more tests.
45634         (catanh_test): Likewise.
45636         * math/s_catanf.c (__catanf): Use suffixed floating-point
45637         constants.
45638         * math/s_catanhf.c (__catanhf): Likewise.
45639         * math/s_catanhl.c (__catanhl): Likewise.
45640         * math/s_catanl.c (__catanl): Likewise.
45642         [BZ #15394]
45643         * math/s_catan.c (__catan): Calculate imaginary part of result
45644         with log1p not log unless computing log of number close to 0.
45645         * math/s_catanf.c (__catanf): Likewise.
45646         * math/s_catanl.c (__catanl): Likewise.
45647         * math/s_catanh.c (__catanh): Calculate real part of result with
45648         log1p not log unless computing log of number close to 0.
45649         * math/s_catanhf.c (__catanhf): Likewise.
45650         * math/s_catanhl.c (__catanhl): Likewise.
45651         * math/libm-test.inc (catan_test): Add more tests.
45652         (catanh_test): Likewise.
45653         * sysdeps/i386/fpu/libm-test-ulps: Update.
45654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45656 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45658         * benchtests/Makefile: Mention files in which fast and slow
45659         paths of math functions are implemented.
45661 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45663         * sysdeps/posix/timespec_get.c: New file.
45665 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45667         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45668         POWER.
45669         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45670         for POWER.
45671         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45672         powerpc/power5/fpu folders.
45673         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45674         * benchtests/Makefile: Add modf testcase.
45675         * benchtests/bench-modf.c: New file: Benchmark test for mo
45677 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45679         [BZ #14888]
45680         * time/Makefile (tests): Add tst-strptime-whitespace.
45681         * time/strptime_l.c (get_number): Use ISSPACE.
45682         (__strptime_internal): Likewise.
45683         * time/tst-strptime-whitespace.c: New test case.
45685 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45687         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45688         member.
45689         (_nss_files_init): Set it here.
45691 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45693         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45694         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45695         unsigned.
45697 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45699         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45701 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45704         size just once.
45706 2013-04-21  David S. Miller  <davem@davemloft.net>
45708         * po/ru.po: Update Russion translation from translation project.
45710 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45712         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45713         and setfsgid.
45715 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45717         * configure.in: Remove i386 configure warning. Remove i386 case.
45718         * configure: Regenerate.
45719         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45720         Add example to error message.
45721         * sysdeps/i386/configure: Regenerate.
45723 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45725         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45726         slowtan.
45727         * benchtests/cos-inputs: New file.
45728         * benchtests/slowcos-inputs: New file.
45729         * benchtests/slowcos.c: New file.
45730         * benchtests/slowtan-inputs: New file.
45731         * benchtests/slowtan.c: New file.
45732         * benchtests/tan-inputs: New file.
45734 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45736         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45737         considered kosher.
45739 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45741         * benchtests/Makefile: Include cppflags-iterator.mk to add
45742         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45744         * Makefile.in (bench-clean): New target.
45745         * benchtests/Makefile (bench-clean): Likewise.
45747 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45749         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45751 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45753         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45755 2013-04-15  Andreas Schwab  <schwab@suse.de>
45757         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45759         * nscd/pwdcache.c (cache_addpw): Likewise.
45760         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45761         more than recsize.
45763 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45765         * benchtests/Makefile (bench): Write all output to
45766         bench-out.tmp together.
45768 2013-04-15  Andreas Schwab  <schwab@suse.de>
45770         * nscd/nscd.c (main): Don't fork again after closing files.
45772 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45774         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45776         * benchtests/Rules (bench-deps): Collect dependencies into a
45777         single variable.  Add Makefile to dependencies.
45778         ($(objpfx)bench-%.c): Depend on bench-deps.
45780 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45781             Xavier Roche  <roche+kml2@exalead.com>
45783         [BZ #15361]
45784         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45785         just that it's a file descriptor.
45786         * manual/llio.texi (Synchronizing AIO Operations): Update description
45787         for EBADF error from aio_fsync.
45789 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         * Rules (bench): Move target definition...
45792         * benchtests/Makefile: ... here.
45794 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45796         * math/libm-test.inc (cos_test): Fix PI/2 test.
45797         (sincos_test): Likewise.
45798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45799         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45801 2013-04-11  Andreas Schwab  <schwab@suse.de>
45803         [BZ #13988]
45804         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45805         accept exponent character only when digits were seen.
45806         * stdio-common/Makefile (tests): Add bug26.
45807         * stdio-common/bug26.c: New file.
45809         [BZ #14293]
45810         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45811         non-freeable.
45813 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45815         * Makeconfig (rtld-prefix): Define built linker prefix.
45816         * Rules (run-bench): Use it.
45817         * math/Makefile (run-regen-ulps): Likewise.
45819         * Rules (bench): Remove eval.
45821 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45822             Roland McGrath  <roland@hack.frob.com>
45823             Ondrej Bilka  <neleai@seznam.cz>
45825         [BZ #15346]
45826         * time/getdate.c: Include ctype.h and alloca.h.
45827         (__getdate_r): Trim leading and trailing spaces of input.
45828         * time/tst-getdate.c (tests): Add tests with leading and
45829         trailing spaces.
45831 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45833         [BZ #14280]
45834         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45835         when computing value.
45837 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45839         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45840         Use testrun.sh to run libm tests.
45842         [BZ #15309]
45843         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45845 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45847         [BZ #15264]
45848         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45852         * Makefile.in (regen-ulps): New target.
45853         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45854         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45855         [ifneq (no,$(PERL)] (regen-ulps): New target.
45856         [ifeq (no,$(PERL)] (regen-ulps): New target.
45857         * math/libm-test.inc (ulps_file_name): Define.
45858         (output_dir): New variable.
45859         (options): Add "output-dir" option.
45860         (parse_opt): Handle 'o' case.
45861         (main): If output_dir is non-NULL use it as a prefix
45862         otherwise use "".
45863         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45865 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45867         [BZ #10060, #10062]
45868         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45869         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45870         fail configure if __sync_val_compare_and_swap is not inlined.
45871         * sysdeps/i386/configure: Regenerate.
45872         * configure.in: Build for i686 when configured for i386.
45873         * configure: Regenerate.
45874         * README: Remove i386 reference.
45876 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45878         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45879         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45881 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45883         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45884         (lmsnanval): New variables.
45885         (F): Add conversion tests.
45886         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45887         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45889         * stdio-common/tstdiomisc.c (F): Properly collect individual
45890         tests' results.
45892         [BZ #14686, #15336]
45893         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45894         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45895         Instead, use input NaN values or generate a qNaN by arithmetic
45896         operation.  Also fix bugs to comply with the standard.
45897         * math/libm-test.inc (remainder_test): Add more tests.
45899         [BZ #15335, #15342]
45900         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45902         input NaN values or generate a qNaN by arithmetic operation.
45904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45905         unreachable code.
45907         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45908         definitions.
45910 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45912         [BZ #14478]
45913         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45914         underflowed result.
45915         * math/s_cexpf.c (__cexpf): Likewise.
45916         * math/s_cexpl.c (__cexpl): Likewise.
45917         * math/libm-test.inc (cexp_test): Add more tests.
45919 2013-04-03  Andreas Schwab  <schwab@suse.de>
45921         [BZ #15330]
45922         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45923         order arrays from heap if bigger than alloca cutoff.
45925 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45927         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45928         (SNAN_TESTS_double): Refer to GCC PR56831.
45929         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45930         GCC PR56828.
45932 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45934         * Rules (bench): Move bench.out after the run is complete.
45936         * Rules (bench): Echo currently running benchmark.
45938         * benchtests/Makefile (bench): Add atan and slowatan.
45939         * benchtests/atan-inputs: New file.
45940         * benchtests/slowatan-inputs: New file.
45941         * benchtests/slowatan.c: New file.
45943         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45945         its value.
45947         [BZ #15305]
45948         * sysdeps/unix/sysv/linux/kernel-features.h
45949         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45950         __ASSUME_XFS_RESTRICTED_CHOWN.
45951         * sysdeps/unix/sysv/linux/pathconf.c
45952         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45953         Save and restore errno.
45955 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45957         [BZ #15327]
45958         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45959         arguments using __kernel_casinh.
45960         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45961         arguments using __kernel_casinhf.
45962         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45963         arguments using __kernel_casinhl.
45964         * math/libm-test.inc (cacosh_test): Add more tests.
45965         * sysdeps/i386/fpu/libm-test-ulps: Update.
45966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45968 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45970         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45973         * bench/Makefile (bench): Add sin and slowsin.
45974         * benchtests/sin-inputs: New file.
45975         * benchtests/slowsin-inputs: New file.
45976         * benchtests/slowsin.c: New file.
45978         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45979         (bench): Add slowexp and slowpow.
45980         (exp-ITER): Increase iterations.
45981         (pow-ITER): Likewise.
45982         * benchtests/exp-inputs: Change input.
45983         * benchtests/pow-inputs: Likewise.
45984         * benchtests/slowexp-inputs: New file.
45985         * benchtests/slowexp.c: New file.
45986         * benchtests/slowpow-inputs: New file.
45987         * benchtests/slowpow.c: New file.
45989 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45991         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45992         instructions.
45993         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45994         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45995         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45996         * benchtests/Makefile: Add rint benchtest.
45997         * benchtests/rint-inputs: Input for rint benchtest.
45999 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46001         * Versions.def (libm): Add GLIBC_2.18.
46002         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46003         hidden libm prototypes.
46004         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46005         * math/Makefile (libm-calls): Add s_issignaling.
46006         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46007         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46008         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46009         declaration.
46010         * math/math.h [__USE_GNU] (issignaling): New macro.
46011         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46012         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46013         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46014         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46015         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46016         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46017         * manual/arith.texi (issignaling): New section.
46018         * manual/libm-err-tab.pl (@all_functions): Update comment.
46019         * math/gen-libm-test.pl (parse_args): Apply special handling for
46020         issignaling.
46021         * math/libm-test.inc (print_float, issignaling_test): New
46022         functions.
46023         (check_float_internal): Add issignaling checks.
46024         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46025         default definition.
46026         * sysdeps/powerpc/math-tests.h: New file.
46027         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46028         tests.
46029         * math/test-snan.c (TEST_FUNC): Likewise.
46031 2013-03-30  David S. Miller  <davem@davemloft.net>
46033         * po/de.po: Update from translation team.
46035 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46037         [BZ #10357]
46038         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46039         imaginary part less than 1.0 and real part less than 0.5
46040         specially.
46041         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46042         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46043         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46044         (cacos_test): Add more tests.
46045         (casin_test): Likewise.
46046         (casinh_test): Likewise.
46047         * sysdeps/i386/fpu/libm-test-ulps: Update.
46048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46050 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46052         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46053         ONE with its value.
46055         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46056         (__pow_mp): Replace ONE and MONE with their values.
46057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46059         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46060         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46061         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46064         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46066         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46067         (__pow_mp): Replace ZERO and MZERO with their values.
46068         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46069         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46072         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46073         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46074         (__sqr): Likewise.
46076         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46078         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46080 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46082         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46083         Declare with __attribute__ ((weak)).
46084         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46085         Call __call_tls_dtors only if it's not NULL.
46087 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46089         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46090         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46091         magic __ehdr_start linker symbol if it's defined.
46092         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46093         them up here if it was already done.
46095         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46096         (_dl_aux_init): Use const in cast when setting it.
46097         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46098         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46099         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46101         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46102         Declare them here.
46103         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46104         * csu/libc-tls.c: Nor here.
46105         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46107         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46108         (__libc_message): Never call vsyslog.
46110 2013-03-28  Alan Modra  <amodra@gmail.com>
46112         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46113         Define as empty.
46114         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46115         Likewise.
46117 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46119         [BZ #15214]
46120         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46121         underflow.
46122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46124 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46126         [BZ #15304]
46127         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46128         Don't add gid passed as argument.
46130         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46132 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46134         [BZ #15307]
46135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46136         imaginary part between 1.0 and 1.5 and real part less than 0.5
46137         specially.
46138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46140         * math/libm-test.inc (cacos_test): Add more tests.
46141         (casin_test): Likewise.
46142         (casinh_test): Likewise.
46143         * sysdeps/i386/fpu/libm-test-ulps: Update.
46144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46146 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46148         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46149         constants.
46150         (norm): Likewise.
46151         (denorm): Likewise.
46152         (__dbl_mp): Likewise.
46153         (add_magnitudes): Likewise.
46154         (sub_magnitudes): Likewise.
46155         (__add): Likewise.
46156         (__sub): Likewise.
46157         (__mul): Likewise.
46158         (__sqr): Likewise.
46159         (__inv): Likewise.
46160         (__dvd): Likewise.
46162         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46163         commented code.
46164         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46165         (__dubcos): Likewise.
46166         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46167         (__ieee754_acos): Likewise.
46168         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46170         (__exp1): Likewise.
46171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46173         (log1): Likewise.
46174         (my_log2): Likewise.
46175         (checkint): Likewise.
46176         * sysdeps/ieee754/dbl-64/e_remainder.c
46177         (__ieee754_remainder): Likewise.
46178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46180         (bsloww): Likewise.
46181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46183         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46185         MANTISSA_STORE_T to store computations on mantissa.  Use
46186         macros for rounding and division.
46187         (denorm): Likewise.
46188         (__dbl_mp): Likewise.
46189         (add_magnitudes): Likewise.
46190         (sub_magnitudes): Likewise.
46191         (__mul): Likewise.
46192         (__sqr): Likewise.
46193         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46194         powers of two in terms of TWOPOW macro.
46195         (mp_no): Make type of mantissa as MANTISSA_T.
46196         [!RADIXI]: Define RADIXI.
46197         [!TWO52]: Define TWO52.
46198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46200 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46202         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46203         llroundl symbol when building for PPC32.
46205 2013-03-24  Mark H Weaver  <mhw@netris.org>
46207         * manual/arith.texi (Normalization Functions): Fix prototypes for
46208         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46210 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46212         [BZ #13889]
46213         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46214         high value to check if expl overflow.
46215         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46216         to check for underflow and overflow.
46217         * math/libm-test.inc: Add exp test.
46219 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46221         [BZ #11120]
46222         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46223         with NOT_IN_libc.
46225 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46227         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46228         symbol.
46230 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46232         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46233         wrap blocks consisting of several statements.
46235         * sysdeps/generic/math-tests.h: New file.
46236         * sysdeps/i386/fpu/math-tests.h: Likewise.
46237         * math/test-snan.c: Include it.
46238         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46240 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46242         [BZ #15285]
46243         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46244         (__ieee754_j0l): Do not improve calculations using cos of twice
46245         input for inputs above LDBL_MAX / 2.0L.
46246         (__ieee754_y0l): Likewise.
46247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46248         (__ieee754_j1l): Do not improve calculations using cos of twice
46249         input for inputs above LDBL_MAX / 2.0L.
46250         (__ieee754_y1l): Likewise.
46251         * math/libm-test.inc (j0_test): Add another test.
46252         (j1_test): Likewise.
46253         (y0_test): Likewise.
46254         (y1_test): Likewise.
46255         * sysdeps/i386/fpu/libm-test-ulps: Update.
46257 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46259         * Rules ($(objpfx)bench-%.c): Include code from a C source
46260         file.
46262 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46264         [BZ #15287]
46265         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46266         imaginary part 1.0 and real part less than 0.5 specially.
46267         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46268         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46269         * math/libm-test.inc (cacos_test): Add more tests.
46270         (casin_test): Likewise.
46271         (casinh_test): Likewise.
46272         * sysdeps/i386/fpu/libm-test-ulps: Update.
46273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46275 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46278         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46280 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46282         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46283         * config.make.in (config-cflags-sse4): Remove variable.
46284         (config-cflags-avx): Likewise.
46285         (config-cflags-sse2avx): Likewise.
46286         (config-cflags-novzeroupper): Likewise.
46287         (config-asflags-i686): Likewise.
46288         (have-mfma4): Likewise.
46289         (have-as-vis3): Likewise.
46290         (MIG): Likewise.
46291         * configure.in (MIG): Do not AC_SUBST.
46292         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46293         (libc_cv_cc_sse4): Do not AC_SUBST.
46294         (libc_cv_cc_avx): Likewise.
46295         (libc_cv_cc_sse2avx): Likewise.
46296         (libc_cv_cc_novzeroupper): Likewise.
46297         (libc_cv_cc_fma4): Likewise.
46298         (libc_cv_as_i686): Likewise.
46299         (libc_cv_sparc_as_vis3): Likewise.
46300         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46301         LIBC_CONFIG_VAR.
46302         (config-asflags-i686): Likewise.
46303         (config-cflags-avx): Likewise.
46304         (config-cflags-sse2avx): Likewise.
46305         (have-mfma4): Likewise.
46306         (config-cflags-novzeroupper): Likewise.
46307         * sysdeps/mach/configure.in (MIG): Likewise.
46308         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46309         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46310         LIBC_CONFIG_VAR.
46311         (config-cflags-avx): Likewise.
46312         (config-cflags-sse2avx): Likewise.
46313         (have-mfma4): Likewise.
46314         (config-cflags-novzeroupper): Likewise.
46315         * configure: Regenerated.
46316         * sysdeps/i386/configure: Likewise.
46317         * sysdeps/mach/configure: Likewise.
46318         * sysdeps/sparc/configure: Likewise.
46319         * sysdeps/x86_64/configure: Likewise.
46321 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46323         [BZ #14812]
46324         * locale/programs/localedef.c (options): Put N_ translation marker
46325         on argument names, not just descriptions.
46327 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46329         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46331 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46333         [BZ #14176]
46334         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46336 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46338         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46339         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46340         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46341         [!BEFORE_ABORT] (before_abort): New function.
46342         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46343         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46344         (writev_for_fatal): New function.
46345         (WRITEV_FOR_FATAL): New macro; call that.
46346         (backtrace_and_maps): New function.
46347         (BEFORE_ABORT): New macro; call that.
46348         (struct str_list): Type removed.
46349         (__libc_message, __libc_fatal): Functions removed.
46350         Include <sysdeps/posix/libc_fatal.c> instead.
46352 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46354         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46355         constants.
46356         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46357         double constants.
46359 2013-03-19  Andreas Schwab  <schwab@suse.de>
46361         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46362         * sysdeps/gnu/configure: Regenerate.
46364         * configure.in: Substitute libc_cv_rtlddir.
46365         * configure: Regenerate.
46366         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46367         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46368         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46369         * elf/Makefile (install-others, CFLAGS-interp.c)
46370         (ldso_install, common-ldd-rewrite): Likewise.
46371         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46372         $(inst_slibdir)/$(rtld-installed-name).
46373         * scripts/rellns-sh: Add -p option.
46374         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46375         for source.
46377 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46379         * manual/nptl.texi: Renamed to ...
46380         * manual/threads.texi: ... this.
46381         * manual/Makefile (chapters): Update.
46383 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46385         [BZ #14812]
46386         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46387         on argument names, not just descriptions.
46388         * malloc/memusagestat.c (options): Likewise.
46389         * nss/getent.c (options): Likewise.
46391 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46393         [BZ #14812]
46394         * iconv/iconv_prog.c (options): Put N_ translation marker
46395         on argument names, not just descriptions.
46396         * iconv/iconvconfig.c (options): Likewise.
46398 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46400         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46401         implementation which is faster on all x86_64 architectures.
46402         Tested on AMD, Intel Nehalem, SNB, IVB.
46403         * sysdeps/x86_64/strnlen.S: Likewise.
46405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46406         Remove all multiarch strlen and strnlen versions.
46407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46408         Remove strlen and strnlen related parts.
46410         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46411         Inline strlen part.
46412         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46414         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46415         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46416         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46417         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46418         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46419         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46421 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46423         * manual/memory.texi (Malloc Tunable Parameters):
46424         Sort parameters alphabetically. Add comments for missing entries.
46426 2013-03-17  David S. Miller  <davem@davemloft.net>
46428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46430 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46432         [BZ #15283]
46433         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46434         for arguments at most half maximum finite value.
46435         * math/libm-test.inc (j0_test): Add more tests.
46436         (j1_test): Likewise.
46437         (y0_test): Likewise.
46438         (y1_test): Likewise.
46439         * sysdeps/i386/fpu/libm-test-ulps: Update.
46440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46442         [BZ #14155]
46443         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46444         1 / x and functions P and Q for arguments above 0x1p256L.
46445         (__ieee754_y0l): Likewise.
46446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46447         (__ieee754_y1l): Likewise.
46448         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46449         (j1_test): Likewise.
46450         (y0_test): Likewise.
46451         (y1_test): Likewise.
46453 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46455         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46456         variable.
46458 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46460         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46461         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46462         zero since it's initialized to EXEC_PAGESIZE.
46464         * sysdeps/unix/sysv/linux/ldsodefs.h
46465         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46466         * sysdeps/generic/ldsodefs.h: ... here.
46468 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46470         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46472         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46473         math/test-snan.c.
46474         * math/test-snan.c: Renamed from
46475         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46476         * math/Makefile (tests): Add test-snan.
46477         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46478         test-powerpc-snan.
46480         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46481         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46482         functions.
46483         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46484         __builtin_nan family of functions.
46485         * math/libm-test.inc (initialize): Initialize qnan_value with
46486         __builtin_nan family of functions.
46487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46488         Remove variables.
46489         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46490         Remove functions.
46491         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46492         storage class.  Initialize qNaN_var and sNaN_var with
46493         __builtin_nan and __builtin_nans families of functions,
46494         respectively.
46496         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46497         (sqrt_test): Remove duplicate test with qNaN input.
46498         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46499         (round_test, signbit_test, significand_test): Note missing +/-Inf
46500         as well as qNaN tests.
46502         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46503         qNaN_var.  Fix a few strings, too.
46504         * math/libm-test.inc (nan_value): Rename to qnan_value.
46505         * math/gen-libm-test.pl (%beautify): Adjust to that.
46506         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46507         * math/test-misc.c (main): Likewise.
46508         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46509         to __qnan_bytes, and __qnan_union, respectively.
46510         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46511         Likewise.
46512         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46513         and lqnanval, respectively.
46514         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46515         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46516         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46517         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46519         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46520         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46521         doubles.
46523         * math/test-misc.c (main): Fix copy'n'pastos.
46524         * misc/tst-efgcvt.c (special): Likewise.
46526         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46527         Remove declarations.
46529 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46531         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46532         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46533         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46534         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46536 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46539         macro to return vdso values correctly in IFUNC implementations.
46540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46541         Optimization by using IFUNC.
46543 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46544             Richard Henderson  <rth@redhat.com>
46545             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46547         * Makefile.in (bench): New target.
46548         * NEWS: Mention the benchmark framework.
46549         * Rules (bench): Likewise.
46550         (binaries-bench): Generate binaries for functions to
46551         benchmark.
46552         * benchtests/Makefile: New makefile for benchmark tests.
46553         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46554         programs.
46555         * benchtests/exp-inputs: New input file for EXP function.
46556         * benchtests/pow-inputs: New input file for POW function.
46557         * scripts/bench.pl: New script to generate source files for
46558         benchmark programs.
46560 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46562         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46564         computations on mantissa.  Use macros for rounding and
46565         division.
46566         (denorm): Likewise.
46567         (__dbl_mp): Likewise.
46568         (add_magnitudes): Likewise.
46569         (sub_magnitudes): Likewise.
46570         (__mul): Likewise.
46571         (__sqr): Likewise.
46572         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46573         powers of two in terms of TWOPOW macro.
46574         (mp_no): Make type of mantissa as MANTISSA_T.
46575         [!RADIXI]: Define RADIXI.
46576         [!TWO52]: Define TWO52.
46577         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46579         * manual/nptl.texi (cindex): Modify threads to pthreads.
46581 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46583         * sysdeps/x86_64/preconfigure: Regenerated.
46585 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46587         [BZ #14155]
46588         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46589         0x1p28 and above.
46590         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46591         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46592         0x1p28 and above.
46593         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46594         * math/libm-test.inc (j0_test): Do not allow one spurious
46595         underflow exception.
46596         (y1_test): Likewise.
46598 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46600         * manual/Makefile (chapters): Add nptl.
46601         * manual/debug.texi (Debugging Support): Add link to Threads
46602         chapter.
46603         * manual/nptl.texi: New file.
46605         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46607 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46609         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46610         for non-NULL pointer before the memory validity test. Pointed
46611         out by Holger Brunck <holger.brunck@keymile.com>.
46613 2013-03-13  Andreas Schwab  <schwab@suse.de>
46615         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46616         instead of .os.
46618 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46620         * timezone/zic.c: Update from tzcode 2013b.
46622 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46624         * manual/install.texi (Configuring and compiling):
46625         Mention i686 and i586.
46626         * INSTALL: Regenerate.
46628 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46630         * sysdeps/init_array/elf-init.c: New file.
46631         * csu/elf-init.c
46632         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46633         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46635         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46636         __gmon_start__ as global, but as static with a .preinit_array pointer.
46637         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46638         * sysdeps/init_array/crti.S: New file, empty except for comments.
46639         * sysdeps/init_array/crtn.S: Likewise.
46641 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46643         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46644         definining bcopy.
46645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46646         Remove Prefer_SSE_for_memop.
46647         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46648         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46649         HAS_PREFER_SSE_FOR_MEMOP.
46650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46651         memset-x86-64.
46652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46653         Remove bzero, memset ifunc support.
46654         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46655         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46659 2013-03-11  Andreas Schwab  <schwab@suse.de>
46661         [BZ #15234]
46662         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46663         by SHLIB_COMPAT.
46664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46665         (GLIBC_2.16): Remove pthread_atfork.
46667 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46669         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46670         (ptestcases.h): Likewise.
46672 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46674         * Makeconfig ($(common-objpfx)config.status): Depend on
46675         sysdeps/*/preconfigure{,.in} too.
46677 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46679         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46680         (__free_hook): Use void * instead of __malloc_ptr_t.
46681         (__malloc_hook): Likewise.
46682         (__realloc_hook): Likewise.
46683         (__memalign_hook): Likewise.
46684         (__after_morecore_hook): Likewise.
46685         * malloc/arena.c (save_malloc_hook): Likewise.
46686         (save_free_hook): Likewise.
46687         * malloc/hooks.c (malloc_hook_ini): Likewise.
46688         (realloc_hook_ini): Likewise.
46689         (memalign_hook_ini): Likewise.
46690         * malloc/malloc.c (malloc_hook_ini): Likewise.
46691         (realloc_hook_ini): Likewise.
46692         (memalign_hook_ini): Likewise.
46693         (__free_hook): Likewise.
46694         (__malloc_hook): Likewise.
46695         (__realloc_hook): Likewise.
46696         (__memalign_hook): Likewise.
46697         (__libc_malloc): Likewise.
46698         (__libc_free): Likewise.
46699         (__libc_realloc): Likewise.
46700         (__libc_memalign): Likewise.
46701         (__libc_valloc): Likewise.
46702         (__libc_pvalloc): Likewise.
46703         (__libc_calloc): Likewise.
46704         (__posix_memalign): Likewise.
46705         * malloc/morecore.c (__sbrk): Likewise.
46706         (__default_morecore): Likewise.
46708         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46710         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46711         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46712         __malloc_ptrdiff_t.
46714         * malloc/malloc.h (__malloc_size_t): Remove macro.
46715         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46716         __malloc_size_t.
46717         (old_memalign_hook): Likewise.
46718         (old_realloc_hook): Likewise.
46719         (struct hdr): Likewise.
46720         (flood): Likewise.
46721         (mallochook): Likewise.
46722         (memalignhook): Likewise.
46723         (reallochook): Likewise.
46724         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46725         (tr_old_realloc_hook): Likewise.
46726         (tr_old_memalign_hook): Likewise.
46727         (tr_mallochook): Likewise.
46728         (tr_reallochook): Likewise.
46729         (tr_memalignhook): Likewise.
46731 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46734         default_ldbl_pack and using as default implementation.
46735         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46736         implementation.
46737         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46738         redundant definition.
46739         (ldbl_insert_mantissa): Likewise.
46740         (ldbl_canonicalize): Likewise.
46741         (ldbl_nearbyint): Likewise.
46742         (ldbl_pack): Rename to ldbl_pack_ppc.
46743         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46744         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46745         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46747 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46750         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46752         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46755         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46756         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46758 2013-03-07  Andreas Jaeger  <aj@suse.de>
46760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46761         bits/mman-linux.h.
46763 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46765         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46766         Include mpa.h and declare __MPEXP.
46767         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46769         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46772         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46775         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46776         (__slowpow): Use long double EXPL and LOGL functions to
46777         compute POW.
46778         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46779         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46780         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46781         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46782         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46783         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46786         intermediate variable to calculate exponent.
46787         (__sqr): Likewise.
46788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46789         Likewise.
46790         (__sqr): Likewise.
46792         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46793         [!NO__SQR]: Define __sqr.
46794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46795         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46796         sysdeps/ieee754/dbl-64/mpa.c.
46797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46799         [BZ #12723]
46800         * posix/Makefile (tests): Add tst-pathconf.
46801         * posix/tst-pathconf.c: New test case.
46802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46803         _PC_PIPE_BUF.
46804         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46806 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46808         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46810 2013-03-06  Andreas Jaeger  <aj@suse.de>
46812         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46813         definition via __MAP_ANONYMOUS.
46815         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46816         it's not part of Linux headers.
46818         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46819         (MAP_HUGE_MASK): Define.
46821         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46822         Define.
46823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46825         Define.
46826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46827         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46828         Define.
46829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46830         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46831         Define.
46832         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46834         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46835         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46836         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46837         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46838         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46839         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46842         Handle f2fs.
46844         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46845         Handle f2fs and efivarfs.
46847         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46848         f2fs.
46850         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46851         (EFIVARFS_MAGIC): Add.
46852         (F2FS_LINK_MAX): Add.
46854 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46856         * stdio-common/vfprintf.c: Replace __builtin_expect with
46857         __glibc_unlikely.
46859 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46861         [BZ #13550]
46862         * sysdeps/generic/bp-sym.h: Remove file.
46863         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46864         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46865         <bp-sym.h> and <bp-asm.h>.
46866         (__longjmp): Don't use BP_SYM.
46867         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46868         and <bp-asm.h>.
46869         (memcpy): Don't use BP_SYM.
46870         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46871         <bp-sym.h> and <bp-asm.h>.
46872         (memcpy): Don't use BP_SYM.
46873         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46874         <bp-asm.h>.
46875         (memcpy): Don't use BP_SYM.
46876         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46877         <bp-asm.h>.
46878         (memset): Don't use BP_SYM.
46879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46881         (__bzero): Don't use BP_SYM.
46882         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46883         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46885         <bp-sym.h> and <bp-asm.h>.
46886         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46887         pointers.
46888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46889         <bp-sym.h> and <bp-asm.h>.
46890         (memcpy): Don't use BP_SYM.
46891         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46892         <bp-sym.h> and <bp-asm.h>.
46893         (memset): Don't use BP_SYM.
46894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46896         (__bzero): Don't use BP_SYM.
46897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46900         <bp-sym.h> and <bp-asm.h>.
46901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46902         pointers.
46903         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46904         <bp-sym.h> and <bp-asm.h>.
46905         (memcpy): Don't use BP_SYM.
46906         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46907         <bp-sym.h> and <bp-asm.h>.
46908         (memset): Don't use BP_SYM.
46909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46911         (__bzero): Don't use BP_SYM.
46912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46915         <bp-sym.h> and <bp-asm.h>.
46916         (__memchr): Don't use BP_SYM.
46917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46918         <bp-sym.h> and <bp-asm.h>.
46919         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46920         pointers.
46921         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46922         <bp-sym.h> and <bp-asm.h>.
46923         (memcpy): Don't use BP_SYM.
46924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46925         <bp-sym.h> and <bp-asm.h>.
46926         (__mempcpy): Don't use BP_SYM.
46927         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46928         <bp-sym.h> and <bp-asm.h>.
46929         (__memrchr): Don't use BP_SYM.
46930         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46931         <bp-sym.h> and <bp-asm.h>.
46932         (memset): Don't use BP_SYM.
46933         (__bzero): Likewise.
46934         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46935         <bp-sym.h> and <bp-asm.h>.
46936         (__rawmemchr): Don't use BP_SYM.
46937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46938         <bp-sym.h> and <bp-asm.h>.
46939         (__STRCMP): Don't use BP_SYM.
46940         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46941         <bp-sym.h> and <bp-asm.h>.
46942         (strchr): Don't use BP_SYM.
46943         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46944         <bp-sym.h> and <bp-asm.h>.
46945         (__strchrnul): Don't use BP_SYM.
46946         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46947         <bp-sym.h> and <bp-asm.h>.
46948         (strlen): Don't use BP_SYM.
46949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46950         <bp-sym.h> and <bp-asm.h>.
46951         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46952         pointers.
46953         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46954         <bp-sym.h> and <bp-asm.h>.
46955         (__strnlen): Don't use BP_SYM.
46956         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46957         <bp-sym.h> and <bp-asm.h>.
46958         (__GI__setjmp): Don't use BP_SYM.
46959         (_setjmp): Likewise.
46960         (__sigsetjmp): Likewise.
46961         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46962         (L(start_addresses)): Don't use BP_SYM.
46963         (_start): Likewise.
46964         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46965         <bp-asm.h>.
46966         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46967         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46968         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46969         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46970         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46971         <bp-asm.h>.
46972         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46973         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46974         about bounded pointers.
46975         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46976         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46977         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46978         <bp-asm.h>.
46979         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46980         about bounded pointers.  Remove GKM FIXME comments.
46981         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46982         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46983         <bp-asm.h>.
46984         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46985         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46986         Remove GKM FIXME comments.
46987         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46988         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46989         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46990         <bp-asm.h>.
46991         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46992         about bounded pointers.  Remove GKM FIXME comment.
46993         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46994         and <bp-asm.h>.
46995         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46996         pointers.
46997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46998         <bp-sym.h> and <bp-asm.h>.
46999         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47001         <bp-sym.h> and <bp-asm.h>.
47002         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47003         comment.
47005 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47007         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47008         call free(NULL).
47010 2013-03-05  David S. Miller  <davem@davemloft.net>
47012         * po/es.po: Update from translation team.
47014 2013-03-05  Andreas Jaeger  <aj@suse.de>
47016         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47017         <bits/mman-linux.h>.
47018         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47019         is fine.
47020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47021         <bits/mman-linux.h> to end of file.
47022         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47023         is fine.
47024         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47025         <bits/mman-linux.h> to end of file.
47026         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47027         is fine.
47028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47029         <bits/mman-linux.h> to end of file.
47031         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47032         (MCL_CURRENT, MCL_FUTURE): Define here.
47034 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47036         [BZ #15232]
47037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47038         attribute_hidden.
47039         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47041 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47044         fourth parameter needed for rt_sigprocmask syscall.
47045         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47046         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47050         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47052 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47054         [BZ #13550]
47055         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47056         comment about bounded pointers.
47057         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47058         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47060 2013-03-04  Andreas Jaeger  <aj@suse.de>
47062         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47063         common definitions.
47065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47066         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47067         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47068         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47070         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47072 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47074         [BZ #15055]
47075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47076         __ieee754_sqrl instead of __sqrl.
47078 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47080         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47081         * sysdeps/powerpc/fpu_control.h: ... here.
47082         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47083         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47084         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47085         * sysdeps/powerpc/bits/mathinline.h: ... here.
47087 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47089         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47090         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47091         to just [NEED_DL_SYSINFO_DSO].
47092         * elf/dl-support.c: Likewise.
47093         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47094         * elf/rtld.c (dl_main): Likewise.
47095         * elf/setup-vdso.h (setup_vdso): Likewise.
47096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47097         * sysdeps/unix/sysv/linux/dl-sysdep.c
47098         (_dl_discover_osversion): Likewise.
47100 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47102         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47103         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47105 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47107         * NEWS: Mention libm performance improvements and non-x86 PI
47108         futex support.
47110         * csu/libc-start.c (__pthread_initialize_minimal): Change
47111         function arguments.
47112         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47114 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47116         [BZ #13550]
47117         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47119         <bp-sym.h> and <bp-asm.h>.
47120         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47122         and <bp-asm.h>.
47123         (memcpy): Don't use BP_SYM.
47124         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47125         <bp-asm.h>.
47126         (__mpn_add_n): Don't use BP_SYM.
47127         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47128         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47129         and <bp-asm.h>.
47130         (__mpn_addmul_1): Don't use BP_SYM.
47131         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47132         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47133         <bp-sym.h>.
47134         (_setjmp): Don't use BP_SYM.
47135         (__novmx_setjmp): Likewise.
47136         (__GI__setjmp): Likewise.
47137         (__vmx_setjmp): Likewise.
47138         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47139         <bp-sym.h>.
47140         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47141         (__bzero): Don't use BP_SYM.
47142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47144         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47145         <bp-sym.h> and <bp-asm.h>.
47146         (memcpy): Don't use BP_SYM.
47147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47148         <bp-sym.h> and <bp-asm.h>.
47149         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47151         <bp-sym.h> and <bp-asm.h>.
47152         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47153         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47154         <bp-asm.h>.
47155         (__mpn_lshift): Don't use BP_SYM.
47156         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47157         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47158         <bp-asm.h>.
47159         (memset): Don't use BP_SYM.
47160         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47161         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47162         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47163         <bp-asm.h>.
47164         (__mpn_mul_1): Don't use BP_SYM.
47165         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47167         <bp-sym.h> and <bp-asm.h>.
47168         (memcmp): Don't use BP_SYM.
47169         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47170         <bp-sym.h> and <bp-asm.h>.
47171         (memcpy): Don't use BP_SYM.
47172         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47173         <bp-sym.h> and <bp-asm.h>.
47174         (memset): Don't use BP_SYM.
47175         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47176         <bp-sym.h> and <bp-asm.h>.
47177         (strncmp): Don't use BP_SYM.
47178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47179         <bp-sym.h> and <bp-asm.h>.
47180         (memcpy): Don't use BP_SYM.
47181         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47182         <bp-sym.h> and <bp-asm.h>.
47183         (memset): Don't use BP_SYM.
47184         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47185         <bp-sym.h> and <bp-asm.h>.
47186         (__memchr): Don't use BP_SYM.
47187         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47188         <bp-sym.h> and <bp-asm.h>.
47189         (memcmp): Don't use BP_SYM.
47190         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47191         <bp-sym.h> and <bp-asm.h>.
47192         (memcpy): Don't use BP_SYM.
47193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47194         <bp-sym.h> and <bp-asm.h>.
47195         (__mempcpy): Don't use BP_SYM.
47196         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47197         <bp-sym.h> and <bp-asm.h>.
47198         (__memrchr): Don't use BP_SYM.
47199         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47200         <bp-sym.h> and <bp-asm.h>.
47201         (memset): Don't use BP_SYM.
47202         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47203         <bp-sym.h> and <bp-asm.h>.
47204         (__rawmemchr): Don't use BP_SYM.
47205         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47206         <bp-sym.h> and <bp-asm.h>.
47207         (__STRCMP): Don't use BP_SYM.
47208         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47209         <bp-sym.h> and <bp-asm.h>.
47210         (strchr): Don't use BP_SYM.
47211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47212         <bp-sym.h> and <bp-asm.h>.
47213         (__strchrnul): Don't use BP_SYM.
47214         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47215         <bp-sym.h> and <bp-asm.h>.
47216         (strlen): Don't use BP_SYM.
47217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47218         <bp-sym.h> and <bp-asm.h>.
47219         (strncmp): Don't use BP_SYM.
47220         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47221         <bp-sym.h> and <bp-asm.h>.
47222         (__strnlen): Don't use BP_SYM.
47223         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47224         <bp-asm.h>.
47225         (__mpn_rshift): Don't use BP_SYM.
47226         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47228         <bp-sym.h> and <bp-asm.h>.
47229         (__sigsetjmp): Don't use BP_SYM.
47230         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47231         (L(start_addresses)): Don't use BP_SYM.
47232         (_start): Likewise.
47233         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47234         <bp-asm.h>.
47235         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47236         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47237         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47238         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47239         <bp-asm.h>.
47240         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47241         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47242         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47243         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47244         <bp-asm.h>.
47245         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47246         comments.
47247         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47248         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47249         <bp-asm.h>.
47250         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47251         FIXME comments.
47252         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47253         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47254         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47255         <bp-asm.h>.
47256         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47257         comment.
47258         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47259         and <bp-asm.h>.
47260         (strncmp): Don't use BP_SYM,
47261         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47262         <bp-asm.h>.
47263         (__mpn_sub_n): Don't use BP_SYM.
47264         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47265         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47266         and <bp-asm.h>.
47267         (__mpn_submul_1): Don't use BP_SYM.
47268         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47270         <bp-sym.h> and <bp-asm.h>.
47271         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47273         <bp-sym.h> and <bp-asm.h>.
47274         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47275         comment.
47277 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47280         Use ZK to minimize writes to Z.
47281         (sub_magnitudes): Simplify code a bit.
47282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47283         Use ZK to minimize writes to Z.
47284         (sub_magnitudes): Simplify code a bit.
47286 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47288         * csu/gmon-start.c: Add special exception to license text.
47290 2013-02-27  Richard Henderson  <rth@redhat.com>
47292         * scripts/config.guess: Update from config.git.
47293         * scripts/config.sub: Likewise.
47295 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47299         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47301         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47303         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47305         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47307 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47309         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47310         [$(build-shared = yes].
47312 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47314         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47315         (__mul): Reduce iterations for calculating mantissa.
47317         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47318         MPTWO.
47319         (__mpranred): Likewise.
47321         [BZ #15160]
47322         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47323         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47325 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47327         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47328         Define __attribute__.
47330 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47332         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47333         unused.
47334         * posix/regex_internal.h (__attribute): Remove.
47335         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47336         (re_string_context_at): Likewise.
47337         (bitset_not): Use __attribute__ and mark function as possibly
47338         unused.
47339         (bitset_merge): Likewise.
47340         (bitset_mask): Likewise.
47341         (re_string_char_size_at): Likewise.
47342         (re_string_wchar_at): Likewise.
47343         (re_string_elem_size_at): Likewise.
47345 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47347         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47348         code.
47349         (cc32): Likewise.
47351         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47352         (__acr): Likewise.
47353         (__cpy): Likewise.
47354         (norm): Likewise.
47355         (denorm): Likewise.
47356         (__dbl_mp): Likewise.
47357         (add_magnitudes): Likewise.
47358         (sub_magnitudes): Likewise.
47359         (__mul): Likewise.
47360         (__inv): Likewise.
47362         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47363         style.
47365         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47366         style.
47368         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47369         code.
47371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47372         up changes with default code.
47373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47374         Likewise.
47376 2013-02-24  Allan McRae  <allan@archlinux.org>
47378         * manual/socket.texi (The Internet Namespace): Order menu items
47379         to match that in the file.
47381         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47382         node listing of the info page menu.
47384 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47386         [BZ #13550]
47387         * sysdeps/i386/bp-asm.h: Remove file.
47388         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47389         (PARMS): Do not use macros from bp-asm.h.
47390         (S1): Likewise.
47391         (S2): Likewise.
47392         (SIZE): Likewise.
47393         (__mpn_add_n): Do not use BP_SYM
47394         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47395         "bp-asm.h".
47396         (PARMS): Do not use macros from bp-asm.h.
47397         (S1): Likewise.
47398         (SIZE): Likewise.
47399         (__mpn_addmul_1): Do not use BP_SYM
47400         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47401         "bp-asm.h".
47402         (PARMS): Do not use macros from bp-asm.h.
47403         (SIGMSK): Likewise.
47404         (_setjmp): Likewise.  Do not use BP_SYM.
47405         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47406         "bp-asm.h".
47407         (PARMS): Do not use macros from bp-asm.h.
47408         (SIGMSK): Likewise.
47409         (setjmp): Likewise.  Do not use BP_SYM.
47410         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47411         "bp-asm.h".
47412         (PARMS): Do not use macros from bp-asm.h.
47413         (__frexp): Do not use BP_SYM.
47414         (frexp): Likewise.
47415         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47416         "bp-asm.h".
47417         (PARMS): Do not use macros from bp-asm.h.
47418         (__frexpf): Do not use BP_SYM.
47419         (frexpf): Likewise.
47420         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47421         "bp-asm.h".
47422         (PARMS): Do not use macros from bp-asm.h.
47423         (__frexpl): Do not use BP_SYM.
47424         (frexpl): Likewise.
47425         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47426         "bp-asm.h".
47427         (PARMS): Do not use macros from bp-asm.h.
47428         (__remquo): Do not use BP_SYM.
47429         (remquo): Likewise.
47430         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47431         "bp-asm.h".
47432         (PARMS): Do not use macros from bp-asm.h.
47433         (__remquof): Do not use BP_SYM.
47434         (remquof): Likewise.
47435         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47436         "bp-asm.h".
47437         (PARMS): Do not use macros from bp-asm.h.
47438         (__remquol): Do not use BP_SYM.
47439         (remquol): Likewise.
47440         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47441         "bp-asm.h".
47442         (PARMS): Do not use macros from bp-asm.h.
47443         (DEST): Likewise.
47444         (SRC): Likewise.
47445         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47446         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47447         "bp-asm.h".
47448         (PARMS): Do not use macros from bp-asm.h.
47449         (strlen): Do not use BP_SYM.
47450         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47451         "bp-asm.h".
47452         (PARMS): Do not use macros from bp-asm.h.
47453         (S1): Likewise.
47454         (S2): Likewise.
47455         (SIZE): Likewise.
47456         (__mpn_add_n): Do not use BP_SYM.
47457         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47458         "bp-asm.h".
47459         (PARMS): Do not use macros from bp-asm.h.
47460         (S1): Likewise.
47461         (SIZE): Likewise.
47462         (__mpn_addmul_1): Do not use BP_SYM.
47463         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47464         weak_alias.
47465         (bzero): Likewise.
47466         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47467         "bp-asm.h".
47468         (PARMS): Do not use macros from bp-asm.h.
47469         (S): Likewise.
47470         (SIZE): Likewise.
47471         (__mpn_lshift): Do not use BP_SYM.
47472         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47473         "bp-asm.h".
47474         (PARMS): Do not use macros from bp-asm.h.
47475         (DEST): Likewise.
47476         (SRC): Likewise.
47477         (LEN): Likewise.
47478         (memcpy): Likewise.  Do not use BP_SYM.
47479         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47480         libc_hidden_def and weak_alias.
47481         (mempcpy): Do not use BP_SYM in weak_alias.
47482         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47483         "bp-asm.h".
47484         (PARMS): Do not use macros from bp-asm.h.
47485         (DEST): Likewise.
47486         (LEN): Likewise.
47487         [!BZERO_P] (CHR): Likewise.
47488         (memset): Likewise.  Do not use BP_SYM.
47489         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47490         "bp-asm.h".
47491         (PARMS): Do not use macros from bp-asm.h.
47492         (S1): Likewise.
47493         (SIZE): Likewise.
47494         (__mpn_mul_1): Do not use BP_SYM.
47495         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47496         "bp-asm.h".
47497         (PARMS): Do not use macros from bp-asm.h.
47498         (S): Likewise.
47499         (SIZE): Likewise.
47500         (__mpn_rshift): Do not use BP_SYM.
47501         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47502         "bp-asm.h".
47503         (PARMS): Do not use macros from bp-asm.h.
47504         (STR): Likewise.
47505         (CHR): Likewise.
47506         (strchr): Likewise.  Do not use BP_SYM.
47507         (index): Do not use BP_SYM in weak_alias.
47508         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47509         "bp-asm.h".
47510         (PARMS): Do not use macros from bp-asm.h.
47511         (DEST): Likewise.
47512         (SRC): Likewise.
47513         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47514         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47515         "bp-asm.h".
47516         (PARMS): Do not use macros from bp-asm.h.
47517         (strlen): Do not use BP_SYM.
47518         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47519         "bp-asm.h".
47520         (PARMS): Do not use macros from bp-asm.h.
47521         (S1): Likewise.
47522         (S2): Likewise.
47523         (SIZE): Likewise.
47524         (__mpn_sub_n): Do not use BP_SYM.
47525         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47526         "bp-asm.h".
47527         (PARMS): Do not use macros from bp-asm.h.
47528         (S1): Likewise.
47529         (SIZE): Likewise.
47530         (__mpn_submul_1): Do not use BP_SYM.
47531         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47532         "bp-asm.h".
47533         (PARMS): Do not use macros from bp-asm.h.
47534         (S1): Likewise.
47535         (S2): Likewise.
47536         (SIZE): Likewise.
47537         (__mpn_add_n): Do not use BP_SYM.
47538         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47539         weak_alias.
47540         (bzero): Likewise.
47541         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47542         "bp-asm.h".
47543         (PARMS): Do not use macros from bp-asm.h.
47544         (BLK2): Likewise.
47545         (LEN): Likewise.
47546         (memcmp): Do not use BP_SYM.
47547         (bcmp): Do not use BP_SYM in weak_alias.
47548         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47549         "bp-asm.h".
47550         (PARMS): Do not use macros from bp-asm.h.
47551         (DEST): Likewise.
47552         (SRC): Likewise.
47553         (LEN): Likewise.
47554         (memcpy): Likewise.  Do not use BP_SYM.
47555         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47556         "bp-asm.h".
47557         (PARMS): Do not use macros from bp-asm.h.
47558         (DEST): Likewise.
47559         (SRC): Likewise.
47560         (LEN): Likewise.
47561         (memmove): Likewise.  Do not use BP_SYM.
47562         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47563         "bp-asm.h".
47564         (PARMS): Do not use macros from bp-asm.h.
47565         (DEST): Likewise.
47566         (SRC): Likewise.
47567         (LEN): Likewise.
47568         (__mempcpy): Likewise.  Do not use BP_SYM.
47569         (mempcpy): Do not use BP_SYM in weak_alias.
47570         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47571         "bp-asm.h".
47572         (PARMS): Do not use macros from bp-asm.h.
47573         (DEST): Likewise.
47574         (LEN): Likewise.
47575         [!BZERO_P] (CHR): Likewise.
47576         (memset): Likewise.  Do not use BP_SYM.
47577         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47578         "bp-asm.h".
47579         (PARMS): Do not use macros from bp-asm.h.
47580         (STR2): Likewise.
47581         (strcmp): Do not use BP_SYM.
47582         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47583         "bp-asm.h".
47584         (PARMS): Do not use macros from bp-asm.h.
47585         (STR): Likewise.
47586         (DELIM): Likewise.
47587         [USE_AS_STRTOK_R] (SAVE): Likewise.
47588         (FUNCTION): Likewise.  Do not use BP_SYM.
47589         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47590         aliases.
47591         (strtok_r): Likewise.
47592         (__GI___strtok_r): Likewise.
47593         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47594         (PARMS): Do not use macros from bp-asm.h.
47595         (S): Likewise.
47596         (SIZE): Likewise.
47597         (__mpn_lshift): Do not use BP_SYM.
47598         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47599         (PARMS): Do not use macros from bp-asm.h.
47600         (STR): Likewise.
47601         (CHR): Likewise.
47602         (__memchr): Do not use BP_SYM.
47603         (memchr): Do not use BP_SYM in weak_alias.
47604         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47605         (PARMS): Do not use macros from bp-asm.h.
47606         (BLK2): Likewise.
47607         (LEN): Likewise.
47608         (memcmp): Do not use BP_SYM.
47609         (bcmp): Do not use BP_SYM in weak_alias.
47610         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47611         (PARMS): Do not use macros from bp-asm.h.
47612         (S1): Likewise.
47613         (SIZE): Likewise.
47614         (__mpn_mul_1): Do not use BP_SYM.
47615         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47616         "bp-asm.h".
47617         (PARMS): Do not use macros from bp-asm.h.
47618         (STR): Likewise.
47619         (CHR): Likewise.
47620         (__rawmemchr): Do not use BP_SYM.
47621         (rawmemchr): Do not use BP_SYM in weak_alias.
47622         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47623         (PARMS): Do not use macros from bp-asm.h.
47624         (S): Likewise.
47625         (SIZE): Likewise.
47626         (__mpn_rshift): Do not use BP_SYM.
47627         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47628         (PARMS): Do not use macros from bp-asm.h.
47629         (SIGMSK): Likewise.
47630         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47631         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47632         (_start): Do not use BP_SYM.
47633         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47634         (PARMS): Do not use macros from bp-asm.h.
47635         (DEST): Likewise.
47636         (SRC): Likewise.
47637         (__stpcpy): Likewise.  Do not use BP_SYM.
47638         (stpcpy): Do not use BP_SYM in weak_alias.
47639         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47640         "bp-asm.h".
47641         (PARMS): Do not use macros from bp-asm.h.
47642         (DEST): Likewise.
47643         (SRC): Likewise.
47644         (LEN): Likewise.
47645         (__stpncpy): Likewise.  Do not use BP_SYM.
47646         (stpncpy): Do not use BP_SYM in weak_alias.
47647         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47648         (PARMS): Do not use macros from bp-asm.h.
47649         (STR): Likewise.
47650         (CHR): Likewise.
47651         (strchr): Likewise.  Do not use BP_SYM.
47652         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47653         "bp-asm.h".
47654         (PARMS): Do not use macros from bp-asm.h.
47655         (STR): Likewise.
47656         (CHR): Likewise.
47657         (__strchrnul): Likewise.  Do not use BP_SYM.
47658         (strchrnul): Do not use BP_SYM in weak_alias.
47659         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47660         "bp-asm.h".
47661         (PARMS): Do not use macros from bp-asm.h.
47662         (STOP): Likewise.
47663         (strcspn): Do not use BP_SYM.
47664         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47665         "bp-asm.h".
47666         (PARMS): Do not use macros from bp-asm.h.
47667         (STR): Likewise.
47668         (STOP): Likewise.
47669         (strpbrk): Likewise.  Do not use BP_SYM.
47670         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47671         "bp-asm.h".
47672         (PARMS): Do not use macros from bp-asm.h.
47673         (STR): Likewise.
47674         (CHR): Likewise.
47675         (strrchr): Likewise.  Do not use BP_SYM.
47676         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47677         (PARMS): Do not use macros from bp-asm.h.
47678         (SKIP): Likewise.
47679         (strspn): Do not use BP_SYM.
47680         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47681         (PARMS): Do not use macros from bp-asm.h.
47682         (STR): Likewise.
47683         (DELIM): Likewise.
47684         (SAVE): Likewise.
47685         (FUNCTION): Likewise.  Do not use BP_SYM.
47686         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47687         aliases.
47688         (strtok_r): Likewise.
47689         (__GI___strtok_r): Likewise.
47690         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47691         (PARMS): Do not use macros from bp-asm.h.
47692         (S1): Likewise.
47693         (S2): Likewise.
47694         (SIZE): Likewise.
47695         (__mpn_sub_n): Do not use BP_SYM.
47696         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47697         "bp-asm.h".
47698         (PARMS): Do not use macros from bp-asm.h.
47699         (S1): Likewise.
47700         (SIZE): Likewise.
47701         (__mpn_submul_1): Do not use BP_SYM.
47702         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47703         <bp-sym.h>.
47704         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47705         and <bp-asm.h>.
47706         (PARMS): Do not use macros from bp-asm.h.
47707         (FLAGS): Likewise.
47708         (PTID): Likewise.
47709         (TLS): Likewise.
47710         (CTID): Likewise.
47711         (__clone): Do not use BP_SYM.
47712         (clone): Do not use BP_SYM in weak_alias.
47713         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47714         and <bp-asm.h>.
47715         (PARMS): Do not use macros from bp-asm.h.
47716         (LEN): Likewise.
47717         (__mmap64): Do not use BP_SYM.
47718         (mmap64): Do not use BP_SYM in weak_alias.
47719         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47720         <bp-sym.h> and <bp-asm.h>.
47721         (PARMS): Do not use macros from bp-asm.h.
47722         (__posix_fadvise64_l64): Do not use BP_SYM.
47723         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47724         (PARMS): Do not use macros from bp-asm.h.
47725         (NSOPS): Likewise.
47726         (semtimedop): Do not use BP_SYM.
47727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47728         and <bp-asm.h>.
47730 2013-02-21  Allan McRae  <allan@archlinux.org>
47732         * manual/message.texi (Charset conversion in gettext):
47733         Move @end statement to beginning of line.
47735 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47738         static.
47739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47740         Likewise.
47742         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47743         (denorm): Likewise.
47744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47747 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47749         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47750         tail-call to the resolved function if pltexit isn't needed.
47752 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47755         or Y being zero as being unlikely.
47756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47757         Likewise.
47759 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47761         * manual/nss.texi (System Databases and Name Service Switch):
47762         Remove frobnicate @pxref.
47764 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47766         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47767         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47769 2013-02-20  Petr Machata  <pmachata@redhat.com>
47771         * elf/elf.h (R_ARM_TARGET1): New macro.
47772         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47773         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47774         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47775         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47776         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47777         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47778         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47779         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47780         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47781         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47782         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47783         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47784         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47785         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47786         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47787         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47788         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47789         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47790         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47791         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47792         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47793         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47794         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47795         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47796         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47797         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47798         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47799         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47800         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47801         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47802         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47803         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47804         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47805         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47806         (R_ARM_THM_GOT_BREL12): Likewise.
47807         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47808         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47809         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47810         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47811         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47812         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47813         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47814         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47815         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47817 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47819         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47820         __attribute_used__ to __attribute__ ((unused)).
47822 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47824         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47825         powerpc mpa.c.
47826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47827         comment formatting.
47828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47830 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47832         [BZ #13550]
47833         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47834         Remove macro.
47835         (ENTER): Remove both macro definitions.
47836         (LEAVE): Likewise.
47837         (CHECK_BOUNDS_LOW): Likewise.
47838         (CHECK_BOUNDS_HIGH): Likewise.
47839         (CHECK_BOUNDS_BOTH): Likewise.
47840         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47841         (RETURN_BOUNDED_POINTER): Likewise.
47842         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47843         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47844         (POP_ERRNO_LOCATION_RETURN): Likewise.
47845         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47847         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47848         macros.
47849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47850         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47851         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47852         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47853         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47854         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47855         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47856         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47857         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47858         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47859         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47860         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47861         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47862         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47863         removed macros.
47864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47865         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47866         macros.
47867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47868         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47869         * sysdeps/i386/i586/memset.S (memset): Likewise.
47870         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47871         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47872         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47873         macros.
47874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47875         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47876         Change uses of L(2) to L(out).
47877         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47878         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47879         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47880         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47881         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47882         removed macros.
47883         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47884         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47885         macros.
47886         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47887         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47888         (RETURN): Do not use macro LEAVE.
47889         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47890         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47891         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47892         * sysdeps/i386/i686/memset.S (memset): Likewise.
47893         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47894         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47895         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47896         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47897         Likewise.
47898         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47899         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47900         L(1_2) and L(1_3) into L(1).
47901         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47902         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47903         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47904         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47905         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47906         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47907         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47908         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47909         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47910         macros.
47911         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47912         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47913         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47914         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47915         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47916         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47917         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47918         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47919         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47920         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47921         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47922         * sysdeps/i386/strspn.S (strspn): Likewise.
47923         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47924         conditional code.
47925         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47926         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47927         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47928         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47929         L(1_3) into L(1_1).
47930         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47931         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47932         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47933         macros.
47934         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47936 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47938         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47939         macro.
47941 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47943         * math/atest-exp.c (exp_mpn): Remove ROUND.
47944         * math/atest-exp2.c (exp_mpn): Likewise.
47945         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47947         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47948         * stdlib/tst-tls-atexit-lib.c: Likewise.
47949         * stdlib/tst-tls-atexit.c: Likewise.
47951 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47953         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47954         and __attribute_alloc_size__.
47956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47958         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47959         __attribute_alloc_size__.
47960         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47961         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47963 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47965         * include/programs/xmalloc.h: New file.
47966         * catgets/gencat.c: Include it.
47967         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47968         * elf/pldd.c: Likewise.
47969         * iconv/iconv_charmap.c: Likewise.
47970         * iconv/iconvconfig.c: Likewise.
47971         * iconv/strtab.c: Likewise.
47972         * locale/programs/locale.c: Likewise.
47973         * locale/programs/localedef.h: Likewise.
47974         * locale/programs/simple-hash.c: Likewise.
47975         * nscd/nscd.h: Likewise.
47976         * nss/makedb.c: Likewise.
47977         * sysdeps/generic/ldconfig.h: Likewise.
47979 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47981         * Versions.def: Add GLIBC_2.18.
47982         * include/link.h (struct link_map): New member l_tls_dtor_count.
47983         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47984         (__call_tls_dtors): Likewise.
47985         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47986         __cxa_thread_atexit_impl.
47987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47988         Likewise.
47989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47990         Likewise.
47991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47992         Likewise.
47993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47994         Likewise.
47995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47997         Likewise.
47998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47999         Likewise.
48000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48002         Likewise.
48003         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48004         (tests): Add test case tst-tls-atexit.
48005         (modules-names): Add shared library for tst-tls-atexit.
48006         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48007         (GLIBC_PRIVATE): Add __call_tls_dtors.
48008         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48009         for libstdc++.
48010         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48011         * stdlib/tst-tls-atexit.c: New test case.
48012         * stdlib/tst-tls-atexit-lib.c: New test case.
48014         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48016         * elf/Versions (ld): Add _dl_find_dso_for_object.
48017         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48018         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48019         (dl_open_worker): Use _dl_find_dso_for_object.
48020         * elf/dl-sym.c (do_sym): Likewise.
48021         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48023 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48025         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48026         Syntactic changes only.
48027         (_dl_runtime_profile): Do a tail-call to the resolved function.
48029 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48031         [BZ #13550]
48032         * sysdeps/x86_64/bp-asm.h: Remove file.
48033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48034         <bp-sym.h> and <bp-asm.h>.
48035         (__clone): Do not use BP_SYM.
48036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48037         <bp-sym.h> and <bp-asm.h>.
48038         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48039         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48040         "bp-asm.h".
48041         (_setjmp): Do not use BP_SYM.
48042         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48043         "bp-asm.h".
48044         (setjmp): Do not use BP_SYM.
48045         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48046         libc_hidden_def.
48047         (mempcpy): Do not use BP_SYM in weak_alias.
48048         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48049         "bp-asm.h".
48050         (strchr): Do not use BP_SYM.
48051         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48052         "bp-asm.h".
48053         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48054         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48055         (_start): Do not use BP_SYM.
48056         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48057         "bp-asm.h".
48058         (strcat): Do not use BP_SYM.
48059         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48060         "bp-asm.h".
48061         (STRCMP): Do not use BP_SYM.
48062         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48063         "bp-asm.h".
48064         (STRCPY): Do not use BP_SYM.
48065         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48066         "bp-asm.h".
48067         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48068         "bp-asm.h".
48069         (FUNCTION): Do not use BP_SYM.
48070         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48071         weak_alias.
48072         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48074 2013-02-17  Andreas Jaeger  <aj@suse.de>
48076         * time/Versions: Sort entries.
48077         * string/Versions: Likewise.
48078         * resolv/Versions: Likewise.
48079         * posix/Versions: Likewise.
48080         * iconv/Versions: Likewise.
48081         * elf/Versions: Likewise.
48082         * wcsmbs/Versions: Likewise.
48084 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48086         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48087         loop termination condition.
48089         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48090         variable to calculate EZ.
48091         (__sqr): Likewise.
48093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48094         the lower precision input.
48096 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48098         [BZ #13550]
48099         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48100         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48101         (run-via-rtld-prefix): Do not handle %-bp tests.
48102         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48103         (all-object-suffixes): Remove .ob.
48104         (bppfx): Remove variable.
48105         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48106         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48107         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48108         [$(build-bounded) = yes] (libtype.ob): Likewise.
48109         * Makerules (elide-routines.ob): Remove variable.
48110         (do-tests-clean): Do not handle *-bp.out.
48111         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48112         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48113         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48114         (tests): Do not include $(tests-bp.out).
48115         (xtests): Do not include $(xtests-bp.out).
48116         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48117         [$(build-bounded) = yes] ($(addprefix
48118         $(objpfx),$(binaries-bounded))): Remove rule.
48119         ($(objpfx)%-bp.out): Remove rule.
48120         * config.make.in (build-bounded): Remove variable.
48121         * crypt/Makefile [$(build-bounded) = yes]
48122         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48123         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48124         append to variable.
48125         [$(build-bounded) = yes] (install-lib): Likewise.
48126         [$(build-bounded) = yes] (generated): Likewise.
48127         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48128         Remove rule.
48129         * intl/Makefile [$(build-bounded) = yes]
48130         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48131         * math/Makefile [$(build-bounded) = yes]
48132         ($(tests:%=$(objpfx)%-bp): Likewise.
48133         * misc/Makefile [$(build-bounded) = yes]
48134         ($(objpfx)tst-tsearch-bp): Likewise.
48135         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48136         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48137         Remove dependency.
48138         * string/Makefile (o-objects.ob): Remove variable.
48139         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48140         (CFLAGS-.ob): Remove variable.
48141         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48142         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48143         both definitions of variable.
48144         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48145         (ASFLAGS-.ob): Remove variable.
48147 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48149         [BZ #13550]
48150         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48151         Remove __BOUNDED_POINTERS__ from condition.
48152         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48153         * string/bits/string2.h [!__NO_STRING_INLINES &&
48154         !__BOUNDED_POINTERS__]: Likewise.
48155         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48156         Likewise.
48157         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48158         Remove conditional code.
48159         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48160         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48161         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48162         condition.
48164         [BZ #13550]
48165         * csu/libc-start.c: Do not include <bp-sym.h>.
48166         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48167         * elf/dl-open.c: Do not include <bp-sym.h>.
48168         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48169         * math/fegetenv.c: Do not include <bp-sym.h>.
48170         (fegetenv): Do not use BP_SYM in versioned symbols.
48171         * nptl/sysdeps/pthread/bits/libc-lockP.h
48172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48173         <bp-sym.h>.
48174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48175         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48177         (__pthread_mutex_destroy): Likewise.
48178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48179         (__pthread_mutex_lock): Likewise.
48180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48181         (__pthread_mutex_trylock): Likewise.
48182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48183         (__pthread_mutex_unlock): Likewise.
48184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48185         (__pthread_mutexattr_init): Likewise.
48186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48187         (__pthread_mutexattr_destroy): Likewise.
48188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48189         (__pthread_mutexattr_settype): Likewise.
48190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48191         (__pthread_rwlock_init): Likewise.
48192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48193         (__pthread_rwlock_destroy): Likewise.
48194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48195         (__pthread_rwlock_rdlock): Likewise.
48196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48197         (__pthread_rwlock_tryrdlock): Likewise.
48198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48199         (__pthread_rwlock_wrlock): Likewise.
48200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48201         (__pthread_rwlock_trywrlock): Likewise.
48202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48203         (__pthread_rwlock_unlock): Likewise.
48204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48205         (__pthread_key_create): Likewise.
48206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48207         (__pthread_setspecific): Likewise.
48208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48209         (__pthread_getspecific): Likewise.
48210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48211         Likewise.
48212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48213         (_pthread_cleanup_push_defer): Likewise.
48214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48215         (_pthread_cleanup_pop_restore): Likewise.
48216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48217         (pthread_setcancelstate): Likewise.
48218         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48219         <bp-sym.h>.
48220         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48221         (memchr): Do not use BP_SYM in weak_alias.
48222         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48223         (fegetenv): Do not use BP_SYM in versioned symbols.
48224         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48225         (fesetenv): Do not use BP_SYM in versioned symbols.
48226         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48227         (feupdateenv): Do not use BP_SYM in versioned symbols.
48228         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48229         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48230         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48231         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48232         (open64): Do not use BP_SYM in weak_alias.
48233         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48234         (fegetenv): Do not use BP_SYM in versioned symbols.
48235         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48236         (fesetenv): Do not use BP_SYM in versioned symbols.
48237         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48238         (feupdateenv): Do not use BP_SYM in versioned symbols.
48239         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48240         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48241         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48242         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48243         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48244         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48246         <bp-sym.h>.
48247         (__libc_start_main): Do not use BP_SYM.
48249 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48252         redundant return line.
48253         (norm): Likewise.
48254         (denorm): Likewise.
48255         (dbl_mp): Likewise.
48256         (sub_magnitudes): Likewise.
48257         (__add): Likewise.
48258         (__sub): Likewise.
48259         (__mul): Likewise.
48260         (__inv): Likewise.
48261         (__dvd): Likewise.
48262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48263         (norm): Likewise.
48264         (denorm): Likewise.
48265         (dbl_mp): Likewise.
48266         (sub_magnitudes): Likewise.
48267         (__add): Likewise.
48268         (__sub): Likewise.
48269         (__mul): Likewise.
48270         (__inv): Likewise.
48271         (__dvd): Likewise.
48273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48274         instead of __mul.
48275         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48276         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48277         (cc32): Likewise.
48279         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48280         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48282         of __mul for squares.
48283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48284         function
48285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48286         Likewise.
48287         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48290 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48292         [BZ #13550]
48293         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48294         code.
48295         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48296         prototype or function definition.  Rename ubp_* variables and
48297         parameters.  Remove argv definitions conditional on
48298         [__BOUNDED_POINTERS__].
48299         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48300         * elf/dl-runtime.c (_dl_fixup): Likewise.
48301         * include/set-hooks.h (RUN_HOOK): Likewise.
48302         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48303         definition.
48304         * string/strcpy.c (strcpy): Do not use __unbounded.
48305         * sysdeps/generic/frame.h (struct layout): Likewise.
48306         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48307         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48308         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48309         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48310         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48311         (__backtrace): Likewise.
48312         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48313         use __ptrvalue.
48314         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48315         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48316         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48317         Likewise.
48318         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48319         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48322         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48323         Do not use __unbounded.
48324         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48325         Rename __unboundedrlimits parameter to rlimits in prototype.
48326         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48327         Do not use __unbounded.
48328         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48329         not use __ptrvalue.
48330         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48331         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48332         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48334         __ptrvalue or __unbounded.
48335         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48336         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48337         use __unbounded.
48338         (__new_msgctl): Do not use __ptrvalue.
48339         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48340         __unbounded.
48341         (__libc_msgrcv): Do not use __ptrvalue.
48342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48343         startup_info): Do not use __unbounded.
48344         (__libc_start_main): Likewise.  Rename ubp_* variables and
48345         parameters.  Remove argv definitions conditional on
48346         [__BOUNDED_POINTERS__].
48347         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48348         __ptrvalue.
48349         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48350         use __unbounded.
48351         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48352         or __ptrvalue.
48353         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48354         use __unbounded.
48355         (__new_shmctl): Do not use __ptrvalue.
48356         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48357         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48358         Likewise.
48359         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48360         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48361         (__libc_sigaction): Likewise.
48362         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48363         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48364         Likewise.
48365         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48367 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48369         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48371         * string/mempcpy.c: Implement by calling memcpy.
48373 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48378         evaluation.
48380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48381         values in the mantissa.
48383         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48384         minimize writes to Z.
48385         (sub_magnitudes): Simplify code a bit.
48387 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48389         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48390         from the message.  The linker prefixes all warnings with that already.
48392 2013-02-12  Andreas Schwab  <schwab@suse.de>
48394         [BZ #15078]
48395         * posix/regexec.c (extend_buffers): Add parameter min_len.
48396         (check_matching): Pass minimum needed length.
48397         (clean_state_log_if_needed): Likewise.
48398         (get_subexp): Likewise.
48399         * posix/Makefile (tests): Add bug-regex34.
48400         (bug-regex34-ENV): Define.
48401         * posix/bug-regex34.c: New file.
48403         [BZ #11561]
48404         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48405         elements compare against the byte sequence of it, not its name.
48406         * posix/Makefile (tests): Add bug-regex35.
48407         (bug-regex35-ENV): Define.
48408         * posix/bug-regex35.c: New file.
48410 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48412         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48413         comment.
48414         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48415         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48416         (CHECK_EOL): Add undef.
48418 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48420         * bits/stdlib-bsearch.h: New file.
48421         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48422         * stdlib/stdlib.h: Likewise.
48424 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48426         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48427         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48428         declaration.
48429         * manual/search.texi (Array Search Function): Add missing const in
48430         lfind prototype.
48431         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48432         declaration to use rlim_t.
48433         (Basic Scheduling Functions): Remove erroneous const from
48434         sched_getparam prototype.  Remove erroneous * from
48435         sched_get_priority_max and sched_get_priority_min prototypes.
48436         (Resource Usage): Fix summary @comment on vtimes to refer to
48437         sys/vtimes.h rather than vtimes.h.
48438         Add missing *s in vtimes prototype.
48439         (Limits on Resources): Fix ulimit prototype to return long int.
48440         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48441         prototypes to use long int rather than double.
48442         (BSD Random): Fix initstate and setstate to use char *, not void *.
48443         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48444         prototype to make second argument 'struct aiocb64 *const[]'.
48445         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48446         (Status of AIO Operations): Remove erroneous const in aio_return and
48447         aio_return64 prototypes.
48448         (Synchronizing I/O): Fix sync prototype to return void.
48449         * manual/startup.texi (Suboptions): Remove an erroneous const in
48450         getsubopt prototype.
48451         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48452         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48453         use size_t rather than int.
48454         (Scanning All Users): Likewise for getpwent_r.
48455         (Setting Groups): Add missing const to setgroups prototype.
48456         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48457         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48458         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48459         'const void *' rather than 'const char *'.
48460         (Host Address Functions): Likewise for inet_ntop.
48461         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48462         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48463         ssize_t for return value.
48464         (Sending Data): Likewise for send, sendto, sendmsg.
48465         (Socket Option Functions): Add a missing const in setsockopt prototype.
48466         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48467         use wchar_t for the argument.
48468         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48469         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48470         take no arguments.
48471         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48472         double/float/long double for second argument.
48473         Fix return types of significand, significandf, significandl.
48474         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48475         argument in fchmod prototype.
48476         (File Owner): Use uid_t and gid_t in fchown prototype.
48477         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48478         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48479         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48480         use 'const struct dirent **' as argument types to CMP function pointer
48481         argument.
48482         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48483         (File Times): Fix summary magic @comment for struct utimbuf and utime
48484         to refer to utime.h, not time.h.
48485         * manual/string.texi (Argz Functions): Add missing const in
48486         argz_extract and argz_next prototypes.
48487         (Finding Tokens in a String): Likewise for basename.
48488         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48489         (Copying and Concatenation): Fix typo in wmemmove prototype.
48490         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48491         (Signal Stack): Remove erroneous const in sigstack prototype.
48492         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48493         prototype.
48494         (Simple Calendar Time): Likewise for stime.
48495         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48496         prototype.
48497         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48498         say sys/sysctl.h instead.
48499         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48500         and vsyslog prototypes.
48502 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48504         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48505         Remove.
48507 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48509         * misc/sys/mman.h: Fix typo in mremap comment.
48511 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48513         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48514         the '\0' terminator.
48516 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48518         [BZ #13550]
48519         * debug/segfault.c: Don't include <bp-checks.h>.
48520         * sysdeps/generic/bp-checks.h: Remove file.
48521         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48522         (__GETDENTS): Don't use CHECK_N.
48523         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48524         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48525         (__getgroups): Don't use CHECK_N.
48526         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48527         (setgroups): Don't use CHECK_N.
48528         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48529         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48530         (__libc_msgrcv): Don't use CHECK_N.
48531         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48532         (__libc_msgsnd): Don't use CHECK_N.
48533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48534         <bp-checks.h>.
48535         (__libc_pread): Don't use CHECK_N.
48536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48537         include <bp-checks.h>.
48538         (__libc_pread64): Don't use CHECK_N.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48540         include <bp-checks.h>.
48541         (__libc_pwrite): Don't use CHECK_N.
48542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48543         include <bp-checks.h>.
48544         (__libc_pwrite64): Don't use CHECK_N.
48545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48546         <bp-checks.h>.
48547         (__libc_pread): Don't use CHECK_N.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48549         include <bp-checks.h>.
48550         (__libc_pread64): Don't use CHECK_N.
48551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48552         include <bp-checks.h>.
48553         (__libc_pwrite): Don't use CHECK_N.
48554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48555         include <bp-checks.h>.
48556         (__libc_pwrite64): Don't use CHECK_N.
48557         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48558         (do_pread): Don't use CHECK_N.
48559         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48560         (do_pread64): Don't use CHECK_N.
48561         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48562         (do_pwrite): Don't use CHECK_N.
48563         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48564         (do_pwrite64): Don't use CHECK_N.
48565         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48566         (__libc_readv): Don't use CHECK_N.
48567         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48568         (semop): Don't use CHECK_N.
48569         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48570         <bp-checks.h>.
48571         (semtimedop): Don't use CHECK_N.
48572         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48573         (__libc_pread): Don't use CHECK_N.
48574         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48575         <bp-checks.h>.
48576         (__libc_pread64): Don't use CHECK_N.
48577         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48578         <bp-checks.h>.
48579         (__libc_pwrite): Don't use CHECK_N.
48580         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48581         <bp-checks.h>.
48582         (__libc_pwrite64): Don't use CHECK_N.
48583         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48584         <bp-checks.h>.
48585         (__libc_msgrcv): Don't use CHECK_N.
48586         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48587         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48588         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48589         (__libc_writev): Don't use CHECK_N.
48591 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48593         * string/strcpy.c: Removed unused variable.
48595         * Makeconfig (+sysdep-includes): Define with := rather than =.
48596         Use an existing include/ subdir of each sysdeps dir before it.
48598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48600         * nscd/connection.c (register_traced_file): Comment function.
48601         [HAVE_INOTIFY] (union __inev): Define.
48602         [HAVE_INOTIFY] (inotify_check_files): New function.
48603         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48604         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48605         clear_db_cache.
48606         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48608 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48610         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48611         loaded if not already and that a failure is permanent.
48613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48615         [BZ #15006]
48616         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48617         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48619 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48621         [BZ #13550]
48622         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48623         (CHECK_1_NULL_OK): Likewise.
48624         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48625         (__fxstat): Do not use CHECK_1.
48626         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48627         <bp-checks.h>.
48628         (___fxstat64): Do not use CHECK_1.
48629         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48630         <bp-checks.h>.
48631         (__fxstatat): Do not use CHECK_1.
48632         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48633         <bp-checks.h>.
48634         (__fxstatat64): Do not use CHECK_1.
48635         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48636         <bp-checks.h>.
48637         (__fxstat): Do not use CHECK_1.
48638         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48639         <bp-checks.h>.
48640         (__fxstatat): Do not use CHECK_1.
48641         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48642         <bp-checks.h>.
48643         (__getresgid): Do not use CHECK_1.
48644         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48645         <bp-checks.h>.
48646         (__getresuid): Do not use CHECK_1.
48647         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48648         <bp-checks.h>.
48649         (__lxstat): Do not use CHECK_1.
48650         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48651         <bp-checks.h>.
48652         (__old_msgctl): Do not use CHECK_1.
48653         (__new_msgctl): Likewise.
48654         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48655         <bp-checks.h>.
48656         (__new_setrlimit): Do not use CHECK_1.
48657         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48658         <bp-checks.h>.
48659         (__old_shmctl): Do not use CHECK_1.
48660         (__new_shmctl): Likewise.
48661         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48662         <bp-checks.h>.
48663         (__xstat): Do not use CHECK_1.
48664         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48665         (__lxstat): Do not use CHECK_1.
48666         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48667         <bp-checks.h>.
48668         (___lxstat64): Do not use CHECK_1.
48669         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48670         (__old_msgctl): Do not use CHECK_1.
48671         (__new_msgctl): Likewise.
48672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48673         <bp-checks.h>.
48674         (__gettimeofday): Do not use CHECK_1.
48675         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48676         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48677         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48678         <bp-checks.h>.
48679         (__gettimeofday): Do not use CHECK_1.
48680         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48681         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48682         (__new_shmctl): Do not use CHECK_1.
48683         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48684         <bp-checks.h>.
48685         (do_sigtimedwait): Do not use CHECK_1.
48686         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48687         <bp-checks.h>.
48688         (do_sigwaitinfo): Do not use CHECK_1.
48689         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48690         <bp-checks.h>.
48691         (msgctl): Do not use CHECK_1.
48692         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48693         <bp-checks.h>.
48694         (shmctl): Do not use CHECK_1.
48695         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48696         (ustat): Do not use CHECK_1.
48697         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48698         <bp-checks.h>.
48699         (__fxstat): Do not use CHECK_1.
48700         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48701         <bp-checks.h>.
48702         (__fxstatat): Do not use CHECK_1.
48703         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48704         <bp-checks.h>.
48705         (__lxstat): Do not use CHECK_1.
48706         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48707         <bp-checks.h>.
48708         (__xstat): Do not use CHECK_1.
48709         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48710         (__xstat): Do not use CHECK_1.
48711         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48712         (___xstat64): Do not use CHECK_1.
48714         [BZ #13550]
48715         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48716         definitions.
48717         (CHECK_BOUNDS_HIGH): Likewise.
48718         * string/strcpy.c: Do not include <bp-checks.h>.
48719         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48721 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48723         * nscd/nscd-client.h (__nscd_drop_map_ref):
48724         Add __attribute__ ((unused)).
48725         * nis/nss-nisplus.h (niserr2nss): Likewise.
48727         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48728         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48730         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48731         Remove inline keyword.
48732         * include/rounding-mode.h (round_away): Likewise.
48733         * libio/wfileops.c (adjust_wide_data): Likewise.
48734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48735         (__m128i_strloadu_tolower): Likewise.
48736         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48737         (__m128i_strloadu_tolower): Likewise.
48738         * time/mktime.c (ydhms_diff): Likewise.
48739         * locale/elem-hash.h (elem_hash): Likewise.
48740         * locale/setlocale.c (setdata): Likewise.
48741         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48742         (re_string_wchar_at): Likewise.
48743         (bitset_not, bitset_merge, bitset_mask): Likewise.
48744         [!(__GNUC__ > 3)] (inline): Remove macro.
48745         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48746         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48747         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48748         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48749         * string/memcmp.c (memcmp_bytes): Likewise.
48750         * locale/programs/locarchive.c (compute_hashval): Likewise.
48751         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48752         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48753         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48754         * nss/getent.c (print_rpc, print_protocols): Likewise.
48755         (print_passwd, print_group, print_aliases): Likewise.
48756         * nis/nss-nisplus.h (niserr2nss): Likewise.
48757         * nscd/connections.c (restart_p): Likewise.
48758         Change return type to bool.
48760 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48762         * Makeconfig (all-Depend-files): Add existing
48763         $(sorted-subdirs:=/Depend) files.
48764         (all-subdirs): Remove nss.
48765         * sysdeps/unix/inet/Subdirs: Add it here instead.
48766         * hesiod/Depend: New file.
48768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48769         instead of calling alloca.
48771         * io/lseek.c (__lseek): Rename to __libc_lseek.
48772         Define __lseek as an alias.
48774         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48776 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48778         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48779         else clause and remove check for non-standard endianness.
48781 2013-02-04  David S. Miller  <davem@davemloft.net>
48783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48785 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48787         [BZ #13550]
48788         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48789         (__ubp_memchr): Remove prototype.
48790         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48791         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48792         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48793         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48794         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48795         Remove alias.
48796         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48797         (__ubp_memchr): Likewise.
48798         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48799         (__ubp_memchr): Likewise.
48800         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48801         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48802         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48803         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48804         CHECK_STRING.
48805         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48806         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48807         (__getcwd): Do not use CHECK_STRING.
48808         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48809         <bp-checks.h>.
48810         (__real_chown): Do not use CHECK_STRING.
48811         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48812         <bp-checks.h>.
48813         (fchownat): Do not use CHECK_STRING.
48814         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48815         CHECK_STRING.
48816         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48817         <bp-checks.h>.
48818         (__lchown): Do not use CHECK_STRING.
48819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48821         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48822         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48824         include <bp-checks.h>.
48825         (truncate64): Do not use CHECK_STRING.
48826         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48827         <bp-checks.h>.
48828         (__real_chown): Do not use CHECK_STRING.
48829         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48830         <bp-checks.h>.
48831         (__lchown): Do not use CHECK_STRING.
48832         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48833         <bp-checks.h>.
48834         (__chown): Do not use CHECK_STRING.
48835         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48836         <bp-checks.h>.
48837         (truncate64): Do not use CHECK_STRING.
48838         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48839         Likewise.
48840         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48841         (__xmknod): Do not use CHECK_STRING.
48842         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48843         <bp-checks.h>.
48844         (__xmknodat): Do not use CHECK_STRING.
48845         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48846         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48848 2013-02-04  Andreas Schwab  <schwab@suse.de>
48850         [BZ #14142]
48851         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48852         * include/netdb.h: Likewise for h_errno.
48853         * elf/tst-stackguard1.c: Include <tls.h>.
48855 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48857         * elf/link.h (struct link_map): Extend the l_addr comment.
48858         * include/link.h (struct link_map): Likewise.
48860 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48862         [BZ #13550]
48863         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48864         (BOUNDED_1): Remove macro.
48865         * debug/backtrace.c: Don't include <bp-checks.h>.
48866         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48867         (__backtrace): Likewise.
48868         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48869         <bp-checks.h>.
48870         (__backtrace): Don't use BOUNDED_1.
48871         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48872         <bp-checks.h>.
48873         (__backtrace): Don't use BOUNDED_1.
48874         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48875         (__backtrace): Don't use BOUNDED_1.
48876         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48877         (shmat): Don't use BOUNDED_N.
48879 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48881         [BZ #13550]
48882         * sysdeps/generic/bp-start.h: Remove file.
48883         * csu/libc-start.c: Don't include <bp-start.h>.
48884         (LIBC_START_MAIN): Set up __environ directly instead of using
48885         INIT_ARGV_and_ENVIRON.
48886         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48887         <bp-start.h>.
48889         [BZ #13550]
48890         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48891         definitions.
48892         (CHECK_FCNTL): Likewise.
48893         (CHECK_N_PAGES): Likewise.
48895         [BZ #13550]
48896         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48897         definitions.
48898         (CHECK_SIGSET_NULL_OK): Likewise.
48899         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48900         <bp-checks.h>.
48901         (sigpending): Don't use CHECK_SIGSET.
48902         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48903         <bp-checks.h>.
48904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48905         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48906         <bp-checks.h>.
48907         (do_sigsuspend): Don't use CHECK_SIGSET.
48908         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48909         use CHECK_SIGSET.
48910         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48911         (do_sigwait): Don't use CHECK_SIGSET.
48912         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48913         use CHECK_SIGSET.
48914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48915         include <bp-checks.h>.
48916         (sigpending): Don't use CHECK_SIGSET.
48917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48918         include <bp-checks.h>.
48919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48920         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48921         <bp-checks.h>.
48922         (sigpending): Don't use CHECK_SIGSET.
48923         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48924         <bp-checks.h>.
48925         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48927         [BZ #13550]
48928         * sysdeps/generic/bp-semctl.h: Remove file.
48929         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48930         <bp-checks.h> and <bp-semctl.h>.
48931         (__old_semctl): Don't use CHECK_SEMCTL.
48932         (__new_semctl): Likewise.
48933         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48934         and <bp-semctl.h>.
48935         (__old_semctl): Don't use CHECK_SEMCTL.
48936         (__new_semctl): Likewise.
48937         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48938         <bp-checks.h> and <bp-semctl.h>.
48939         (__old_semctl): Don't use CHECK_SEMCTL.
48940         (__new_semctl): Likewise.
48941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48942         <bp-checks.h> and <bp-semctl.h>.
48943         (semctl): Don't use CHECK_SEMCTL.
48945         [BZ #13550]
48946         * Makerules (elide-bp-thunks): Remove variable.
48947         (elide-routines.oS): Don't use $(elide-bp-thunks).
48948         (elide-routines.os): Likewise.
48949         (elide-routines.o): Likewise.
48950         (elide-routines.op): Likewise.
48951         (elide-routines.og): Likewise.
48952         (objects): Don't use $(bp-thunks).
48953         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48954         include.
48955         (common-generated): Do not add s-proto-bp.d.
48956         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48957         (int): Likewise.
48958         (typ): Likewise.
48959         Do not generate makefile rules for bounded-pointer thunks.
48960         * sysdeps/generic/bp-thunks.h: Remove file.
48961         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48962         * sysdeps/unix/s-proto-bp.S: Likewise.
48964         [BZ #15062]
48965         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48966         parts of result separately when argument is not close to line from
48967         -i to i and one part of argument is small.
48968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48970         * math/libm-test.inc (cacos_test): Add more tests.
48971         (casin_test): Likewise.
48972         (casinh_test): Likewise.
48973         * sysdeps/i386/fpu/libm-test-ulps: Update.
48974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48976 2013-01-31  David S. Miller  <davem@davemloft.net>
48978         * po/de.po: Update from translation team.
48980 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48982         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48984 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48986         * configure.in (_AC_PROG_CC_C89): New definition.
48987         * configure: Regenerate.
48989         * configure.in (AC_PROG_CPP): New definition.
48990         * configure: Regenerate.
48992 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48994         * debug/tst-backtrace.h: New file.
48995         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48996         (ret): Remove variable.
48997         (x): Likewise.
48998         (FAIL): Remove macro.
48999         (NO_INLINE): Likewise.
49000         (fn1): Use match function instead of strstr.
49001         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49002         (ret): Remove variable.
49003         (x): Likewise.
49004         (FAIL): Remove macro.
49005         (NO_INLINE): Likewise.
49006         (fn): Use match function instead of strstr.
49007         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49008         (ret): Remove variable.
49009         (x): Likewise.
49010         (FAIL): Remove macro.
49011         (NO_INLINE): Likewise.
49012         (handle_signal): Use match function instead of strstr.
49013         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49014         (ret): Remove variable.
49015         (x): Likewise.
49016         (FAIL): Remove macro.
49017         (NO_INLINE): Likewise.
49018         (handle_signal): Use match function instead of strstr.
49020 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49022         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49024 2013-01-23  David S. Miller  <davem@davemloft.net>
49026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49027         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49028         argument of CAS if possible.
49029         * sysdeps/sparc/sparc64/bits/atomic.h
49030         (__arch_compare_and_exchange_val_32_acq): Likewise.
49031         (__arch_compare_and_exchange_val_64_acq): Likewise.
49033 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49035         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49036         * sysdeps/posix/ulimit.c: ... this.
49037         Include <limits.h>.
49038         * sysdeps/unix/bsd/ulimit.c: Remove file.
49040 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49042         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49043         (LDFLAGS-tst-array5): Likewise.
49045 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49047         [BZ #15036]
49048         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49049         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49050         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49051         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49053 2013-01-21  David S. Miller  <davem@davemloft.net>
49055         * sysdeps/sparc/backtrace.c: New file.
49056         * sysdeps/sparc/sparc32/backtrace.h: New file.
49057         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49058         * sysdeps/sparc/sparc64/backtrace.h: New file.
49059         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49060         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49061         -funwind-tables.
49063 2013-01-21  Andreas Schwab  <schwab@suse.de>
49065         [BZ #15020]
49066         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49067         closed its stdout.
49069 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49072         "mpa2.h".
49073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49075 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49076             Mark Mitchell  <mark@codesourcery.com>
49077             Tom de Vries  <tom@codesourcery.com>
49078             Paul Pluzhnikov  <ppluzhnikov@google.com>
49080         * debug/tst-backtrace2.c: New file.
49081         * debug/tst-backtrace3.c: Likewise.
49082         * debug/tst-backtrace4.c: Likewise.
49083         * debug/tst-backtrace5.c: Likewise.
49084         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49085         (CFLAGS-tst-backtrace3.c): Likewise.
49086         (CFLAGS-tst-backtrace4.c): Likewise.
49087         (CFLAGS-tst-backtrace5.c): Likewise.
49088         (LDFLAGS-tst-backtrace2): Likewise.
49089         (LDFLAGS-tst-backtrace3): Likewise.
49090         (LDFLAGS-tst-backtrace4): Likewise.
49091         (LDFLAGS-tst-backtrace5): Likewise.
49092         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49093         tst-backtrace4 and tst-backtrace5.
49095 2013-01-18  Anton Blanchard  <anton@samba.org>
49096             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49098         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49099         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49101         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49103         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49104         "+r" and remove output regs list as redundant.  Add explicit inline
49105         asm to specify register of return val to work around compiler codegen
49106         bug.  Remove (int) cast on return value.  Add return type parameter to
49107         use in macro so that this macro does not truncate return value for
49108         64-bit values.
49109         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49110         pass to INTERNAL_VSYSCALL_NCS.
49111         (INLINE_VSYSCALL): Add 'long int' as return type to
49112         INTERNAL_VSYSCALL_NCS macro invocation.
49113         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49114         INTERNAL_VSYSCALL_NCS macro invocation.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49117 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49119         [BZ #14496]
49120         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49121         Fix application of SIMD FP exception mask.
49123         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49124         mp_no from a power of two.
49125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49126         __mpexp_twomm1.  Use __pow_mp.
49128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49129         multiplication.
49131 2013-01-17  David S. Miller  <davem@davemloft.net>
49133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49135 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49137         [BZ #15023]
49138         * include/complex.h: Condition contents on [!_COMPLEX_H].
49139         (__kernel_casinhf): New prototype.
49140         (__kernel_casinh): Likewise.
49141         (__kernel_casinhl): Likewise.
49142         * math/Makefile (libm_calls): Add k_casinh.
49143         * math/k_casinh.c: New file.
49144         * math/k_casinhf.c: Likewise.
49145         * math/k_casinhl.c: Likewise.
49146         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49147         finite nonzero arguments.
49148         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49149         finite nonzero arguments.
49150         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49151         finite nonzero arguments.
49152         * math/s_casinh.c: Do not include <float.h>.
49153         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49154         * math/s_casinhf.c: Do not include <float.h>.
49155         (__casinhf): Move code for finite nonzero arguments to
49156         k_casinhf.c.
49157         * math/s_casinhl.c: Do not include <float.h>.
49158         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49159         redefine.
49160         (__casinhl): Move code for finite nonzero arguments to
49161         k_casinhl.c.
49162         * math/libm-test.inc (cacos_test): Add more tests.
49163         * sysdeps/i386/fpu/libm-test-ulps: Update.
49164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49166 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49168         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49169         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49170         [!HAVE_MREMAP]: Remove [defined linux] case.
49171         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49173 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49175         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49177 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49179         * elf/elf.h (R_386_SIZE32): New relocation.
49180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49181         R_386_SIZE32.
49182         (elf_machine_rela): Likewise.
49183         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49184         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49186 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49188         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49189         (FP_FAST_FMA): Do not define.
49190         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49191         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49192         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49193         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49194         !_SOFT_FLOAT]: Likewise.
49195         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49196         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49197         value.
49198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49199         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49200         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49202         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49203         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49204         file.
49206 2013-01-16  Andreas Schwab  <schwab@suse.de>
49208         [BZ #14327]
49209         * include/stdlib.h (__mktemp): Add declaration.
49210         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49211         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49213 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49215         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49216         definitions.
49217         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49218         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49219         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49220         definitions here.
49221         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49222         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49223         definitions.
49224         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49225         and ONE.
49226         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49227         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49229         definitions.
49230         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49231         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49232         definitions.
49233         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49235         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49237 2013-01-15  David S. Miller  <davem@davemloft.net>
49239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49240         trunc{,f} to libm-sysdep_routes.
49241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49243         file.
49244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49246         file.
49247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49248         file.
49249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49251         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49252         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49253         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49254         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49255         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49256         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49259         nearbyint{,f} to libm-sysdep_routes.
49260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49262         New file.
49263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49264         file.
49265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49266         New file.
49267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49268         file.
49269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49272         file.
49273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49274         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49275         file.
49276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49277         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49278         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49280         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49281         libc_feholdexcept and libc_fesetenv.
49283 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49285         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49287 2013-01-14  David S. Miller  <davem@davemloft.net>
49289         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49290         (SPARC_ASM_VIS2_IFUNC): Likewise.
49291         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49293         use of 'siam' instruction.
49294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49295         Likewise.
49296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49297         Likewise.
49298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49299         Likewise.
49300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49305         file.
49306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49307         file.
49308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49309         file.
49310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49311         file.
49312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49317         new VIS2 routines.
49318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49321         Likewise.
49322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49327         routines to libm-sysdep_routines.
49328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49331         fdim/fdimf to libm-sysdep_routines.
49332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49333         file.
49334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49336         file.
49337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49340         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49341         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49342         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49343         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49345 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49347         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49348         to optimize copies.
49350         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49355         local variable MPTWO.
49356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49357         Likewise.
49359 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49361         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49362         GLOB_NOESCAPE.
49364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49366         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49368 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49370         * manual/pattern.texi (glob_t): Document gl_flags.
49371         (glob64_t): Likewise.
49373 2013-01-11  David S. Miller  <davem@davemloft.net>
49375         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49376         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49377         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49378         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49379         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49380         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49381         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49382         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49383         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49384         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49385         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49386         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49387         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49390         sparc V9 rather than using V8 code.
49391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49394         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49395         Move to...
49396         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49397         Here.
49399 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49401         [BZ #14941]
49402         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49403         not in the main loop.
49404         * configure: Regenerated.
49406 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49408         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49409         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49410         to just #else.
49411         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49412         [!__GLIBC_HAVE_LONG_LONG] case.
49413         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49414         condition to just #else.
49415         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49416         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49417         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49418         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49419         unconditional.
49420         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49421         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49422         #elif condition to just #else.
49423         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49424         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49425         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49426         #elif condition to just #else.
49428 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49430         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49431         (EF_MIPS_ARCH_64): Fix value.
49432         (EF_MIPS_ARCH_32R2): New.
49433         (EF_MIPS_ARCH_64R2): New.
49435 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49437         * Makeconfig (+link-pie-before-libc): New.
49438         (+link-pie-after-libc): Likewise.
49439         (+link-pie-tests): Likewise.
49440         (+link-pie): Rewritten.
49441         (link-before-libc): Remove $(config-LDFLAGS).
49442         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49443         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49444         (config-LDFLAGS): Renamed to ...
49445         (rtld-LDFLAGS): This.
49446         (rtld-tests-LDFLAGS): New macro.
49447         (link-libc-rpath-link): Likewise.
49448         (link-libc-tests-rpath-link): Likewise.
49449         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49450         (link-libc): Prepand $(link-libc-rpath-link).
49451         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49452         (test-program-prefix): New macro.
49453         (test-via-rtld-prefix): Likewise.
49454         (test-program-cmd): Likewise.
49455         (host-test-program-cmd): Likewise.
49456         * Makefile ($(common-objpfx)testrun.sh): Replace
49457         $(run-program-prefix) with $(test-program-prefix).
49458         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49459         $(rtld-LDFLAGS).
49460         ($(common-objpfx)shlib.lds): Likewise.
49461         (build-module-helper): Likewise.
49462         ($(common-objpfx)format.lds): Likewise.
49463         * Rules (binaries-pie-tests): New.
49464         (binaries-pie-notests): Likewise.
49465         (binaries-pie): Rewritten.
49466         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49467         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49468         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49469         (make-test-out): Replace $(host-built-program-cmd) with
49470         $(host-test-program-cmd).
49471         * config.make.in (build-hardcoded-path-in-tests): New variable.
49472         * configure.in (--enable-hardcoded-path-in-tests): New configure
49473         option.
49474         (hardcoded_path_in_tests): New AC_SUBST.
49475         * configure: Regenerated.
49476         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49477         $(built-program-cmd) with $(test-program-cmd).
49478         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49479         (test_program_cmd): This.
49480         * elf/Makefile ($(objpfx)order.out): Run test with
49481         $(test-program-prefix).
49482         ($(objpfx)order2.out): Likewise.
49483         ($(objpfx)tst-initorder.out): Likewise.
49484         ($(objpfx)tst-initorder2.out): Likewise.
49485         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49486         $(test-program-cmd).
49487         ($(objpfx)tst-array1-static.out): Likewise.
49488         ($(objpfx)tst-array2.out): Likewise.
49489         ($(objpfx)tst-array3.out): Likewise.
49490         ($(objpfx)tst-array4.out): Likewise.
49491         ($(objpfx)tst-array5.out): Likewise.
49492         ($(objpfx)tst-array5-static.out): Likewise.
49493         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49494         $(test-program-cmd).
49495         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49496         $(run-program-prefix) with $(test-program-prefix).
49497         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49498         (test_program_prefix): This.
49499         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49500         $(run-program-prefix) with $(test-program-prefix).
49501         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49502         (test_program_prefix): This.
49503         * iconvdata/tst-tables.sh: Likewise.
49504         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49505         $(run-program-prefix) with $(test-program-prefix).
49506         ($(objpfx)tst-translit.out): Likewise.
49507         ($(objpfx)tst-gettext2.out): Likewise.
49508         ($(objpfx)tst-gettext4.out): Likewise.
49509         ($(objpfx)tst-gettext6.out): Likewise.
49510         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49511         (test_program_prefix): This.
49512         * intl/tst-gettext2.sh: Likewise.
49513         * intl/tst-gettext4.sh  Likewise.
49514         * intl/tst-gettext6.sh: Likewise.
49515         * intl/tst-translit.sh: Likewise.
49516         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49517         with $(test-program-cmd).
49518         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49519         $(run-program-prefix) with $(test-program-prefix).
49520         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49521         (test_program_prefix): This.
49522         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49523         $(run-program-prefix) with $(test-program-prefix).
49524         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49525         (test_program_prefix): This.
49526         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49527         * posix/Makefile ($(objpfx)globtest.out): Replace
49528         $(run-via-rtld-prefix) and $(test-wrapper) with
49529         $(test-program-prefix) and $(test-via-rtld-prefix).
49530         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49531         $(test-program-prefix).
49532         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49533         $(host-test-program-cmd).
49534         (tst-spawn-ARGS): Likewise.
49535         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49536         $(test-program-prefix).
49537         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49538         (test_via_rtld_prefix): This.
49539         (test_wrapper): Renamed to ...
49540         (test_program_prefix): This.
49541         (run_program_prefix): Replaced by test_program_prefix.
49542         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49543         (test_program_prefix): This.
49544         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49545         with $(host-test-program-cmd).
49546         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49547         $(run-program-prefix) with $(test-program-prefix).
49548         ($(objpfx)tst-printf.out): Likewise.
49549         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49550         $(test-program-cmd).
49551         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49552         (test_program_prefix): This.
49553         * stdio-common/tst-unbputc.sh: Likewise.
49554         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49555         $(run-program-prefix) with $(test-program-prefix).
49556         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49557         (test_program_prefix): This.
49558         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49559         $(built-program-cmd) with $(test-program-cmd).
49561 2013-01-11  Andreas Jaeger  <aj@suse.de>
49563         [BZ #15003]
49564         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49565         value. Sync with Linux 3.7.
49567 2013-01-10  David S. Miller  <davem@davemloft.net>
49569         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49570         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49571         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49573 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49575         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49576         never set.
49577         * configure: Regenerated.
49579 2013-01-10  David S. Miller  <davem@davemloft.net>
49581         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49582         sparc V9 rather than using V8 code.
49583         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49584         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49586 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49588         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49589         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49590         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49591         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49592         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49593         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49594         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49595         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49596         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49597         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49598         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49599         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49600         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49601         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49602         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49603         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49604         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49605         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49606         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49607         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49608         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49609         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49610         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49611         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49612         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49613         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49614         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49616 2013-01-10  David S. Miller  <davem@davemloft.net>
49618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49620 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49622         * posix/Makefile (tests-static): New variable.
49623         (tests): Add $(tests-static).
49624         (tst-exec-static-ARGS): New variable.
49625         (tst-spawn-static-ARGS): Likewise.
49626         * posix/tst-exec-static.c: New file.
49627         * posix/tst-spawn-static.c: Likewise.
49628         * posix/tst-exec.c: Support run directly.
49629         * posix/tst-spawn.c: Likewise.
49631 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49633         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49634         long.
49635         * math/bits/mathcalls.h (llrint): Likewise.
49636         (llround): Likewise.
49637         * stdlib/stdlib.h (struct drand48_data): Likewise.
49638         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49639         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49640         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49641         Likewise.
49642         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49643         Likewise.
49644         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49645         (elf_greg_t): Likewise.
49646         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49647         (__jmp_buf): Likewise.
49648         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49649         definitions.
49650         (llrint): Likewise, for all definitions.
49651         (llrintl): Likewise.
49653         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49654         Remove [__GNUC__] condition.
49655         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49656         condition to just [__USE_ISOC99].
49657         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49659 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49661         [BZ #14200]
49662         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49663         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49664         defined.
49665         (_POSIX_V6_ILP32_OFF32): Likewise.
49666         (_XBS5_ILP32_OFF32): Likewise.
49667         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49668         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49670 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49672         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49675         doubles __mpexp_twomm1.  Adjust usage.
49676         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49677         Remove.
49679 2013-01-10  Andreas Schwab  <schwab@suse.de>
49681         [BZ #14964]
49682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49683         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49685 2013-01-09  David S. Miller  <davem@davemloft.net>
49687         [BZ #15003]
49688         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49689         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49690         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49691         (TCP_FASTOPEN): Define.
49692         (tcp_repair_opt): New structure.
49693         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49694         enum values.
49695         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49696         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49697         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49698         (tcp_cookie_transactions): New structure.
49700 2013-01-09  Anton Blanchard  <anton@samba.org>
49702         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49703         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49705         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49707 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49709         * include/features.h (__USE_ANSI): Remove.
49711 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49713         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49715         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49717 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49719         * sysdeps/s390/fpu/libm-test-ulps: Update.
49721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49723         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49724         (__acr): Likewise.
49725         (__cpy): Likewise.
49726         (norm): Likewise.
49727         (denorm): Likewise.
49728         (__mp_dbl): Likewise.
49729         (__dbl_mp): Likewise.
49730         (add_magnitudes): Likewise.
49731         (sub_magnitudes): Likewise.
49732         (__add): Likewise.
49733         (__sub): Likewise.
49734         (__mul): Likewise.
49735         (__inv): Likewise.
49736         (__dvd): Likewise.
49737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49738         (__acr): Likewise.
49739         (__cpy): Likewise.
49740         (norm): Likewise.
49741         (denorm): Likewise.
49742         (__mp_dbl): Likewise.
49743         (__dbl_mp): Likewise.
49744         (add_magnitudes): Likewise.
49745         (sub_magnitudes): Likewise.
49746         (__add): Likewise.
49747         (__sub): Likewise.
49748         (__mul): Likewise.
49749         (__inv): Likewise.
49750         (__dvd): Likewise.
49751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49752         (__acr): Likewise.
49753         (__cpy): Likewise.
49754         (norm): Likewise.
49755         (denorm): Likewise.
49756         (__mp_dbl): Likewise.
49757         (__dbl_mp): Likewise.
49758         (add_magnitudes): Likewise.
49759         (sub_magnitudes): Likewise.
49760         (__add): Likewise.
49761         (__sub): Likewise.
49762         (__mul): Likewise.
49763         (__inv): Likewise.
49764         (__dvd): Likewise.
49766 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49768         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49769         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49770         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49771         2 && __USE_EXTERN_INLINES]: Likewise.
49773 2013-01-08  Andreas Jaeger  <aj@suse.de>
49775         [BZ# 14985]
49776         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49777         Remove.
49778         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49779         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49781 2013-01-07  Anton Blanchard  <anton@samba.org>
49783         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49784         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49785         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49786         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49787         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49788         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49789         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49790         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49792         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49793         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49794         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49795         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49798         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49799         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49801         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49802         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49803         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49804         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49806         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49807         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49808         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49809         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49810         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49811         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49812         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49813         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49815         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49816         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49817         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49818         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49819         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49820         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49821         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49822         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49823         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49824         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49825         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49827 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49829         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49830         (__MALLOC_PMT): Likewise.
49831         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49832         [__GNUC__], only on [_LIBC].
49833         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49834         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49835         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49836         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49837         forward declaration.
49838         (realloc_hook_ini): Likewise.
49839         (memalign_hook_ini): Likewise.
49840         (__libc_memalign): Do not use __MALLOC_PMT in variable
49841         declaration.
49842         (__libc_valloc): Likewise.
49843         (__libc_pvalloc): Likewise.
49844         (__libc_calloc): Likewise.
49845         (__posix_memalign): Likewise.
49847         [BZ #14996]
49848         * math/s_casinh.c: Include <float.h>.
49849         (__casinh): Do not do computation with squaring and square root
49850         for large arguments.
49851         * math/s_casinhf.c: Include <float.h>.
49852         (__casinhf): Do not do computation with squaring and square root
49853         for large arguments.
49854         * math/s_casinhl.c: Include <float.h>.
49855         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49856         (__casinhl): Do not do computation with squaring and square root
49857         for large arguments.
49858         * math/libm-test.inc (casin_test): Add more tests.
49859         (casinh_test): Likewise.
49860         * sysdeps/i386/fpu/libm-test-ulps: Update.
49861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49863 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49865         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49866         (__x86_64_raw_data_cache_size): Likewise.
49867         (__x86_64_data_cache_size_half): Likewise.
49868         (__x86_64_raw_data_cache_size_half): Likewise.
49869         (__x86_64_shared_cache_size): Likewise.
49870         (__x86_64_raw_shared_cache_size): Likewise.
49871         (__x86_64_shared_cache_size_half): Likewise.
49872         (__x86_64_raw_shared_cache_size_half): Likewise.
49873         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49874         to ...
49875         (__x86_data_cache_size): This.
49876         (__x86_64_raw_data_cache_size): Renamed to ...
49877         (__x86_raw_data_cache_size): This.
49878         (__x86_64_data_cache_size_half): Renamed to ...
49879         (__x86_data_cache_size_half): This.
49880         (__x86_64_raw_data_cache_size_half): Renamed to ...
49881         (__x86_raw_data_cache_size_half): This.
49882         (__x86_64_shared_cache_size): Renamed to ...
49883         (__x86_shared_cache_size): This.
49884         (__x86_64_raw_shared_cache_size): Renamed to ...
49885         (__x86_raw_shared_cache_size): This.
49886         (__x86_64_shared_cache_size_half): Renamed to ...
49887         (__x86_shared_cache_size_half): This.
49888         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49889         (__x86_raw_shared_cache_size_half): This.
49890         * sysdeps/x86_64/memcpy.S: Updated.
49891         * sysdeps/x86_64/memset.S: Likewise.
49892         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49896 2013-01-04  David S. Miller  <davem@davemloft.net>
49898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49900 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49902         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49903         1 to avoid redefinition warning.
49904         (__USE_GNU): Don't define.
49905         (init_signaling_nan): Protoize.
49907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49909 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49911         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49913         (__cpymn): Likewise.
49914         (norm): Remove commented code.
49915         (denorm): Likewise.
49916         (__mp_dbl): Likewise.
49917         (__inv): Likewise.
49918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49919         (__cpymn): Likewise.
49920         (norm): Remove commented code.
49921         (denorm): Likewise.
49922         (__mp_dbl): Likewise.
49923         (__inv): Likewise.
49925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49926         mp_no value for 1.0 and 2.0.
49927         (norm): Use RADIXI instead of radixi.d.
49928         (denorm): Likewise.
49929         (__mul): Use 0.0 instead of zero.d.
49930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49931         mp_no value for 1.0 and 2.0.
49932         (norm): Use RADIXI instead of radixi.d.
49933         (denorm): Likewise.
49934         (__mul): Use 0.0 instead of zero.d.
49936 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49938         [BZ #14994]
49939         * math/s_casinh.c (__casinh): Reduce finite argument to first
49940         quadrant then set signs of results at the end.
49941         * math/s_casinhf.c (__casinhf): Likewise.
49942         * math/s_casinhl.c (__casinhl): Likewise.
49943         * math/libm-test.inc (casin_test): Add more tests.
49944         (casinh_test): Likewise.
49945         * sysdeps/i386/fpu/libm-test-ulps: Update.
49946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49948 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49950         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49952         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49954         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49955         declarations.
49956         (denorm): Likewise.
49957         (__mp_dbl): Likewise.
49958         (__inv): Likewise.
49960         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49961         and adjust the header comment.
49963         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49964         variable name from declaration.
49966 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49969         Initialize COMMON_CPUID_INDEX_7 element.
49970         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49971         (CPUID_RTM): Likewise.
49972         (HAS_RTM): Likewise.
49973         (COMMON_CPUID_INDEX_7): New enum.
49975 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49977         [BZ #14981]
49978         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49979         size is zero, record memory as freed.
49981 2013-01-03  Andreas Jaeger  <aj@suse.de>
49983         * po/ia.po: Add new Interlingua translation.
49985 2012-01-03  Allan McRae  <allan@archlinux.org>
49987         * locale/programs/localedef.c: Fix description of '--posix' flag.
49989 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49991         * NEWS: Update dates in second copyright notice.
49992         * README: Update copyright dates in example.
49993         * manual/libc.texinfo: Update copyright dates.
49994         * scripts/test-installation.pl: Update copyright date in --version
49995         output.
49997         * hurd/ctty-input.c: Fix copyright notice formatting.
49998         * hurd/ctty-output.c: Likewise.
49999         * hurd/dtable.c: Likewise.
50000         * hurd/hurd-raise.c: Likewise.
50001         * hurd/hurdprio.c: Likewise.
50002         * hurd/msgportdemux.c: Likewise.
50003         * misc/sys/file.h: Likewise.
50004         * misc/sys/ioctl.h: Likewise.
50005         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50006         * sysdeps/mach/hurd/chdir.c: Likewise.
50007         * sysdeps/mach/hurd/fchdir.c: Likewise.
50008         * sysdeps/mach/hurd/rename.c: Likewise.
50009         * sysdeps/mach/hurd/rmdir.c: Likewise.
50010         * sysdeps/mach/hurd/seekdir.c: Likewise.
50011         * sysdeps/mach/hurd/setsid.c: Likewise.
50012         * sysdeps/posix/wait3.c: Likewise.
50014         * All files with FSF copyright notices: Update copyright dates
50015         using scripts/update-copyrights.
50016         * intl/plural.c: Regenerated.
50017         * locale/programs/charmap-kw.h: Likewise.
50018         * locale/programs/locfile-kw.h: Likewise.
50020 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50022         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50023         four values.
50025         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50026         calculation loop and add branch prediction.
50028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50029         check access beyond bounds of m1np.
50031         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50032         MPTWO.
50033         (__inv): Remove local variable MPTWO to use the global
50034         constant.
50035         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50037         variable MPTWO.
50038         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50039         MP3HALFS static const.
50041 2013-01-01  David S. Miller  <davem@davemloft.net>
50043         * po/ca.po: Update from translation team.
50045 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50047         * scripts/update-copyrights: New file.
50048         * Makeconfig: Reformat copyright notice.
50049         * ctype/ctype.h: Likewise.
50050         * debug/swprintf_chk.c: Likewise.
50051         * elf/dl-cache.c: Likewise.
50052         * elf/dl-debug.c: Likewise.
50053         * elf/dl-object.c: Likewise.
50054         * grp/initgroups.c: Likewise.
50055         * hurd/Makefile: Likewise.
50056         * hurd/hurd/signal.h: Likewise.
50057         * hurd/hurdfault.c: Likewise.
50058         * hurd/hurdioctl.c: Likewise.
50059         * hurd/hurdlookup.c: Likewise.
50060         * hurd/intr-msg.c: Likewise.
50061         * iconv/gconv_open.c: Likewise.
50062         * libio/swprintf.c: Likewise.
50063         * locale/lc-ctype.c: Likewise.
50064         * locale/nl_langinfo.c: Likewise.
50065         * mach/Machrules: Likewise.
50066         * mach/Makefile: Likewise.
50067         * malloc/obstack.h: Likewise.
50068         * manual/Makefile: Likewise.
50069         * manual/tsort.awk: Likewise.
50070         * misc/bits/stab.def: Likewise.
50071         * nis/nis_print_group_entry.c: Likewise.
50072         * nis/nis_table.c: Likewise.
50073         * nis/nss_compat/compat-pwd.c: Likewise.
50074         * nis/nss_compat/compat-spwd.c: Likewise.
50075         * po/Makefile: Likewise.
50076         * posix/fnmatch.c: Likewise.
50077         * posix/regex.h: Likewise.
50078         * resolv/Makefile: Likewise.
50079         * resolv/nss_dns/dns-network.c: Likewise.
50080         * resolv/res_hconf.c: Likewise.
50081         * scripts/gen-sorted.awk: Likewise.
50082         * soft-fp/soft-fp.h: Likewise.
50083         * stdio-common/printf.h: Likewise.
50084         * stdlib/monetary.h: Likewise.
50085         * stdlib/random.c: Likewise.
50086         * stdlib/random_r.c: Likewise.
50087         * sysdeps/generic/Makefile: Likewise.
50088         * sysdeps/gnu/Makefile: Likewise.
50089         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50091         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50093         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50094         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50095         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50096         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50097         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50099         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50100         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50101         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50102         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50103         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50104         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50105         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50106         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50108         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50109         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50110         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50111         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50117         * sysdeps/mach/hurd/errnos.awk: Likewise.
50118         * sysdeps/mach/hurd/fork.c: Likewise.
50119         * sysdeps/mach/hurd/getcwd.c: Likewise.
50120         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50121         * sysdeps/mach/hurd/mmap.c: Likewise.
50122         * sysdeps/mach/hurd/utimes.c: Likewise.
50123         * sysdeps/mach/hurd/xmknod.c: Likewise.
50124         * sysdeps/posix/profil.c: Likewise.
50125         * sysdeps/posix/readdir_r.c: Likewise.
50126         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50127         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50128         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50129         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50131         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50132         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50133         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50135         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50136         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50137         * sysdeps/pthread/lio_listio.c: Likewise.
50138         * sysdeps/sparc/dl-procinfo.h: Likewise.
50139         * sysdeps/unix/i386/sysdep.S: Likewise.
50140         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50141         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50142         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50143         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50145         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50146         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50147         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50148         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50149         * sysdeps/wordsize-32/divdi3.c: Likewise.
50150         * time/sys/time.h: Likewise.
50151         * wcsmbs/Makefile: Likewise.
50153 2013-01-01  David S. Miller  <davem@davemloft.net>
50155         * po/fr.po: Update from translation team.
50157         * catgets/gencat.c: Update copyright year.
50158         * csu/version.c: Likewise.
50159         * debug/catchsegv.sh: Likewise.
50160         * debug/pcprofiledump.c: Likewise.
50161         * debug/xtrace.sh: Likewise.
50162         * elf/ldconfig.c: Likewise.
50163         * elf/ldd.bash.in: Likewise.
50164         * elf/pldd.c: Likewise.
50165         * elf/sotruss.ksh: Likewise.
50166         * elf/sprof.c: Likewise.
50167         * iconv/iconv_prog.c: Likewise.
50168         * iconv/iconvconfig.c: Likewise.
50169         * locale/programs/locale.c: Likewise.
50170         * locale/programs/localedef.c: Likewise.
50171         * login/programs/pt_chown.c: Likewise.
50172         * malloc/memusage.sh: Likewise.
50173         * malloc/memusagestat.c: Likewise.
50174         * malloc/mtrace.pl: Likewise.
50175         * nscd/nscd.c: Likewise.
50176         * nss/getent.c: Likewise.
50177         * nss/makedb.c: Likewise.
50178         * posix/getconf.c: Likewise.
50180 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50182         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50183         numbers.
50185 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50187         * math/bits/mathcalls.h (modf): Use __nonnull.
50189 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50191         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50192         (split): Use macro CN instead of the bare value.
50193         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50194         could be used.
50195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50196         instead of the bare value.
50197         (power1): Likewise.
50199 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50202         __ATAN_TWOM.
50203         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50205         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50206         their values.
50207         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50208         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50209         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50210         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50212 2012-12-28  Andreas Jaeger  <aj@suse.de>
50214         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50215         values are from Linux 3.7.
50217         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50218         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50220 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50222         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50223         TRUE case.
50225         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50226         (norm): Likewise.
50227         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50228         variables with preprocessor constants.
50229         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50230         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50231         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50233 2012-12-27  Bruno Haible  <bruno@clisp.org>
50235         [BZ #14317]
50236         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50237         only if needed.
50239 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50242         and use variable directly.
50243         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50245         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50246         MPONE.
50247         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50248         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50249         variable MPONE.
50250         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50252         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50253         include directive.  Remove local variable MPONE.
50254         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50255         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50256         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50258 2012-12-25  David S. Miller  <davem@davemloft.net>
50260         * version.h (RELEASE): Set to "development".
50261         (VERSION): Set to "2.17.90".
50262         * NEWS: Add 2.18 section.
50264 2012-12-21  David S. Miller  <davem@davemloft.net>
50266         * po/hr.po: Update from translation team.
50268 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50270         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50272 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50274         * NEWS:  Mention new memcpy for MIPS.
50276 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50278         * manual/contrib.texi (Contributors): Spelling correction.
50280 2012-12-15  David S. Miller  <davem@davemloft.net>
50282         * po/ru.po: Update from translation team.
50284 2012-12-13  David S. Miller  <davem@davemloft.net>
50286         * NEWS: Mention IFUNC testsuite enhancements.
50288         * po/pl.po: Update from translation team.
50289         * po/bg.po: Likewise.
50291         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50292         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50294 2012-12-11  David S. Miller  <davem@davemloft.net>
50296         * po/sv.po: Update from translation team.
50298         * po/vi.po: Update from translation team.
50300         * po/cs.po: Update from translation team.
50302         * po/de.po: Update from translation team.
50303         * po/eo.po: Likewise.
50304         * po/nl.po: Likewise.
50306 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50308         [BZ #14246]
50309         * manual/argp.texi (Argp Helper Functions): Move node to follow
50310         Argp Parsing State.
50312         [BZ #14872]
50313         * manual/conf.texi (Limits on File System Capacity): Mention if
50314         terminating null is included in the max size.
50316 2012-12-10  Andreas Jaeger  <aj@suse.de>
50318         * po/cs.po: Update from translation team.
50320 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50322         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50323         void pointer and cast to uintptr_t.
50324         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50325         path.
50326         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50327         * sysdeps/s390/s390-64/memset.S: Likewise.
50329 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50331         [BZ #14833]
50332         * menual/message.texi (Message Translation): Fix typos.
50333         (Helper programs for gettext): Likewise.
50335 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50337         [BZ #14898]
50338         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50339         Change to -1.
50341 2012-12-07  David S. Miller  <davem@davemloft.net>
50343         * po/libc.pot: Update.
50345 2012-12-07  Richard Henderson  <rth@redhat.com>
50347         [BZ #10114]
50348         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50349         normal/normal case to before the switch.
50350         (_FP_DIV): Likewise.
50352 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50353             Mike Frysinger  <vapier@gentoo.org>
50355         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50356         check for __NR_fadvise64_64.
50358 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50360         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50361         0, not just to plain "0" as a statement.
50362         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50363         with cw.
50365 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50367         * NEWS: Use sourceware.org in Bugzilla URL.
50369 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50372         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50374         * stdio-common/tst-put-error.c (do_test): Add newline to the
50375         padded test to ensure flush.
50377 2012-12-05  Jeff Law  <law@redhat.com>
50379         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50381 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50383         * README: Don't refer to ports add-on as distributed separately.
50384         Mention AArch64 in list of systems supported in the ports add-on.
50386         * LICENSES: Add more non-FSF copyright and license notices.
50388         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50389         ((unused)).
50391         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50393         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50394         10000 as width of padded output.
50396 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50398         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50400         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50401         variable LX with __attribute__ ((unused)).
50402         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50403         Likewise.
50404         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50406         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50407         with __attribute__ ((unused)).
50409 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50411         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50413 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50415         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50416         (CFLAGS-nldbl-acos.c): New variable.
50417         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50418         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50419         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50420         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50421         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50422         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50423         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50424         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50425         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50426         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50427         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50428         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50429         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50430         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50431         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50432         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50433         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50434         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50435         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50436         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50437         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50438         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50439         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50440         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50441         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50442         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50443         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50444         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50445         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50446         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50447         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50448         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50449         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50450         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50451         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50452         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50453         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50454         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50455         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50456         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50457         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50458         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50459         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50460         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50461         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50462         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50463         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50464         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50465         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50466         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50467         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50468         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50469         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50470         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50471         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50472         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50473         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50474         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50475         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50476         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50477         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50478         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50479         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50480         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50481         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50482         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50483         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50484         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50485         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50486         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50487         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50488         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50489         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50490         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50491         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50492         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50493         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50494         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50495         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50496         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50497         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50498         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50499         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50500         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50501         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50502         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50503         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50504         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50505         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50506         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50507         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50508         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50509         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50510         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50511         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50512         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50513         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50516         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50518         [BZ #14914]
50519         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50520         whole low double instead of just low 47 bits when splitting values
50521         into two parts.
50523 2012-12-03  Allan McRae  <allan@archlinux.org>
50525         * manual/stdio.texi (Predefined Printf Handlers): Remove
50526         @hsep and @vsep usage.
50528 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50530         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50531         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50533 2012-12-03  Jeff Law  <law@redhat.com>
50535         * time/sys/time.h (settimeofday): Do not mark TV argument
50536         as __nonnull.
50538 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50540         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50541         when currently writing and seek to current position when not.
50542         * libio/Makefile (tests): Remove bug-fclose1.
50543         * libio/bug-fclose1.c: Delete.
50545 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50547         * manual/arith.texi (feenableexcept): Fix typo.
50548         (fedisableexcept): Likewise.
50550 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50552         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50553         second, differently-typed declaration, rather than a cast.
50555 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50557         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50558         * include/rpc/svc.h: ... here.
50560 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50562         [BZ #13013]
50563         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50564         depending n and resplen2 to catch cases where answer
50565         equals answerp2.
50567 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50569         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50570         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50572 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50574         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50576 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50578         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50580 2012-11-28  Jeff Law  <law@redhat.com>
50582         [BZ #13761]
50583         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50584         dataset_temporary.  Track alloca usage into alloca_used.
50585         If dataset is large allocate and release it via malloc/free.
50587 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50589         [BZ #14197]
50590         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50592 2012-11-28  David S. Miller  <davem@davemloft.net>
50594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50596 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50598         [BZ #14803]
50599         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50600         of pi/2 rounded to nearest to 64 bits.
50601         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50602         nearest to 64 bits.
50603         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50604         bits.
50606 2012-11-28  Jeff Law <law@redhat.com>
50607             Martin Osvald <mosvald@redhat.com>
50609         [BZ #14889]
50610         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50611         * sunrpc/svc.c: Include time.h.
50612         (__svc_accept_failed): New function.
50613         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50614         any reason other than EINTR, call __svc_accept_failed.
50615         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50616         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50618 2012-11-28  Andreas Schwab  <schwab@suse.de>
50620         * scripts/abilist.awk: Also handle indirect functions in .opd
50621         section.
50623 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50625         [BZ #13881]
50626         * sysdeps/x86/fpu/powl_helper.c: New file.
50627         * sysdeps/x86/fpu/Makefile: Likewise.
50628         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50629         (p3): New object.
50630         (__ieee754_powl): Use __powl_helper for finite arguments except
50631         integer exponents below 8.
50632         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50633         (p3): New object.
50634         (__ieee754_powl): Use __powl_helper for finite arguments except
50635         integer exponents below 8.
50636         * math/libm-test.inc (pow_test): Add more tests and enable some
50637         previously disabled tests.
50638         * sysdeps/i386/fpu/libm-test-ulps: Update.
50639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50641 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50642             Carlos O'Donell  <carlos_odonell@mentor.com>
50644         * nss/makedb.c (is_prime): Assert that input is odd and greater
50645         than 4.  Note that fact in a comment too.
50646         (next_prime): Add 4 to input.
50648 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50650         [BZ #11741]
50651         * libio/Makefile (tests): Add test case tst-fwrite-error.
50652         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50653         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50654         * libio/tst-fwrite-error.c: New test case.
50656 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50658         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50659         before casting to void *.
50660         * include/libc-internal.h (__pointer_type): New macro.
50661         (__integer_if_pointer_type_sub): Likewise.
50662         (__integer_if_pointer_type): Likewise.
50663         (cast_to_integer): Likewise.
50664         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50665         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50666         before casting to atomic64_t.
50667         (atomic_exchange_acq): Likewise.
50668         (__arch_exchange_and_add_body): Likewise.
50669         (__arch_add_body): Likewise.
50670         (atomic_add_negative): Likewise.
50671         (atomic_add_zero): Likewise.
50673 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50675         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50676         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50677         (add_fdes): Likewise.
50678         (linear_search_fdes): Likewise.
50679         (binary_search_unencoded_fdes): Likewise.
50681 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50683         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50685 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50687         * configure.in: Autodetect C++ header directories.
50688         * configure: Regenerated.
50690 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50692         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50694 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50698 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50700         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50701         LDBL_MANT_DIG == 106]: Disable some tests.
50702         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50703         Likewise.
50704         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50705         Likewise.
50707         [BZ #14871]
50708         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50709         input for small inputs.  Return +/- pi/2 for large inputs.
50710         * math/libm-test.inc (atan_test): Add more tests.
50712         * sysdeps/generic/unwind-dw2-fde-glibc.c
50713         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50714         __attribute__ ((unused)).
50716         [BZ #14645]
50717         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50718         x * y if x and y are nonzero and z is zero.
50720         [BZ #14811]
50721         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50722         nonzero exponents with absolute value below 0x1p-117 to +/-
50723         0x1p-117.
50725         [BZ #14869]
50726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50727         up arguments below 2**-450, not just those below 2**-500.
50728         * math/libm-test.inc (hypot_test): Add another test.
50730         [BZ #14868]
50731         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50732         Return a+b for ratio over 2**120, not 2**60.
50733         * math/libm-test.inc (hypot_test): Add another test.
50735         * math/libm-test.inc (clog_test): Use
50736         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50737         (clog10_test): Likewise.
50739         [BZ #6778]
50740         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50742 2012-11-22  Andreas Schwab  <schwab@suse.de>
50744         * sysdeps/i386/fpu/libm-test-ulps: Update.
50746 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50748         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50749         printf output with newline.
50751 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50753         [BZ #14865]
50754         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50755         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50756         -z nodlopen, -z initfirst and -z execstack support.
50757         * configure: Regenerated.
50759         * elf/elf.h (DF_1_NODIRECT): New macro.
50760         (DF_1_IGNMULDEF): Likewise.
50761         (DF_1_NOKSYMS): Likewise.
50762         (DF_1_NOHDR): Likewise.
50763         (DF_1_EDITED): Likewise.
50764         (DF_1_NORELOC): Likewise.
50765         (DF_1_SYMINTPOSE): Likewise.
50766         (DF_1_GLOBAUDIT): Likewise.
50767         (DF_1_SINGLETON): Likewise.
50768         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50769         DT_1_SUPPORTED_MASK bits.
50770         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50772 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50774         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50776 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50778         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50779         macro.
50781         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50782         (sendmmsg): Move declarations...
50783         * socket/sys/socket.h: ... here.
50784         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50785         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50786         include it from...
50787         * socket/recvmmsg.c: ... this new file.
50788         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50789         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50790         definition of __sendmmsg hidden.
50791         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50792         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50793         Move ENOSYS stub into and include it from...
50794         * socket/sendmmsg.c: ... this new file.
50795         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50796         (sysdep_routines): Move recvmmsg and sendmmsg...
50797         * socket/Makefile (routines): ... here.
50798         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50799         (GLIBC_PRIVATE): Add __sendmmsg.
50800         * include/sys/socket.h (__sendmmsg): Add declarations.
50801         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50802         sendmmsg.
50804 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50806         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50807         variable I1 with __attribute__ ((unused)).
50808         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50810 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50812         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50813         DUMMY variables with __attribute__ ((unused)).
50815         * bits/byteswap.h: Include <bits/types.h>.
50816         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50818 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50820         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50821         string_t.  Do not manually set errno.
50822         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50823         length with __strnlen.  Make sure to both set errno and return it on
50824         failure.
50826 2012-11-19  David S. Miller  <davem@davemloft.net>
50828         With help from Joseph Myers.
50829         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50830         very large arguments properly.
50831         * math/libm-test.inc (atan_test): New tests.
50832         (atan2_test): New tests.
50833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50836 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50838         [BZ #14856]
50839         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50840         Define to 3.
50842         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50843         [POSIX] (EADDRNOTAVAIL): Likewise.
50844         [POSIX] (EAFNOSUPPORT): Likewise.
50845         [POSIX] (EALREADY): Likewise.
50846         [POSIX] (ECONNABORTED): Likewise.
50847         [POSIX] (ECONNREFUSED): Likewise.
50848         [POSIX] (ECONNRESET): Likewise.
50849         [POSIX] (EDESTADDRREQ): Likewise.
50850         [POSIX] (EDQUOT): Likewise.
50851         [POSIX] (EHOSTUNREACH): Likewise.
50852         [POSIX] (EIDRM): Likewise.
50853         [POSIX] (EISCONN): Likewise.
50854         [POSIX] (ELOOP): Likewise.
50855         [POSIX] (EMULTIHOP): Likewise.
50856         [POSIX] (ENETDOWN): Likewise.
50857         [POSIX] (ENETUNREACH): Likewise.
50858         [POSIX] (ENOBUFS): Likewise.
50859         [POSIX] (ENODATA): Likewise.
50860         [POSIX] (ENOLINK): Likewise.
50861         [POSIX] (ENOMSG): Likewise.
50862         [POSIX] (ENOPROTOOPT): Likewise.
50863         [POSIX] (ENOSR): Likewise.
50864         [POSIX] (ENOSTR): Likewise.
50865         [POSIX] (ENOTCONN): Likewise.
50866         [POSIX] (ENOTSOCK): Likewise.
50867         [POSIX] (EOPNOTSUPP): Likewise.
50868         [POSIX] (EOVERFLOW): Likewise.
50869         [POSIX] (EPROTO): Likewise.
50870         [POSIX] (EPROTONOSUPPORT): Likewise.
50871         [POSIX] (EPROTOTYPE): Likewise.
50872         [POSIX] (ESTALE): Likewise.
50873         [POSIX] (ETIME): Likewise.
50874         [POSIX] (ETXTBSY): Likewise.
50875         [POSIX] (EWOULDBLOCK): Likewise.
50876         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50877         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50878         [POSIX] (SEEK_CUR): Likewise.
50879         [POSIX] (SEEK_END): Likewise.
50880         [POSIX || UNIX98] (mode_t): Do not require.
50881         [POSIX] (off_t): Likewise.
50882         [POSIX] (pid_t): Likewise.
50883         [POSIX] (sys/stat.h): Do not allow header.
50884         [POSIX] (unistd.h): Likewise.
50885         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50886         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50887         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50888         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50889         require.
50890         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50891         sigevent): Specify elements.
50892         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50893         entry.
50894         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50895         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50897         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50898         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50899         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50900         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50901         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50902         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50903         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50904         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50905         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50906         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50907         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50908         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50909         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50910         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50911         Likewise.
50912         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50913         Likewise.
50914         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50915         Likewise.
50916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50917         Likewise.
50918         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50919         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50920         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50921         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50922         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50923         Specify lower bound on value.
50924         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50925         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50926         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50927         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50928         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50929         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50930         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50931         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50932         value.
50933         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50934         as optional.
50935         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50936         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50937         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50938         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50939         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50940         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50941         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50942         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50945         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50950         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50951         entry.
50952         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50953         optional.
50954         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50955         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50956         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50957         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50958         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50959         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50960         Likewise.
50961         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50962         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50966         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50967         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50968         as optional.
50969         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50970         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50971         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50973         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50974         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50975         specify as optional.
50976         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50977         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50978         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50979         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50980         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50981         [XPG3] (NL_LANGMAX): Likewise.
50982         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50983         [POSIX || XPG3] (NL_NMAX): Likewise.
50984         [POSIX || XPG3] (NL_SETMAX): Likewise.
50985         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50986         [XPG3] (NZERO): Likewise.
50987         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50988         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50989         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50990         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50991         (REG_ERANGE): Expect.
50992         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50993         optional-constant.
50994         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50995         Use (void) in prototype.
50996         [POSIX] (*_t): Allow.
50997         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50998         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50999         (WRDE_BADVAL): Expect.
51001         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51002         expect.
51003         [XPG3 || XPG4] (O_RSYNC): Likewise.
51004         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51005         Likewise.
51006         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51007         [XPG3 || XPG4] (sigqueue): Likewise.
51008         [XPG3 || XPG4] (sigtimedwait): Likewise.
51009         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51010         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51011         [XPG3 || XPG4] (vsnprintf): Likewise.
51012         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51013         Likewise.
51014         [XPG3 || XPG4] (blksize_t): Likewise.
51015         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51016         Likewise.
51017         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51018         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51019         [XPG3 || XPG4] (struct itimerspec): Likewise.
51020         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51021         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51022         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51023         [XPG3 || XPG4] (clockid_t): Likewise.
51024         [XPG3 || XPG4] (timer_t): Likewise.
51025         [XPG3 || XPG4] (clock_getres): Likewise.
51026         [XPG3 || XPG4] (clock_gettime): Likewise.
51027         [XPG3 || XPG4] (clock_settime): Likewise.
51028         [XPG3 || XPG4] (nanosleep): Likewise.
51029         [XPG3 || XPG4] (timer_create): Likewise.
51030         [XPG3 || XPG4] (timer_delete): Likewise.
51031         [XPG3 || XPG4] (timer_gettime): Likewise.
51032         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51033         [XPG3 || XPG4] (timer_settime): Likewise.
51034         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51035         [XPG3 || XPG4] (getlogin_r): Likewise.
51036         [XPG3 || XPG4] (pread): Likewise.
51037         [XPG3 || XPG4] (pthread_atfork): Likewise.
51038         [XPG3 || XPG4] (pwrite): Likewise.
51040         [BZ #14835]
51041         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51042         <bits/siginfo.h>.
51044 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51046         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51047         finalizing MALLSTREAM.
51049         * sysdeps/mach/hurd/syncfs.c: New file.
51051 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51053         [BZ #14719]
51054         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51055         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51056         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51057         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51058         (_nss_dns_gethostbyname4_r): Likewise.
51059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51060         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51062 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51064         [BZ #13763]
51065         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51067 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51069         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51070         * elf/cache.c (print_entry): Print ",AArch64" for
51071         FLAG_AARCH64_LIB64
51073         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51074         * elf/cache.c (print_entry): Print ",hard-float" for
51075         FLAG_ARM_LIBHF.
51077 2012-11-18  David S. Miller  <davem@davemloft.net>
51079         With help from Joseph Myers.
51080         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51081         cutoff to 2**-13.
51082         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51083         cutoff to 2**-25.
51084         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51085         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51086         small.
51087         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51088         * math/libm-test.inc (y0_test): New tests.
51089         (y1_test): New tests.
51090         * sysdeps/i386/fpu/libm-test-ulps: Update.
51091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51094 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51096         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51097         64-bit targets.
51098         * configure: Regenerated.
51100 2012-11-17  David S. Miller  <davem@davemloft.net>
51102         [BZ #14811]
51103         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51104         nonzero exponents with absolute value below 0x1p-128 to +/-
51105         0x1p-128.
51107 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51109         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51111         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51113         * posix/getconf-speclist.c: New file.
51114         * posix/posix-envs.def: Likewise.
51115         * posix/confstr.c (START_ENV_GROUP): New macro.
51116         (END_ENV_GROUP): Likewise.
51117         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51118         (KNOWN_PRESENT_ENV_STRING): Likewise.
51119         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51120         (UNKNOWN_ENVIRONMENT): Likewise.
51121         (confstr): Include posix-envs.def instead of handling
51122         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51123         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51124         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51125         (END_ENV_GROUP): Likewise.
51126         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51127         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51128         (UNKNOWN_ENVIRONMENT): Likewise.
51129         (__sysconf): Include posix-envs.def instead of handling associated
51130         cases directly here.
51131         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51132         preprocessing getconf-speclist.c rather than running getconf or
51133         generating empty file.
51135 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51137         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51139 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51141         [BZ #14672]
51142         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51144 2012-11-16  David S. Miller  <davem@davemloft.net>
51146         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51147         smaller than LDBL_EPSILON/2.0L, just return xm1.
51149 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51151         * elf/tst-array1.c (init): Set constructor priority to 1000.
51152         (fini): Set destructor priority to 1000.
51153         * elf/tst-array2dep.c: Likewise.
51155 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51157         [BZ #11741]
51158         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51159         (_IO_new_file_xsputn): Also return EOF if none of the input
51160         data was written when overflow failed.
51161         * libio/iopadn.c (_IO_padn): Likewise.
51162         * libio/iowpadn.c (_IO_wpadn): Likewise.
51163         * stdio-common/tst-put-error.c: Add copyright notice.
51164         (do_test): Add case for printing padded string.
51165         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51166         _IO_padn returned error.
51167         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51168         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51169         return EOF.
51171 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51173         * libio/libioP.h: Add comment note that the references to C++
51174         bits are now obsolete.
51176 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51178         * math/libm-test.inc (check_complex): Use asprintf.
51180 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51182         * debug/pcprofiledump.c (print_version): Update copyright year.
51183         * malloc/memusagestat.c (print_version): Likewise.
51185 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51187         [BZ #14831]
51188         * elf/Makefile (tests): Add tst-audit8.
51189         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51190         ($(objpfx)tst-audit8.out): New target.
51191         (tst-audit8-ENV): New variable.
51192         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51193         audit if l_reloc_result is NULL.
51194         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51195         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51196         * elf/tst-audit8.c: New file.
51198 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51200         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51201         * misc/Makefile (CFLAGS-select.c): Define.
51202         * posix/Makefile (CFLAGS-pause.c): Define.
51204 2012-11-13  David S. Miller  <davem@davemloft.net>
51206         * crypt/Makefile: Move test targets after toplevel Rules
51207         inclusion.  Grab any necessary sysdep routines when linking.
51208         * crypt/md5.c (md5_process_block): Remove define, we will always
51209         name it __md5_process_block.
51210         (md5_finish_ctx): Update md5_process_block call.
51211         (md5_stream): Likewise.
51212         (md5_process_bytes): Likewise.
51213         (md5_process_block): Rename to __md5_process_block and move to ...
51214         * crypt/md5-block.c: ... here.
51215         * crypt/sha256.c (sha256_process_block): Move to ...
51216         * crypt/sha256-block.c: ... here.
51217         * crypt/sha512.c (sha512_process_block): Move to ...
51218         * crypt/sha512-block.c: ... here.
51219         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51220         path.
51221         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51222         * sysdeps/sparc/sparc64/multiarch/Makefile
51223         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51224         crypt subdir.
51225         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51226         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51227         multiarch changes.
51228         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51229         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51230         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51231         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51232         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51233         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51234         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51235         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51236         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51237         file.
51238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51239         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51240         file.
51241         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51243 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51245         * timezone/tzselect.ksh: Update from tzcode git revision
51246         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51247         * timezone/zdump.c: Likewise.
51248         * timezone/zic.c: Likewise.
51249         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51250         in TZVERSION setting, not $(PKGVERSION).
51251         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51252         REPORT_BUGS_TO settings.
51254         [BZ #14838]
51255         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51256         macro.
51258 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51260         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51261         detection to immediately after _FP_ROUND().
51262         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51263         bits are 0.
51265 2012-11-11  David S. Miller  <davem@davemloft.net>
51267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51268         inttypes.h
51269         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51270         __close rather than their public counterparts.
51272 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51274         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51275         file.
51276         [UNIX98] (sem_timedwait): Do not expect.
51277         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51278         [XPG4 || UNIX98] (sockatmark): Do not expect.
51279         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51280         (clock_getcpuclockid): Do not expect.
51281         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51282         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51283         Do not expect.
51284         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51285         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51286         [UNIX98] (vwscanf): Likewise.
51287         [UNIX98] (vswscanf): Likewise.
51289 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51291         * timezone/version.h: Remove file.
51292         * timezone/README: Do not refer to version.h.
51293         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51294         $(objpfx)version.h.
51295         ($(objpfx)zdump.o): Likewise.
51296         ($(objpfx)version.h): New target.
51298         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51299         2012i.
51300         * timezone/README: Don't mention modification to tzselect.ksh.
51301         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51302         work on unmodified tzselect.ksh.  Substitute version numbers in
51303         tzselect.ksh.
51305         * Makefile (format-me): Remove.
51306         (INSTALL): Adjust indentation.  Use commands directly instead of
51307         using $(format-me).
51309         * aclocal.m4 (ACX_PKGVERSION): New macro.
51310         (ACX_BUGURL): Likewise.
51311         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51312         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51313         (REPORT_BUGS_TO): Likewise.
51314         * configure: Regenerated.
51315         * config.h.in (PKGVERSION): New macro.
51316         (REPORT_BUGS_TO): Likewise.
51317         * config.make.in (PKGVERSION): New variable.
51318         (PKGVERSION_TEXI): Likewise.
51319         (REPORT_BUGS_TO): Likewise.
51320         (REPORT_BUGS_TEXI): Likewise.
51321         * Makefile (format-me): Use -I$(common-objpfx)manual.
51322         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51323         ($(common-objpfx)manual/%): New target.
51324         (manual/%): Remove target.
51325         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51326         (print_version): Use PKGVERSION.
51327         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51328         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51329         and REPORT_BUGS_TO.
51330         ($(objpfx)xtrace): Likewise.
51331         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51332         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51333         (print_version): Use PKGVERSION.
51334         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51335         (do_version): Use PKGVERSION.
51336         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51337         REPORT_BUGS_TO.
51338         (common-ldd-rewrite): Likewise.
51339         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51340         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51341         (print_version): Use PKGVERSION.
51342         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51343         * elf/pldd.c (argp_program_bug_address): Remove variable.
51344         (more_help): New function.
51345         (argp): Use more_help.
51346         (print_version): Use PKGVERSION.
51347         * elf/sln.c (main): Use PKGVERSION.
51348         (usage): Use REPORT_BUGS_TO.
51349         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51350         (top level): Use PKGVERSION.
51351         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51352         (print_version): Use PKGVERSION.
51353         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51354         (print_version): Use PKGVERSION.
51355         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51356         (print_version): Use PKGVERSION.
51357         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51358         (print_version): Use PKGVERSION.
51359         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51360         (print_version): Use PKGVERSION.
51361         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51362         (print_version): Use PKGVERSION.
51363         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51364         and BUGURL.
51365         ($(objpfx)memusage): Likewise.
51366         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51367         (do_version): Use PKGVERSION.
51368         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51369         (print_version): Use PKGVERSION.
51370         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51371         ($PKGVERSION): New variable.
51372         ($REPORT_BUGS_TO): Likewise.
51373         (usage): Use $REPORT_BUGS_TO.
51374         (top level): Use $PKGVERSION.
51375         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51376         ($(objpfx)pkgvers.texi): New rule.
51377         ($(objpfx)stamp-pkgvers): Likewise.
51378         * manual/install.texi: Include pkgvers.texi.
51379         (--with-pkgversion): Document new configure option.
51380         (--with-bugurl): Likewise.
51381         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51382         than necessarily for this particular distribution.  Use
51383         REPORT_BUGS_TO for where to report bugs.
51384         * INSTALL: Regenerated.
51385         * manual/libc.texinfo: Include pkgvers.texi.
51386         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51387         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51388         (print_version): Use PKGVERSION.
51389         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51390         (print_version): Use PKGVERSION.
51391         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51392         (print_version): Use PKGVERSION.
51393         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51394         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51395         macro.
51396         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51397         (print_version): Use PKGVERSION.
51398         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51399         (print_version): Use PKGVERSION.
51400         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51401         and PKGVERSION.
51403         * timezone/checktab.awk: Update from tzcode 2012i.
51404         * timezone/ialloc.c: Likewise.
51405         * timezone/private.h: Likewise.
51406         * timezone/scheck.c: Likewise.
51407         * timezone/tzfile.h: Likewise.
51408         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51409         (TZVERSION): Hardcode tzcode version number.
51410         * timezone/zdump.c: Update from tzcode 2012i.
51411         * timezone/zic.c: Likewise.
51412         * timezone/version.h: New file.
51413         * timezone/README: Describe version.h.  Update upstream location.
51415         [BZ #14824]
51416         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51417         (mktemp): Enable declaration.
51418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51422         Likewise.
51423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51424         Likewise.
51425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51426         Likewise.
51427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51428         Likewise.
51429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51430         Likewise.
51431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51432         Likewise.
51434         [BZ #14821]
51435         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51436         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51437         for copies of such integer values.
51438         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51439         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51441 2012-11-09  Andreas Jaeger  <aj@suse.de>
51443         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51444         definitions and declarations that are provided by
51445         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51447 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51449         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51450         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51451         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51452         definition.
51454 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51456         * elf/elf.h: Update comment before AArch64 relocations.
51458 2012-11-07  David S. Miller  <davem@davemloft.net>
51460         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51461         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51462         (__start_context): Declare.
51463         (__makecontext_ret): Delete.
51464         (__makecontext): Hook up __start_context instead of
51465         __makecontext_ret.
51466         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51467         (sysdep_routines): Add __start_context when in stdlib.
51469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51471         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51472         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51473         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51474         hardcoded "nm".
51475         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51476         (READELF): New variable.  Use it instead of hardcoded "readelf".
51478 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51480         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51481         * sysdeps/x86/Makefile: Here.
51482         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51483         * sysdeps/x86/tst-xmmymm.sh: This.
51485 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51487         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51488         expectations.
51489         [UNIX98] (pthread_barrier_t): Do not expect.
51490         [UNIX98] (pthread_barrierattr_t): Likewise.
51491         [UNIX98] (pthread_spinlock_t): Likewise.
51492         [UNIX98] (pthread_barrier_destroy): Likewise.
51493         [UNIX98] (pthread_barrier_init): Likewise.
51494         [UNIX98] (pthread_barrier_wait): Likewise.
51495         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51496         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51497         [UNIX98] (pthread_barrierattr_init): Likewise.
51498         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51499         [UNIX98] (pthread_getcpuclockid): Likewise.
51500         [UNIX98] (pthread_mutex_timedlock): Likewise.
51501         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51502         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51503         [UNIX98] (pthread_sigmask): Likewise.
51504         [UNIX98] (pthread_spin_destroy): Likewise.
51505         [UNIX98] (pthread_spin_init): Likewise.
51506         [UNIX98] (pthread_spin_lock): Likewise.
51507         [UNIX98] (pthread_spin_trylock): Likewise.
51508         [UNIX98] (pthread_spin_unlock): Likewise.
51509         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51510         Do not expect.
51511         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51512         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51513         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51514         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51515         [XPG3 || XPG4] (pthread_key_t): Likewise.
51516         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51517         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51518         [XPG3 || XPG4] (pthread_once_t): Likewise.
51519         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51520         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51521         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51522         [XPG3 || XPG4] (pthread_t): Likewise.
51524         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51525         not expect.
51526         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51528         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51529         Change function return type to int.
51531         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51532         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51533         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51534         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51535         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51536         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51537         [!POSIX] (posix_madvise): Likewise.
51538         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51539         && !UNIX98].
51540         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51541         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51542         (mode_t): Likewise.
51543         (posix_mem_offset): Likewise.
51544         (posix_typed_mem_get_info): Likewise.
51545         (posix_typed_mem_open): Likewise.
51547         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51548         Change condition to [XOPEN2K8].
51550         * conform/conformtest.pl: Preprocess allow-header data with -x c
51551         instead of from stdin.
51552         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51553         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51554         [C99-based standards] (cerfc): Likewise.
51555         [C99-based standards] (cexp2): Likewise.
51556         [C99-based standards] (cexpm1): Likewise.
51557         [C99-based standards] (clog10): Likewise.
51558         [C99-based standards] (clog1p): Likewise.
51559         [C99-based standards] (clog2): Likewise.
51560         [C99-based standards] (clgamma): Likewise.
51561         [C99-based standards] (ctgamma): Likewise.
51562         [C99-based standards] (cerff): Likewise.
51563         [C99-based standards] (cerfcf): Likewise.
51564         [C99-based standards] (cexp2f): Likewise.
51565         [C99-based standards] (cexpm1f): Likewise.
51566         [C99-based standards] (clog10f): Likewise.
51567         [C99-based standards] (clog1pf): Likewise.
51568         [C99-based standards] (clog2f): Likewise.
51569         [C99-based standards] (clgammaf): Likewise.
51570         [C99-based standards] (ctgammaf): Likewise.
51571         [C99-based standards] (cerfl): Likewise.
51572         [C99-based standards] (cerfcl): Likewise.
51573         [C99-based standards] (cexp2l): Likewise.
51574         [C99-based standards] (cexpm1l): Likewise.
51575         [C99-based standards] (clog10l): Likewise.
51576         [C99-based standards] (clog1pl): Likewise.
51577         [C99-based standards] (clog2l): Likewise.
51578         [C99-based standards] (clgammal): Likewise.
51579         [C99-based standards] (ctgammal): Likewise.
51580         * conform/data/inttypes.h-data [C99-based standards]: Include
51581         stdint.h-data.  Remove all expectations for stdint.h contents.
51582         [C99-based standards] (PRI*): Do not allow.
51583         [C99-based standards] (SCN*): Likewise.
51584         [C99-based standards] (*_t): Likewise.
51585         [C99-based-standards] (PRId8): Expect macro.
51586         [C99-based-standards] (PRIi8): Likewise.
51587         [C99-based-standards] (PRIo8): Likewise.
51588         [C99-based-standards] (PRIu8): Likewise.
51589         [C99-based-standards] (PRIx8): Likewise.
51590         [C99-based-standards] (PRIX8): Likewise.
51591         [C99-based-standards] (SCNd8): Likewise.
51592         [C99-based-standards] (SCNi8): Likewise.
51593         [C99-based-standards] (SCNo8): Likewise.
51594         [C99-based-standards] (SCNu8): Likewise.
51595         [C99-based-standards] (SCNx8): Likewise.
51596         [C99-based-standards] (PRIdLEAST8): Likewise.
51597         [C99-based-standards] (PRIiLEAST8): Likewise.
51598         [C99-based-standards] (PRIoLEAST8): Likewise.
51599         [C99-based-standards] (PRIuLEAST8): Likewise.
51600         [C99-based-standards] (PRIxLEAST8): Likewise.
51601         [C99-based-standards] (PRIXLEAST8): Likewise.
51602         [C99-based-standards] (SCNdLEAST8): Likewise.
51603         [C99-based-standards] (SCNiLEAST8): Likewise.
51604         [C99-based-standards] (SCNoLEAST8): Likewise.
51605         [C99-based-standards] (SCNuLEAST8): Likewise.
51606         [C99-based-standards] (SCNxLEAST8): Likewise.
51607         [C99-based-standards] (PRIdFAST8): Likewise.
51608         [C99-based-standards] (PRIiFAST8): Likewise.
51609         [C99-based-standards] (PRIoFAST8): Likewise.
51610         [C99-based-standards] (PRIuFAST8): Likewise.
51611         [C99-based-standards] (PRIxFAST8): Likewise.
51612         [C99-based-standards] (PRIXFAST8): Likewise.
51613         [C99-based-standards] (SCNdFAST8): Likewise.
51614         [C99-based-standards] (SCNiFAST8): Likewise.
51615         [C99-based-standards] (SCNoFAST8): Likewise.
51616         [C99-based-standards] (SCNuFAST8): Likewise.
51617         [C99-based-standards] (SCNxFAST8): Likewise.
51618         [C99-based-standards] (PRId16): Likewise.
51619         [C99-based-standards] (PRIi16): Likewise.
51620         [C99-based-standards] (PRIo16): Likewise.
51621         [C99-based-standards] (PRIu16): Likewise.
51622         [C99-based-standards] (PRIx16): Likewise.
51623         [C99-based-standards] (PRIX16): Likewise.
51624         [C99-based-standards] (SCNd16): Likewise.
51625         [C99-based-standards] (SCNi16): Likewise.
51626         [C99-based-standards] (SCNo16): Likewise.
51627         [C99-based-standards] (SCNu16): Likewise.
51628         [C99-based-standards] (SCNx16): Likewise.
51629         [C99-based-standards] (PRIdLEAST16): Likewise.
51630         [C99-based-standards] (PRIiLEAST16): Likewise.
51631         [C99-based-standards] (PRIoLEAST16): Likewise.
51632         [C99-based-standards] (PRIuLEAST16): Likewise.
51633         [C99-based-standards] (PRIxLEAST16): Likewise.
51634         [C99-based-standards] (PRIXLEAST16): Likewise.
51635         [C99-based-standards] (SCNdLEAST16): Likewise.
51636         [C99-based-standards] (SCNiLEAST16): Likewise.
51637         [C99-based-standards] (SCNoLEAST16): Likewise.
51638         [C99-based-standards] (SCNuLEAST16): Likewise.
51639         [C99-based-standards] (SCNxLEAST16): Likewise.
51640         [C99-based-standards] (PRIdFAST16): Likewise.
51641         [C99-based-standards] (PRIiFAST16): Likewise.
51642         [C99-based-standards] (PRIoFAST16): Likewise.
51643         [C99-based-standards] (PRIuFAST16): Likewise.
51644         [C99-based-standards] (PRIxFAST16): Likewise.
51645         [C99-based-standards] (PRIXFAST16): Likewise.
51646         [C99-based-standards] (SCNdFAST16): Likewise.
51647         [C99-based-standards] (SCNiFAST16): Likewise.
51648         [C99-based-standards] (SCNoFAST16): Likewise.
51649         [C99-based-standards] (SCNuFAST16): Likewise.
51650         [C99-based-standards] (SCNxFAST16): Likewise.
51651         [C99-based-standards] (PRId32): Likewise.
51652         [C99-based-standards] (PRIi32): Likewise.
51653         [C99-based-standards] (PRIo32): Likewise.
51654         [C99-based-standards] (PRIu32): Likewise.
51655         [C99-based-standards] (PRIx32): Likewise.
51656         [C99-based-standards] (PRIX32): Likewise.
51657         [C99-based-standards] (SCNd32): Likewise.
51658         [C99-based-standards] (SCNi32): Likewise.
51659         [C99-based-standards] (SCNo32): Likewise.
51660         [C99-based-standards] (SCNu32): Likewise.
51661         [C99-based-standards] (SCNx32): Likewise.
51662         [C99-based-standards] (PRIdLEAST32): Likewise.
51663         [C99-based-standards] (PRIiLEAST32): Likewise.
51664         [C99-based-standards] (PRIoLEAST32): Likewise.
51665         [C99-based-standards] (PRIuLEAST32): Likewise.
51666         [C99-based-standards] (PRIxLEAST32): Likewise.
51667         [C99-based-standards] (PRIXLEAST32): Likewise.
51668         [C99-based-standards] (SCNdLEAST32): Likewise.
51669         [C99-based-standards] (SCNiLEAST32): Likewise.
51670         [C99-based-standards] (SCNoLEAST32): Likewise.
51671         [C99-based-standards] (SCNuLEAST32): Likewise.
51672         [C99-based-standards] (SCNxLEAST32): Likewise.
51673         [C99-based-standards] (PRIdFAST32): Likewise.
51674         [C99-based-standards] (PRIiFAST32): Likewise.
51675         [C99-based-standards] (PRIoFAST32): Likewise.
51676         [C99-based-standards] (PRIuFAST32): Likewise.
51677         [C99-based-standards] (PRIxFAST32): Likewise.
51678         [C99-based-standards] (PRIXFAST32): Likewise.
51679         [C99-based-standards] (SCNdFAST32): Likewise.
51680         [C99-based-standards] (SCNiFAST32): Likewise.
51681         [C99-based-standards] (SCNoFAST32): Likewise.
51682         [C99-based-standards] (SCNuFAST32): Likewise.
51683         [C99-based-standards] (SCNxFAST32): Likewise.
51684         [C99-based-standards] (PRId64): Likewise.
51685         [C99-based-standards] (PRIi64): Likewise.
51686         [C99-based-standards] (PRIo64): Likewise.
51687         [C99-based-standards] (PRIu64): Likewise.
51688         [C99-based-standards] (PRIx64): Likewise.
51689         [C99-based-standards] (PRIX64): Likewise.
51690         [C99-based-standards] (SCNd64): Likewise.
51691         [C99-based-standards] (SCNi64): Likewise.
51692         [C99-based-standards] (SCNo64): Likewise.
51693         [C99-based-standards] (SCNu64): Likewise.
51694         [C99-based-standards] (SCNx64): Likewise.
51695         [C99-based-standards] (PRIdLEAST64): Likewise.
51696         [C99-based-standards] (PRIiLEAST64): Likewise.
51697         [C99-based-standards] (PRIoLEAST64): Likewise.
51698         [C99-based-standards] (PRIuLEAST64): Likewise.
51699         [C99-based-standards] (PRIxLEAST64): Likewise.
51700         [C99-based-standards] (PRIXLEAST64): Likewise.
51701         [C99-based-standards] (SCNdLEAST64): Likewise.
51702         [C99-based-standards] (SCNiLEAST64): Likewise.
51703         [C99-based-standards] (SCNoLEAST64): Likewise.
51704         [C99-based-standards] (SCNuLEAST64): Likewise.
51705         [C99-based-standards] (SCNxLEAST64): Likewise.
51706         [C99-based-standards] (PRIdFAST64): Likewise.
51707         [C99-based-standards] (PRIiFAST64): Likewise.
51708         [C99-based-standards] (PRIoFAST64): Likewise.
51709         [C99-based-standards] (PRIuFAST64): Likewise.
51710         [C99-based-standards] (PRIxFAST64): Likewise.
51711         [C99-based-standards] (PRIXFAST64): Likewise.
51712         [C99-based-standards] (SCNdFAST64): Likewise.
51713         [C99-based-standards] (SCNiFAST64): Likewise.
51714         [C99-based-standards] (SCNoFAST64): Likewise.
51715         [C99-based-standards] (SCNuFAST64): Likewise.
51716         [C99-based-standards] (SCNxFAST64): Likewise.
51717         [C99-based-standards] (PRIdMAX): Likewise.
51718         [C99-based-standards] (PRIiMAX): Likewise.
51719         [C99-based-standards] (PRIoMAX): Likewise.
51720         [C99-based-standards] (PRIuMAX): Likewise.
51721         [C99-based-standards] (PRIxMAX): Likewise.
51722         [C99-based-standards] (PRIXMAX): Likewise.
51723         [C99-based-standards] (SCNdMAX): Likewise.
51724         [C99-based-standards] (SCNiMAX): Likewise.
51725         [C99-based-standards] (SCNoMAX): Likewise.
51726         [C99-based-standards] (SCNuMAX): Likewise.
51727         [C99-based-standards] (SCNxMAX): Likewise.
51728         [C99-based-standards] (PRIdPTR): Likewise.
51729         [C99-based-standards] (PRIiPTR): Likewise.
51730         [C99-based-standards] (PRIoPTR): Likewise.
51731         [C99-based-standards] (PRIuPTR): Likewise.
51732         [C99-based-standards] (PRIxPTR): Likewise.
51733         [C99-based-standards] (PRIXPTR): Likewise.
51734         [C99-based-standards] (SCNdPTR): Likewise.
51735         [C99-based-standards] (SCNiPTR): Likewise.
51736         [C99-based-standards] (SCNoPTR): Likewise.
51737         [C99-based-standards] (SCNuPTR): Likewise.
51738         [C99-based-standards] (SCNxPTR): Likewise.
51739         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51740         allow.
51741         * conform/data/stdint.h-data: Update comments to clarify
51742         requirements.
51743         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51744         type.
51745         [C99-based standards] (INT8_MAX): Likewise.
51746         [C99-based standards] (INT16_MIN): Likewise.
51747         [C99-based standards] (INT16_MAX): Likewise.
51748         [C99-based standards] (INT32_MIN): Likewise.
51749         [C99-based standards] (INT32_MAX): Likewise.
51750         [C99-based standards] (INT64_MIN): Likewise.
51751         [C99-based standards] (INT64_MAX): Likewise.
51752         [C99-based standards] (UINT8_MAX): Likewise.
51753         [C99-based standards] (UINT16_MAX): Likewise.
51754         [C99-based standards] (UINT32_MAX): Likewise.
51755         [C99-based standards] (UINT64_MAX): Likewise.
51756         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51757         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51758         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51759         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51760         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51761         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51762         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51763         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51764         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51765         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51766         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51767         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51768         [C99-based standards] (INT_FAST8_MIN): Likewise.
51769         [C99-based standards] (INT_FAST8_MAX): Likewise.
51770         [C99-based standards] (INT_FAST16_MIN): Likewise.
51771         [C99-based standards] (INT_FAST16_MAX): Likewise.
51772         [C99-based standards] (INT_FAST32_MIN): Likewise.
51773         [C99-based standards] (INT_FAST32_MAX): Likewise.
51774         [C99-based standards] (INT_FAST64_MIN): Likewise.
51775         [C99-based standards] (INT_FAST64_MAX): Likewise.
51776         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51777         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51778         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51779         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51780         [C99-based standards] (INTPTR_MIN): Likewise.
51781         [C99-based standards] (INTPTR_MAX): Likewise.
51782         [C99-based standards] (UINTPTR_MAX): Likewise.
51783         [C99-based standards] (INTMAX_MIN): Likewise.
51784         [C99-based standards] (INTMAX_MAX): Likewise.
51785         [C99-based standards] (UINTMAX_MAX): Likewise.
51786         [C99-based standards] (PTRDIFF_MIN): Likewise.
51787         [C99-based standards] (PTRDIFF_MAX): Likewise.
51788         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51789         [C99-based standards] (SIZE_MAX): Likewise.
51790         [C99-based standards] (WCHAR_MAX): Likewise.
51791         [C99-based standards] (WINT_MAX): Likewise.
51792         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51793         constraint on value.
51794         [C99-based standards] (WCHAR_MIN): Likewise.
51795         [C99-based standards] (WINT_MIN): Likewise.
51796         [C99-based standards] (*_t): Allow.
51797         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51798         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51799         Include math.h-data and complex.h-data.  Remove all expectations
51800         of math.h and complex.h contents.
51801         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51802         at end of line.
51803         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51804         (struct tm): Expect tag.
51805         [C99-based-standards] (wcstof): Expect function.
51806         [C99-based-standards] (wcstold): Likewise.
51807         [C99-based-standards] (wcstoll): Likewise.
51808         [C99-based-standards] (wcstoull): Likewise.
51809         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51810         macro-int-constant.  Specify type.
51811         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51812         constraint on value.
51813         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51814         Specify type.
51815         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51816         Specify value.
51817         [ISO C standards]: Do not allow headers.
51818         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51819         wcs[abcdefghijklmnopqrstuvwxyz]*.
51820         [ISO C standards] (*_t): Do not allow.
51821         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51822         Expect function.
51823         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51824         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51825         Specify type.
51826         [ISO C standards]: Do not allow headers.
51827         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51828         is[abcdefghijklmnopqrstuvwxyz]*.
51829         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51830         to[abcdefghijklmnopqrstuvwxyz]*.
51831         [ISO C standards] (*_t): Do not allow.
51832         * conform/data/stdalign.h-data: New file.
51833         * conform/data/stdbool.h-data: Likewise.
51834         * conform/data/stdnoreturn.h-data: Likewise.
51836 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51838         [BZ #14815]
51839         * manual/filesys.texi (Directory Entries): Typo fix.
51840         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51842 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51844         * elf/elf.h (EM_AARCH64): New macro.
51845         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51846         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51847         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51848         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51849         (R_AARCH64_TLSDESC): Likewise.
51850         (NT_ARM_TLS): Likewise.
51851         (NT_ARM_HW_BREAK): Likewise.
51852         (NT_ARM_HW_WATCH): Likewise.
51854 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51856         [BZ #14811]
51857         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51858         (__ieee754_powl): Saturate nonzero exponents with absolute value
51859         below 0x1p-79 to +/- 0x1p-79.
51860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51861         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51862         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51863         nonzero exponents with absolute value below 0x1p-32 to +/-
51864         0x1p-32.
51865         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51866         (__ieee754_powl): Saturate nonzero exponents with absolute value
51867         below 0x1p-79 to +/- 0x1p-79.
51868         * math/libm-test.inc (pow_test): Add more tests.
51870 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51872         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51873         _dl_s390_cap_flags with kernel. Increase string length.
51874         (_dl_s390_platforms): Add z196 and zEC12.
51876 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51878         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51879         Change XOPEN21K to XOPEN2K.
51881 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51883         * string/memmove.c: Use memcpy when possible.
51885 2012-11-06  Andreas Jaeger  <aj@suse.de>
51887         * po/eo.po: Update from translation team.
51889 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51891         [BZ #14793]
51892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51893         exponent and small x and y exponents, scale x or y up.  Increase
51894         by 2 the exponent used in scaling up.
51895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51897         * math/libm-test.inc (fma_test): Add more tests.
51898         (fma_test_towardzero): Likewise.
51899         (fma_test_downward): Likewise.
51900         (fma_test_upward): Likewise.
51902 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51904         [BZ #14805]
51905         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51906         fenv_t *.
51908         [BZ #14801]
51909         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51910         namespace for names of struct fields.
51911         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51912         fenv_t fields.
51913         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51914         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51916 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51918         [BZ #3665]
51919         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51921 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51923         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51924         PTR_DEMANGLE.
51926         [BZ #5246]
51927         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51928         PTR_DEMANGLE.
51930 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51932         [BZ #14797]
51933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51934         definitely overflow as x * y not x * y + z.
51935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51937         * math/libm-test.inc (fma_test): Add more tests.
51938         (fma_test_towardzero): Likewise.
51939         (fma_test_downward): Likewise.
51940         (fma_test_upward): Likewise.
51942 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51944         [BZ #157]
51946         * include/stub-tag.h: Remove file.
51947         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51948         '#include' of it.
51949         * manual/maint.texi (Porting): Don't reference it.
51950         * Makerules ($(objpfx)stubs): Likewise.
51951         * dirent/closedir.c: Don't include <stub-tag.h>.
51952         * dirent/dirfd.c: Likewise.
51953         * dirent/fdopendir.c: Likewise.
51954         * dirent/getdents.c: Likewise.
51955         * dirent/getdents64.c: Likewise.
51956         * dirent/opendir.c: Likewise.
51957         * dirent/readdir.c: Likewise.
51958         * dirent/readdir64.c: Likewise.
51959         * dirent/readdir64_r.c: Likewise.
51960         * dirent/readdir_r.c: Likewise.
51961         * dirent/rewinddir.c: Likewise.
51962         * dirent/seekdir.c: Likewise.
51963         * dirent/telldir.c: Likewise.
51964         * gmon/profil.c: Likewise.
51965         * grp/setgroups.c: Likewise.
51966         * inet/if_index.c: Likewise.
51967         * io/access.c: Likewise.
51968         * io/chdir.c: Likewise.
51969         * io/chmod.c: Likewise.
51970         * io/chown.c: Likewise.
51971         * io/close.c: Likewise.
51972         * io/dup.c: Likewise.
51973         * io/dup2.c: Likewise.
51974         * io/dup3.c: Likewise.
51975         * io/euidaccess.c: Likewise.
51976         * io/faccessat.c: Likewise.
51977         * io/fchdir.c: Likewise.
51978         * io/fchmod.c: Likewise.
51979         * io/fchmodat.c: Likewise.
51980         * io/fchown.c: Likewise.
51981         * io/fchownat.c: Likewise.
51982         * io/fcntl.c: Likewise.
51983         * io/flock.c: Likewise.
51984         * io/fstatfs.c: Likewise.
51985         * io/fstatfs64.c: Likewise.
51986         * io/fstatvfs.c: Likewise.
51987         * io/fstatvfs64.c: Likewise.
51988         * io/futimens.c: Likewise.
51989         * io/fxstat.c: Likewise.
51990         * io/fxstat64.c: Likewise.
51991         * io/fxstatat.c: Likewise.
51992         * io/fxstatat64.c: Likewise.
51993         * io/getcwd.c: Likewise.
51994         * io/isatty.c: Likewise.
51995         * io/lchmod.c: Likewise.
51996         * io/lchown.c: Likewise.
51997         * io/link.c: Likewise.
51998         * io/linkat.c: Likewise.
51999         * io/lseek.c: Likewise.
52000         * io/lseek64.c: Likewise.
52001         * io/lxstat64.c: Likewise.
52002         * io/mkdir.c: Likewise.
52003         * io/mkdirat.c: Likewise.
52004         * io/mkfifo.c: Likewise.
52005         * io/mkfifoat.c: Likewise.
52006         * io/open.c: Likewise.
52007         * io/open64.c: Likewise.
52008         * io/openat.c: Likewise.
52009         * io/openat64.c: Likewise.
52010         * io/pipe.c: Likewise.
52011         * io/pipe2.c: Likewise.
52012         * io/poll.c: Likewise.
52013         * io/posix_fadvise.c: Likewise.
52014         * io/posix_fadvise64.c: Likewise.
52015         * io/posix_fallocate.c: Likewise.
52016         * io/posix_fallocate64.c: Likewise.
52017         * io/read.c: Likewise.
52018         * io/readlink.c: Likewise.
52019         * io/readlinkat.c: Likewise.
52020         * io/rmdir.c: Likewise.
52021         * io/sendfile.c: Likewise.
52022         * io/sendfile64.c: Likewise.
52023         * io/statfs.c: Likewise.
52024         * io/statfs64.c: Likewise.
52025         * io/statvfs.c: Likewise.
52026         * io/statvfs64.c: Likewise.
52027         * io/symlink.c: Likewise.
52028         * io/symlinkat.c: Likewise.
52029         * io/ttyname.c: Likewise.
52030         * io/ttyname_r.c: Likewise.
52031         * io/umask.c: Likewise.
52032         * io/unlink.c: Likewise.
52033         * io/unlinkat.c: Likewise.
52034         * io/utime.c: Likewise.
52035         * io/utimensat.c: Likewise.
52036         * io/write.c: Likewise.
52037         * io/xmknod.c: Likewise.
52038         * io/xmknodat.c: Likewise.
52039         * io/xstat.c: Likewise.
52040         * io/xstat64.c: Likewise.
52041         * login/getpt.c: Likewise.
52042         * login/grantpt.c: Likewise.
52043         * login/unlockpt.c: Likewise.
52044         * math/e_acoshl.c: Likewise.
52045         * math/e_acosl.c: Likewise.
52046         * math/e_asinl.c: Likewise.
52047         * math/e_atan2l.c: Likewise.
52048         * math/e_atanhl.c: Likewise.
52049         * math/e_coshl.c: Likewise.
52050         * math/e_expl.c: Likewise.
52051         * math/e_fmodl.c: Likewise.
52052         * math/e_gammal_r.c: Likewise.
52053         * math/e_hypotl.c: Likewise.
52054         * math/e_j0l.c: Likewise.
52055         * math/e_j1l.c: Likewise.
52056         * math/e_jnl.c: Likewise.
52057         * math/e_lgammal_r.c: Likewise.
52058         * math/e_log10l.c: Likewise.
52059         * math/e_log2l.c: Likewise.
52060         * math/e_logl.c: Likewise.
52061         * math/e_powl.c: Likewise.
52062         * math/e_rem_pio2l.c: Likewise.
52063         * math/e_sinhl.c: Likewise.
52064         * math/e_sqrtl.c: Likewise.
52065         * math/fclrexcpt.c: Likewise.
52066         * math/fedisblxcpt.c: Likewise.
52067         * math/feenablxcpt.c: Likewise.
52068         * math/fegetenv.c: Likewise.
52069         * math/fegetexcept.c: Likewise.
52070         * math/fegetround.c: Likewise.
52071         * math/feholdexcpt.c: Likewise.
52072         * math/fesetenv.c: Likewise.
52073         * math/fesetround.c: Likewise.
52074         * math/feupdateenv.c: Likewise.
52075         * math/fgetexcptflg.c: Likewise.
52076         * math/fraiseexcpt.c: Likewise.
52077         * math/fsetexcptflg.c: Likewise.
52078         * math/ftestexcept.c: Likewise.
52079         * math/k_cosl.c: Likewise.
52080         * math/k_rem_pio2l.c: Likewise.
52081         * math/k_sinl.c: Likewise.
52082         * math/k_tanl.c: Likewise.
52083         * math/s_asinhl.c: Likewise.
52084         * math/s_atanl.c: Likewise.
52085         * math/s_cbrtl.c: Likewise.
52086         * math/s_erfl.c: Likewise.
52087         * math/s_expm1l.c: Likewise.
52088         * math/s_log1pl.c: Likewise.
52089         * math/s_tanhl.c: Likewise.
52090         * misc/acct.c: Likewise.
52091         * misc/brk.c: Likewise.
52092         * misc/chflags.c: Likewise.
52093         * misc/chroot.c: Likewise.
52094         * misc/fchflags.c: Likewise.
52095         * misc/fgetxattr.c: Likewise.
52096         * misc/flistxattr.c: Likewise.
52097         * misc/fremovexattr.c: Likewise.
52098         * misc/fsetxattr.c: Likewise.
52099         * misc/fsync.c: Likewise.
52100         * misc/ftruncate.c: Likewise.
52101         * misc/futimes.c: Likewise.
52102         * misc/futimesat.c: Likewise.
52103         * misc/getdomain.c: Likewise.
52104         * misc/getdtsz.c: Likewise.
52105         * misc/gethostid.c: Likewise.
52106         * misc/gethostname.c: Likewise.
52107         * misc/getloadavg.c: Likewise.
52108         * misc/getpagesize.c: Likewise.
52109         * misc/getsysstats.c: Likewise.
52110         * misc/getxattr.c: Likewise.
52111         * misc/gtty.c: Likewise.
52112         * misc/ioctl.c: Likewise.
52113         * misc/lgetxattr.c: Likewise.
52114         * misc/listxattr.c: Likewise.
52115         * misc/llistxattr.c: Likewise.
52116         * misc/lremovexattr.c: Likewise.
52117         * misc/lsetxattr.c: Likewise.
52118         * misc/lutimes.c: Likewise.
52119         * misc/madvise.c: Likewise.
52120         * misc/mincore.c: Likewise.
52121         * misc/mlock.c: Likewise.
52122         * misc/mlockall.c: Likewise.
52123         * misc/mmap.c: Likewise.
52124         * misc/mprotect.c: Likewise.
52125         * misc/msync.c: Likewise.
52126         * misc/munlock.c: Likewise.
52127         * misc/munlockall.c: Likewise.
52128         * misc/munmap.c: Likewise.
52129         * misc/preadv.c: Likewise.
52130         * misc/preadv64.c: Likewise.
52131         * misc/ptrace.c: Likewise.
52132         * misc/pwritev.c: Likewise.
52133         * misc/pwritev64.c: Likewise.
52134         * misc/readv.c: Likewise.
52135         * misc/reboot.c: Likewise.
52136         * misc/remap_file_pages.c: Likewise.
52137         * misc/removexattr.c: Likewise.
52138         * misc/revoke.c: Likewise.
52139         * misc/select.c: Likewise.
52140         * misc/setdomain.c: Likewise.
52141         * misc/setegid.c: Likewise.
52142         * misc/seteuid.c: Likewise.
52143         * misc/sethostid.c: Likewise.
52144         * misc/sethostname.c: Likewise.
52145         * misc/setregid.c: Likewise.
52146         * misc/setreuid.c: Likewise.
52147         * misc/setxattr.c: Likewise.
52148         * misc/sstk.c: Likewise.
52149         * misc/stty.c: Likewise.
52150         * misc/swapoff.c: Likewise.
52151         * misc/swapon.c: Likewise.
52152         * misc/sync.c: Likewise.
52153         * misc/syncfs.c: Likewise.
52154         * misc/syscall.c: Likewise.
52155         * misc/truncate.c: Likewise.
52156         * misc/ualarm.c: Likewise.
52157         * misc/usleep.c: Likewise.
52158         * misc/ustat.c: Likewise.
52159         * misc/utimes.c: Likewise.
52160         * misc/vhangup.c: Likewise.
52161         * misc/writev.c: Likewise.
52162         * posix/_exit.c: Likewise.
52163         * posix/alarm.c: Likewise.
52164         * posix/execve.c: Likewise.
52165         * posix/fexecve.c: Likewise.
52166         * posix/fork.c: Likewise.
52167         * posix/fpathconf.c: Likewise.
52168         * posix/getaddrinfo.c: Likewise.
52169         * posix/getegid.c: Likewise.
52170         * posix/geteuid.c: Likewise.
52171         * posix/getgid.c: Likewise.
52172         * posix/getgroups.c: Likewise.
52173         * posix/getlogin.c: Likewise.
52174         * posix/getlogin_r.c: Likewise.
52175         * posix/getpgid.c: Likewise.
52176         * posix/getpid.c: Likewise.
52177         * posix/getppid.c: Likewise.
52178         * posix/getresgid.c: Likewise.
52179         * posix/getresuid.c: Likewise.
52180         * posix/getsid.c: Likewise.
52181         * posix/getuid.c: Likewise.
52182         * posix/glob64.c: Likewise.
52183         * posix/nanosleep.c: Likewise.
52184         * posix/pathconf.c: Likewise.
52185         * posix/pause.c: Likewise.
52186         * posix/posix_madvise.c: Likewise.
52187         * posix/pread.c: Likewise.
52188         * posix/pread64.c: Likewise.
52189         * posix/pwrite.c: Likewise.
52190         * posix/pwrite64.c: Likewise.
52191         * posix/sched_getaffinity.c: Likewise.
52192         * posix/sched_getp.c: Likewise.
52193         * posix/sched_gets.c: Likewise.
52194         * posix/sched_primax.c: Likewise.
52195         * posix/sched_primin.c: Likewise.
52196         * posix/sched_rr_gi.c: Likewise.
52197         * posix/sched_setaffinity.c: Likewise.
52198         * posix/sched_setp.c: Likewise.
52199         * posix/sched_sets.c: Likewise.
52200         * posix/sched_yield.c: Likewise.
52201         * posix/setgid.c: Likewise.
52202         * posix/setlogin.c: Likewise.
52203         * posix/setpgid.c: Likewise.
52204         * posix/setresgid.c: Likewise.
52205         * posix/setresuid.c: Likewise.
52206         * posix/setsid.c: Likewise.
52207         * posix/setuid.c: Likewise.
52208         * posix/sleep.c: Likewise.
52209         * posix/spawni.c: Likewise.
52210         * posix/sysconf.c: Likewise.
52211         * posix/times.c: Likewise.
52212         * posix/wait.c: Likewise.
52213         * posix/wait3.c: Likewise.
52214         * posix/wait4.c: Likewise.
52215         * posix/waitpid.c: Likewise.
52216         * resolv/gai_sigqueue.c: Likewise.
52217         * resource/getpriority.c: Likewise.
52218         * resource/getrlimit.c: Likewise.
52219         * resource/getrusage.c: Likewise.
52220         * resource/nice.c: Likewise.
52221         * resource/setpriority.c: Likewise.
52222         * resource/setrlimit.c: Likewise.
52223         * resource/ulimit.c: Likewise.
52224         * rt/aio_cancel.c: Likewise.
52225         * rt/aio_fsync.c: Likewise.
52226         * rt/aio_read.c: Likewise.
52227         * rt/aio_sigqueue.c: Likewise.
52228         * rt/aio_suspend.c: Likewise.
52229         * rt/aio_write.c: Likewise.
52230         * rt/clock_getres.c: Likewise.
52231         * rt/clock_gettime.c: Likewise.
52232         * rt/clock_nanosleep.c: Likewise.
52233         * rt/clock_settime.c: Likewise.
52234         * rt/lio_listio.c: Likewise.
52235         * rt/mq_close.c: Likewise.
52236         * rt/mq_getattr.c: Likewise.
52237         * rt/mq_notify.c: Likewise.
52238         * rt/mq_open.c: Likewise.
52239         * rt/mq_receive.c: Likewise.
52240         * rt/mq_send.c: Likewise.
52241         * rt/mq_setattr.c: Likewise.
52242         * rt/mq_timedreceive.c: Likewise.
52243         * rt/mq_timedsend.c: Likewise.
52244         * rt/mq_unlink.c: Likewise.
52245         * rt/shm_open.c: Likewise.
52246         * rt/shm_unlink.c: Likewise.
52247         * rt/timer_create.c: Likewise.
52248         * rt/timer_delete.c: Likewise.
52249         * rt/timer_getoverr.c: Likewise.
52250         * rt/timer_gettime.c: Likewise.
52251         * rt/timer_settime.c: Likewise.
52252         * setjmp/__longjmp.c: Likewise.
52253         * setjmp/setjmp.c: Likewise.
52254         * signal/kill.c: Likewise.
52255         * signal/killpg.c: Likewise.
52256         * signal/raise.c: Likewise.
52257         * signal/sigaction.c: Likewise.
52258         * signal/sigaltstack.c: Likewise.
52259         * signal/sigblock.c: Likewise.
52260         * signal/sigignore.c: Likewise.
52261         * signal/sigintr.c: Likewise.
52262         * signal/signal.c: Likewise.
52263         * signal/sigpause.c: Likewise.
52264         * signal/sigpending.c: Likewise.
52265         * signal/sigqueue.c: Likewise.
52266         * signal/sigreturn.c: Likewise.
52267         * signal/sigset.c: Likewise.
52268         * signal/sigsetmask.c: Likewise.
52269         * signal/sigstack.c: Likewise.
52270         * signal/sigsuspend.c: Likewise.
52271         * signal/sigtimedwait.c: Likewise.
52272         * signal/sigvec.c: Likewise.
52273         * signal/sigwait.c: Likewise.
52274         * signal/sigwaitinfo.c: Likewise.
52275         * signal/sysv_signal.c: Likewise.
52276         * socket/accept.c: Likewise.
52277         * socket/accept4.c: Likewise.
52278         * socket/bind.c: Likewise.
52279         * socket/connect.c: Likewise.
52280         * socket/getpeername.c: Likewise.
52281         * socket/getsockname.c: Likewise.
52282         * socket/getsockopt.c: Likewise.
52283         * socket/isfdtype.c: Likewise.
52284         * socket/listen.c: Likewise.
52285         * socket/recv.c: Likewise.
52286         * socket/recvfrom.c: Likewise.
52287         * socket/recvmsg.c: Likewise.
52288         * socket/send.c: Likewise.
52289         * socket/sendmsg.c: Likewise.
52290         * socket/sendto.c: Likewise.
52291         * socket/setsockopt.c: Likewise.
52292         * socket/shutdown.c: Likewise.
52293         * socket/sockatmark.c: Likewise.
52294         * socket/socket.c: Likewise.
52295         * socket/socketpair.c: Likewise.
52296         * stdio-common/ctermid.c: Likewise.
52297         * stdio-common/cuserid.c: Likewise.
52298         * stdio-common/remove.c: Likewise.
52299         * stdio-common/rename.c: Likewise.
52300         * stdio-common/renameat.c: Likewise.
52301         * stdio-common/tempname.c: Likewise.
52302         * stdlib/getcontext.c: Likewise.
52303         * stdlib/makecontext.c: Likewise.
52304         * stdlib/setcontext.c: Likewise.
52305         * stdlib/swapcontext.c: Likewise.
52306         * stdlib/system.c: Likewise.
52307         * streams/fattach.c: Likewise.
52308         * streams/fdetach.c: Likewise.
52309         * streams/getmsg.c: Likewise.
52310         * streams/getpmsg.c: Likewise.
52311         * streams/putmsg.c: Likewise.
52312         * streams/putpmsg.c: Likewise.
52313         * sysdeps/unix/bsd/getpt.c: Likewise.
52314         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52315         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52316         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52318         Likewise.
52319         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52320         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52321         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52322         * sysvipc/msgctl.c: Likewise.
52323         * sysvipc/msgget.c: Likewise.
52324         * sysvipc/msgrcv.c: Likewise.
52325         * sysvipc/msgsnd.c: Likewise.
52326         * sysvipc/semctl.c: Likewise.
52327         * sysvipc/semget.c: Likewise.
52328         * sysvipc/semop.c: Likewise.
52329         * sysvipc/semtimedop.c: Likewise.
52330         * sysvipc/shmat.c: Likewise.
52331         * sysvipc/shmctl.c: Likewise.
52332         * sysvipc/shmdt.c: Likewise.
52333         * sysvipc/shmget.c: Likewise.
52334         * termios/tcdrain.c: Likewise.
52335         * termios/tcflow.c: Likewise.
52336         * termios/tcflush.c: Likewise.
52337         * termios/tcgetattr.c: Likewise.
52338         * termios/tcgetpgrp.c: Likewise.
52339         * termios/tcsendbrk.c: Likewise.
52340         * termios/tcsetattr.c: Likewise.
52341         * termios/tcsetpgrp.c: Likewise.
52342         * time/adjtime.c: Likewise.
52343         * time/clock.c: Likewise.
52344         * time/getitimer.c: Likewise.
52345         * time/gettimeofday.c: Likewise.
52346         * time/setitimer.c: Likewise.
52347         * time/settimeofday.c: Likewise.
52348         * time/stime.c: Likewise.
52349         * time/time.c: Likewise.
52351 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52353         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52354         /usr/old/bin.
52356         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52357         instead of spaces.
52358         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52360 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52362         [BZ #14796]
52363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52364         FE_TONEAREST before applying Dekker multiplication and Knuth
52365         addition.  Clear inexact exceptions and check for exact zero
52366         results afterwards.
52367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52368         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52369         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52370         * math/libm-test.inc (fma_test): Add more tests.
52371         (fma_test_towardzero): Likewise.
52372         (fma_test_downward): Likewise.
52373         (fma_test_upward): Likewise.
52374         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52375         function.
52376         (libc_fesetround): New macro.
52377         (libc_fesetroundf): Likewise.
52378         (libc_fesetroundl): Likewise.
52379         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52380         function.
52381         (libc_fesetround_387): Likewise.
52382         (libc_fesetroundf): New macro.
52383         (libc_fesetround): Likewise.
52384         (libc_fesetroundl): Likewise.
52385         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52386         function.
52387         (libc_fesetroundf): New macro.
52388         (libc_fesetround): Likewise.
52389         (libc_fesetroundl): Likewise.
52390         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52391         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52392         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52393         libm_hidden_ver.
52394         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52395         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52396         libm_hidden_def.
52397         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52398         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52399         libm_hidden_ver.
52400         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52401         libm_hidden_def.
52403         [BZ #3439]
52404         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52405         integer constant usable in #if and use that to give value to enum
52406         constant.
52407         (FE_DIVBYZERO): Likewise.
52408         (FE_UNDERFLOW): Likewise.
52409         (FE_OVERFLOW): Likewise.
52410         (FE_INVALID): Likewise.
52411         (FE_INVALID_SNAN): Likewise.
52412         (FE_INVALID_ISI): Likewise.
52413         (FE_INVALID_IDI): Likewise.
52414         (FE_INVALID_ZDZ): Likewise.
52415         (FE_INVALID_IMZ): Likewise.
52416         (FE_INVALID_COMPARE): Likewise.
52417         (FE_INVALID_SOFTWARE): Likewise.
52418         (FE_INVALID_SQRT): Likewise.
52419         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52420         (FE_TONEAREST): Likewise.
52421         (FE_TOWARDZERO): Likewise.
52422         (FE_UPWARD): Likewise.
52423         (FE_DOWNWARD): Likewise.
52424         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52425         (FE_DIVBYZERO): Likewise.
52426         (FE_OVERFLOW): Likewise.
52427         (FE_UNDERFLOW): Likewise.
52428         (FE_INEXACT): Likewise.
52429         (FE_TONEAREST): Likewise.
52430         (FE_DOWNWARD): Likewise.
52431         (FE_UPWARD): Likewise.
52432         (FE_TOWARDZERO): Likewise.
52433         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52434         (FE_UNDERFLOW): Likewise.
52435         (FE_OVERFLOW): Likewise.
52436         (FE_DIVBYZERO): Likewise.
52437         (FE_INVALID): Likewise.
52438         (FE_TONEAREST): Likewise.
52439         (FE_TOWARDZERO): Likewise.
52440         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52441         (FE_OVERFLOW): Likewise.
52442         (FE_UNDERFLOW): Likewise.
52443         (FE_DIVBYZERO): Likewise.
52444         (FE_INEXACT): Likewise.
52445         (FE_TONEAREST): Likewise.
52446         (FE_TOWARDZERO): Likewise.
52447         (FE_UPWARD): Likewise.
52448         (FE_DOWNWARD): Likewise.
52449         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52450         (FE_DIVBYZERO): Likewise.
52451         (FE_OVERFLOW): Likewise.
52452         (FE_UNDERFLOW): Likewise.
52453         (FE_INEXACT): Likewise.
52454         (FE_TONEAREST): Likewise.
52455         (FE_DOWNWARD): Likewise.
52456         (FE_UPWARD): Likewise.
52457         (FE_TOWARDZERO): Likewise.
52459 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52461         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52463 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52465         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52466         commands.  Quote $PWD.
52467         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52468         -x" by "export".
52469         (remove_newlines): Remove.
52471 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52473         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52474         * stdlib/stdlib.h (atof): Moved to ...
52475         * include/bits/stdlib-float.h: Here.  New file.
52476         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52477         * stdlib/bits/stdlib-float.h: New file.
52478         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52479         -mno-sse -mno-mmx.
52480         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52481         <xmmintrin.h>.
52483 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52485         * conform/conformtest.pl (@headers): Add fenv.h.
52486         * conform/data/fenv.h-data: New file.
52487         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52488         include of <math/fenv.h>.
52490         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52491         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52492         && !UNIX98].  Enables tests for XOPEN2K8.
52493         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52494         POSIX2008]: Likewise.
52496         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52497         (struct rusage): Do not expect type or its members.
52499         [BZ #3439]
52500         * math/math.h (FP_NAN): Define macro to integer constant usable in
52501         #if and use that to give value to enum constant.
52502         (FP_INFINITE): Likewise.
52503         (FP_ZERO): Likewise.
52504         (FP_SUBNORMAL): Likewise.
52505         (FP_NORMAL): Likewise.
52507 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52509         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52510         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52511         arguments.
52513 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52515         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52516         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52517         autoconf-time if not.
52518         * configure.in: Remove AC_PREREQ.
52520 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52522         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52523         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52524         of the internal implementation.
52526 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52528         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52529         except include of <misc/sys/syslog.h>.
52531 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52534         function returns with a NULL context exit with zero.
52536 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52538         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52540 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52542         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52543         (run_program_cmd): This.
52544         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52545         (tst_langinfo): New variable.  Use it.
52547 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52549         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52550         floating point opcodes.
52552 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52554         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52555         variable.
52557         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52559         * sysdeps/mach/hurd/powerpc: Remove directory.
52560         * sysdeps/mach/powerpc: Likewise.
52562 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52564         * scripts/check-local-headers.sh: Ignore c++ headers.
52566 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52568         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52569         __libc_cleanup_region_start argument.
52571 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52573         [BZ #14784]
52574         [BZ #14785]
52575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52576         x * y using scaling, not as x * y + z.
52577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52579         * math/libm-test.inc (fma_test): Add more tests.
52580         (fma_test_towardzero): Likewise.
52581         (fma_test_downward): Likewise.
52582         (fma_test_upward): Likewise.
52584 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52586         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52588 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52590         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52591         New variable.
52593 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52595         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52597 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52600         Fix sort order.
52601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52602         Likewise.
52604 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52607         Fix the order of the list for glibc 2.17.
52608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52609         Likewise.
52611 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52615 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52617         [BZ #14610]
52618         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52619         for low part of x being zero before using __atanl (y).
52620         * math/libm-test.inc (atan2_test): Add another test.
52622         * manual/install.texi (Configuring and compiling): Document
52623         general use of test-wrapper and test-wrapper-env.
52624         * INSTALL: Regenerated.
52626         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52627         (__fma): Do not extract and scale down low bits on after-rounding
52628         systems when result rounded to normal precision would have normal
52629         exponent.
52630         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52631         (__fmal): Do not extract and scale down low bits on after-rounding
52632         systems when result rounded to normal precision would have normal
52633         exponent.
52634         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52635         (__fmal): Do not extract and scale down low bits on after-rounding
52636         systems when result rounded to normal precision would have normal
52637         exponent.
52638         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52639         macro.
52640         (fma_test): Add more tests.
52641         (fma_test_towardzero): Likewise.
52642         (fma_test_downward): Likewise.
52643         (fma_test_upward): Likewise.
52645 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52647         * sysdeps/i386/tininess.h: Renamed to ...
52648         * sysdeps/x86/tininess.h: This.
52649         * sysdeps/x86_64/tininess.h: Removed.
52651 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52653         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52654         input.  Use $(build-program-cmd).
52655         ($(objpfx)tst-array1-static.out): Likewise.
52656         ($(objpfx)tst-array2.out): Likewise.
52657         ($(objpfx)tst-array3.out): Likewise.
52658         ($(objpfx)tst-array4.out): Likewise.
52659         ($(objpfx)tst-array5.out): Likewise.
52660         ($(objpfx)tst-array5-static.out): Likewise.
52662 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52664         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52665         if defined.
52667         * nss/nsswitch.h (nss_interface_function): Provide new
52668         macro for use with NSS functions.
52669         * grp/initgroups.c: Use new macro.
52670         * nss/getXXbyYY.c: Likewise.
52671         * nss/getXXbyYY_r.c: Likewise.
52672         * nss/getXXent.c: Likewise.
52673         * nss/getXXent_r.c: Likewise.
52674         * sysdeps/posix/getaddrinfo.c: Likewise.
52676 2012-10-30  Andreas Jaeger  <aj@suse.de>
52678         * po/ru.po: Update Russion translation from translation project.
52680 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52682         [BZ #14152]
52683         [BZ #14783]
52684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52685         result and shift together with sticky bit instead of replicating
52686         round-to-nearest rounding.
52687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52689         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52690         missing underflow exceptions.
52691         (fma_test_towardzero): Add more tests.
52692         (fma_test_downward): Likewise.
52693         (fma_test_upward): Likewise.
52695         [BZ #14047]
52696         * sysdeps/generic/tininess.h: New file.
52697         * sysdeps/i386/tininess.h: Likewise.
52698         * sysdeps/sh/tininess.h: Likewise.
52699         * sysdeps/x86_64/tininess.h: Likewise.
52700         * stdlib/tst-strtod-underflow.c: Likewise.
52701         * stdlib/tst-tininess.c: Likewise.
52702         * stdlib/strtod_l.c: Include <tininess.h>.
52703         (round_and_return): Do not set errno for exact underflow cases.
52704         Force an underflow exception when setting errno for underflow.
52705         Determine underflow based on rounding to normal precision if
52706         TININESS_AFTER_ROUNDING.
52707         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52708         ERANGE for exact underflow cases.
52709         * stdlib/Makefile (tests): Add tst-tininess and
52710         tst-strtod-underflow.
52711         ($(objpfx)tst-tininess): Use $(link-libm).
52712         ($(objpfx)tst-strtod-underflow): Likewise.
52714 2012-10-30  Andreas Jaeger  <aj@suse.de>
52716         [BZ#14767]
52717         * elf/Makefile (tests): Remove conditional for have-initfini-array
52718         since this is now always required and the variable does not exist
52719         anymore.
52720         (tests-static): Likewise.
52721         (modules-names): Likewise.
52723         * po/eo.po: Add Esperanto translation from translation project.
52725         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52726         merged with constructor/destructor.
52727         (init_array): Likewise.
52728         * elf/tst-array2dep.c (fini_array): Likewise.
52729         (init_array): Likewise.
52731 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52733         * manual/message.texi: Delete @cartouche tags.
52735 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52737         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52738         EOPNOTSUPP.
52739         * sysdeps/mach/hurd/fsync.c: Likewise.
52741         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52742         [_POSIX_REALTIME_SIGNALS]: Change condition to
52743         [_POSIX_REALTIME_SIGNALS > 0].
52745 2012-10-27  Andreas Jaeger  <aj@suse.de>
52747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52748         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52749         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52750         [__WORDSIZE != 64]: Likewise.
52752 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52754         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52755         *  iconvdata/tst-tables.sh: Likewise.
52757 2012-10-25  David S. Miller  <davem@davemloft.net>
52759         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52760         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52761         of strtoull.
52763         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52764         ifunc-impl-list.c
52765         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52766         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52767         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52768         file.
52770 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52772         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52773         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52774         __getdirentries.
52776 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52777             Jim Blandy  <jimb@codesourcery.com>
52779         * scripts/cross-test-ssh.sh: New file.
52780         * manual/install.texi (Configuring and compiling): Document use of
52781         cross-test-ssh.sh.
52782         * INSTALL: Regenerated.
52784 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52786         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52787         EOPNOTSUPP.
52789 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52791         * Makeconfig (run-program-prefix): Fix comment.
52793 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52794             Jim Blandy  <jimb@codesourcery.com>
52796         * Makeconfig (test-wrapper): New variable,
52797         (test-wrapper-env): Likewise.
52798         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52799         (run-built-tests): Define to yes.
52800         (run-program-prefix): Use $(test-wrapper).
52801         (built-program-cmd): Likewise.
52802         * Rules (make-test-out): Use $(test-wrapper-env) and
52803         $(host-built-program-cmd).
52804         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52805         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52806         tst-pathopt.sh.
52807         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52808         $(test-wrapper-env) to tst-rtld-load-self.sh.
52809         ($(objpfx)order2.out): Use $(test-wrapper).
52810         ($(objpfx)tst-initorder.out): Likewise.
52811         ($(objpfx)tst-initorder2.out): Likewise.
52812         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52813         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52814         (test_wrapper_env): New variable.  Use it to run ld.so.
52815         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52816         Use it to run ld.so.
52817         (test_wrapper_env): Likewise.
52818         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52819         $(test-wrapper) to run-iconv-test.sh.
52820         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52821         (ICONV): Use $test_wrapper.
52822         * posix/Makefile ($(objpfx)globtest.out): Pass
52823         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52824         globtest.sh, not $(run-program-prefix).
52825         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52826         (test_wrapper): Likewise.
52827         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52828         set together with run_via_rtld_prefix.
52829         (run_program_prefix): Define in terms of test_wrapper and
52830         run_via_rtld_prefix.
52832 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52834         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52835         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52836         Targets removed.
52838         [BZ #14743]
52839         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52840         Declare __clock_getres, __clock_gettime, __clock_settime,
52841         __clock_nanosleep, and __clock_getcpuclockid.
52842         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52843         Remove librt_hidden_def (clock_gettime).
52844         * sysdeps/unix/clock_gettime.c: Likewise.
52845         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52846         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52847         * rt/clock_getres.c: Define __clock_getres as an alias.
52848         * sysdeps/posix/clock_getres.c: Likewise.
52849         * rt/clock_settime.c: Define __clock_settime as an alias.
52850         * sysdeps/unix/clock_settime.c: Likewise.
52851         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52852         * sysdeps/unix/clock_nanosleep.c: Likewise.
52853         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52854         * rt/clock-compat.c: New file.
52855         * rt/Makefile (librt-routines): Add clock-compat and move
52856         $(clock-routines) to ...
52857         (routines): ... here, new variable.
52858         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52859         Don't add get_clockfreq here.
52860         * rt/Versions (libc: GLIBC_2.17): New version set.
52861         Add clock_* symbols here.
52862         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52863         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52864         (GLIBC_2.17): Add clock_* symbols.
52865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52869         Likewise.
52870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52871         Likewise.
52872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52876         * NEWS: Mention the move.
52878         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52879         Use __open, __read, __close rather than their public counterparts.
52880         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52881         (__get_clockfreq_via_cpuinfo): Likewise.
52882         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52883         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52885         * config.h.in (HAVE_IFUNC): New #undef.
52886         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52887         was successful.
52888         * configure: Regenerated.
52890 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52892         * configure.in: Move READELF check to start of file.
52893         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52894         libc_cv_asm_gnu_indirect_function in the process.
52895         * configure: Regenerated.
52897 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52899         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52900         send the output to /dev/null.
52901         (libc_cv_cc_with_libunwind): Likewise.
52902         (libc_cv_as_noexecstack): Likewise.
52903         * configure: Regenerate.
52905 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52907         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52909         * posix/globtest.sh (TMPDIR): Do not set.
52910         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52911         (testout): Likewise.
52913 2012-10-24  Andreas Jaeger  <aj@suse.de>
52915         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52916         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52917         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52918         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52919         posix_fadvise64, posix_fallocate64.
52921         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52922         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52923         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52924         Likewise.
52925         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52926         Likewise.
52927         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52930         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52931         <bits/fcntl-linux.h>.
52932         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52935         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52936         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52937         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52938         [__WORDSIZE != 64]: Likewise.
52940 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52942         * Makeconfig (run-built-tests): New variable.
52943         * Rules [$(cross-compiling) = yes]: Change condition to
52944         [$(run-built-tests) = no].
52945         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52946         to [$(run-built-tests) = yes].
52947         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52948         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52949         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52950         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52951         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52952         * io/Makefile [$(cross-compiling) = no]: Likewise.
52953         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52954         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52955         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52956         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52957         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52958         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52959         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52960         * string/Makefile [$(cross-compiling) = no]: Likewise.
52962         * posix/Makefile ($(objpfx)globtest.out): Pass
52963         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52964         $(rtld-installed-name).
52965         * posix/globtest.sh (elf_objpfx): Remove variable.
52966         (rtld_installed_name): Likewise.
52967         (library_path): Likewise.
52968         (run_program_prefix): New variable.  Use for running globtest
52969         binary.
52971 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52972             Joseph Myers  <joseph@codesourcery.com>
52974         * Makeconfig (host-built-program-cmd): New variable.
52975         * elf/Makefile (tst-stackguard1-ARGS): Use
52976         $(host-built-program-cmd).
52977         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52978         (tst-spawn-ARGS): Likewise.
52979         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52981 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52982             Jim Blandy  <jimb@codesourcery.com>
52984         * Makeconfig (run-via-rtld-prefix): New variable.
52985         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52986         (built-program-cmd): Likewise.
52988 2012-10-22  Andreas Jaeger  <aj@suse.de>
52990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52991         __O_RSYNC if it exists, otherwise to O_SYNC.
52993 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52994             Joseph Myers  <joseph@codesourcery.com>
52996         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52997         /dev/null.
52998         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52999         from /dev/null
53000         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53001         /dev/null.
53003 2012-10-22  Andreas Jaeger  <aj@suse.de>
53005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53006         Define always.
53007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53010         bits/fcntl-linux.h.
53012         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53013         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53016         to __O_LARGEFILE.
53017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53018         to __O_LARGEFILE.
53020 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53021             Joseph Myers  <joseph@codesourcery.com>
53023         * config.make.in (NM): New variable.
53025 2012-10-21  Andreas Jaeger  <aj@suse.de>
53027         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53028         definitions and declarations that are provided by
53029         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53031 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53033         [BZ #14683]
53034         * elf/Makefile (tests-static): Add tst-leaks1-static.
53035         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53036         ($(objpfx)tst-leaks1-static): New rule.
53037         ($(objpfx)tst-leaks1-static-mem): Likewise.
53038         (tst-leaks1-static-ENV): New macro.
53039         * elf/dl-open.c (dl_open_worker): Check the main application
53040         only if SHARED is defined.
53041         * elf/tst-leaks1-static.c: New file.
53043 2012-10-20  Andreas Jaeger  <aj@suse.de>
53045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53046         generic values for Linux.
53047         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53048         and declarations that are provided by <bits/fcntl-linux.h> and
53049         include <bits/fcntl-linux.h>.
53050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53053 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53055         * io/fcntl.h: Move include of <bits/types.h> to the top and
53056         include it unconditionally.
53058 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53060         * wcsmbs/Makefile (tests-ifunc): New variable.
53061         (tests): Add $(tests-ifunc).
53062         * wcsmbs/test-wcschr-ifunc.c: New file.
53063         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53064         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53065         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53066         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53067         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53069         * string/Makefile (tests-ifunc): New variable.
53070         (tests): Add $(tests-ifunc).
53071         * string/test-memccpy.c (TEST_NAME): New macro.
53072         * string/test-memchr.c (TEST_NAME): Likewise.
53073         * string/test-memcmp.c (TEST_NAME): Likewise.
53074         * string/test-memcpy.c (TEST_NAME): Likewise.
53075         * string/test-memmem.c (TEST_NAME): Likewise.
53076         * string/test-memmove.c (TEST_NAME): Likewise.
53077         * string/test-memset.c (TEST_NAME): Likewise.
53078         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53079         * string/test-stpcpy.c (TEST_NAME): Likewise.
53080         * string/test-stpncpy.c (TEST_NAME): Likewise.
53081         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53082         * string/test-strcasestr.c (TEST_NAME): Likewise.
53083         * string/test-strcat.c (TEST_NAME): Likewise.
53084         * string/test-strchr.c (TEST_NAME): Likewise.
53085         * string/test-strcmp.c(TEST_NAME): Likewise.
53086         * string/test-strcpy.c (TEST_NAME): Likewise.
53087         * string/test-strcspn.c (TEST_NAME): Likewise.
53088         * string/test-strlen.c (TEST_NAME): Likewise.
53089         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53090         * string/test-strncmp.c (TEST_NAME): Likewise.
53091         * string/test-strncpy.c (TEST_NAME): Likewise.
53092         * string/test-strnlen.c (TEST_NAME): Likewise.
53093         * string/test-strpbrk.c (TEST_NAME): Likewise.
53094         * string/test-strrchr.c (TEST_NAME): Likewise.
53095         * string/test-strspn.c (TEST_NAME): Likewise.
53096         * string/test-strstr.c (TEST_NAME): Likewise.
53097         * string/test-bcopy-ifunc.c: New file.
53098         * string/test-bzero-ifunc.c: Likewise.
53099         * string/test-memccpy-ifunc.c: Likewise.
53100         * string/test-memchr-ifunc.c: Likewise.
53101         * string/test-memcmp-ifunc.c: Likewise.
53102         * string/test-memcpy-ifunc.c: Likewise.
53103         * string/test-memmem-ifunc.c: Likewise.
53104         * string/test-memmove-ifunc.c: Likewise.
53105         * string/test-mempcpy-ifunc.c: Likewise.
53106         * string/test-memset-ifunc.c: Likewise.
53107         * string/test-rawmemchr-ifunc.c: Likewise.
53108         * string/test-stpcpy-ifunc.c: Likewise.
53109         * string/test-stpncpy-ifunc.c: Likewise.
53110         * string/test-strcasecmp-ifunc.c: Likewise.
53111         * string/test-strcasestr-ifunc.c: Likewise.
53112         * string/test-strcat-ifunc.c: Likewise.
53113         * string/test-strchr-ifunc.c: Likewise.
53114         * string/test-strchrnul-ifunc.c: Likewise.
53115         * string/test-strcmp-ifunc.c: Likewise.
53116         * string/test-strcpy-ifunc.c: Likewise.
53117         * string/test-strcspn-ifunc.c: Likewise.
53118         * string/test-strlen-ifunc.c: Likewise.
53119         * string/test-strncasecmp-ifunc.c: Likewise.
53120         * string/test-strncat-ifunc.c: Likewise.
53121         * string/test-strncmp-ifunc.c: Likewise.
53122         * string/test-strncpy-ifunc.c: Likewise.
53123         * string/test-strnlen-ifunc.c: Likewise.
53124         * string/test-strpbrk-ifunc.c: Likewise.
53125         * string/test-strrchr-ifunc.c: Likewise.
53126         * string/test-strspn-ifunc.c: Likewise.
53127         * string/test-strstr-ifunc.c: Likewise.
53129         * debug/Makefile (tests-ifunc): New variable.
53130         (tests): Add $(tests-ifunc).
53131         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53132         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53133         * debug/test-stpcpy_chk-ifunc.c: New file.
53134         * debug/test-strcpy_chk-ifunc.c: Likewise.
53136 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53138         [BZ #13601]
53139         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53140         header is not read in.
53142 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53144         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53145         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53146         directly.  Pass built executable to script as
53147         $(built-program-cmd).
53148         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53149         $testprogram without using LD_LIBRARY_PATH and $ldso.
53151         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53152         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53153         $(rtld-installed-name).
53154         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53155         (rtld_installed_name): Likewise.
53156         (library_path): Likewise.
53157         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53158         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53159         $(run-program-prefix) to tst-tables.sh.
53160         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53161         it to run tst-table-from and tst-table-to.
53162         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53163         Pass it to tst-table.sh.
53164         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53165         $(run-program-prefix) to tst-gettext.sh.
53166         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53167         tst-translit.sh.
53168         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53169         tst-gettext2.sh.
53170         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53171         to run tst-gettext.
53172         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53173         to run tst-gettext2.
53174         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53175         to run tst-translit.
53176         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53177         $(run-program-prefix) to tst-mtrace.sh.
53178         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53179         to run tst-mtrace.
53180         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53181         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53182         $(rtld-installed-name).
53183         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53184         (rtld_installed_name): Likewise.
53185         (run_program_prefix): New variable.  Use it to run wordexp-test.
53187         * Makeconfig (ARCH): Remove all definitions.
53188         (machine): Likewise.
53189         [ARCH]: Remove conditional code.
53190         [!objdir]: Give error.
53191         [!objdir] (objpfx): Remove.
53192         [!objdir] (common-objpfx): Likewise.
53193         [!objdir] (common-objdir): Likewise.
53194         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53195         AC_CONFIG_FILES call.
53196         * configure: Regenerated.
53198         [BZ #13888]
53199         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53200         or TMPDIR.
53201         (testout): Likewise.
53203         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53204         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53205         $(rtld-installed-name).
53206         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53207         (rtld_installed_name): Likwise.
53208         (runit): Remove function.
53209         (run_getconf): New variable,  Use it for running getconf binary.
53211 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53213         [BZ #14716]
53214         * string/test-memmem.c (check_result): New function.
53215         (do_one_test): Use it.
53216         (check1): New function.
53217         (test_main): Use it.
53219 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53221         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53223 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53225         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53226         (_G_LSEEK64): Likewise.
53227         (_G_MMAP64): Likewise.
53228         (_G_FSTAT64): Likewise.
53229         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53230         (_G_LSEEK64): Likewise.
53231         (_G_MMAP64): Likewise.
53232         (_G_FSTAT64): Likewise.
53233         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53234         unconditional.  Call __mmap64 directly.
53235         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53236         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53237         __lseek64 directly.
53238         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53239         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53240         __mmap64 directly.
53241         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53242         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53243         __lseek64 directly.
53244         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53245         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53246         __lseek64 directly.
53247         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53248         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53249         __lseek64 directly.
53250         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53251         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53252         __fxstat64 directly.
53253         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53254         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53255         unconditional.
53256         (freopen64) [!_G_OPEN64]: Remove conditional code.
53257         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53258         unconditional.
53259         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53260         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53261         unconditional.
53262         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53263         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53264         unconditional.
53265         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53266         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53267         unconditional.
53268         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53269         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53270         unconditional.
53271         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53272         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53273         unconditional.
53274         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53275         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53276         unconditional.
53277         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53279 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53281         [BZ #12140]
53282         * manual/memory.texi (Malloc Tunable Parameters): Add note
53283         about free list pointers overwriting some perturb bytes.
53284         Wording suggested by Roland McGrath.
53286 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53288         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53289         (lgamma_test): Likewise.
53290         (tgamma_test): Likewise.
53292 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53294         [BZ #14700]
53295         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53296         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53298 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53300         * NEWS: Mention BZ #14716.
53301         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53302         when removing AVAILABLE1_USES_J macro.
53304 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53306         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53307         (__bswap_64): __uint64_t for unsigned 64-bit int.
53309 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53311         * include/string.h (memmem): Declare libc hidden alias.
53312         * string/memmem.c (memmem): Define libc hidden alias.
53313         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53314         __read, __close instead of open, read, close.
53316 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53319         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53320         global and hidden.
53321         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53322         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53323         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53324         Likewise.
53325         (__rawmemchr_sse2): Likewise.
53326         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53327         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53328         (__strchr_sse2): Likewise.
53329         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53330         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53331         (__strcasecmp_sse2): Likewise.
53332         (__strncasecmp_sse2): Likewise.
53333         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53334         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53335         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53336         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53337         (__strrchr_sse2): Likewise.
53338         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53339         ifunc-impl-list.c.
53340         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53341         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53342         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53343         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53344         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53345         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53348         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53349         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53350         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53351         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53352         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53353         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53354         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53355         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53356         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53357         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53358         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53359         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53360         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53361         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53362         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53363         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53364         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53365         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53366         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53367         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53368         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53369         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53371         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53372         global and hidden.
53373         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53374         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53375         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53376         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53377         Likewise.
53378         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53379         Likewise.
53380         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53381         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53382         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53383         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53384         ifunc-impl-list.c.
53385         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53386         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53387         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53388         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53389         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53390         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53391         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53392         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53393         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53394         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53395         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53396         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53397         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53398         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53399         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53400         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53401         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53402         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53403         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53404         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53405         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53406         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53407         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53408         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53409         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53410         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53411         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53412         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53413         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53414         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53415         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53416         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53417         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53418         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53419         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53420         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53421         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53422         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53423         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53424         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53425         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53427         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53428         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53429         * include/ifunc-impl-list.h: New file.
53430         * misc/ifunc-impl-list.c: Likewise.
53431         * misc/Makefile (routines): Add ifunc-impl-list.
53432         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53433         * string/test-string.h: Include <ifunc-impl-list.h>.
53434         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53435         TEST_NAME]: New variables.
53436         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53437         are defined.
53438         (test_init): Call __libc_ifunc_impl_list to initialize
53439         func_list if TEST_IFUNC and TEST_NAME are defined.
53441         * string/Makefile (strop-tests): Add bcopy and bzero.
53442         * string/test-bcopy.c: New file.
53443         * string/test-bzero.c: Likewise.
53444         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53445         defined.
53446         * string/test-memset.c: Support bzero test if TEST_BZERO is
53447         defined.
53448         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53449         __libc_memmove.
53450         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53451         __libc_memset.
53452         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53453         of memset.
53455 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53457         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53458         * configure: Regenerated.
53460         * Makeconfig (+link-static-before-libc): Don't include
53461         $(link-static-libc).
53463         * libio/libio.h (_IO_pos_t): Remove.
53465 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53467         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53468         McGrath.
53470 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53472         * crypt/crypt-entry.c: Include fips-private.h.
53473         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53474         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53475         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53476         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53478 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53480         * crypt/crypt-private.h: Include stdbool.h.
53481         (_ufc_setup_salt_r): Return bool.
53482         * crypt/crypt-entry.c: Include errno.h.
53483         (__crypt_r): Return NULL with EINVAL for bad salt.
53484         * crypt/crypt_util.c (bad_for_salt): New.
53485         (_ufc_setup_salt_r): Check that salt is long enough and within
53486         the specified alphabet.
53487         * crypt/badsalttest.c: New file.
53488         * crypt/Makefile (tests): Add it.
53489         ($(objpfx)badsalttest): New.
53491 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53493         * NEWS: Add entry for BZ #14602.
53495 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53497         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53498         type-generic.
53499         * math/libm-test.inc: Update comment listing what functions and
53500         macros are tested.
53501         (isgreater_test): New function.
53502         (isgreaterequal_test): Likewise.
53503         (isless_test): Likewise.
53504         (islessequal_test): Likewise.
53505         (islessgreater_test): Likewise.
53506         (isunordered_test): Likewise.
53507         (main): Call the new functions.
53509 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53511         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53512         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53513         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53514         * sysdeps/i386/configure: Regenerated.
53515         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53516         * sysdeps/mach/configure: Regenerated.
53517         * sysdeps/mach/hurd/configure: Regenerated.
53518         * sysdeps/powerpc/configure: Regenerated.
53519         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53520         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53521         * sysdeps/s390/s390-32/configure: Regenerated.
53522         * sysdeps/s390/s390-64/configure: Regenerated.
53523         * sysdeps/sh/configure: Regenerated.
53524         * sysdeps/sparc/configure: Regenerated.
53525         * sysdeps/unix/sysv/linux/configure: Regenerated.
53526         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53527         * sysdeps/x86_64/configure: Regenerated.
53529         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53530         defined.  Don't check if MAP is NULL.
53532 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53534         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53535         (_G_stat64): Likewise.
53536         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53537         (_G_stat64): Likewise.
53538         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53539         instead of struct _G_stat64.
53540         * libio/fileops.c (mmap_remap_check): Likewise.
53541         (decide_maybe_mmap): Likewise.
53542         (_IO_new_file_seekoff): Likewise.
53543         (_IO_file_stat): Likewise.
53544         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53545         _G_off64_t.
53546         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53547         instead of struct _G_stat64.
53548         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53550 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53552         [BZ #14602]
53553         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53554         Replace with ...
53555         (CHECK_EOL): New macro.
53556         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53557         CHECK_EOL.
53558         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53559         Replace with CHECK_EOL.
53560         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53561         Replace with CHECK_EOL.
53563 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53565         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53566         type-generic.
53567         * math/libm-test.inc: Update comment listing what functions and
53568         macros are tested.
53569         (finite_test): New function.
53570         (isinf_test): Likewise.
53571         (isnan_test): Likewise.
53572         (fpclassify_test): Test subnormal input.
53573         (isfinite_test): Likewise.
53574         (isnormal_test): Likewise.
53575         (main): Call the new functions.
53577 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53579         [BZ #14660]
53580         * Makerules (%.dynsym): Force C locale when running
53581         $(OBJDUMP) --dynamic-syms.
53583 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53585         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53586         <stdint.h>.
53588 2012-10-06  David S. Miller  <davem@davemloft.net>
53590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53591         upper 32-bits of the length value in %o2 since we use branch-on-register
53592         tests which consider the entire 64-bit register.
53594 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53596         * string/test-strstr.c (check2): Add a test for page boundary.
53598 2012-10-05  David S. Miller  <davem@davemloft.net>
53600         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53601         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53602         file.
53603         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53604         sysdep_routines.
53605         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53606         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53607         and bzero when HWCAP_SPARC_CRYPTO is present.
53609 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53611         [BZ #14602]
53612         * string/test-strstr.c (check2): New function.
53613         (test_main): Call check2.
53615         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53616         and bug-strchr1.
53617         * string/bug-strcasestr1.c (do_test): Moved to ...
53618         * string/test-strcasestr.c (check1): Here.  New function.
53619         (do_one_test): Break out result checking code into ...
53620         (check_result): This.  New function.
53621         (do_one_test): Call check_result.
53622         (test_main): Call check1.
53623         * string/bug-strchr1.c (do_test): Moved to ...
53624         * string/test-strchr.c (check1): Here.  New function.
53625         (do_one_test): Break out result checking code into ...
53626         (check_result): This.  New function.
53627         (do_one_test): Call check_result.
53628         (test_main): Call check1.
53629         * string/bug-strstr1.c (main): Moved to ...
53630         * string/test-strstr.c (check1): Here.  New function.
53631         (do_one_test): Break out result checking code into ...
53632         (check_result): This.  New function.
53633         (do_one_test): Call check_result.
53634         (test_main): Call check1.
53635         * string/bug-strcasestr1.c: Removed.
53636         * string/bug-strchr1.c: Likewise.
53637         * string/bug-strstr1.c: Likewise.
53639         * elf/Makefile (dl-routines): Add hwcaps.
53640         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53641         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53642         (_dl_important_hwcaps): Moved to ...
53643         * elf/dl-hwcaps.c: Here.  New file.
53644         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53646         [BZ #14557]
53647         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53648         if IS_IN_rtld isn't defined.
53650         * elf/dl-support.c (_dl_sysinfo_map): New.
53651         Include "get-dynamic-info.h" and "setup-vdso.h".
53652         (_dl_non_dynamic_init): Call setup_vdso.
53653         * elf/dynamic-link.h: Don't include <assert.h>.
53654         (elf_get_dynamic_info): Moved to ...
53655         * elf/get-dynamic-info.h: Here.  New file.
53656         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53657         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53658         * elf/setup-vdso.h: Here.  New file.
53659         * elf/rtld.c: Include "setup-vdso.h".
53660         (dl_main): Call setup_vdso.
53662 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53664         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53665         creal in comment listing functions tested.  List finite, isinf,
53666         isnan, isless, islessequal, isgreater, isgreaterequal,
53667         islessgreater, isunordered, lgamma_r and pow10 as functions and
53668         macros not tested.  Mention which functions not tested are aliases
53669         for other functions.  Fix typo.  Note that signs of NaNs are not
53670         tested.
53672         * scripts/config.guess: Update from config.git.
53673         * scripts/config.sub: Likewise.
53675 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53677         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53678         * misc/madvise.c (madvise): Renamed to __madvise.
53679         Make madvise a weak alias.
53680         * include/sys/mman.h: Declare __madvise.
53681         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53682         * sysdeps/unix/syscalls.list
53683         (madvise): Make __madvise the strong name, and madvise a weak alias.
53684         * sysdeps/unix/sysv/linux/syscalls.list
53685         (madvise, mmap): Remove redundant entries.
53686         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53687         * malloc/malloc.c (mtrim): Likewise.
53688         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53690 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53692         * sysdeps/mach/hurd/dl-cache.c: File removed.
53693         * config.h.in (USE_LDCONFIG): New #undef.
53694         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53695         * configure: Regenerated.
53696         * elf/Makefile (dl-routines): Add dl-cache only under
53697         [$(use-ldconfig) = yes].
53698         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53699         cache on [USE_LDCONFIG].
53700         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53701         [USE_LDCONFIG].
53702         * elf/rtld.c (dl_main): Likewise.
53704 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53706         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53707         _SC_LEVEL4_CACHE_LINESIZE.
53709 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53711         * sysdeps/unix/bsd/confstr.h: File removed.
53713 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53715         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53716         sys/sdt-config.h.
53718 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53720         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53721         Make 'mapoff' field ElfW(Off) rather than off_t.
53723 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53725         * nscd/Makefile: Remove nscd-cflags and all its users.
53726         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53727         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53729         [BZ #10631]
53730         * malloc.c (malloc_printerr): Clarify error message.
53732 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53734         [BZ #14648]
53735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53736         Set bit_FMA_Usable if FMA is supported.
53737         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53738         macro.
53739         (bit_FMA4_Usable): Updated.
53740         (index_FMA_Usable): New macro.
53741         (CPUID_FMA): Likewise.
53742         (HAS_FMA): Defined with bit_FMA_Usable.
53744 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53746         * bits/types.h (__swblk_t): Type removed.
53747         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53748         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53750         (__SWBLK_T_TYPE): Likewise.
53751         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53752         (__SWBLK_T_TYPE): Likewise.
53753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53754         (__SWBLK_T_TYPE): Likewise.
53755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53756         (__SWBLK_T_TYPE): Likewise.
53758 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53759             Honza Horak <hhorak@redhat.com>
53761         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53762         (xdr_mapname): Use YPMAXMAP as maxsize.
53763         (xdr_peername): Use YPMAXPEER as maxsize.
53764         (xdr_keydat): Use YPAXRECORD as maxsize.
53765         (xdr_valdat): Use YPMAXRECORD as maxsize.
53767 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53769         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53771         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53772         * csu/init-first.c: ... here.
53773         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53774         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53775         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53776         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53777         * sysdeps/i386/init-first.c: File removed.
53778         * sysdeps/sh/init-first.c: File removed.
53780 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53782         [BZ #14645]
53783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53784         if x * y might underflow to zero and z is zero.
53785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53786         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53787         * math/libm-test.inc (min_subnorm_value): New variable.
53788         (fma_test): Add more tests.
53789         (fma_test_towardzero): Likewise.
53790         (fma_test_downward): Likewise.
53791         (fma_test_upward): Likewise.
53792         (initialize): Set min_subnorm_value.
53794 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53796         [BZ #14638]
53797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53798         0 + 0.
53799         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53800         mode for addition resulting in exact zero.
53801         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53803         exact 0 + 0.
53804         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53806         * math/libm-test.inc (fma_test): Add more tests.
53807         (fma_test_towardzero): New function.
53808         (fma_test_downward): Likewise.
53809         (fma_test_upward): Likewise.
53810         (main): Call the new functions.
53812 2012-09-28  David S. Miller  <davem@davemloft.net>
53814         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53816 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53818         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53819         instead of SIGALRM.
53821         * sysdeps/gnu/_G_config.h: Moved to ...
53822         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53823         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53824         * sysdeps/generic/_G_config.h: ... here.
53826         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53828         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53830         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53831         Conditionalize target on [libnss_test1.so-version].
53833         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53835         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53836         (elfobjdir): Move out of conditionals.
53838         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53839         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53840         (__nss_lookup_function): Conditionalize label remove_from_tree on
53841         [!DO_STATIC_NSS || SHARED], matching its only use.
53843 2012-09-28  David S. Miller  <davem@davemloft.net>
53845         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53846         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53847         file.
53848         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53849         sysdep_routines.
53850         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53852         when HWCAP_SPARC_CRYPTO is present.
53854 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53856         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53858 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53860         [BZ #6530]
53861         * stdio-common/vfprintf.c (process_string_arg): Revert
53862         2000-07-22 change.
53864 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53866         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53867         for testcase.
53868         * stdio-common/tst-sprintf.c: Include <locale.h>
53869         (main): Test sprintf's handling of incomplete multibyte
53870         characters.
53872 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53874         * elf/dl-runtime.c (VERSYMIDX): Removed.
53875         * elf/dl-version.c (VERSYMIDX): Likewise.
53876         * elf/do-rel.h (VERSYMIDX): Likewise.
53877         (VALIDX): Likewise.
53878         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53879         * elf/rtld.c (VALIDX): Likewise.
53880         (ADDRIDX): Likewise.
53881         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53882         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53883         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53884         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53885         (VALIDX): Likewise.
53886         (ADDRIDX): Likewise.
53888 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53890         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53892 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53894         [BZ #11438]
53895         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53896         to global scope.
53897         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53898         addresses are in the same scope as 192.0.2/24.
53899         * posix/gai.conf: Document new scope table defaults.
53901 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53903         [BZ #5298]
53904         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53905         for ftell.  Compute offsets from write pointers instead.
53906         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53908 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53910         [BZ #14543]
53911         * libio/Makefile (tests): New test case tst-fseek.
53912         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53913         combination works in wide mode.
53914         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53915         state when the external buffer state changes.
53917 2012-09-27  David S. Miller  <davem@davemloft.net>
53919         [BZ #14376]
53920         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53921         pass reloc->r_addend in as the 'high' argument to
53922         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53926 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53928         * rt/tst-aio2.c: Include <pthread.h>.
53929         * rt/tst-aio3.c: Likewise.
53931 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53933         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53935 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53937         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53938         contents on [SHARED].
53940 2012-09-26  Marek Polacek  <polacek@redhat.com>
53942         [BZ #14530]
53943         [BZ #13741]
53944         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53945         for C++ and GCC <4.3 as well as for non GCC compilers.
53947 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53951 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53953         * Makefile.in (all, install): Declare with .PHONY.
53954         Reported by Michael Hope <michael.hope@linaro.org>.
53956 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53958         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53959         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53960         system header.
53961         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53962         Likewise.
53963         (sydep_routines): Add the new and the internal functions.
53964         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53965         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53967         (GLIBC_2.17): Add the new function.
53968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53969         (GLIBC_2.17): Likewise.
53970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53971         (GLIBC_2.17): Likewise.
53972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53973         (GLIBC_2.17): Likewise.
53974         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53976 2012-09-25  Alan Modra  <amodra@gmail.com>
53978         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53979         Add release barrier before setting once_control to say
53980         initialisation is done.  Add hints on lwarx.  Use macro in
53981         place of isync.
53982         (clear_once_control): Add release barrier.
53984 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53986         [BZ #13629]
53987         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53988         specially.
53989         * math/s_clog10.c (__clog10): Likewise.
53990         * math/s_clog10f.c (__clog10f): Likewise.
53991         * math/s_clog10l.c (__clog10l): Likewise.
53992         * math/s_clogf.c (__clogf): Likewise.
53993         * math/s_clogl.c (__clogl): Likewise.
53994         * math/Makefile (libm-calls): Add x2y2m1.
53995         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53996         (__x2y2m1): Likewise.
53997         (__x2y2m1l): Likewise.
53998         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53999         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54000         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54001         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54002         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54003         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54004         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54005         * sysdeps/i386/fpu/libm-test-ulps: Update.
54006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54008         [BZ #14621]
54009         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54010         int as type of variable DEPTH.
54011         (glob): Use size_t instead of int as type of variables NEWCOUNT
54012         and OLD_PATHC.
54014 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54016         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54017         Add s_sincosf-sse2.
54018         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54019         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54020         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54021         macros for using routine as __sincosf_ia32.
54022         Use macro for function declaration and weak_alias.
54023         * sysdeps/i386/fpu/libm-test-ulps: Update.
54025         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54028         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54029         subnormal argument.
54030         * math/s_cexpf.c (__cexpf): Likewise.
54031         * math/s_csinf.c (__csinf): Likewise.
54032         * math/s_csinhf.c (__csinhf): Likewise.
54033         * math/s_ctanf.c (__ctanf): Likewise.
54034         * math/s_ctanhf.c (__ctanhf): Likewise.
54035         * math/s_ccosh.c (__ccoshf): Likewise.
54036         * math/s_cexp.c (__cexpl): Likewise.
54037         * math/s_csin.c (__csin): Likewise.
54038         * math/s_csinh.c (__csinh): Likewise.
54039         * math/s_ctan.c (__ctan): Likewise.
54040         * math/s_ctanh.c (ctanh): Likewise.
54041         * math/s_ccoshl.c (__ccoshl): Likewise.
54042         * math/s_cexpl.c (__cexpl): Likewise.
54043         * math/s_csinl.c (__csinl): Likewise.
54044         * math/s_csinhl.c (__csinhl): Likewise.
54045         * math/s_ctanl.c (__ctanl): Likewise.
54046         * math/s_ctanhl.c (__ctanhl): Likewise.
54048 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54050         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54051         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54052         (_IO_off_t): Define to __off_t, not _G_off_t.
54053         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54054         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54055         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54056         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54057         type of __dummy and __dummy2 fields.
54058         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54059         (_G_ssize_t): Likewise.
54060         (_G_off_t): Likewise.
54061         (_G_pid_t): Likewise.
54062         (_G_uid_t): Likewise.
54063         (_G_wchar_t): Likewise.
54064         (_G_wint_t): Likewise.
54065         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54066         (_G_ssize_t): Likewise.
54067         (_G_off_t): Likewise.
54068         (_G_pid_t): Likewise.
54069         (_G_uid_t): Likewise.
54070         (_G_wchar_t): Likewise.
54071         (_G_wint_t): Likewise.
54072         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54073         (_G_ssize_t): Likewise.
54074         (_G_off_t): Likewise.
54075         (_G_pid_t): Likewise.
54076         (_G_uid_t): Likewise.
54077         (_G_wchar_t): Likewise.
54078         (_G_wint_t): Likewise.
54080 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54082         * malloc/arena.c: Include malloc-sysdep.h.
54083         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54084         is sufficient to shrink the heap or an unmap is needed.
54085         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54086         new function check_may_shrink_heap.
54087         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54088         new function check_may_shrink_heap.
54090 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54092         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54093         comments.
54095 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54097         * catgets/test-gencat.sh: Add "set -e".
54098         * elf/tst-pathopt.sh: Likewise.
54099         * grp/tst_fgetgrent.sh: Likewise.
54100         * iconvdata/run-iconv-test.sh: Likewise.
54101         * intl/tst-gettext.sh: Likewise.
54102         * intl/tst-gettext2.sh: Likewise.
54103         * intl/tst-gettext4.sh: Likewise.
54104         * intl/tst-gettext6.sh: Likewise.
54105         * intl/tst-translit.sh: Likewise.
54106         * io/ftwtest-sh: Likewise.
54107         * libio/test-freopen.sh: Likewise.
54108         * malloc/tst-mtrace.sh: Likewise.
54109         * posix/globtest.sh: Likewise.
54110         * posix/tst-getconf.sh: Likewise.
54111         * posix/wordexp-tst.sh: Likewise.
54112         * stdio-common/tst-printf.sh: Likewise.
54113         * stdio-common/tst-unbputc.sh: Likewise.
54114         * stdlib/tst-fmtmsg.sh: Likewise.
54115         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54116         * catgets/Makefile: Do not specify -e option when running
54117         testsuite shell scripts.
54118         * elf/Makefile: Likewise.
54119         * grp/Makefile: Likewise.
54120         * iconvdata/Makefile: Likewise.
54121         * intl/Makefile: Likewise.
54122         * io/Makefile: Likewise.
54123         * libio/Makefile: Likewise.
54124         * malloc/Makefile: Likewise.
54125         * posix/Makefile: Likewise.
54126         * stdio-common/Makefile: Likewise.
54127         * stdlib/Makefile: Likewise.
54128         * sysdeps/x86_64/Makefile: Likewise.
54130         * io/ftwtest-sh: Add copyright header.
54131         * posix/globtest.sh: Likewise.
54132         * posix/tst-getconf.sh: Likewise.
54133         * posix/wordexp-tst.sh: Likewise.
54134         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54136 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54138         [BZ #13679]
54139         * Makeconfig (+link): Defined as $(+link-static) if
54140         $(build-shared) isn't yes.
54141         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54142         isn't yes.
54143         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54145         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54147         [BZ #14562]
54148         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54149         new chunk size with MALLOC_ALIGN_MASK.
54151 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54153         [BZ #5044]
54154         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54155         <rounding-mode.h>.
54156         (__printf_fphex): Determine rounding using get_rounding_mode and
54157         round_away.
54158         * stdio-common/tst-printf-round.c (struct hex_test): New
54159         structure.
54160         (hex_tests): New variable.
54161         (test_hex_in_one_mode): New function.
54162         (do_test): Also run tests for hex float output.
54164 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54166         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54167         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54168         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54169         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54170         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54171         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54172         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54173         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54175 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54177         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54178         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54179         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54180         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54182 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54184         [BZ #14579]
54185         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54186         mode only.
54187         * elf/tst-rtld-load-self.sh: New test.
54188         * elf/Makefile: Run it.
54190 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54192         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54193         (tst-writev-ENV): Remove.
54194         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54196 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54198         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54200 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54202         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54203         unconditional.
54204         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54205         Likewise.
54206         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54207         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54208         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54209         Likewise.
54211 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54213         [BZ #14587]
54214         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54215         * config.make.in (have-cpp-asm-debuginfo): Removed.
54216         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54217         * configure: Regenerated.
54219 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54221         [BZ #5044]
54222         * stdio-common/printf_fp.c: Include <stdbool.h> and
54223         <rounding-mode.h>.
54224         (___printf_fp): Determine rounding using get_rounding_mode and
54225         round_away.
54226         * stdio-common/tst-printf-round.c: New file.
54227         * stdio-common/Makefile (tests): Add tst-printf-round.
54228         (link-libm): New variable.
54229         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54231 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54233         [BZ #14576]
54234         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54235         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54236         Likewise.
54237         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54238         Likewise.
54240 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54242         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54243         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54244         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54245         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54247 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54249         [BZ #14518]
54250         * include/rounding-mode.h: New file.
54251         * sysdeps/generic/get-rounding-mode.h: Likewise.
54252         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54253         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54254         (MAX_VALUE): New macro.
54255         (MIN_VALUE): Likewise.
54256         (overflow_value): New function.
54257         (underflow_value): Likewise.
54258         (round_and_return): Use overflow_value and underflow_value to
54259         determine return values in overflow and underflow cases.  Use
54260         round_away to determine rounding depending on rounding mode.
54261         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54262         determine return values in overflow and underflow cases.
54263         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54264         (struct test_results): New structure.
54265         (struct test): Use struct test_results to store expected results
54266         for all rounding modes.
54267         (TEST): Include expected results for all rounding modes.
54268         (test_in_one_mode): New function.
54269         (do_test): Use test_in_one_mode to compute and check results.
54270         Check results for all rounding modes.
54271         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54272         $(link-libm).
54274 2012-12-09  Allan McRae  <allan@archlinux.org>
54276         * sysdeps/i386/fpu/libm-test-ulps: Update
54278 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54280         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54281         (_G_int32_t): Likewise.
54282         (_G_uint16_t): Likewise.
54283         (_G_uint32_t): Likewise.
54284         (_G_HAVE_BOOL): Likewise.
54285         (_G_HAVE_ATEXIT): Likewise.
54286         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54287         (_G_HAVE_IO_FILE_OPEN): Likewise.
54288         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54289         (_G_int32_t): Likewise.
54290         (_G_uint16_t): Likewise.
54291         (_G_uint32_t): Likewise.
54292         (_G_HAVE_BOOL): Likewise.
54293         (_G_HAVE_ATEXIT): Likewise.
54294         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54295         (_G_HAVE_IO_FILE_OPEN): Likewise.
54296         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54297         (_G_int32_t): Likewise.
54298         (_G_uint16_t): Likewise.
54299         (_G_uint32_t): Likewise.
54300         (_G_HAVE_BOOL): Likewise.
54301         (_G_HAVE_ATEXIT): Likewise.
54302         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54303         (_G_HAVE_IO_FILE_OPEN): Likewise.
54305 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54307         * csu/libc-tls.c: Update copyright years.
54309 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54311         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54312         [!_G_USING_THUNKS]: Remove conditional code.
54313         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54314         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54316         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54317         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54318         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54319         (_G_VTABLE_LABEL_PREFIX): Likewise.
54320         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54321         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54322         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54323         (_G_VTABLE_LABEL_PREFIX): Likewise.
54324         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54325         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54326         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54327         (_G_VTABLE_LABEL_PREFIX): Likewise.
54328         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54330 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54332         * libio/Makefile: Include ../Makeconfig before tests.
54333         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54334         only if $(build-shared) is yes.
54336         * iconv/gconv_db.c: Update copyright years.
54338 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54340         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54341         unwind info if defined PIC. Fix special cases description.
54342         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54344         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54345         DP_HI_MASK entry.
54346         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54348 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54350         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54352         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54353         is NULL.
54355         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54356         (LDLIBS-tst-chk4): This.
54357         (LDFLAGS-tst-chk5): Renamed to ...
54358         (LDLIBS-tst-chk5): This.
54359         (LDFLAGS-tst-chk6): Renamed to ...
54360         (LDLIBS-tst-chk6): This.
54361         (LDFLAGS-tst-lfschk4): Renamed to ...
54362         (LDLIBS-tst-lfschk4): This.
54363         (LDFLAGS-tst-lfschk5): Renamed to ...
54364         (LDLIBS-tst-lfschk5): This.
54365         (LDFLAGS-tst-lfschk6): Renamed to ...
54366         (LDLIBS-tst-lfschk6): This.
54368         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54369         on $(common-objpfx)soversions.mk.
54371 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54373         [BZ #10014]
54374         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54375         example host name.
54377 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54379         * malloc/arena.c (arena_get_retry): New function that gets
54380         another arena for the caller to try its request on.
54381         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54382         current arena cannot fulfill the request.
54383         (__libc_memalign): Likewise.
54384         (__libc_memalign): Likewise.
54385         (__libc_pvalloc): Likewise.
54386         (__libc_calloc): Likewise.
54388 2012-09-05  John Tobey  <john.tobey@gmail.com>
54390         [BZ #13542]
54391         * manual/arith.texi (Operations on Complex): Fix description
54392         of carg branch cut.
54394 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54396         [BZ #10014]
54397         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54398         host name.
54400         [BZ #10038]
54401         * manual/memory.texi (Memory): Make order of menu items match
54402         order of sections.
54404 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54406         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54407         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54408         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54410 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54412         * csu/libc-tls.c (static_dtv): Renamed to ...
54413         (_dl_static_dtv): This.  Make it global.
54414         (_dl_initial_dtv): Removed.
54415         (__libc_setup_tls): Updated.
54416         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54417         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54418         DL_INITIAL_DTV.
54420 2012-09-06  Petr Machata  <pmachata@redhat.com>
54422         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54423         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54424         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54425         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54427 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54429         [BZ #14545]
54430         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54431         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54432         freeing dtv[-1].
54434 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54436         [BZ #14544]
54437         * Makeconfig (link-static-before-libc): Replace $(+prector)
54438         with $(+prectorT).
54439         (link-static-after-libc): Replace $(+postctor) with
54440         $(+postctorT).
54441         (link-bounded): Replace $(+prector)/$(+postctor) with
54442         $(+prectorT)/$(+postctorT).
54443         (+prectorT): New macro.
54444         (+postctorT): Likewise.
54446 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54448         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54449         (round_str): Handle values above the maximum for IBM long double
54450         as inexact.
54451         * stdlib/tst-strtod-round.c (tests): Regenerated.
54453 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54455         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54456         assembler flag.
54457         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54458         zarch_nohighgprs around the zarch optimized routines.
54459         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54460         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54461         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54462         for zarch.
54464 2012-09-05  David S. Miller  <davem@davemloft.net>
54466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54468         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54469         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54470         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54471         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54472         entries.
54474 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54476         * malloc/arena.c: Fold copyright years.
54477         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54479 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54481         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54483 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54485         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54487 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54489         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54490         change internal state upon failure.
54492 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54494         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54495         * malloc/memusage.c (mmap): Likewise.
54496         (mmap64, mremap): Likewise.  Adjust name in comment.
54498 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54500         * libio/fileops.c: Fix typos in comments.
54501         * libio/oldfileops.c: Likewise.
54502         * libio/wfileops.c: Likewise.
54504 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54506         [BZ #1349]
54507         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54508         (tst-malloc-usable-ENV): Set environment for test case.
54509         * malloc/hooks.c (malloc_check_get_size): New function to get
54510         requested size.
54511         * malloc/malloc.c (musable): Use malloc_check_get_size.
54512         * malloc/tst-malloc-usable.c: New test case.
54514 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54516         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54518 2012-09-05  Allan McRae  <allan@archlinux.org>
54520         [BZ #13966]
54521         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54522         determine header location.
54523         * configure: Regenerated.
54525 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54527         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54528         float format.
54529         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54530         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54531         format.
54532         (test): Regenerate.
54534 2012-09-04  David S. Miller  <davem@davemloft.net>
54536         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54537         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54538         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54540 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54542         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54543         failures.
54545         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54547 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54549         [BZ #9914]
54550         * libio/iogetdelim.c: Include <limits.h>.
54551         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54552         + len + 1 would overflow.
54554 2012-09-03  Andreas Jaeger  <aj@suse.de>
54556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54557         * sysdeps/i386/fpu/libm-test-ulps: Update.
54559 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54561         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54562         Add s_sinf-sse2, s_conf-sse2.
54564         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54565         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54566         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54567         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54569         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54570         for using routine as __sinf_ia32.
54571         Use macro for function declaration and weak_alias.
54572         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54573         for using routine as __cosf_ia32.
54574         Use macro for function declaration and weak_alias.
54576         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54577         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54579         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54580         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54583         * math/libm-test.inc (cos_test): Add more test cases.
54584         (sin_test): Likewise.
54585         (sincos_test): Likewise.
54587 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54589         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54590         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54591         hidden.
54592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54594 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54596         [BZ #14538]
54597         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54598         first element of the GOT.
54599         (elf_machine_load_address): Return the difference between
54600         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54602 2012-09-01  Allan McRae  <allan@archlinux.org>
54604         [BZ #13412]
54605         * configure.in (AWK): Require gawk version 3.0 or later.
54606         * configure: Regenerated.
54608 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54610         * sysdeps/unix/sysv/linux/kernel-features.h
54611         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54612         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54613         [__NR_clock_getres]: Make code unconditional.
54614         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54615         (clock_getcpuclockid): Remove code left unreachable by removal of
54616         conditionals.
54617         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54618         code unconditional.
54619         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54620         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54621         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54622         Make code unconditional.
54623         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54624         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54625         * sysdeps/unix/sysv/linux/clock_settime.c
54626         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54627         conditional code.
54628         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54629         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54631 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54633         [BZ #14476]
54634         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54635         scripts/test-installation.pl.
54637         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54638         and $ld_so_version if it is set.
54640 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54642         [BZ #14516]
54643         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54644         failure if reading from procfs failed.
54645         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54647 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54649         * sysdeps/unix/sysv/linux/kernel-features.h
54650         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54651         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54652         Remove conditional code.
54653         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54654         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54655         Remove conditional code.
54656         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54657         * sysdeps/unix/sysv/linux/i386/fxstat.c
54658         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54660         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54661         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54663         * sysdeps/unix/sysv/linux/i386/lxstat.c
54664         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54666         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54667         Remove conditional code.
54668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54669         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54670         Remove conditional code.
54671         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54672         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54673         <kernel-features.h>.
54674         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54675         Remove.
54676         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54677         Remove conditional code.
54678         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54679         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54680         Remove conditional.
54682 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54684         [BZ #5400]
54685         * NEWS: Add fixed bug number.
54687 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54689         [BZ #14519]
54690         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54691         underflowing exponent in case of negative sign.
54692         * stdlib/tst-strtod-round-data: Add more tests.
54693         * stdlib/tst-strtod-round.c (tests): Regenerated.
54695         [BZ #3479]
54696         * stdlib/strtod_l.c (NDIG): Remove.
54697         (HEXNDIG): Likewise.
54698         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54699         smallest representable value.
54700         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54701         lie within an exact representation of 1/2 ulp of the result.
54702         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54703         unconditionally.
54704         (TENS_P9_IDX): Define unconditionally.
54705         (TENS_P9_SIZE): Likewise.
54706         (TENS_P10_IDX): Likewise.
54707         (TENS_P10_SIZE): Likewise.
54708         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54709         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54710         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54711         entries for 10^2^13 and 10^2^14.
54712         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54713         (TENS_P13_IDX): Define.
54714         (TENS_P13_SIZE): Likewise.
54715         (TENS_P14_IDX): Likewise.
54716         (TENS_P14_SIZE): Likewise.
54717         (_fpioconst_pow10): Change array size to
54718         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54719         unconditional.
54720         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54721         1024]: Add entries for 10^2^13 and 10^2^14.
54722         [LAST_POW10 > _LAST_POW10]: Remove #error.
54723         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54724         (_fpioconst_pow10): Change array size to
54725         FPIOCONST_POW10_ARRAY_SIZE.
54726         * stdlib/gen-fpioconst.c: New file.
54727         * stdlib/gen-tst-strtod-round.c: Likewise.
54728         * stdlib/tst-strtod-round-data: Likewise.
54729         * stdlib/tst-strtod-round.c: Likewise.
54730         * stdlib/Makefile (tests): Add tst-strtod-round.
54732         [BZ #14459]
54733         * stdlib/strtod_l.c: Include <stdint.h>.
54734         (NDEBUG): Do not define.
54735         (round_and_return): Change EXPONENT parameter to type intmax_t.
54736         Rearrange calculations to avoid internal overflow possibilities.
54737         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54738         Rearrange calculations to avoid internal overflow possibilities.
54739         Assert that number fits inside MPNSIZE limbs.
54740         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54741         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54742         calculations and add assertions to avoid internal overflow
54743         possibilities.  Add casts to avoid signed/unsigned operations.
54744         * stdlib/tst-strtod-overflow.c: New file.
54745         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54747 2012-08-25  Marek Polacek  <polacek@redhat.com>
54749         * time/time.h: Fix some typos in comments.
54751 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54753         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54754         * posix/tst-rfc3484-2.c: Likewise.
54755         * posix/tst-rfc3484-3.c: Likewise.
54757 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54759         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54760         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54762 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54764         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54765         #include of fxstatat64.c.
54767 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54769         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54770         * shadow/getspent_r.c: Likewise.
54771         * shadow/getspnam.c: Likewise.
54772         * shadow/getspnam_r.c: Likewise.
54773         * gshadow/getsgent.c: Likewise.
54774         * gshadow/getsgent_r.c: Likewise.
54775         * gshadow/getsgnam.c: Likewise.
54776         * gshadow/getsgnam_r.c: Likewise.
54777         * inet/getnetbyad.c: Likewise.
54778         * inet/getnetbyad_r.c: Likewise.
54779         * inet/getnetbynm.c: Likewise.
54780         * inet/getnetbynm_r.c: Likewise.
54781         * inet/getnetent.c: Likewise.
54782         * inet/getnetent_r.c: Likewise.
54783         * inet/getproto.c: Likewise.
54784         * inet/getproto_r.c: Likewise.
54785         * inet/getprtent.c: Likewise.
54786         * inet/getprtent_r.c: Likewise.
54787         * inet/getprtname.c: Likewise.
54788         * inet/getprtname_r.c: Likewise.
54789         * inet/getrpcbyname.c: Likewise.
54790         * inet/getrpcbyname_r.c: Likewise.
54791         * inet/getrpcbynumber.c: Likewise.
54792         * inet/getrpcbynumber_r.c: Likewise.
54793         * inet/getrpcent.c: Likewise.
54794         * inet/getrpcent_r.c: Likewise.
54795         * inet/getaliasent.c: Likewise.
54796         * inet/getaliasent_r.c: Likewise.
54797         * inet/getaliasname.c: Likewise.
54798         * inet/getaliasname_r.c: Likewise.
54799         * nscd/getgrgid_r.c: Likewise.
54800         * nscd/getgrnam_r.c: Likewise.
54801         * nscd/gethstbyad_r.c: Likewise.
54802         * nscd/gethstbynm3_r.c: Likewise.
54803         * nscd/getpwnam_r.c: Likewise.
54804         * nscd/getpwuid_r.c: Likewise.
54805         * nscd/getsrvbynm_r.c: Likewise.
54806         * nscd/getsrvbypt_r.c: Likewise.
54807         * nscd/gai.c: Likewise.
54809         * configure.in (build_nscd): New substituted variable, set
54810         by --disable-build-nscd and defaults to $use_nscd.
54811         * configure: Regenerated.
54812         * config.make.in (build-nscd): New substituted variable.
54813         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54814         Change conditional to require [$(build-nscd) = yes] as well.
54815         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54817         [BZ# 13696]
54818         * configure.in (use_nscd): New substituted variable, set by
54819         --disable-nscd.  If enabled, define USE_NSCD.
54820         * configure: Regenerated.
54821         * config.h.in: Add USE_NSCD.
54822         * config.make.in (use-nscd): New substituted variable.
54823         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54824         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54825         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54826         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54827         (CFLAGS-getgrnam_r.c): Likewise.
54828         (CFLAGS-initgroups.c): Likewise.
54829         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54830         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54831         Variables removed.
54832         * inet/getnetgrent_r.c
54833         (nscd_setnetgrent): New function, broken out of ...
54834         (setnetgrent): ... here.  Call it.
54835         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54836         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54837         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54838         * nscd/Makefile (routines, aux): Move definitions after include of
54839         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54840         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54841         Conditionalize on [USE_NSCD].
54842         (is_nscd, nscd_init_cb): Likewise.
54843         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54844         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54845         * nss/nss_db/db-init.c: Likewise.
54846         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54847         [USE_NSCD].
54848         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54849         (make_request): Use it.
54850         (cache_valid_p): New function.
54851         (__check_pf): Use it.
54852         * NEWS: Add item for --disable-nscd.
54854 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54856         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54857         to support sed >= 4.2.1-20-ga9bf076.
54858         * configure: Regenerated.
54860 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54862         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54863         Conditionalize whole body on [IREL].
54865 2012-08-22  Jeff Law <law@redhat.com>
54867         [BZ #14505]
54868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54869         if the family is PF_UNSPEC.
54871 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54873         * Makerules (lib-version): Rename from V.
54874         (install-lib-nosubdir): Change V to lib-version.
54876 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54878         [BZ #14252]
54879         * powerpc32/power6/wcschr.c: New file.
54880         * powerpc32/power6/wcscpy.c: New file.
54881         * powerpc32/power6/wcsrchr.c: New file.
54882         * powerpc64/power6/wcschr.c: New file.
54883         * powerpc64/power6/wcscpy.c: New file.
54884         * powerpc64/power6/wcsrchr.c: New file.
54886 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54888         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54889         (two_way_short_needle): Use it.
54890         * string/strstr.c (AVAILABLE1_USES_J): Define.
54891         * string/strcasestr.c: Likewise.
54893         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54894         array references.
54895         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54897         [BZ #11607]
54898         * NEWS: Add an entry.
54899         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54900         define their defaults.
54901         (two_way_short_needle): Detect end-of-string on-the-fly.
54902         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54903         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54904         * string/bug-strcasestr1.c: New test.
54905         * string/Makefile: Run it.
54907 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54909         [BZ #11607]
54910         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54911         the first character.
54913 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54915         * csu/elf-init.c (__libc_csu_irel): Function removed.
54916         * csu/libc-start.c (apply_irel): New function.
54917         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54919 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54921         * sysdeps/unix/sysv/linux/kernel-features.h
54922         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54923         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54924         <kernel-features.h>.
54925         [__NR_fadvise64_64]: Make code unconditional.
54926         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54927         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54928         !__NR_fadvise64_64)]: Likewise.
54929         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54930         !__NR_fadvise64_64))]: Likewise.
54931         [__NR_fadvise64]: Make code unconditional.
54932         [!__NR_fadvise64]: Remove conditional code.
54933         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54934         <kernel-features.h>.
54935         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54936         unconditional.
54937         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54938         conditional code.
54939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54940         not include <kernel-features.h>.
54941         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54942         unconditional.
54943         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54944         conditional code.
54945         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54946         include <kernel-features.h>.
54947         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54948         unconditional.
54949         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54950         conditional code.
54952 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54954         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54955         slight instruction rearrangements per scrollpipe analysis.
54956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54958 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54960         * manual/syslog.texi (syslog; vsyslog, closelog):
54961         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54962         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54964         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54965         DSOCAPS to match condition on defining it.
54967 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54969         * sysdeps/unix/sysv/linux/kernel-features.h
54970         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54972         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54973         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54975         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54976         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54978         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54979         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54981         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54982         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54984         * sysdeps/unix/sysv/linux/kernel-features.h
54985         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54986         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54987         unconditional.
54988         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54989         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54990         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54991         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54992         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54993         Make code unconditional.
54994         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54995         (__mmap64) [!__NR_mmap2]: Likewise.
54996         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54997         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54998         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54999         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55000         [__NR_mmap2]: Make code unconditional.
55001         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55002         (__mmap64) [!__NR_mmap2]: Likewise.
55004 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55006         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55008 2012-08-18  Andreas Jaeger  <aj@suse.de>
55010         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55012 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55014         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55015         * include/unistd.h (__have_sock_cloexec): Likewise.
55016         (__have_pipe2): Likewise.
55017         (__have_dup3): Likewise.
55019 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55021         [BZ #9685]
55022         * include/unistd.h (__have_pipe2): Change define into an extern int.
55023         (__have_dup3): Likewise.
55024         * socket/have_sock_cloexec.c: Include fcntl.h.
55025         (__have_pipe2): New variable.
55026         (__have_dup3): Likewise.
55028 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55030         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55032 2012-08-17  Marek Polacek  <polacek@redhat.com>
55034         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55035         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55037 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55039         * configure.in: Add AC_SUBST for sysheaders.
55040         * configure: Regenerated.
55041         * config.make.in (sysheaders): New substituted variable.
55043         * sysdeps/unix/mkfifo.c: Moved ...
55044         * sysdeps/posix/mkfifo.c: ... here.
55045         * sysdeps/unix/mkfifoat.c: Moved ...
55046         * sysdeps/posix/mkfifoat.c: ... here.
55048         * sysdeps/unix/utime.c: Moved ...
55049         * sysdeps/posix/utime.c: ... here.
55051         * sysdeps/unix/time.c: Moved ...
55052         * sysdeps/posix/time.c: ... here.
55053         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55054         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55056         * sysdeps/unix/nice.c: Moved ...
55057         * sysdeps/posix/nice.c: ... here.
55059         * sysdeps/unix/alarm.c: Moved ...
55060         * sysdeps/posix/alarm.c: ... here.
55062         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55064 2012-08-17  Jeff Law <law@redhat.com>
55066         * intl/Makefile (codeset_mo): New variable.
55067         ($(codeset_mo)): New target.
55068         (tst-codeset.out): Depend on that.  Remove explicit rule.
55069         (tst-gettext3.out, tst-gettext5.out): Likewise.
55070         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55071         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55072         * intl/tst-codeset.sh: Remove.
55073         * intl/tst-gettext3.sh: Likewise.
55074         * intl/tst-gettext5.sh: Likewise.
55076 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55078         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55079         * sysdeps/unix/syscalls.list: ... here.
55081         * sysdeps/posix/getaddrinfo.c
55082         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55083         (gaiconf_init, gaiconf_reload): Use them.
55084         [!_STATBUF_ST_NSEC]
55085         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55086         Define using time_t rather than struct timespec.
55088         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55089         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55090         Macros removed.
55091         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55092         [!NO_THREADS].
55093         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55094         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55095         Likewise.
55097         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55098         __libc_cleanup_push argument.
55100         * bits/param.h: New file.
55101         * misc/sys/param.h: New file.
55102         * include/sys/param.h: New file.
55103         * misc/Makefile (headers): Add bits/param.h.
55104         * sysdeps/generic/sys/param.h: File removed.
55105         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55106         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55107         * sysdeps/mach/hurd/bits/param.h: New file.
55108         * sysdeps/mach/hurd/sys/param.h: File removed.
55110         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55111         last change.
55113         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55114         [_IO_MTSAFE_IO].
55115         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55116         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55117         New macros.
55119         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55120         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55121         rather than -D_IO_MTSAFE_IO conditionally.
55122         * stdio-common/Makefile (CPPFLAGS): Likewise.
55123         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55124         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55125         Use $(libio-mtsafe).
55126         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55127         of -D_IO_MTSAFE_IO.
55128         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55129         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55130         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55131         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55132         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55133         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55134         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55135         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55136         (CFLAGS-fread_u_chk.c): Likewise.
55137         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55138         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55139         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55140         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55141         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55142         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55143         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55144         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55145         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55147         * libio/Makefile: Test [$(libc-reentrant) = yes]
55148         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55150         * Makeconfig
55151         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55152         * sysdeps/pthread/configure: File removed.
55153         * sysdeps/pthread/Makeconfig: New file.
55154         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55155         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55157 2012-08-16  Gary Benson  <gbenson@redhat.com>
55159         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55160         unmapping the first object in a namespace.
55162 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55164         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55165         (__internal_setnetgrent): ... this.  Add internal_function to
55166         definition.  Add libc_hidden_def.
55167         (setnetgrent): Update caller.
55168         (internal_endnetgrent): Renamed to ...
55169         (__internal_endnetgrent): ... this.  Add internal_function to
55170         definition.  Add libc_hidden_def.
55171         (endnetgrent): Update caller.
55172         (internal_getnetgrent_r): Renamed to ...
55173         (__internal_getnetgrent_r): ... this.  Add internal_function to
55174         definition.  Add libc_hidden_def.
55175         (__getnetgrent_r): Update caller.
55176         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55178 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55180         * stdlib/longlong.h: Update from GCC.
55182 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55184         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55185         on _QL, which is set by umul_ppmm but never used.
55186         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55187         variables, which are set by GMP macros but never used.
55188         * stdio-common/_itowa.c (_itowa): Likewise.
55189         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55190         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55192 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55194         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55195         struct La_sh_regs is not constant.
55196         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55197         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55198         and struct La_sparc64_regs are not constant.
55200 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55202         * sysdeps/unix/sysv/linux/kernel-features.h
55203         (__ASSUME_POSIX_TIMERS): Remove.
55204         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55205         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55206         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55207         Make code unconditional.
55208         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55209         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55210         Make code unconditional.
55211         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55212         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55213         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55214         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55215         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55216         Make code unconditional.
55217         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55218         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55219         (__libc_missing_posix_timers): Remove.
55221 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55223         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55224         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55226         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55228         * elf/dl-sym.c: Include <stdlib.h>.
55230         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55231         constants, which avoids warnings in 32-bit builds.
55233         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55234         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55236         * misc/lseek.c: File moved to ...
55237         * io/lseek.c: ... here.
55239         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55241         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55242         shifting LEN more than 31 bits at once.
55244 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55246         [BZ #14195]
55247         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55248         segmentation fault for a case of two empty input strings.
55249         * string/test-strncasecmp.c (check1): Renamed to...
55250         (bz12205): ...this.
55251         (bz14195): Add new testcase for two empty input strings and N > 0.
55252         (test_main): Call new testcase, adapt for renamed function.
55254 2012-08-15  Andreas Jaeger  <aj@suse.de>
55256         [BZ #14090]
55257         * crypt/md5test2.c: New test, based on test supplied by Serge
55258         Belyshev <belyshev@depni.sinp.msu.ru>.
55259         * crypt/Makefile (xtests): Add md5test-giant..
55260         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55262 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55264         [BZ #14090]
55265         * crypt/md5.c (md5_process_block): Don't assume the buffer
55266         length is less than 2**32.
55267         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55268         length is less than 2**64.
55270 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55272         * string/str-two-way.h: Include <sys/param.h>.
55273         (MAX): Macro removed.
55275         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55276         Move #define and #undef of memmove to just before and after
55277         including <string.h>.
55279         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55280         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55281         and after including <string.h>.  Move declarations of
55282         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55283         to before #include "string/memmove.c".
55285         * include/dirent.h: Declare __getdirentries.
55287         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55288         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55290 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55292         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55293         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55294         * sysdeps/i386/configure: Regenerated.
55295         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55296         STABS_CURRENT_FILE, and STABS_FUN.
55297         (END): Remove call to STABS_FUN_END.
55298         (STABS_CURRENT_FILE1): Delete.
55299         (STABS_CURRENT_FILE): Likewise.
55300         (STABS_FUN): Likewise.
55301         (STABS_FUN_END): Likewise.
55302         (STABS_FUN2): Likewise.
55303         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55304         * sysdeps/x86_64/configure: Regenerated.
55306 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55308         * elf/dl-open.c: Include <atomic.h>.
55309         * elf/dl-lookup.c: Likewise.
55311 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55313         * sysdeps/unix/sysv/linux/kernel-features.h
55314         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55315         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55316         unconditionally.
55317         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55318         unconditionally.
55319         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55320         condition on __ASSUME_CLONE_THREAD_FLAGS.
55322 2012-08-14  Andreas Jaeger  <aj@suse.de>
55324         * sysdeps/i386/fpu/libm-test-ulps: Update.
55326 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55328         * include/atomic.h (atomic_exchange_and_add): Split into ...
55329         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55330         New atomic macros.
55332 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55336 2012-08-13  Jeff Law <law@redhat.com>
55338         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55339         null byte in the output string.
55341 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55343         * sysdeps/unix/sysv/linux/kernel-features.h
55344         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55345         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55346         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55347         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55348         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55349         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55350         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55352 2012-08-09  Jeff Law <law@redhat.com>
55354         [BZ #13939]
55355         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55356         When avoid_arena is set, don't retry in the that arena.  Pick the
55357         next one, whatever it might be.
55358         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55359         (arena_lock): Pass in new parameter to arena_get2.
55360         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55361         arena_get2.
55362         (__libc_malloc): Unify retrying after main arena failure with
55363         __libc_memalign version.
55364         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55366 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55368         [BZ #14166]
55369         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55370         to __redirect_strstr.
55371         (__strstr_sse42): Use typeof __redirect_strstr.
55372         (__strstr_ia32): Likewise.
55373         (__libc_strstr): New prototype.
55374         (strstr): Renamed to ...
55375         (__libc_strstr): This.
55376         (strstr): New strong alias of __libc_strstr.
55377         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55378         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55379         __redirect_time.
55380         Include <time.h>.
55381         (__libc_time): New prototype.
55382         (time_ifunc): Replace time with __libc_time.
55383         (time): New strong alias and hidden definition of __libc_time.
55384         (__GI_time): Remove strong alias.
55385         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55386         Include <stddef.h>.
55387         (memmove): Redefined to __redirect_memmove.
55388         (__memmove_sse2): Use typeof __redirect_memmove.
55389         (__memmove_ssse3): Likewise.
55390         (__memmove_ssse3_back): Likewise.
55391         (__libc_memmove): New prototype.
55392         (memmove): Renamed to ...
55393         (__libc_memmove): This.
55394         (memmove): New strong alias of __libc_memmove.
55396 2012-08-08  Mark Salter  <msalter@redhat.com>
55398         * elf/elf.h
55399         (R_MN10300_TLS_GD): Define.
55400         (R_MN10300_TLS_LD): Likewise.
55401         (R_MN10300_TLS_LDO): Likewise.
55402         (R_MN10300_TLS_GOTIE): Likewise.
55403         (R_MN10300_TLS_IE): Likewise.
55404         (R_MN10300_TLS_LE): Likewise.
55405         (R_MN10300_TLS_DTPMOD): Likewise.
55406         (R_MN10300_TLS_DTPOFF): Likewise.
55407         (R_MN10300_TLS_TPOFF): Likewise.
55408         (R_MN10300_SYM_DIFF): Likewise.
55409         (R_MN10300_ALIGN): Likewise.
55410         (R_MN10300_NUM): Update.
55412 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55414         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55415         Remove.
55417 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55419         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55421         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55422         sysdeps/unix -> sysdeps/posix move.
55423         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55425 2012-08-07      Allan McRae     <allan@archlinux.org>
55427         [BZ #14303]
55428         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55429         (SUNOS_CPP): Likewise.
55430         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55431         not found.
55432         (open_input): Call CPP using execvp.
55434 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55436         * sysdeps/unix/sysv/linux/kernel-features.h
55437         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55438         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55439         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55440         (__ASSUME_WAITID_SYSCALL): Likewise.
55441         * sysdeps/unix/sysv/linux/dl-execstack.c
55442         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55443         code unconditional.
55444         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55445         conditional code.
55446         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55447         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55448         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55449         code.
55450         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55451         unconditional.
55452         [__ASSUME_WAITID_SYSCALL]: Likewise.
55453         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55455 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55457         * sysdeps/unix/closedir.c: Renamed to ...
55458         * sysdeps/posix/closedir.c: ... here.
55459         * sysdeps/unix/dirfd.c: Renamed to ...
55460         * sysdeps/posix/dirfd.c: ... here.
55461         * sysdeps/unix/dirstream.h: Renamed to ...
55462         * sysdeps/posix/dirstream.h: ... here.
55463         * sysdeps/unix/fdopendir.c: Renamed to ...
55464         * sysdeps/posix/fdopendir.c: ... here.
55465         * sysdeps/unix/opendir.c: Renamed to ...
55466         * sysdeps/posix/opendir.c: ... here.
55467         * sysdeps/unix/readdir.c: Renamed to ...
55468         * sysdeps/posix/readdir.c: ... here.
55469         * sysdeps/unix/readdir_r.c: Renamed to ...
55470         * sysdeps/posix/readdir_r.c: ... here.
55471         * sysdeps/unix/rewinddir.c: Renamed to ...
55472         * sysdeps/posix/rewinddir.c: ... here.
55473         * sysdeps/unix/seekdir.c: Renamed to ...
55474         * sysdeps/posix/seekdir.c: ... here.
55475         * sysdeps/unix/telldir.c: Renamed to ...
55476         * sysdeps/posix/telldir.c: ... here.
55477         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55478         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55479         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55480         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55482         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55483         * bits/fcntl.h: ... here.
55485         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55486         not 0.
55487         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55488         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55489         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55490         (struct flock): Move l_start, l_len to the beginning.
55491         Use __pid_t for l_pid.
55492         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55493         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55494         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55495         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55496         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55497         [__USE_LARGEFILE64] (struct flock64): New type.
55498         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55500         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55501         * bits/dirent.h: ... here.
55503         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55504         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55506 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55508         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55509         Change from 2.6.0 to 2.6.16.
55510         * sysdeps/unix/sysv/linux/configure: Regenerated.
55511         * sysdeps/unix/sysv/linux/kernel-features.h
55512         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55513         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55514         version.
55515         (__ASSUME_UTIMES): Likewise.
55516         (__ASSUME_CLONE_STOPPED): Remove.
55517         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55518         architectures, not kernel version.
55519         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55520         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55521         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55522         (__ASSUME_WAITID_SYSCALL): Likewise.
55523         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55524         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55525         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55526         refer to older versions.
55528 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55530         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55531         Define alphasort64 as an alias.
55532         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55533         Define versionsort64 as an alias.
55534         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55535         Define scandir64 as an alias.
55536         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55537         Define scandirat64 as an alias.
55538         * dirent/alphasort64.c (alphasort64):
55539         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55540         * dirent/versionsort64.c: Likewise.
55541         * dirent/scandir64.c: Likewise.
55542         * dirent/scandirat64.c: Likewise.
55543         * sysdeps/wordsize-64/alphasort.c: File removed.
55544         * sysdeps/wordsize-64/alphasort64.c: File removed.
55545         * sysdeps/wordsize-64/scandir.c: File removed.
55546         * sysdeps/wordsize-64/scandir64.c: File removed.
55547         * sysdeps/wordsize-64/scandirat.c: File removed.
55548         * sysdeps/wordsize-64/scandirat64.c: File removed.
55549         * sysdeps/wordsize-64/versionsort.c: File removed.
55550         * sysdeps/wordsize-64/versionsort64.c: File removed.
55551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55552         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55553         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55554         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55555         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55556         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55557         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55558         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55560         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55562         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55564         [defined __arch64__ || defined __sparcv9]
55565         (__INO_T_MATCHES_INO64_T): New macro.
55566         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55567         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55568         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55569         * sysdeps/unix/sysv/linux/bits/dirent.h
55570         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55571         (_DIRENT_MATCHES_DIRENT64): New macro.
55573         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55574         Define lockf64 as an alias.
55575         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55576         Define fseeko64 as an alias.
55577         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55578         Define ftello64 as an alias.
55579         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55580         Define _IO_fgetpos64 and fgetpos64 as aliases.
55581         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55582         Define _IO_fsetpos64 and fsetpos64 as aliases.
55583         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55584         Conditionalize body on this.
55585         * libio/fseeko64.c: Likewise.
55586         * libio/ftello64.c: Likewise.
55587         * libio/iofgetpos64.c: Likewise.
55588         * libio/iofsetpos64.c: Likewise.
55589         * sysdeps/wordsize-64/lockf.c: File removed.
55590         * sysdeps/wordsize-64/lockf64.c: File removed.
55591         * sysdeps/wordsize-64/fseeko.c: File removed.
55592         * sysdeps/wordsize-64/fseeko64.c: File removed.
55593         * sysdeps/wordsize-64/ftello.c: File removed.
55594         * sysdeps/wordsize-64/ftello64.c: File removed.
55595         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55596         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55597         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55598         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55599         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55600         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55601         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55602         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55603         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55604         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55605         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55606         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55607         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55608         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55610         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55612         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55613         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55614         [defined __arch64__ || defined __sparcv9]
55615         (__OFF_T_MATCHES_OFF64_T): New macro.
55616         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55617         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55619         (__OFF_T_MATCHES_OFF64_T): New macro.
55621 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55623         * stdlib/secure-getenv.c (__secure_getenv): Replace
55624         GLIBC_2_16 with GLIBC_2_17.
55626 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55628         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55629         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55631 2012-08-03  David S. Miller  <davem@davemloft.net>
55633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55635 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55638         Remove.
55639         (__ASSUME_CORRECT_SI_PID): Likewise.
55640         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55641         (__ASSUME_TMPFS_NAME): Likewise.
55642         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55643         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55644         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55645         (HAVE_AUX_SECURE): Make definition unconditional.
55646         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55647         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55649 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55651         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55652         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55653         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55654         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55655         __eloop_threshold instead of SYMLOOP_MAX.
55657         * sysdeps/generic/eloop-threshold.h: New file.
55658         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55659         of MAXSYMLINKS.
55660         * elf/chroot_canon.c (chroot_canon): Likewise.
55662 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55664         [BZ #13717]
55665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55666         Change to 2.6.0 everywhere.
55667         * sysdeps/unix/sysv/linux/configure: Regenerated.
55668         * sysdeps/unix/sysv/linux/kernel-features.h
55669         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55670         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55671         kernel versions.
55672         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55673         (__ASSUME_FUTEX_REQUEUE): Remove.
55674         (__ASSUME_STATFS64): Define unconditionally.
55675         (__ASSUME_AT_SECURE): Likewise.
55676         (__ASSUME_CORRECT_SI_PID): Likewise.
55677         (__ASSUME_TGKILL): Define without depending on kernel version for
55678         i386.
55679         (__ASSUME_UTIMES): Likewise.
55680         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55681         kernel version.
55682         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55683         (__ASSUME_TMPFS_NAME): Likewise.
55684         * README: Update reference to Linux kernel versions.
55686 2012-08-02  Marek Polacek  <polacek@redhat.com>
55688         [BZ# 14150]
55689         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55690         libc_cv_asm_type_prefix with %.
55691         * configure: Regenerated.
55692         * include/libc-symbols.h: Remove comment about
55693         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55694         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55695         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55696         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55697         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55698         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55699         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55700         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55701         * elf/tst-unique2mod1.c: Likewise.
55702         * elf/tst-unique1mod2.c: Likewise.
55703         * elf/tst-unique1mod1.c: Likewise.
55704         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55705         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55706         Replace ASM_TYPE_DIRECTIVE with .type.
55707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55708         * sysdeps/i386/sysdep.h: Likewise.
55709         * sysdeps/x86_64/sysdep.h: Likewise.
55710         * sysdeps/sh/sysdep.h: Likewise.
55711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55712         Do not define ASM_TYPE_DIRECTIVE.
55713         * sysdeps/powerpc/sysdep.h: Likewise.
55714         * sysdeps/powerpc/powerpc32/sysdep.h:
55715         Replace ASM_TYPE_DIRECTIVE with .type.
55716         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55717         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55718         * sysdeps/i386/fpu/e_powf.S: Likewise.
55719         * sysdeps/i386/fpu/e_expl.S: Likewise.
55720         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55721         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55722         * sysdeps/i386/fpu/e_pow.S: Likewise.
55723         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55724         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55725         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55726         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55727         * sysdeps/i386/fpu/e_log2.S: Likewise.
55728         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55729         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55730         * sysdeps/i386/fpu/e_powl.S: Likewise.
55731         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55732         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55733         * sysdeps/i386/fpu/e_logl.S: Likewise.
55734         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55735         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55736         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55737         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55738         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55739         * sysdeps/i386/fpu/e_log.S: Likewise.
55740         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55741         * sysdeps/i386/fpu/e_logf.S: Likewise.
55742         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55743         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55744         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55745         * sysdeps/i386/fpu/e_log10.S: Likewise.
55746         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55747         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55748         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55749         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55750         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55751         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55752         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55753         * sysdeps/i386/i686/strtok.S: Likewise.
55754         * sysdeps/i386/i386-mcount.S: Likewise.
55755         * sysdeps/i386/strtok.S: Likewise.
55756         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55757         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55759         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55760         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55761         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55762         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55763         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55764         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55765         * sysdeps/x86_64/_mcount.S: Likewise.
55766         * sysdeps/x86_64/strtok.S: Likewise.
55767         * sysdeps/sh/_mcount.S: Likewise.
55769 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55771         * libio/iofopen.c: Include <fcntl.h>.
55772         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55773         (_IO_fopen64, fopen64): Define as aliases.
55774         * libio/iofopen64.c: Include <fcntl.h>.
55775         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55776         Conditionalize body on this.
55777         * sysdeps/wordsize-64/iofopen.c: File removed.
55778         * sysdeps/wordsize-64/iofopen64.c: File removed.
55780 2012-08-01  Marek Polacek  <polacek@redhat.com>
55782         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55783         Use dlfcn directly instead of a variable.
55784         (binfmt-subdir): Do not define.
55785         (dlfcn): Likewise.
55787 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55789         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55790         Remove all definitions.
55791         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55792         <kernel-features.h>.
55793         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55794         (miss_F_GETOWN_EX): Remove all definitions.
55795         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55796         macro definition.
55797         [!__ASSUME_FCNTL64]: Remove conditional code.
55798         [__ASSUME_FCNTL64]: Make code unconditional.
55799         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55800         <kernel-features.h>.
55801         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55802         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55803         (lockf64) [__NR_fcntl64]: Make code unconditional.
55804         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55806         * sysdeps/unix/sysv/linux/kernel-features.h
55807         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55808         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55809         Make code unconditional.
55810         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55811         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55813         [__NR_vfork]: Make code unconditional.
55814         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55815         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55817         [__NR_vfork]: Make code unconditional.
55818         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55819         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55821 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55823         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55824         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55826         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55827         Define mkstemp64 as an alias.
55828         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55829         Define mkstemps64 as an alias.
55830         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55831         Define mkostemp64 as an alias.
55832         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55833         Define mkostemps64 as an alias.
55834         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55835         Conditionalize body on this.
55836         * misc/mkostemp64.c: Likewise.
55837         * misc/mkostemps64.c: Likewise.
55838         * misc/mkstemps64.c: Likewise.
55839         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55840         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55841         * sysdeps/wordsize-64/mkostemp.c: File removed.
55842         * sysdeps/wordsize-64/mkstemp.c: File removed.
55843         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55844         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55845         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55846         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55848         [BZ #14138]
55849         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55850         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55851         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55852         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55854         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55855         compat_symbol macros from <shlib-compat.h> rather than the underlying
55856         default_symbol_version and symbol_version macros, so that DEFAULT
55857         lines in shlib-versions are respected.
55858         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55860 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55862         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55863         Declare with warn_unused_result.
55864         (setgid, setregid, setegid, setresgid): Likewise.
55865         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55866         Likewise.
55867         * WUR-REPORT: Remove set*id functions.
55869 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55871         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55873 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55875         [BZ #10191]
55876         * include/sys/socket.h (__libc_accept, __libc_accept4):
55877         Add attribute_hidden.
55878         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55880         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55881         use of PTR_MANGLE.
55882         * inet/getnetgrent_r.c (setup): Likewise.
55884         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55886 2012-07-31  David S. Miller  <davem@davemloft.net>
55888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55890 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55892         [BZ #13629]
55893         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55894         value between 1.0 and 2.0 and smaller part has absolute value less
55895         than 1.0.
55896         * math/s_clog10.c (__clog10): Likewise.
55897         * math/s_clog10f.c (__clog10f): Likewise.
55898         * math/s_clog10l.c (__clog10l): Likewise.
55899         * math/s_clogf.c (__clogf): Likewise.
55900         * math/s_clogl.c (__clogl): Likewise.
55901         * math/libm-test.inc (clog_test): Add more tests.
55902         (clog10_test): Likewise.
55903         * sysdeps/i386/fpu/libm-test-ulps: Update.
55904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55906 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55908         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55909         Exit with zero in case no suitable GID is found, and write a
55910         message to standard error.
55912 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55914         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55915         rather than to 1.
55916         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55917         (MAXPATHLEN): Removed.
55918         (NOGROUP, NODEV): New macros.
55919         (setbit, clrbit, isset, isclr): New macros.
55920         (howmany, roundup, powerof2): New macros.
55921         (DEV_BSIZE): New macro.
55923         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55924         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55926         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55927         definition on [!__NO_LONG_DOUBLE_MATH].
55929         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55930         PTR_MANGLE and PTR_DEMANGLE.
55932         * socket/accept4.c (accept4): Rename to __libc_accept4.
55933         Define accept4 as a weak alias.
55935         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55936         on [_DIRENT_HAVE_D_TYPE].
55937         * io/ftw.c (ftw_dir): Likewise.
55939         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55941         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55943         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55944         Use the BSD numbers rather than the arbitrary ones we had.
55945         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55946         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55947         (SIGXCPU, SIGXFSZ): New macros.
55948         (_NSIG): Now 32.
55950         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55951         initializer on [_LIBC_REENTRANT].
55953         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55954         definitions inside [_POSIX_MAPPED_FILES].
55956         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55958         * dirent/opendir.c: Include <fcntl.h>.
55960         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55961         (__libc_getspecific): Likewise.
55962         (__libc_key_create): Likewise.
55964         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55965         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55966         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55967         (tmpfile64): Define as alias.
55968         * sysdeps/wordsize-64/tmpfile.c: File removed.
55969         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55971         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55973         * stdio-common/vfscanf.c: Include <stdbool.h>.
55974         * nss/makedb.c: Likewise.
55975         * stdio-common/_i18n_number.h: Likewise.
55976         * argp/argp-help.c: Likewise.
55977         * posix/wordexp.c: Likewise.
55978         * sysdeps/posix/spawni.c: Likewise.
55979         * nss/nss_files/files-initgroups.c: Likewise.
55980         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55981         * nss/nss_files/files-initgroups.c: Likewise.
55982         * nss/nss_db/db-netgrp.c: Likewise.
55983         * nss/nss_db/db-initgroups.c: Likewise.
55984         * io/fchmodat.c: Include <sys/stat.h>.
55986         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55987         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55989         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55990         [HAVE_MMAP].
55992         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55993         Add multiple inclusion protection.
55995 2012-07-27  David S. Miller  <davem@davemloft.net>
55997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55999 2012-07-27  Gary Benson  <gbenson@redhat.com>
56001         [BZ #14298]
56002         * elf/rtld.c: Include <stap-probe.h>.
56003         (dl_main): Added static probes "init_start" and "init_complete".
56004         * elf/dl-load.c: Include <stap-probe.h>.
56005         (lose): Take new parameter "nsid".
56006         Added static probe "map_failed".
56007         (_dl_map_object_from_fd): Pass namespace id to lose.
56008         Added static probe "map_start".
56009         (open_verify): Pass namespace id to lose.
56010         * elf/dl-open.c: Include <stap-probe.h>.
56011         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56012         and "reloc_complete".
56013         * elf/dl-close.c: Include <stap-probe.h>.
56014         (_dl_close_worker): Added static probes "unmap_start" and
56015         "unmap_complete".
56016         * elf/rtld-debugger-interface.txt: New file documenting the above.
56018 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56020         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56021         rather than a string variable.
56022         * sunrpc/rpc_main.c (h_output): Likewise.
56023         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56025 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56027         * inet/check_native.c: New file.
56029 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56031         [BZ #13629]
56032         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56033         if larger part has absolute value 1.0.
56034         * math/s_clog10.c (__clog10): Likewise.
56035         * math/s_clog10f.c (__clog10f): Likewise.
56036         * math/s_clog10l.c (__clog10l): Likewise.
56037         * math/s_clogf.c (__clogf): Likewise.
56038         * math/s_clogl.c (__clogl): Likewise.
56039         * math/libm-test.inc (clog_test): Add more tests.
56040         (clog10_test): Likewise.
56041         * sysdeps/i386/fpu/libm-test-ulps: Update.
56042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56044         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56045         (pltexit): Likewise.
56046         (La_regs): Likewise.
56047         (La_retval): Likewise.
56048         (int_retval): Likewise.
56049         Update #error for removed macros to refer only to definitions in
56050         tst-audit.h.
56051         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56052         macro.
56053         (pltexit): Likewise.
56054         (La_regs): Likewise.
56055         (La_retval): Likewise.
56056         (int_retval): Likewise.
56057         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56058         macro.
56059         (pltexit): Likewise.
56060         (La_regs): Likewise.
56061         (La_retval): Likewise.
56062         (int_retval): Likewise.
56063         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56064         macro.
56065         (pltexit): Likewise.
56066         (La_regs): Likewise.
56067         (La_retval): Likewise.
56068         (int_retval): Likewise.
56069         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56070         macro.
56071         (pltexit): Likewise.
56072         (La_regs): Likewise.
56073         (La_retval): Likewise.
56074         (int_retval): Likewise.
56075         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56076         macro.
56077         (pltexit): Likewise.
56078         (La_regs): Likewise.
56079         (La_retval): Likewise.
56080         (int_retval): Likewise.
56081         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56082         macro.
56083         (pltexit): Likewise.
56084         (La_regs): Likewise.
56085         (La_retval): Likewise.
56086         (int_retval): Likewise.
56087         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56088         macro definitions in tst-audit.h.
56089         * sysdeps/i386/tst-audit.h: New file.
56090         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56091         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56092         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56093         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56094         * sysdeps/sh/tst-audit.h: Likewise.
56095         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56096         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56097         * sysdeps/x86_64/tst-audit.h: Likewise.
56099 2012-07-26  Andreas Jaeger  <aj@suse.de>
56101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56102         ptrace.
56104         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56105         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56106         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56107         PTRACE_O_MASK.
56108         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56109         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56110         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56112         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56113         value.
56115         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56116         _sigsys.
56117         (si_call_addr, si_syscall, si_arch): Define new macro.
56118         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56119         _sigsys.
56120         (si_call_addr, si_syscall, si_arch): Define new marcro.
56121         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56122         _sigsys.
56123         (si_call_addr, si_syscall, si_arch): Define new macro.
56124         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56125         _sigsys.
56126         (si_call_addr, si_syscall, si_arch): Define new macro.
56128 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56130         [BZ #13717]
56131         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56132         Change to 2.4.21 where previously 2.4.1.
56133         * sysdeps/unix/sysv/linux/configure: Regenerated.
56134         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56135         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56136         Linux kernel version.
56137         (__ASSUME_STD_AUXV): Remove.
56138         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56139         kernel version.
56140         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56141         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56142         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56143         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56144         (__ASSUME_NETLINK_SUPPORT): Likewise.
56145         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56146         (__no_netlink_support): Remove conditional definition.
56147         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56148         Remove.
56149         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56150         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56151         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56152         (if_nameindex_ioctl): Remove.
56153         (if_nameindex_netlink): Do not handle __no_netlink_support.
56154         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56155         code.
56156         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56157         Remove conditional code.
56158         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56159         code.
56160         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56161         unconditional.
56162         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56163         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56164         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56165         Remove.
56166         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56167         [!__ASSUME_STD_AUXV]: Remove conditional code.
56168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56169         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56170         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56172         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56173         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56174         code.
56175         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56177         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56178         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56179         conditional code.
56180         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56182         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56183         code.
56184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56185         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56186         conditional code.
56187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56188         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56189         code unconditional.
56190         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56191         conditional code.
56192         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56193         unconditional.
56194         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56195         conditional code.
56196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56197         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56198         unconditional.
56199         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56200         conditional code.
56201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56202         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56203         code unconditional.
56204         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56205         conditional code.
56206         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56207         unconditional.
56208         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56209         conditional code.
56210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56211         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56212         code unconditional.
56213         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56214         conditional code.
56215         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56216         unconditional.
56217         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56218         conditional code.
56220 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56222         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56223         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56224         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56225         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56226         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56227         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56228         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56229         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56230         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56231         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56232         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56233         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56234         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56235         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56236         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56237         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56238         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56240         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56242         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56243         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56244         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56246 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56248         * Versions.def: Add GLIBC_2.17.
56249         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56250         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56251         Introduce __libc_secure_getenv.
56252         * stdlib/Versions (2.17): Add secure_getenv
56253         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56254         * stdlib/secure-getenv.c: Rename __secure_getenv to
56255         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56256         symbol __secure_getenv for GLIBC_2.0.
56257         * stdlib/tst-secure-getenv.c: New.
56258         * stdlib/Makefile (tests): Add testcase.
56259         * manual/startup.texi (Environment Access): Document
56260         secure_getenv.
56261         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56262         __libc_secure_getenv.
56263         * inet/ruserpass.c (ruserpass): Likewise.
56264         * malloc/mtrace.c (mtrace): Likewise.
56265         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56266         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56267         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56268         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56269         HAVE_SECURE_GETENV.
56270         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56271         __secure_getenv to __libc_secure_getenv.
56272         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56274         Likewise.
56275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56276         Likewise.
56277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56279         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56285 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56287         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56288         (struct La_i86_retval): Likewise.
56289         (struct La_x86_64_regs): Likewise.
56290         (struct La_x86_64_retval): Likewise.
56291         (struct La_x32_regs): Likewise.
56292         (struct La_x32_retval): Likewise.
56293         (struct La_ppc32_regs): Likewise.
56294         (struct La_ppc32_retval): Likewise.
56295         (struct La_ppc64_regs): Likewise.
56296         (struct La_ppc64_retval): Likewise.
56297         (struct La_sh_regs): Likewise.
56298         (struct La_sh_retval): Likewise.
56299         (struct La_s390_32_regs): Likewise.
56300         (struct La_s390_32_retval): Likewise.
56301         (struct La_s390_64_regs): Likewise.
56302         (struct La_s390_64_retval): Likewise.
56303         (struct La_sparc32_regs): Likewise.
56304         (struct La_sparc32_retval): Likewise.
56305         (struct La_sparc64_regs): Likewise.
56306         (struct La_sparc64_retval): Likewise.
56307         (struct audit_ifaces): Remove architecture-specific pltenter and
56308         pltexit members.
56309         * sysdeps/i386/ldsodefs.h: New file.
56310         * sysdeps/powerpc/ldsodefs.h: Likewise.
56311         * sysdeps/s390/ldsodefs.h: Likewise.
56312         * sysdeps/sh/ldsodefs.h: Likewise.
56313         * sysdeps/sparc/ldsodefs.h: Likewise.
56314         * sysdeps/x86_64/ldsodefs.h: Likewise.
56316 2012-07-25  Marek Polacek  <polacek@redhat.com>
56318         [BZ #6808]
56319         * math/libm-test.inc (yn_test): Add another test.
56320         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56321         to ERANGE when the result is +-Inf.
56322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56323         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56324         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56325         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56327 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56329         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56330         equal to 0.
56331         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56332         clock_t.
56333         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56335 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56337         * configure.in <sysdeps resolving>: Correct printing
56338         Implies_before.
56339         * configure: Regenerate.
56341 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56343         * math/w_ilogb.c: Include <limits.h>.
56344         * math/w_ilogbl.c: Likewise.
56346 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56348         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56349         va_copy.  Document allowing for unavailable va_copy only as
56350         pre-C99 compatibility.
56351         * manual/string.texi (Copying and Concatenation): Use va_copy
56352         instead of __va_copy in concat example.
56354 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56356         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56357         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56358         it if not null.
56360         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56361         with O_NOLINK passed to __file_name_lookup.
56363         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56364         with O_NOLINK passed to __file_name_lookup.
56366         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56367         negative N or less than NGIDS.
56369         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56370         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56371         enough.  Use memcpy instead of strncpy.
56373 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56375         * elf/Makefile (check-data): Remove.
56376         (localplt.data): New vpath directive.
56377         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56378         instead of $(check-data).
56379         * scripts/data/localplt-generic.data: Move to ...
56380         * sysdeps/generic/localplt.data: ... here.
56381         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56382         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56383         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56385         ... here.
56386         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56388         ... here.
56389         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56391         ... here.
56392         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56394         ... here.
56395         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56397         ... here.
56398         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56400         ... here.
56402 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56404         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56405         PPC32 and PPC64 files.
56406         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56407         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56409 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56411         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56412         __makecontext_ret to ...
56413         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56414         ... here and call exit if uc_link is NULL.  New file.
56415         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56416         __makecontext_ret.S.
56417         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56418         __makecontext_ret to ...
56419         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56420         ... here and call exit if uc_link is NULL.  New file.
56421         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56422         __makecontext_ret.S.
56424 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56426         * elf/elf.h (R_390_IRELATIVE): New definition.
56427         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56428         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56429         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56430         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56431         (elf_machine_lazy_rel): Likewise.
56432         * sysdeps/s390/dl-irel.h: New file.
56433         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56434         * sysdeps/s390/s390-64/memset.S: New asm code.
56435         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56436         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56437         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56438         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56439         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56440         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56442         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56443         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56444         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56445         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56446         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56447         * sysdeps/s390/s390-32/memset.S: New asm code.
56448         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56450 2012-07-17  Marek Polacek  <polacek@redhat.com>
56452         [BZ #14349]
56453         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56454         * sysdeps/s390/s390-64/configure.in: Likewise.
56455         * sysdeps/sparc/configure.in: Likewise.
56456         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56457         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56458         * sysdeps/i386/configure.in: Likewise.
56459         * sysdeps/x86_64/configure.in: Likewise.
56460         * sysdeps/sh/configure.in: Likewise.
56461         * sysdeps/s390/s390-32/configure: Regenerated.
56462         * sysdeps/s390/s390-64/configure: Likewise.
56463         * sysdeps/x86_64/configure: Likewise.
56464         * sysdeps/sh/configure: Likewise.
56465         * sysdeps/powerpc/powerpc64/configure: Likewise.
56466         * sysdeps/powerpc/powerpc32/configure: Likewise.
56467         * sysdeps/sparc/configure: Likwise.
56468         * sysdeps/i386/configure: Likewise.
56470         * elf/dl-open.c: Comment fixes.
56472 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56474         * Makefile [CXX] (check-data): Remove.
56475         [CXX] (c++-types.data): New vpath directive.
56476         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56477         vpath.  Do not allow for C++ type data being missing.
56478         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56479         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56480         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56481         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56482         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56483         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56484         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56486         ... here.
56487         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56489         ... here.
56490         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56492         ... here.
56493         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56495         ... here.
56496         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56498         ... here.
56499         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56501         ... here.
56502         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56504         ... here.
56505         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56508         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56509         definitions to architecture-specific files.
56510         (TLS_IE): Likewise.
56511         (TLS_LD): Likewise.
56512         (TLS_GD): Likewise.
56513         * sysdeps/i386/tls-macros.h: New file.
56514         * sysdeps/powerpc/tls-macros.h: Likewise.
56515         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56516         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56517         * sysdeps/sh/tls-macros.h: Likewise.
56518         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56519         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56520         * sysdeps/x86_64/tls-macros.h: Likewise.
56522 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56524         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56525         zero value for regular exit case.
56527         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56528         (__start_context): Preserve zero value for regular exit case.
56530 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56531             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56533         * manual/setjmp.texi (setcontext): Clarify normal process
56534         termination when uc_link is the null pointer.
56535         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56536         exit call.
56538 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56540         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56541         preprocessor.  Test for each exception mask separately.
56543 2012-07-16  Andreas Jaeger  <aj@suse.de>
56545         * po/ru.po: Update from translation team.
56547 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56549         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56550         equal to 0.
56551         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56552         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56553         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56554         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56557 2012-07-13  Andreas Jaeger  <aj@suse.de>
56559         * po/fr.po: Update from translation team.
56561 2012-07-12  Marek Polacek  <polacek@redhat.com>
56563         [BZ #14173]
56564         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56566         loop condition.
56568 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56570         [BZ #13717]
56571         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56572         Change to 2.4.1 where previously 2.4.0.
56573         * sysdeps/unix/sysv/linux/configure: Regenerated.
56574         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56575         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56576         version.
56577         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56578         (__ASSUME_AT_CLKTCK): Remove.
56579         (__ASSUME_AT_PAGESIZE): Likewise.
56580         (__ASSUME_AT_XID): Likewise.
56581         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56582         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56583         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56584         unconditionally.
56585         (HAVE_AUX_PAGESIZE): Likewise.
56586         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56587         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56588         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56590 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56592         [BZ #14307]
56593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56594         the temporary buffer used to invoke __gethostbyname2_r,
56595         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56596         host_data / struct gaih_addrtuple.
56597         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56598         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56599         header file nss/nsswitch.h.
56600         * nss/nsswitch.h (global scope): Add definition of implementation
56601         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56602         resolv/nss_dns/dns-host.c).
56604 2012-07-11  Andreas Jaeger  <aj@suse.de>
56606         * po/fr.po: Update from translation team.
56608         * po/sv.po: Update from translation team
56609         * po/fr.po: Another update from translation team.
56611 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56613         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56614         for subnormals or multiply small sinh result by itself.
56615         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56618 2012-07-11  David S. Miller  <davem@davemloft.net>
56620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56622 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56624         [BZ #14347]
56625         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56626         (INTERNAL_MARK): Shift it here.
56628 2012-07-10  Marek Polacek  <polacek@redhat.com>
56630         [BZ #14151]
56631         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56632         libc_cv_asm_global_directive with .globl.
56633         * configure: Regenerated.
56634         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56635         with .globl.
56636         * sysdeps/i386/configure: Regenerated.
56637         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56638         with .globl.
56639         * sysdeps/x86_64/configure: Regenerated.
56640         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56641         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56642         * elf/tst-unique2mod2.c: Likewise.
56643         * elf/tst-unique2mod1.c: Likewise.
56644         * elf/tst-unique1mod2.c: Likewise.
56645         * elf/tst-unique1mod1.c: Likewise.
56646         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56647         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56648         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56649         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56650         * sysdeps/mach/sysdep.h: Likewise.
56651         * sysdeps/i386/sysdep.h: Likewise.
56652         * sysdeps/i386/i386-mcount.S: Likewise.
56653         * sysdeps/x86_64/_mcount.S: Likewise.
56654         * sysdeps/x86_64/sysdep.h: Likewise.
56655         * sysdeps/sh/_mcount.S: Likewise.
56656         * sysdeps/sh/sysdep.h: Likewise.
56657         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56658         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56659         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56660         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56661         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56662         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56663         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56664         * locale/localeinfo.h: Likewise.
56665         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56666         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56668 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56670         [BZ #14336]
56671         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56672         system".
56673         * manual/message.texi (The Uniforum approach): Likewise.
56674         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56675         (glibc iconv Implementation): Likewise.
56677 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56679         [BZ #14337]
56680         * math/s_clog.c (__clog): Avoid scaling a value down where that
56681         could result in underflow.
56682         * math/s_clog10.c (__clog10): Likewise.
56683         * math/s_clog10f.c (__clog10f): Likewise.
56684         * math/s_clog10l.c (__clog10l): Likewise.
56685         * math/s_clogf.c (__clogf): Likewise.
56686         * math/s_clogl.c (__clogl): Likewise.
56687         * math/libm-test.inc (clog_test): Add more tests.
56688         (clog10_test): Likewise.
56689         * sysdeps/i386/fpu/libm-test-ulps: Update.
56690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56692 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56694         [BZ #14283]
56695         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56696         by 7 not 8 to examine high bit of fractional part.
56698         [BZ #14042]
56699         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56700         for call to __mcount_internal.
56701         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56702         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56703         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56705 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56707         [BZ #14154]
56708         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56709         approximation for values within 0x1p-13f of an odd multiple of
56710         pi/4.
56711         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56712         exception.  Add more tests.
56713         * sysdeps/i386/fpu/libm-test-ulps: Update.
56715         [BZ #6778]
56716         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56717         inputs and return -1 for them.  Do not check for +Inf in case not
56718         reachable for +Inf.
56719         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56720         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56722         and return -1 for them.  Do not check for +Inf in case not
56723         reachable for +Inf.
56724         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56725         define.
56726         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56727         and return -1 for them.  Do not check for +Inf in case not
56728         reachable for +Inf.
56729         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56730         spurious underflow.
56731         * sysdeps/i386/fpu/libm-test-ulps: Update.
56732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56734 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56736         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56738 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56740         [BZ #14157]
56741         [BZ #14331]
56742         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56743         could result in spurious underflow.  Scale down values above
56744         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56745         * math/s_csqrtf.c (__csqrtf): Likewise.
56746         * math/s_csqrtl.c (__csqrtl): Likewise.
56747         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56748         spurious underflow.
56749         * sysdeps/i386/fpu/libm-test-ulps: Update.
56750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56752 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56754         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56755         xopen-msg.sed.
56756         * catgets/xopen-msg.awk: New file.
56757         * catgets/xopen-msg.sed: Removed.
56759         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56760         po2text.sed.
56761         * intl/po2test.awk: New file.
56762         * intl/po2test.sed: Removed.
56764 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56766         [BZ #14328]
56767         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56768         or multiply small sinh result by itself.
56769         * math/s_ctanf.c (__ctanf): Likewise.
56770         * math/s_ctanh.c (__ctanh): Likewise.
56771         * math/s_ctanhf.c (__ctanhf): Likewise.
56772         * math/s_ctanhl.c (__ctanhl): Likewise.
56773         * math/s_ctanl.c (__ctanl): Likewise.
56774         * math/libm-test.inc (ctan_test_tonearest): New function.
56775         (ctan_test_towardzero): Likewise.
56776         (ctan_test_downward): Likewise.
56777         (ctan_test_upward): Likewise.
56778         (ctanh_test_tonearest): Likewise.
56779         (ctanh_test_towardzero): Likewise.
56780         (ctanh_test_downward): Likewise.
56781         (ctanh_test_upward): Likewise.
56782         (main): Call these new functions.
56783         * sysdeps/i386/fpu/libm-test-ulps: Update.
56784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56786 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56788         * .gitignore: Delete /ports entry.
56790 2012-07-03  Andreas Jaeger  <aj@suse.de>
56792         * po/bg.po: Update from translation team.
56793         * po/cs.po: Likewise.
56794         * po/de.po: Likewise.
56795         * po/hr.po: Likewise.
56796         * po/nl.pl: Likewise.
56797         * po/pl.po: Likewise.
56798         * po/vi.po: Likewise.
56800 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56802         * Makeconfig [!+link] (+link-before-libc): New variable.
56803         [!+link] (+link-after-libc): Likewise.
56804         [!+link] (+link-tests): Likewise.
56805         [!+link] (+link): Define in terms of $(+link-before-libc) and
56806         $(+link-after-libc).
56807         [!+link-static] (+link-static-before-libc): New variable.
56808         [!+link-static] (+link-static-after-libc): Likewise.
56809         [!+link-static] (+link-static-tests): Likewise.
56810         [!+link-static] (+link-static): Define in terms of
56811         $(+link-static-before-libc) and $(+link-static-after-libc).
56812         [build-shared] (link-libc-before-gnulib): New variable.
56813         [build-shared] (link-libc-tests): Likewise.
56814         [build-shared] (link-libc): Define in terms of
56815         $(link-libc-before-gnulib).
56816         [!build-shared] (link-libc-tests): New variable.
56817         (link-libc-static-tests): New variable.
56818         [!gnulib] (gnulib-arch): New variable.
56819         [!gnulib] (gnulib-tests): Likewise.
56820         [!gnulib] (static-gnulib-arch): Likewise.
56821         [!gnulib] (static-gnulib-tests): Likewise.
56822         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56823         Define with "=" instead of ":=".
56824         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56825         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56826         * Rules (binaries-all-notests): New variable.
56827         (binaries-all-tests): Likewise.
56828         (binaries-static-notests): Likewise.
56829         (binaries-static-tests): Likewise.
56830         (binaries-all): Define using $(binaries-all-notests) and
56831         $(binaries-all-tests).
56832         (binaries-static): Define using $(binaries-static-notests) and
56833         $(binaries-static-tests).
56834         (binaries-shared-tests): New variable.
56835         (binaries-shared-notests): Likewise.
56836         (binaries-shared): Remove variable.
56837         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56838         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56839         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56840         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56841         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56842         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56843         * elf/Makefile (sln-modules): New variable.
56844         (extra-objs): Add $(sln-modules:=.o).
56845         (ldconfig-modules): Add static-stubs.
56846         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56847         * elf/static-stubs.c: New file.
56849         [BZ #14283]
56850         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56851         by 7 not 8 to examine high bit of fractional part.  Use volatile
56852         variables when splitting into final array of floats if
56853         __FLT_EVAL_METHOD__ != 0.
56854         * math/libm-test.inc (cos_test): Add another test.
56855         (sin_test): Likewise.
56856         * sysdeps/i386/fpu/libm-test-ulps: Update.
56858         [BZ #14273]
56859         * math/libm-test.inc (cosh_test): Add more tests.
56861         * version.h (RELEASE): Set to "development".
56862         (VERSION): Set to "2.16.90".
56864 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56866         * NEWS: Update copyright. Remove last-updated date.
56867         Mention math library bug fixes and timezone data changes.
56868         * README: Mention GNU/Hurd, x32, and HPPA support status.
56870 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56872         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56874 2012-06-27  Andreas Jaeger  <aj@suse.de>
56876         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56878 2012-06-25  Andreas Jaeger  <aj@suse.de>
56880         * sysdeps/s390/fpu/libm-test-ulps: Update.
56882 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56883             Thomas Schwinge  <thomas@codesourcery.com>
56885         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56886         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56887         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56888         fanotify_mark.
56890 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56892         * sysdeps/mach/start.c: Remove file.
56893         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56894         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56895         * sysdeps/sh/init-first.c: Likewise.
56897         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56898         registers for frame unwinding purposes, add CFI directives.
56899         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56901         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56902         Likewise.
56904         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56905         __fortify_fail returning.
56906         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56908         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56909         sysdeps/sh/____longjmp_chk.S.
56910         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56911         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56912         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56913         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56915         * sysdeps/sh/abort-instr.h: New file.
56916         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56917         process in case exit returns.
56919         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56920         initialize the GOT register before use.
56922         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56923         calculation of ARGC > 4.
56925         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56926         meaningful names to some local labels.
56928 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56929             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56931         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56932         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56933         (__arch_compare_and_exchange_val_16_acq): Likewise.
56934         (__arch_compare_and_exchange_val_32_acq): Likewise.
56935         (atomic_exchange_and_add): Fix gUSA sequence.
56936         (atomic_add): Likewise.
56937         (atomic_add_negative): Likewise.
56938         (atomic_add_zero): Likewise.
56939         (atomic_bit_test_set): Likewise.
56941 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56943         [BZ #13579]
56944         * include/link.h (struct link_map): Add l_free_initfini.
56945         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56946         l_initfini.
56947         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56948         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56949         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56950         set.
56952 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56954         * configure.in: Use AC_LANG_SOURCE.
56955         * configure: Regenerate.
56957 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56959         * configure.in (libc_cv_localstatedir): New substituted variable.
56960         * configure: Regenerated.
56961         * config.make.in (localstatedir): New variable, substituted from
56962         libc_cv_localstatedir.
56963         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56964         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56965         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56966         * sysdeps/gnu/configure: Regenerated.
56968 2012-06-21  Jeff Law  <law@redhat.com>
56970         [BZ #14277]
56971         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56972         free.  Simplify list management for _LIBC case.
56974 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56976         [BZ #14273]
56977         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56978         Clear sign bit of 64-bit integer value before comparing against
56979         overflow value.
56981         * sysdeps/mach/configure: Regenerated.
56983 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56985         [BZ #14278]
56986         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56988 2012-06-21  Jeff Law  <law@redhat.com>
56990         [BZ #13882]
56991         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56992         uint16_t for elements in the "seen" array to avoid char overflows.
56993         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56994         * elf/dl-open.c (dl_open_worker): Likewise.
56996 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56998         * scripts/list-sources.sh: Scan PORTS for translations.
56999         * po/libc.pot: Regenerated.
57001 2012-06-21  Andreas Jaeger  <aj@suse.de>
57003         [BZ #12194]
57004         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57005         warning.
57006         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57007         * bits/byteswap-16.h (__bswap_16): Likewise.
57008         * bits/byteswap.h (__bswap_constant_16): Likewise.
57010 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57012         [BZ #14117]
57013         * sysdeps/i386/fpu_control.h: Removed.
57014         * sysdeps/x86_64/fpu_control.h: Moved to ...
57015         * sysdeps/x86/fpu_control.h: Here.
57017         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57018         (_FPU_SETCW): Likewise.
57020 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57022         [BZ #14117]
57023         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57024         * sysdeps/x86/fpu/bits/mathinline.h: This.
57025         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57027         [BZ #14050]
57028         [BZ #14117]
57029         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57030         functions if __x86_64__ is defined.
57032 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57034         * string/endian.h: Add !__ASSEMBLER__ condition for including
57035         conversion interfaces.
57037 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57039         [BZ #14241]
57040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57041         of ABS(x) in calculating zero to negative powers other than odd
57042         integers.
57043         * math/libm-test.inc (pow_test): Add more tests.
57045 2012-06-15  Andreas Jaeger  <aj@suse.de>
57047         * manual/contrib.texi (Contributors): Update entry of Liubov
57048         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57049         Machado Filho.
57051 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57053         * string/string.h: Add __wur to GNU version of strerror_r.
57055 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57057         [BZ #14229]
57058         * string/Makefile (tests): Add tst-strtok_r.
57059         * string/tst-strtok_r.c: New file.
57060         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57061         RAX_LP/RDX_LP on SAVE_PTR.
57063 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57065         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57067 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57069         * libm_test.inc (csqrt_test): Allow more spurious underflow
57070         exceptions.
57071         (j0_test): Likewise.
57072         (j1_test): Likewise.
57073         (y0_test): Likewise.
57074         (y1_test): Likewise.
57076 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57078         * po/Makefile (libc.pot): Use UTF-8 charset.
57080 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57082         [BZ #14210]
57083         Suppress sign-conversion warning from FD_SET.
57084         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57085         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57086         not unsigned long int.
57087         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57089 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57091         [BZ #14050]
57092         [BZ #14117]
57093         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57094         __extern_always_inline instead of __extern_inline.
57095         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57096         (__signbit): Likewise.
57097         (__signbitl): Support C++ namespace.
57098         (lrintf): New inline function.
57099         (lrint): Likewise.
57100         (llrintf): Likewise.
57101         (llrint): Likewise.
57102         (fmaxf): Likewise.
57103         (fmax): Likewise.
57104         (fminf): Likewise.
57105         (fmin): Likewise.
57106         (rint): Likewise.
57107         (rintf): Likewise.
57108         (ceil): Likewise.
57109         (ceilf): Likewise.
57110         (floor): Likewise.
57111         (floorf): Likewise.
57112         (nearbyint): Likewise.
57113         (nearbyintf): Likewise.
57115 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57117         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57118         non-default versions.
57120 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57122         [BZ #14218]
57123         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57125 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57127         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57128         (FE_UPWARD, FE_DOWNWARD): Don't define.
57129         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57130         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57132         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57133         reading it.
57134         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57135         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57137 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57139         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57141         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57142         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57144 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57146         [BZ #14117]
57147         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57148         * sysdeps/i386/fpu/Implies: New file.
57149         * sysdeps/x86_64/fpu/Implies: Likewise.
57150         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57151         * sysdeps/x86/fpu/bits/fenv.h: This.
57153         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57154         __SSE_MATH__.
57156 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57158         [BZ #14134]
57159         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57160         character 0xffff that matches the last element of the
57161         conversion table.
57163 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57166         fmodl commit.
57168 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57170         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57171         values higher than 25.6283.
57173 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57175         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57176         subnormal exponent extraction and add some __builtin_expect.
57177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57178         Fix for subnormal mantissa calculation.
57180 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57182         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57183         cpu2 is -1 and errno is not ENOSYS.
57185 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57187         [BZ #14117]
57188         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57189         * sysdeps/x86/bits/string.h: This.
57190         * sysdeps/x86_64/bits/string.h: Removed.
57192         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57193         if not compiling for x86-64, but compiling for >= i486.
57195         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57196         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57198         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57199         New macro from Linux kernel 3.4.0.
57200         (FP_XSTATE_MAGIC2): Likewise.
57201         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57202         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57203         (struct _fpx_sw_bytes): New struct.
57204         (struct _xsave_hdr): Likewise.
57205         (struct _ymmh_state): Likewise.
57206         (struct _xstate): Likewise.
57208         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57209         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57210         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57211         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57212         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57213         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57215         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57216         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57217         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57218         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57219         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57220         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57222 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57224         [BZ #13743]
57225         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57226         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57227         (sysdep_headers): Include sys/platform/ppc.h.
57228         * sysdeps/powerpc/test-gettimebase.c: Test for
57229         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57230         * manual/Makefile (appendices): Include platform.texi.
57231         * manual/contrib.texi (Contributors): Update @node pointers.
57232         * manual/maint.texi (Maintenance): Likewise.
57233         (Platform): New node.
57234         * manual/platform.texi: New file.  Document the new features.
57236 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57237             Jakub Jelinek  <jakub@redhat.com>
57239         [BZ #14188]
57240         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57241         where __builtin_expect is unavailable.
57243 2012-06-03  David S. Miller  <davem@davemloft.net>
57245         * stdlib/longlong.h: Updated from GCC.
57247 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57249         [BZ #14042]
57250         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57251         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57252         __mcount_internal.
57253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57254         (GLIBC_2.16): Likewise.
57256 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57258         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57260 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57263         (default-abi): New variable.
57264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57265         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57266         variable.
57267         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57268         Likewise.
57269         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57270         Likewise.
57271         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57272         Likewise.
57274         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57275         definition.  Document in comment.
57277 2012-06-01  David S. Miller  <davem@davemloft.net>
57279         * stdlib/longlong.h: Updated from GCC.
57281 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57283         [BZ #14117]
57284         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57285         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57286         sys/debugreg.h sys/io.h here.
57287         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57288         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57289         sys/io.h.
57290         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57291         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57292         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57293         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57294         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57295         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57297         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57298         Define only if __x86_64__ is defined.
57300 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57302         [BZ #14048]
57303         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57304         Use int64_t for variable i.
57305         * math/libm-test.inc (fmod_test): Add more tests.
57307         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57308         z computation is not scheduled after fetestexcept.
57309         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57310         Use math_force_eval instead of asm to ensure calculation scheduled
57311         before exception test.
57312         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57313         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57315 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57318         computation is not scheduled after fetestexcept.
57320 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57322         [BZ #14117]
57323         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57324         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57326 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57328         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57329         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57331 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57333         [BZ #14117]
57334         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57335         <bits/wordsize.h>.
57336         (__WCHAR_MIN): Support __WORDSIZE == 64.
57337         (__WCHAR_MAX): Likewise.
57339         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57340         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57342         [BZ #14183]
57343         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57344         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57346         [BZ #14117]
57347         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57348         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57351         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57353         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57354         Defined to 1 if __x86_64__ isn't defined.
57355         (_STAT_VER_LINUX_OLD): New.
57356         (st_atime): Remove duplicate.
57357         (st_mtime): Likewise.
57358         (st_ctime): Likewise.
57360 2012-05-31  David S. Miller  <davem@davemloft.net>
57362         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57363         entries.
57365 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57367         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57368         gen-libm-test.pl.
57370         [BZ #14132]
57371         * elf/dl-reloc.c: Include <_itoa.h>.
57372         (_dl_reloc_bad_type): Remove use of INTUSE.
57373         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57374         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57375         * stdio-common/psiginfo.c (psiginfo): Likewise.
57376         * stdio-common/psignal.c (psignal): Likewise.
57377         * string/strsignal.c (strsignal): Likewise.
57378         * include/signal.h (_sys_siglist): Declare hidden proto.
57379         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57380         INTVARDEF with libc_hidden_data_def.
57381         * stdio-common/itoa-udigits.c: Likewise.
57382         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57383         (_itoa_lower_digits_internal): Remove declaration.
57384         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57385         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57386         (_sys_sigabbrev_internal): Remove aliases.
57387         (_sys_siglist): Define hidden alias.
57389 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57392         bits/sysctl.h.
57394 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57396         [BZ #14117]
57397         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57398         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57400         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57401         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57402         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57403         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57404         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57405         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57407         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57408         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57409         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57411         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57412         with __addr.
57413         (insw): Likewise.
57414         (insl): Likewise.
57415         (outsb): Likewise.
57416         (outsw): Likewise.
57417         (outsl): Likewise.
57419         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57420         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57421         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57423         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57424         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57425         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57426         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57427         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57428         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57430         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57431         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57433         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57434         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57436         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57437         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57438         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57440         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57441         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57442         to ...
57443         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57445         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57446         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57447         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57449         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57450         for x86-64.
57451         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57453 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57455         * math/math.h (M_El): Use two more decimal places.
57456         (M_LOG2El): Likewise.
57457         (M_LOG10El): Likewise.
57458         (M_LN2l): Likewise.
57459         (M_LN10l): Likewise.
57460         (M_PIl): Likewise.
57461         (M_PI_2l): Likewise.
57462         (M_PI_4l): Likewise.
57463         (M_1_PIl): Likewise.
57464         (M_2_PIl): Likewise.
57465         (M_2_SQRTPIl): Likewise.
57466         (M_SQRT2l): Likewise.
57467         (M_SQRT1_2l): Likewise.
57469 2012-05-31  David S. Miller  <davem@davemloft.net>
57471         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57472         values between float registers.
57473         * sysdeps/sparc/sparc64/memset.S: Likewise.
57474         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57476 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57478         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57479         -D_FORTIFY_SOURCE=1.
57480         (CPPFLAGS-tst-longjmp_chk.c): Define.
57481         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57482         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57483         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57484         CFLAGS-tst-wchar-h.c.
57486 2012-05-31  Marek Polacek  <polacek@redhat.com>
57488         [BZ #14132]
57489         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57490         __endmntent_internal): Remove declaration.
57491         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57492         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57493         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57495 2012-05-30  David S. Miller  <davem@davemloft.net>
57497         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57498         (___Q_simulate_exceptions): Use real FP ops rather than writing
57499         into the %fsr.
57500         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57501         Likewise.
57503 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57505         [BZ #14117]
57506         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57507         * sysdeps/x86/bits/xtitypes.h: This.
57509         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57510         * sysdeps/x86/bits/wordsize.h: This.
57512         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57513         * sysdeps/x86/bits/huge_vall.h: This.
57515         * sysdeps/i386/bits/select.h: Removed.
57516         * sysdeps/x86_64/bits/select.h: Renamed to ...
57517         * sysdeps/x86/bits/select.h: This.
57519         * sysdeps/i386/bits/setjmp.h: Removed.
57520         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57521         * sysdeps/x86/bits/setjmp.h: This.
57523         * sysdeps/i386/bits/mathdef.h: Removed.
57524         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57525         * sysdeps/x86/bits/mathdef.h: This.
57527 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57529         [BZ #14132]
57530         * include/sys/socket.h (__connect_internal)
57531         (__libc_sa_len_internal): Remove declaration.
57532         (__connect, __libc_sa_len): Declare hidden_proto.
57533         (SA_LEN): Remove use of INTUSE.
57534         * socket/connect.c: Add libc_hidden_def.
57535         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57536         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57537         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57538         alias.
57539         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57540         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57541         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57542         of adding _internal alias.
57544 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57546         [BZ #14117]
57547         * sysdeps/i386/bits/link.h: Removed.
57548         * sysdeps/i386/bits/linkmap.h: Likewise.
57549         * sysdeps/x86_64/bits/link.h: Renamed to ...
57550         * sysdeps/x86/bits/link.h: This.
57551         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57552         * sysdeps/x86/bits/linkmap.h: This.
57554         * sysdeps/i386/bits/endian.h: Removed.
57555         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57556         * sysdeps/x86/bits/endian.h: This.
57558         * sysdeps/i386/bits/byteswap.h: Removed.
57559         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57560         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57561         * sysdeps/x86/bits/byteswap.h: This.
57562         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57563         * sysdeps/x86/bits/byteswap-16.h: This.
57564         * sysdeps/i386/Implies: Add x86.
57565         * sysdeps/x86_64/Implies: Likewise.
57567 2012-05-30  David S. Miller  <davem@davemloft.net>
57569         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57570         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57571         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57572         (FP_TRAPPING_EXCEPTIONS): Define.
57573         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57574         (FP_TRAPPING_EXCEPTIONS): Define.
57575         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57576         subnormals only when inexact has been signalled or underflow
57577         exceptions are enabled.
57578         (_FP_PACK_CANONICAL): Likewise.
57580 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57582         [BZ #14183]
57583         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57584         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57586 2012-05-30  Richard Henderson  <rth@twiddle.net>
57588         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57589         with #ifndef NOT_IN_libc.
57591         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57592         marked to avoid plt entry.
57594 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57596         [BZ #14112]
57597         * Makeconfig (default-abi): New macro.
57598         (abi-includes): Likewise.
57599         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57600         $(abi-$(default-abi)-lib-soname) for soname if defined.
57601         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57602         abi-variants.
57603         * Makefile (installed-stubs): Likewise.
57604         * include/stubs-biarch.h: Removed.
57605         * scripts/lib-names.awk: Only handle one library at a time.
57606         * scripts/soversions.awk: Remove WORDSIZE support.
57607         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57608         entries.
57609         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57610         Removed.
57611         (syscall-list-default-condition): Likewise.
57612         (syscall-list-default-condition): Likewise.
57613         (syscall-list-includes): Likewise.
57614         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57615         syscall-list-* with abi-*.  Handle undefined abi-variants.
57616         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57617         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57618         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57619         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57620         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57621         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57622         Removed.
57623         (syscall-list-32-options): Likewise.
57624         (syscall-list-32-condition): Likewise.
57625         (syscall-list-64-options): Likewise.
57626         (syscall-list-64-condition): Likewise.
57627         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57628         macro.
57629         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57630         Renamed to ...
57631         (abi-*): This.
57632         (abi-64-ld-soname): New macro.
57633         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57634         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57635         Renamed to ...
57636         (abi-*): This.
57637         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57638         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57640 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57642         * sysdeps/unix/sysv/linux/kernel-features.h
57643         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57644         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57645         include <kernel-features.h>.
57646         [!__NR_ftruncate64]: Remove conditional code.
57647         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57648         [__NR_ftruncate64]: Make code unconditional.
57649         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57650         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57651         include <kernel-features.h>.
57652         [!__NR_ftruncate64]: Remove conditional code.
57653         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57654         [__NR_ftruncate64]: Make code unconditional.
57655         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57657         include <kernel-features.h>.
57658         [!__NR_ftruncate64]: Remove conditional code.
57659         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57660         [__NR_ftruncate64]: Make code unconditional.
57661         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57663         include <kernel-features.h>.
57664         [!__NR_ftruncate64]: Remove conditional code.
57665         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57666         [__NR_ftruncate64]: Make code unconditional.
57667         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57669         * configure.in (libc_cv_fpie): Weaken to a compile test using
57670         LIBC_TRY_CC_OPTION.
57671         * configure: Regenerated.
57673 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57679         Refreshed.
57680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57686         Refreshed.
57688 2012-05-27  David S. Miller  <davem@davemloft.net>
57690         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57691         (___Q_zero): New.
57692         (__Q_simulate_exceptions): Return void.  Change to simulate
57693         exceptions by writing into the %fsr.
57694         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57695         (__Qp_handle_exceptions): Likewise.
57696         (numbers): Delete.
57697         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57698         __Qp_handle_exceptions.
57699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57700         __Qp_handle_exceptions.
57701         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57702         as unused and give dummy FP_RND_NEAREST initializer.
57703         (FP_INHIBIT_RESULTS): Define.
57704         (___Q_simulate_exceptions): Update declaration.
57705         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57706         formatting.
57707         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57708         as unused and give dummy FP_RND_NEAREST initializer.
57709         (__Qp_handle_exceptions): Update declaration.
57710         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57711         formatting.
57713 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57715         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57716         the temporary FPU control word.
57717         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57718         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57719         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57720         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57721         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57722         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57723         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57724         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57725         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57726         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57727         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57729 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57731         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57732         fields.
57734 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57736         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57737         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57738         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57739         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57740         Likewise.
57741         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57742         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57743         Likewise.
57745 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57747         * po/h.po: Update from translation team.
57749 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57751         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57753         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57754         handling of denormals.
57755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57756         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57757         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57758         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57761         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57762         Likewise.
57764 2012-05-26  Marek Polacek  <polacek@redhat.com>
57766         [BZ #14152]
57767         * math/libm-test.inc (fma_test): Don't always expect underflow
57768         exception.
57770 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57772         [BZ #12416]
57773         * elf/tst-execstack.c: Include stackinfo.h.
57774         (do_test): Adjust test case to ensure that pthread_getattr_np
57775         behaviour remains the same after marking stack executable.
57777 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57779         * sysdeps/unix/sysv/linux/kernel-features.h
57780         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57781         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57782         kernel-features.h.
57783         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57784         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57785         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57786         kernel-features.h.
57787         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57788         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57790 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57792         * configure.in: Define the default includes to being none.
57793         * configure: Regenerated.
57795 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57797         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57798         * sysdeps/x86_64/setjmp.S: Likewise.
57799         * sysdeps/i386/bsd-setjmp.S: Likewise.
57800         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57801         * sysdeps/i386/setjmp.S: Likewise.
57802         * sysdeps/i386/__longjmp.S: Likewise.
57803         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57804         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57806         * include/stap-probe.h: New file.
57807         * configure.in: Handle --enable-systemtap.
57808         * configure: Regenerated.
57809         * config.h.in (USE_STAP_PROBE): New #undef.
57810         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57811         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57812         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57814 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57816         [BZ #13717]
57817         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57818         to 2.4.0 where earlier.
57819         * sysdeps/unix/sysv/linux/configure: Regenerated.
57820         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57821         <kernel-features.h>.
57822         [__ASSUME_32BITUIDS]: Make code unconditional.
57823         [!__ASSUME_32BITUIDS]: Remove conditional code.
57824         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57825         <kernel-features.h>.
57826         [__ASSUME_32BITUIDS]: Make code unconditional.
57827         [!__ASSUME_32BITUIDS]: Remove conditional code.
57828         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57829         [__ASSUME_32BITUIDS]: Make code unconditional.
57830         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57831         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57832         <kernel-features.h>.
57833         [__ASSUME_32BITUIDS]: Make code unconditional.
57834         [!__ASSUME_32BITUIDS]: Remove conditional code.
57835         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57836         <kernel-features.h>.
57837         [__ASSUME_32BITUIDS]: Make code unconditional.
57838         [!__ASSUME_32BITUIDS]: Remove conditional code.
57839         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57840         <kernel-features.h>.
57841         [__ASSUME_32BITUIDS]: Make code unconditional.
57842         [!__ASSUME_32BITUIDS]: Remove conditional code.
57843         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57844         <kernel-features.h>.
57845         [__ASSUME_32BITUIDS]: Make code unconditional.
57846         [!__ASSUME_32BITUIDS]: Remove conditional code.
57847         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57848         <kernel-features.h>.
57849         [__ASSUME_32BITUIDS]: Make code unconditional.
57850         [!__ASSUME_32BITUIDS]: Remove conditional code.
57851         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57852         <kernel-features.h>.
57853         [__ASSUME_32BITUIDS]: Make code unconditional.
57854         [!__ASSUME_32BITUIDS]: Remove conditional code.
57855         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57856         <kernel-features.h>.
57857         [__ASSUME_32BITUIDS]: Make code unconditional.
57858         [!__ASSUME_32BITUIDS]: Remove conditional code.
57859         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57860         <kernel-features.h>.
57861         [__ASSUME_32BITUIDS]: Make code unconditional.
57862         [!__ASSUME_32BITUIDS]: Remove conditional code.
57863         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57864         <kernel-features.h>.
57865         [__ASSUME_32BITUIDS]: Make code unconditional.
57866         [!__ASSUME_32BITUIDS]: Remove conditional code.
57867         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57868         <kernel-features.h>.
57869         [__ASSUME_32BITUIDS]: Make code unconditional.
57870         [!__ASSUME_32BITUIDS]: Remove conditional code.
57871         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57872         <kernel-features.h>.
57873         [__NR_setresgid] (__setresgid): Do not declare.
57874         [__ASSUME_32BITUIDS]: Make code unconditional.
57875         [!__ASSUME_32BITUIDS]: Remove conditional code.
57876         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57877         <kernel-features.h>.
57878         [__NR_setresuid] (__setresuid): Do not declare.
57879         [__ASSUME_32BITUIDS]: Make code unconditional.
57880         [!__ASSUME_32BITUIDS]: Remove conditional code.
57881         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57882         <kernel-features.h>.
57883         [__ASSUME_32BITUIDS]: Make code unconditional.
57884         [!__ASSUME_32BITUIDS]: Remove conditional code.
57885         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57886         <kernel-features.h>.
57887         [__ASSUME_32BITUIDS]: Make code unconditional.
57888         [!__ASSUME_32BITUIDS]: Remove conditional code.
57889         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57890         <kernel-features.h>.
57891         [__ASSUME_32BITUIDS]: Make code unconditional.
57892         [!__ASSUME_32BITUIDS]: Remove conditional code.
57893         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57894         <kernel-features.h>.
57895         [__ASSUME_32BITUIDS]: Make code unconditional.
57896         [!__ASSUME_32BITUIDS]: Remove conditional code.
57897         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57898         <kernel-features.h>.
57899         [__ASSUME_32BITUIDS]: Make code unconditional.
57900         [!__ASSUME_32BITUIDS]: Remove conditional code.
57901         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57902         <kernel-features.h>.
57903         [__ASSUME_32BITUIDS]: Make code unconditional.
57904         [!__ASSUME_32BITUIDS]: Remove conditional code.
57905         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57906         <kernel-features.h>.
57907         [__ASSUME_32BITUIDS]: Make code unconditional.
57908         [!__ASSUME_32BITUIDS]: Remove conditional code.
57909         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57910         <kernel-features.h>.
57911         [__ASSUME_32BITUIDS]: Make code unconditional.
57912         [!__ASSUME_32BITUIDS]: Remove conditional code.
57913         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57914         <kernel-features.h>.
57915         [__ASSUME_32BITUIDS]: Make code unconditional.
57916         [!__ASSUME_32BITUIDS]: Remove conditional code.
57917         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57918         <kernel-features.h>.
57919         [__ASSUME_32BITUIDS]: Make code unconditional.
57920         [!__ASSUME_32BITUIDS]: Remove conditional code.
57921         * sysdeps/unix/sysv/linux/kernel-features.h
57922         (__ASSUME_SETRESUID_SYSCALL): Remove.
57923         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57924         (__ASSUME_32BITUIDS): Likewise.
57925         (__ASSUME_LDT_WORKS): Likewise.
57926         (__ASSUME_O_DIRECTORY): Likewise.
57927         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57928         architecture but not kernel version.
57929         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57930         (__ASSUME_MMAP2_SYSCALL): Likewise.
57931         (__ASSUME_STAT64_SYSCALL): Likewise.
57932         (__ASSUME_IPC64): Likewise.
57933         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57934         <kernel-features.h>.
57935         [__ASSUME_32BITUIDS]: Make code unconditional.
57936         [!__ASSUME_32BITUIDS]: Remove conditional code.
57937         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57938         <kernel-features.h>.
57939         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57940         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57941         132096]: Remove conditional code.
57942         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57944         <kernel-features.h>.
57945         [__ASSUME_32BITUIDS]: Make code unconditional.
57946         [!__ASSUME_32BITUIDS]: Remove conditional code.
57947         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57948         <kernel-features.h>.
57949         [__ASSUME_32BITUIDS]: Make code unconditional.
57950         [!__ASSUME_32BITUIDS]: Remove conditional code.
57951         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57952         <kernel-features.h>.
57953         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57954         unconditional.
57955         (__setresgid): Do not declare.
57956         [__ASSUME_32BITUIDS]: Make code unconditional.
57957         [!__ASSUME_32BITUIDS]: Remove conditional code.
57958         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57959         <kernel-features.h>.
57960         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57961         unconditional.
57962         (__setresuid): Do not declare.
57963         [__ASSUME_32BITUIDS]: Make code unconditional.
57964         [!__ASSUME_32BITUIDS]: Remove conditional code.
57965         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57966         <kernel-features.h>.
57967         [__ASSUME_32BITUIDS]: Make code unconditional.
57968         [!__ASSUME_32BITUIDS]: Remove conditional code.
57969         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57970         <kernel-features.h>.
57971         [__ASSUME_32BITUIDS]: Make code unconditional.
57972         [!__ASSUME_32BITUIDS]: Remove conditional code.
57974 2012-05-25  Richard Henderson  <rth@twiddle.net>
57976         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57977         dl_hwcap to ifunc resolver.
57978         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57979         elf_ifunc_invoke.
57980         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57981         dl_hwcap to ifunc resolver.
57982         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57984 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57986         [BZ #14153]
57987         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57988         for |x| <= 2**-26, not 2**-57.
57989         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57990         exception.
57992 2012-05-24  Jeff Law  <law@redhat.com>
57994         * stdio-common/Makefile (tests): Add bug25.
57995         * stdio-common/bug25.c: New test.
57997 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57999         [BZ #13576]
58000         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58001         multiple of MALLOC_ALIGNMENT in size.
58002         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58004 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58006         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58007         Require >= 256.
58008         (FILENAME_MAX): Use macro-int-constant.
58009         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58010         (_IOFBF): Use macro-int-constant.
58011         (_IOLBF): Likewise.
58012         (_IONBF): Likewise.
58013         (SEEK_CUR): Likewise.
58014         (SEEK_END): Likewise.
58015         (SEEK_SET): Likewise.
58016         (TMP_MAX): Likewise.
58017         (EOF): Use macro-int-constant.  Require < 0.
58018         (NULL): Use macro-constant.  Require == 0.
58019         (stdin): Require type to be FILE *.
58020         (stdout): Likewise.
58021         (stderr): Likewise.
58022         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58023         macro-int-constant.
58024         (EXIT_SUCCESS): Likewise.
58025         (NULL): Use macro-constant.  Require == 0.
58026         (RAND_MAX): Use macro-int-constant.
58027         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58028         [C99-based standards] (strtof): Require function.
58029         [C99-based standards] (strtold): Likewise.
58030         [C99-based standards] (strtoll): Likewise.
58031         [C99-based standards] (strtoull): Likewise.
58032         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58033         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58034         [ISO || ISO99 || ISO11] (math.h): Likewise.
58035         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58036         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58039 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58041         [BZ #14132]
58042         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58043         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58044         * intl/dgettext.c (DCGETTEXT): Likewise.
58045         * intl/gettext.c (DCGETTEXT): Likewise.
58046         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58047         * posix/regex_internal.h (gettext): Likewise.
58048         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58049         Remove declaration.
58050         * include/argz.h (__argz_count_internal)
58051         (__argz_stringify_internal): Remove declaration.
58052         (__argz_count, __argz_stringify): Declare hidden proto.
58053         * intl/dcgettext.c: Remove use of INTDEF.
58054         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58055         * string/argz-stringify.c: Likewise.
58056         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58057         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58058         Declare hidden proto.
58059         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58060         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58061         Declare hidden proto.
58062         * include/stdio.h (__asprintf_internal): Don't declare.
58063         (__asprintf): Don't define as macro.  Declare hidden proto.
58064         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58065         (__fsetlocking): Declare hidden proto.
58066         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58067         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58068         hidden proto.
58069         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58070         (_IO_setlinebuf): Remove use of INTUSE.
58071         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58072         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58073         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58074         Remove declaration.
58075         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58076         (_IO_do_flush): Remove use of INTUSE.
58077         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58078         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58079         (_IO_adjust_column, _IO_least_wmarker)
58080         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58081         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58082         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58083         (_IO_default_doallocate, _IO_wdefault_doallocate)
58084         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58085         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58086         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58087         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58088         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58089         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58090         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58091         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58092         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58093         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58094         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58095         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58096         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58097         proto.
58098         (_IO_flush_all_internal, _IO_adjust_column_internal)
58099         (_IO_default_uflow_internal, _IO_default_finish_internal)
58100         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58101         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58102         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58103         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58104         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58105         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58106         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58107         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58108         (_IO_file_close_internal, _IO_file_close_it_internal)
58109         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58110         (_IO_file_init_internal, _IO_file_attach_internal)
58111         (_IO_file_fopen_internal, _IO_file_read_internal)
58112         (_IO_file_sync_internal, _IO_file_seek_internal)
58113         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58114         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58115         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58116         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58117         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58118         (_IO_list_all_internal, _IO_link_in_internal)
58119         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58120         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58121         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58122         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58123         (_IO_do_write_internal, _IO_padn_internal)
58124         (_IO_getline_info_internal, _IO_getline_internal)
58125         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58126         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58127         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58128         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58129         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58130         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58131         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58132         with libc_hidden_ver, remove use of INTUSE.
58133         * libio/genops.c: Likewise.
58134         * libio/freopen.c: Likewise.
58135         * libio/freopen64.c: Likewise.
58136         * libio/iofclose.c: Likewise.
58137         * libio/iofdopen.c: Likewise.
58138         * libio/iofflush.c: Likewise.
58139         * libio/iofflush_u.c: Likewise.
58140         * libio/iofgets.c: Likewise.
58141         * libio/iofgets_u.c: Likewise.
58142         * libio/iofopen.c: Likewise.
58143         * libio/iofopncook.c: Likewise.
58144         * libio/iofread.c: Likewise.
58145         * libio/iofread_u.c: Likewise.
58146         * libio/ioftell.c: Likewise.
58147         * libio/iofwrite.c: Likewise.
58148         * libio/iogetline.c: Likewise.
58149         * libio/iogets.c: Likewise.
58150         * libio/iogetwline.c: Likewise.
58151         * libio/iopadn.c: Likewise.
58152         * libio/iopopen.c: Likewise.
58153         * libio/ioseekoff.c: Likewise.
58154         * libio/ioseekpos.c: Likewise.
58155         * libio/iosetbuffer.c: Likewise.
58156         * libio/iosetvbuf.c: Likewise.
58157         * libio/ioungetc.c: Likewise.
58158         * libio/ioungetwc.c: Likewise.
58159         * libio/iovdprintf.c: Likewise.
58160         * libio/iovsprintf.c: Likewise.
58161         * libio/iovsscanf.c: Likewise.
58162         * libio/memstream.c: Likewise.
58163         * libio/obprintf.c: Likewise.
58164         * libio/oldfileops.c: Likewise.
58165         * libio/oldiofclose.c: Likewise.
58166         * libio/oldiofdopen.c: Likewise.
58167         * libio/oldiofopen.c: Likewise.
58168         * libio/oldiopopen.c: Likewise.
58169         * libio/oldstdfiles.c: Likewise.
58170         * libio/putc.c: Likewise.
58171         * libio/setbuf.c: Likewise.
58172         * libio/setlinebuf.c: Likewise.
58173         * libio/stdfiles.c: Likewise.
58174         * libio/strops.c: Likewise.
58175         * libio/vasprintf.c: Likewise.
58176         * libio/vscanf.c: Likewise.
58177         * libio/vsnprintf.c: Likewise.
58178         * libio/vswprintf.c: Likewise.
58179         * libio/wfiledoalloc.c: Likewise.
58180         * libio/wfileops.c: Likewise.
58181         * libio/wgenops.c: Likewise.
58182         * libio/wmemstream.c: Likewise.
58183         * libio/wstrops.c: Likewise.
58184         * libio/__fpurge.c: Likewise.
58185         * libio/__fsetlocking.c: Likewise.
58186         * assert/assert.c: Likewise.
58187         * debug/fgets_chk.c: Likewise.
58188         * debug/fgets_u_chk.c: Likewise.
58189         * debug/fread_chk.c: Likewise.
58190         * debug/fread_u_chk.c: Likewise.
58191         * debug/gets_chk.c: Likewise.
58192         * debug/obprintf_chk.c: Likewise.
58193         * debug/vasprintf_chk.c: Likewise.
58194         * debug/vdprintf_chk.c: Likewise.
58195         * debug/vsnprintf_chk.c: Likewise.
58196         * debug/vsprintf_chk.c: Likewise.
58197         * malloc/mtrace.c: Likewise.
58198         * misc/error.c: Likewise.
58199         * misc/syslog.c: Likewise.
58200         * stdio-common/asprintf.c: Likewise.
58201         * stdio-common/fxprintf.c: Likewise.
58202         * stdio-common/getw.c: Likewise.
58203         * stdio-common/isoc99_fscanf.c: Likewise.
58204         * stdio-common/isoc99_scanf.c: Likewise.
58205         * stdio-common/isoc99_vfscanf.c: Likewise.
58206         * stdio-common/isoc99_vscanf.c: Likewise.
58207         * stdio-common/isoc99_vsscanf.c: Likewise.
58208         * stdio-common/printf-prs.c: Likewise.
58209         * stdio-common/printf_fp.c: Likewise.
58210         * stdio-common/printf_fphex.c: Likewise.
58211         * stdio-common/printf_size.c: Likewise.
58212         * stdio-common/putw.c: Likewise.
58213         * stdio-common/scanf.c: Likewise.
58214         * stdio-common/sprintf.c: Likewise.
58215         * stdio-common/tmpfile.c: Likewise.
58216         * stdio-common/vfprintf.c: Likewise.
58217         * stdio-common/vfscanf.c: Likewise.
58218         * stdlib/strfmon_l.c: Likewise.
58219         * sunrpc/openchild.c: Likewise.
58220         * sunrpc/xdr_stdio.c: Likewise.
58221         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58222         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58224 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58226         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58228         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58229         in the third column, to generate for the shared library an IFUNC
58230         that uses _dl_vdso_vsym.
58231         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58232         * Makeconfig (object-suffixes-noshared): New variable.
58234         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58235         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58236         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58237         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58239         [BZ #14132]
58240         * include/sys/time.h (__gettimeofday): Remove macro.
58241         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58242         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58243         Remove INTDEF.
58244         (__gettimeofday): Add libc_hidden_def.
58245         (gettimeofday): Add libc_hidden_weak.
58246         * sysdeps/mach/gettimeofday.c: Likewise.
58247         * sysdeps/posix/gettimeofday.c: Likewise.
58248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58249         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58250         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58251         (__gettimeofday_internal): Remove strong_alias.
58252         (__gettimeofday): Add libc_hidden_def.
58253         (gettimeofday): Add libc_hidden_weak.
58254         * sysdeps/unix/syscalls.list (gettimeofday):
58255         Remove __gettimeofday_internal alias.
58257 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58258             H.J. Lu  <hongjiu.lu@intel.com>
58260         [BZ #12495]
58261         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58262         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58263         (largebin_index_32_big): New.
58264         (largebin_index): Use it for 16-byte alignment.
58265         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58266         correction with front_misalign.
58268 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58272         Likewise.
58273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58274         Likewise.
58275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58276         Likewise.
58277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58278         Likewise.
58279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58280         Likewise.
58281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58282         Likewise.
58283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58284         Likewise.
58285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58286         Likewise.
58287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58288         Likewise.
58289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58290         Likewise.
58291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58292         Likewise.
58293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58294         Likewise.
58296         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58297         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58299 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58301         [BZ #10846]
58302         [BZ #14036]
58303         * math/libm-test.inc (exp_test): Add test from bug 14036.
58304         (pow_test): Add test from bug 10846.
58306         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58307         and other flags.
58308         (special_function): Do not include flags in test name.
58309         (parse_args): Likewise.
58310         * sysdeps/i386/fpu/libm-test-ulps: Update.
58311         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58312         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58313         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58316         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58317         exceptions.
58318         * math/libm-test.inc ("Philosophy"): Update comment about
58319         exception testing.
58320         (UNDERFLOW_EXCEPTION): New macro.
58321         (UNDERFLOW_EXCEPTION_OK): Likewise.
58322         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58323         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58324         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58325         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58326         (INVALID_EXCEPTION_OK): Update value.
58327         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58328         (OVERFLOW_EXCEPTION_OK): Likewise.
58329         (IGNORE_ZERO_INF_SIGN): Likewise.
58330         (test_exceptions): Handle underflow exceptions.
58331         (acos_test): Update for underflow exception expectations.
58332         (cexp_test): Likewise.
58333         (clog_test): Likewise.
58334         (clog10_test): Likewise.
58335         (csqrt_test): Likewise.
58336         (ctan_test): Likewise.
58337         (ctanh_test): Likewise.
58338         (exp_test): Likewise.
58339         (exp10_test): Likewise.
58340         (exp2_test): Likewise.
58341         (expm1_test): Likewise.
58342         (fma_test): Likewise.
58343         (j0_test): Likewise.
58344         (jn_test): Likewise.
58345         (nexttoward_test): Likewise.
58346         (pow_test): Likewise.
58347         (scalbn_test): Likewise.
58348         (scalbln_test): Likewise.
58349         (tan_test): Likewise.
58350         (y1_test): Likewise.
58351         * sysdeps/i386/fpu/libm-test-ulps: Update.
58352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58354 2012-05-23  David S. Miller  <davem@davemloft.net>
58356         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58357         (__libc_sigaction): Remove unused local variables.
58359 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58361         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58363 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58365         mktime: avoid signed integer overflow
58366         * time/mktime.c (__mktime_internal): Do not mishandle the case
58367         where diff == INT_MIN.
58369         mktime: simplify computation of average
58370         * time/mktime.c (ranged_convert): Use new time_t_avg function
58371         instead of rolling our own (probably-slower) code.
58373         mktime: do not assume signed right shift propagates sign bit
58374         * time/mktime.c (isdst_differ): New static function.
58375         (__mktime_internal): No need to normalize tm_isdst now.
58376         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58377         tm_isdst values.
58379         mktime: merge another wrapv change from gnulib
58380         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58381         from some compilers.
58383         mktime: remove incorrect attempt at unusual arithmetics
58384         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58385         The code didn't really work on such machines anyway.
58386         (TYPE_MINIMUM): Assume two's complement.
58387         (twos_complement_arithmetic): Verify that long_int and time_t
58388         are two's complement (or unsigned, in the latter case).
58390         mktime: check signed shifts on long_int and time_t, too
58391         * time/mktime.c (SHR): Check that shifts work as desired
58392         on the types long_int and time_t too, as SHR is used on
58393         such types.
58395         mktime: do not assume 'long' is wide enough
58396         * time/mktime.c (verify): Move decl up.
58397         (long_int): New type.
58398         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58399         to remove assumption in the code that 'long' is wide enough to
58400         store year values.  This assumption is not true on x32 and on
58401         some non-glibc platforms.
58403         mktime: merge wrapv change from gnulib
58404         * time/mktime.c (WRAPV): New macro.
58405         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58406         (guess_time_tm, __mktime_internal): Do not assume that signed
58407         integer overflow wraps around; modern compilers generate code
58408         where this assumption is no longer valid.
58410 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58412         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58413         Replace "jmp L(pseudo_end)" with "ret".
58414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58415         Likewise.
58417 2012-05-23  Andreas Jaeger  <aj@suse.de>
58419         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58420         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58422 2012-05-23  Andreas Jaeger  <aj@suse.de>
58423             Maximilian Attems  <max@stro.at>
58425         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58426         New macros.
58428 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58431         code so that pseudo_end is just ret and the stack pointer is
58432         correct also for static library in error case.
58434 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58436         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58437         move to syscalls.list.
58438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58443         * manual/install.texi (Running make install): Do not mention Linux
58444         kernel version for which pt_chown is not needed.
58445         (Linux): Do not mention problems with nscd with 2.0 kernels.
58446         * INSTALL: Regenerated.
58448 2012-05-23  Andreas Jaeger  <aj@suse.de>
58450         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58451         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58452         macro.
58453         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58454         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58455         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58456         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58457         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58458         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58459         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58461         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58463         * sysdeps/unix/sysv/linux/bits/in.h
58464         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58466 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58468         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58469         (PREPARE_VERSION): Just use assert instead, it will be elided
58470         under [NDEBUG] anyway.
58472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58474         * sysdeps/unix/sysv/linux/Makefile: Include
58475         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58476         (sysdep_routines): Remove sysctl.
58477         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58478         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58479         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58480         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58481         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58483 2012-05-22  Andreas Jaeger  <aj@suse.de>
58485         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58486         that pseudo_end is just ret and the stack pointer is correct also
58487         for static library in error case.
58489 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58491         [BZ #14122]
58492         * nss/nsswitch.c (defconfig_entries): New variable.
58493         (__nss_database_lookup): Don't leak defconfig entries.
58494         (nss_parse_service_list): Don't leak on error paths.
58495         (free_database_entries): New function.
58496         (free_defconfig): New function.
58497         (free_mem): Move common code to free_database_entries.
58499 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58501         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58502         Add arch_prctl.
58503         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58505         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58506         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58508         New macro.
58509         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58510         (INTERNAL_SYSCALL_TYPES): Likewise.
58511         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58512         (LOAD_REGS_TYPES_[1-6]): Likewise.
58513         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58514         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58516 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58518         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58519         copysignl for GLIBC_2_0.
58520         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58521         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58523         logbl for GLIBC_2_0.
58524         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58525         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58530         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58532         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58533         Use "neg %eax".
58535         * time/mktime.c: Update copyright years.
58537 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58539         mktime: merge comment-quoting-style change from gnulib
58540         * time/mktime.c: Quote 'like this' in comments.
58541         The GNU coding standards suggest that we no longer quote `like this',
58542         as "`" and "'" are typically rendered asymmetrically nowadays.
58543         The typical gnulib style is to quote 'like this' when quoting
58544         code, and "like this" when quoting English.
58546         * time/mktime.c (compile-command): Add "-I.".
58548         mktime: merge mktime-internal.h change from gnulib
58549         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58551         mktime: merge time_r change from gnulib
58552         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58554         mktime: merge DEBUG change from gnulib
58555         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58556         case system <time.h> has a #define.
58558         mktime: merge <sys/types.h> change from gnulib
58559         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58560         since <time.t> is now guaranteed to define time_t.
58562         mktime: merge HAVE_CONFIG_H change from gnulib
58563         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58565 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58568         Use "neg %eax".
58570         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58571         __rlim_t cast.
58572         (struct rusage): Use anonymous union to pad each field to
58573         __syscall_slong_t.
58575 2012-05-21  David S. Miller  <davem@davemloft.net>
58577         * Makefules (o-iterator): Remove .s cases.
58578         (compile-command.s): Delete.
58579         (COMPILE.s): Delete.
58580         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58582 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58584         * configure.in (libc_cv_predef_stack_protector): Only consider
58585         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58586         * configure: Regenerated.
58588 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58591         New macro.  Use R*LP on int and pointer.
58592         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58593         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58594         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58595         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58597         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58598         [__WORDSIZE_TIME64_COMPAT32] instead of
58599         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58600         (struct utmp): Likewise.
58601         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58602         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58603         Renamed to ...
58604         (__WORDSIZE_TIME64_COMPAT32): This.
58605         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58606         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58607         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58608         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58609         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58610         (__WORDSIZE_TIME64_COMPAT32): New macro.
58612 2012-05-21  Andreas Jaeger  <aj@suse.de>
58614         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58615         only if [SHARED]. Add prototype for __wcschr_ia32.
58617 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58619         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58620         of %rbp unmolested in the jmp_buf while mangling the low bits.
58621         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58622         unmolested high bits of %rbp while demangling the low bits.
58623         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58625 2012-05-21  Andreas Jaeger  <aj@suse.de>
58627         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58628         * sunrpc/svc_simple.c: Use it for registerrpc.
58629         * sunrpc/xcrypt.c: Use it for passwd2des.
58631         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58633 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58635         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58636         Don't define if [__SYSCALL_WORDSIZE != 32].
58637         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58638         New macro.
58640 2012-05-21  Bruno Haible  <bruno@clisp.org>
58641             Andreas Jaeger  <aj@suse.de>
58643         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58644         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58645         inptr and inend for must_buffer_ch.
58646         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58647         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58648         * stdio-common/Makefile (tests): Remove bug15.
58649         (bug15-ENV): Remove macro.
58650         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58651         anymore.
58653 2012-05-19  Andreas Jaeger  <aj@suse.de>
58654             Roland McGrath  <roland@hack.frob.com>
58656         * manual/contrib.texi: Completely rewritten. It contains now an
58657         alphabetical list of contributors and their contributions.
58659 2012-05-21  Richard Henderson  <rth@twiddle.net>
58661         * misc/getauxval.c (__getauxval): Use unsigned long int.
58662         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58663         (getauxval): Use unsigned long int.
58665 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58667         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58669 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58671         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58672         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58673         __alignof__ (long double).
58675 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58679 2012-05-20  Richard Henderson  <rth@twiddle.net>
58681         * misc/getauxval.c: New file.
58682         * misc/sys/auxv.h: New file.
58683         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58684         (routines): Add getauxval.
58685         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58686         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58687         * elf/dl-sysdep.c (_dl_auxv): Remove.
58688         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58689         * elf/dl-support.c (_dl_auxv): New variable.
58690         (_dl_aux_init): Initialize it.
58691         * manual/startup.texi (Auxiliary Vector): New node.
58692         * sysdeps/generic/bits/hwcap.h: New file.
58693         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58694         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58695         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58696         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58697         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58700         Update.
58701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58710 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58714 2012-05-19  David S. Miller  <davem@davemloft.net>
58716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58718 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58720         [BZ #14123]
58721         * math/s_ccosh.c: Include <float.h>
58722         (__ccosh): Avoid internal overflow calculating sinh and cosh
58723         values before multiplying by sin and cos values.
58724         * math/s_ccoshf.c: Likewise.
58725         * math/s_ccoshl.c: Likewise.
58726         * math/s_csin.c: Likewise.
58727         * math/s_csinf.c: Likewise.
58728         * math/s_csinl.c: Likewise.
58729         * math/s_csinh.c: Likewise.
58730         * math/s_csinhf.c: Likewise.
58731         * math/s_csinhl.c: Likewise.
58732         * math/libm-test.inc (ccos_test): Add more tests.
58733         (ccosh_test): Likewise.
58734         (csin_test): Likewise.
58735         (csinh_test): Likewise.
58736         * sysdeps/i386/fpu/libm-test-ulps: Update.
58737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58739 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58741         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58742         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58744         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58746 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58748         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58749         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58750         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58751         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58752         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58753         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58754         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58755         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58756         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58757         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58758         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58759         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58760         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58761         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58762         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58763         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58764         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58765         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58766         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58767         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58768         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58769         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58770         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58771         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58772         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58773         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58774         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58775         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58776         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58777         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58778         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58780 2012-05-18  Andreas Jaeger  <aj@suse.de>
58782         * csu/.gitignore: Delete.
58784 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58786         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58787         (timex): Use __syscall_slong_t.
58789 2012-05-18  Andreas Jaeger  <aj@suse.de>
58790             Carlos O'Donell  <carlos_odonell@mentor.com>
58792         * manual/install.texi (Configuring and compiling): Update
58793         description about files modified in the source directory.
58794         * INSTALL: Regenerated.
58796 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58798         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58799         value.  Use "or" to set return value to -1.
58800         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58801         negate return value.
58803 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58805         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58806         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58807         failure if the compiler has Graphite support disabled.
58808         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58809         Likewise.
58810         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58811         (CFLAGS-memmove.c): Likewise.
58812         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58813         Likewise.
58815 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58817         * sysdeps/x86_64/x32/_itoa.h: New file.
58819         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58820         getdents system call only if kernel and user dirents have the
58821         same d_ino and d_off.
58823         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58824         LLONG_MAX != LONG_MAX.
58825         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58826         (_fitoa_word): Likewise.
58828         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58829         years.
58830         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58831         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58832         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58834         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58835         include <bits/wordsize.h>.  Check __x86_64__ instead of
58836         __WORDSIZE.
58837         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58838         if __x86_64__ is defined.  Use anonymous union on fpstate.
58840         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58841         anonymous union.
58843 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58845         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58846         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58847         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58848         Refer to _rtld_local_ro instead of _rtld_global_ro.
58849         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58850         Likewise.
58851         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58852         Likewise.
58853         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58854         Likewise.
58855         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58856         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58857         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58859         [BZ #10882]
58860         * sysdeps/powerpc/powerpc32/dl-machine.c
58861         (__elf_machine_runtime_setup) [PROF]: Don't reference
58862         _dl_prof_resolve.
58864 2012-05-18  Andreas Jaeger  <aj@suse.de>
58866         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58867         function only available for GCCs before 3.4 since GCC 3.4
58868         introduced a builtin.
58869         (lrint): Likewise.
58870         (llrintf): Likewise.
58871         (llrint): Likewise.
58872         (fmaxf): Likewise.
58873         (fmax): Likewise.
58874         (fminf): Likewise.
58875         (fmin): Likewise.
58876         (rint): Likewise.
58877         (rintf): Likewise.
58878         (nearbyint): Likewise.
58879         (nearbyintf): Likewise.
58880         (ceil): Likewise.
58881         (ceilf): Likewise.
58882         (floor): Likewise.
58883         (floorf): Likewise.
58885 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58887         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58888         on both fields and cast pointer to __syscall_ulong_t.
58890         * bits/types.h (__fsword_t): New type.
58891         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58892         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58893         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58894         (__FSWORD_T_TYPE): Likewise.
58895         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58896         (__FSWORD_T_TYPE): Likewise.
58897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58898         (__FSWORD_T_TYPE): Likewise.
58899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58900         (__FSWORD_T_TYPE): Likewise.
58901         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58902         __SWORD_TYPE with __fsword_t.
58903         (statfs64): Likewise.
58905 2012-05-17  David S. Miller  <davem@davemloft.net>
58907         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58909 2012-05-17  Andreas Jaeger  <aj@suse.de>
58911         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58912         warning.
58914 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58916         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58918 2012-05-17  Andreas Jaeger  <aj@suse.de>
58920         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58921         when it is used.
58923 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58925         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58927 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58929         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58930         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58932 2012-05-17  Andreas Jaeger  <aj@suse.de>
58933             Carlos O'Donell  <carlos_odonell@mentor.com>
58935         [BZ #14059]
58936         * sysdeps/x86_64/multiarch/init-arch.h
58937         (bit_YMM_Usable): Rename to...
58938         (bit_AVX_Usable): ... this.
58939         (bit_FMA4_Usable): New macro.
58940         (bit_XMM_state): New macro.
58941         (bit_YMM_state): New macro.
58942         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58943         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58944         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58945         (CPUID_OSXSAVE): New macro.
58946         (CPUID_AVX): New macro.
58947         (CPUID_FMA4): New macro.
58948         (index_YMM_Usable): Rename to...
58949         (index_AVX_Usable): ... this.
58950         (HAS_AVX): Use HAS_ARCH_FEATURE.
58951         (HAS_FMA4): Likewise.
58952         (HAS_YMM_USABLE): Remove.
58953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58954         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58955         are present.
58956         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58957         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58958         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58959         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58960         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58962 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58964         * math/libm-test.c: Support platforms without multiple rounding modes.
58965         * math/bug-nextafter.c: Support platforms without FP exceptions.
58966         * math/bug-nexttoward.c: Likewise.
58967         * math/test-fenv.c: Likewise.
58968         * math/test-misc.c: Likewise.
58969         * stdlib/bug-getcontext.c: Likewise.
58971 2012-05-17  Andreas Jaeger  <aj@suse.de>
58973         * manual/examples/search.c (critter_cmp): Change signature to
58974         avoid warnings.
58975         * manual/string.texi (Collation Functions): Likewise.
58977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58979         * bits/types.h: Fold copyright years.
58980         * bits/typesizes.h: Likewise.
58981         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58983         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58985         * time/time.h: Likewise.
58987 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58989         [BZ #208]
58990         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58991         in instead of returning them.  Return void.
58992         (__libc_mallinfo): Accumulate over all arenas.
58993         (__malloc_stats): Adjust for change in int_mallinfo interface.
58995 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58997         [BZ #10375]
58998         * configure.in (NM): Add AC_CHECK_TOOL for it.
58999         (libc_extra_cflags): New substituted variable.
59000         Check for -fstack-protector being used implicitly.
59001         * configure: Regenerated.
59002         * config.make.in (config-extra-cflags): New variable,
59003         gets @libc_extra_cflags@.
59004         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59006         [BZ #10375]
59007         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59008         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59009         * configure: Regenerated.
59010         * config.make.in (CPPUNDEFS): New substituted variable.
59011         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59012         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59013         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59017         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59018         (mq_attr): Use __syscall_slong_t.
59020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59022         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59023         Check __x86_64__ instead of __WORDSIZE.
59024         (_STAT_VER_LINUX): Likewise.
59025         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59026         __syscall_ulong_t and __syscall_slong_t.
59027         (stat64): Likewise.
59029 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59033 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59035         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59039         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59040         __syscall_ulong_t.
59042         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59043         include <bits/wordsize.h>.  Check __x86_64__ instead of
59044         __WORDSIZE.
59045         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59046         defined.
59047         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59049         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59050         include <bits/wordsize.h>.  Check __x86_64__ instead of
59051         __WORDSIZE.
59052         (user_regs_struct): Use "__extension__ unsigned long long"
59053         instead of "unsigned long" if __x86_64__ is defined.
59054         (user): Likewise.  Pad after pointer field if __ILP32__ is
59055         defined.
59057 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59059         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59060         versions 5 to 9.
59061         * configure: Regenerated.
59062         * manual/install.texi (texinfo): Increase version requirement to
59063         4.5 or later.
59064         * INSTALL: Regenerated.
59066         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59068 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59070         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59072         * sysdeps/x86_64/x32/ffs.c: New file.
59074         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59075         __syscall_ulong_t.
59076         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59077         defined.  Use __syscall_ulong_t.
59078         (shminfo): Use __syscall_ulong_t.
59079         (shm_info): Likewise.
59081         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59082         __syscall_ulong_t.
59084         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59085         <bits/wordsize.h>.
59086         (msgqnum_t): Use __syscall_ulong_t.
59087         (msglen_t): Likewise.
59088         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59089         __syscall_ulong_t.
59091         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59092         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59094         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59096         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59097         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59099         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59100         __syscall_slong_t.
59102         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59103         include <bits/wordsize.h>.  Check __x86_64__ instead of
59104         __WORDSIZE.
59106         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59107         "unsigned long long int" if __x86_64__ is defined.
59108         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59110         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59111         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59112         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59114         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59115         <stdint.h>.
59116         (GET_PC): Cast to uintptr_t first.
59117         (GET_FRAME): Likewise.
59118         (GET_STACK): Likewise.
59120         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59121         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59122         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59123         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59124         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59125         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59126         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59127         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59128         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59129         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59130         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59131         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59132         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59133         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59134         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59135         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59136         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59137         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59138         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59139         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59140         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59141         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59142         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59143         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59144         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59145         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59146         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59147         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59148         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59150 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59152         * Makerules (+depfiles): Also collect depfiles from .oS in
59153         $(extra-objs).
59154         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59155         .oS, $(libnldbl-routines)).
59157         * Makerules (native-compile-mkdep-flags): Define.
59158         * sunrpc/Makefile (extra-objs): Add $(addprefix
59159         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59160         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59161         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59162         calling $(make-target-directory).
59164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59166         * bits/types.h (__snseconds_t): Removed.
59167         * time/time.h (struct timespec): Replace __snseconds_t with
59168         __syscall_slong_t.
59169         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59170         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59171         Likewise.
59172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59173         (__SNSECONDS_T_TYPE): Likewise.
59174         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59175         (__SNSECONDS_T_TYPE): Likewise.
59176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59177         (__SNSECONDS_T_TYPE): Likewise.
59179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59181         * sysdeps/mach/hurd/bits/typesizes.h
59182         (__SYSCALL_SLONG_TYPE): New macro.
59183         (__SYSCALL_ULONG_TYPE): Likewise.
59185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59187         * bits/types.h (__syscall_slong_t): New type.
59188         (__syscall_ulong_t): Likewise.
59190         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59191         (__SYSCALL_ULONG_TYPE): Likewise.
59192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59193         (__SYSCALL_SLONG_TYPE): Likewise.
59194         (__SYSCALL_ULONG_TYPE): Likewise.
59195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59196         (__SYSCALL_SLONG_TYPE): Likewise.
59197         (__SYSCALL_ULONG_TYPE): Likewise.
59198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59199         (__SYSCALL_SLONG_TYPE): Likewise.
59200         (__SYSCALL_ULONG_TYPE): Likewise.
59202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59204         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59205         Add sigaltstack-offsets.sym.
59206         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59207         <sigaltstack-offsets.h>.
59208         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59209         longjmp_msg pointer.
59210         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59211         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59212         signal stack.
59213         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59215 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59217         * elf/stackguard-macros.h: Remove file.
59218         * sysdeps/generic/stackguard-macros.h: New file.
59219         * sysdeps/i386/stackguard-macros.h: Likewise.
59220         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59221         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59222         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59223         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59224         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59225         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59226         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59227         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59228         <elf/stackguard-macros.h>.
59230         [BZ #14109]
59231         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59232         __aligned__ in attribute.
59233         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59234         (gregset_t): Likewise.
59236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59238         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59239         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59240         * sysdeps/x86_64/x32/Implies-after: New file.
59242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59244         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59245         and access return value for _dl_profile_fixup.  Use R10_LP to
59246         load frame size.
59248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59250         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59254         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59255         * sysdeps/x86_64/x32/sysdep.h: New file.
59257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59259         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59260         * sysdeps/x86_64/setjmp.S: Likewise.
59262 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59264         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59265         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59266         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59267         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59268         remove unused global constant.
59270 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59272         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59273         include of <not-cancel.h>.
59275 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59277         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59279 2012-05-15  Jeff Law  <law@redhat.com>
59280             Andreas Jaeger  <aj@suse.de>
59282         [BZ #13594]
59283         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59284         out from...
59285         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59286         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59287         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59288         code changing __hst_map_handle.map.
59290 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59292         * configure.in (sysnames): Look for Implies-before and Implies-after
59293         files.
59294         * configure: Regenerated.
59296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59298         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59299         8-byte data alignment with LP_SIZE alignment.
59301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59304         into R10_LP.
59306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59308         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59312         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59313         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59314         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59315         Likewise.
59316         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59320         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59321         (stackinfo_sub_sp): Likewise.
59323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59326         RAX_LP.
59328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59330         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59331         into R*_LP.
59333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59335         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59336         sizes into R*_LP.
59338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59340         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59344         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59345         into R11_LP and load __x86_64_shared_cache_size_half into
59346         R8_LP.
59348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59350         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59351         R8_LP.
59353 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59356         logb for POWER7.
59357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59358         logbf for POWER7.
59359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59360         logbl for POWER7.
59361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59362         powerpc32/power7/fpu/s_logb.c via #include.
59363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59364         powerpc32/power7/fpu/s_logbf.c via #include.
59365         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59366         powerpc32/power7/fpu/s_logbl.c via #include.
59368 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59370         * README.libm: Remove file.
59372 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59374         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59375         count for x32.  Use R*_LP and omit operand-size suffix.
59377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59379         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59380         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59381         * sysdeps/x86_64/x32/shlib-versions: New file.
59383 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59385         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59386         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59387         Use _dl_fatal_printf instead.
59389 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59391         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59392         set if not set by the user.  Do not allow for being unset.
59393         * sysdeps/unix/sysv/linux/configure: Regenerated.
59395 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59397         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59398         the `q' suffix from lea and replace .quad with ASM_ADDR.
59400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59403         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59404         instead of $17.
59405         (PTR_DEMANGLE): Likewise.
59407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59409         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59410         (LP_OP): Likewise.
59411         (ASM_ADDR): Likewise.
59412         (RAX_LP): Likewise.
59413         (RBP_LP): Likewise.
59414         (RBX_LP): Likewise.
59415         (RCX_LP): Likewise.
59416         (RDI_LP): Likewise.
59417         (RSI_LP): Likewise.
59418         (RSP_LP): Likewise.
59419         (R8_LP): Likewise.
59420         (R9_LP): Likewise.
59421         (R10_LP): Likewise.
59422         (R10_LP): Likewise.
59423         (R11_LP): Likewise.
59424         (R12_LP): Likewise.
59425         (R13_LP): Likewise.
59426         (R14_LP): Likewise.
59427         (R15_LP): Likewise.
59429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59431         * sysdeps/x86_64/x32/dl-machine.h: New file.
59433 2012-05-14  Andreas Jaeger  <aj@suse.de>
59435         * manual/Makefile (subdir): Remove export of subdir.
59436         (all): Remove target.
59437         (.PHONY): Remove all from list.
59438         (mkinstalldirs): Remove.
59439         (.PHONY): Remove installdirs from list.
59440         ($(inst_infodir)/libc.info): Use make-target-directory.
59441         (installdirs): Remove.
59442         (subdir_%): Remove.
59443         (glibc-targets): Remove.
59444         (lib): Remove.
59445         (stubs): Remove.
59446         ($(objpfx)stubs ../po/manual.pot): Remove.
59447         ($(objpfx)stamp%): Remove.
59448         (make-target-directory): Remove.
59449         (subdir_install): Remove.
59450         (routines): Remove.
59451         (aux): Remove.
59452         (sources): Remove.
59453         (objects): Remove.
59454         (headers): Remove.
59456         [BZ #13750]
59457         * manual/.gitignore: Remove, it's not needed anymore.
59458         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59459         all files in it.
59460         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59461         directory.
59462         (texis): Renamed to $(objpfx)texis.
59463         (texis-path): New, contains path to generated files.
59464         (chapters.%): Use texis-path for complete path, add extra argument
59465         libc-texinfo.sh.
59466         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59467         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59468         (summary,texi, stamp-summary): Use complete path of
59469         files. Generate files in build dir.
59470         (dir-add.texi): Build in build dir.
59471         (libm-err.texi,stamp-libm-err): Likewise.
59472         (version.texi, stamp-version): Likewise.
59473         (.%c.texi): Likewise.
59474         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59475         (mostlyclean): Remove target.
59476         (realclean): Remove target.
59477         (generated): Add new variable with contents from mostlyclean and
59478         realclean, remove entries duplicated in common-mostlyclean, add
59479         stamp-libm-err and stamp-version.
59480         (generated-dirs): Add libc directory.
59481         ($(inst_infodir)/libc.info): Install files from build dir.
59483         * manual/install.texi (Configuring and compiling): Adjust since
59484         the info files are not part of the tar ball anymore.
59486 2012-05-14  Andreas Jaeger  <aj@suse.de>
59488         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59489         variable.
59491 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59493         [BZ #13717]
59494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59495         to 2.2.0 where earlier.
59496         * sysdeps/unix/sysv/linux/configure: Regenerated.
59497         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59498         Remove conditional code.
59499         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59500         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59501         Remove conditional code.
59502         [!__NR_lchown]: Likewise.
59503         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59504         [__NR_lchown]: Likewise.
59505         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59506         comment referencing __ASSUME_LCHOWN_SYSCALL.
59507         * sysdeps/unix/sysv/linux/i386/sigaction.c
59508         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59509         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59510         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59511         Remove conditional code.
59512         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59513         (__protocol_available): Remove #if 0 code.
59514         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59515         conditional code.
59516         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59517         * sysdeps/unix/sysv/linux/kernel-features.h
59518         (__ASSUME_GETCWD_SYSCALL): Don't define.
59519         (__ASSUME_REALTIME_SIGNALS): Likewise.
59520         (__ASSUME_PREAD_SYSCALL): Likewise.
59521         (__ASSUME_PWRITE_SYSCALL): Likewise.
59522         (__ASSUME_POLL_SYSCALL): Likewise.
59523         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59524         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59525         non-SPARC.
59526         (__ASSUME_SIOCGIFNAME): Don't define.
59527         (__ASSUME_MSG_NOSIGNAL): Likewise.
59528         (__ASSUME_SENDFILE): Define unconditionally.
59529         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59530         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59531         conditional code.
59532         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59533         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59534         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59535         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59536         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59537         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59538         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59540         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59543         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59546         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59552         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59553         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59555         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59556         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59558         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59561         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59562         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59563         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59564         Remove conditional code.
59565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59566         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59567         Remove conditional code.
59568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59569         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59570         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59571         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59572         Remove conditional code.
59573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59574         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59575         Remove conditional code.
59576         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59577         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59578         Remove conditional code.
59579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59580         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59581         Remove conditional code.
59582         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59583         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59584         Remove conditional code.
59585         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59586         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59587         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59588         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59589         * sysdeps/unix/sysv/linux/sigaction.c
59590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59592         * sysdeps/unix/sysv/linux/sigpending.c
59593         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59594         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59595         * sysdeps/unix/sysv/linux/sigprocmask.c
59596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59598         * sysdeps/unix/sysv/linux/sigsuspend.c
59599         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59600         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59601         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59602         (__libc_missing_rt_sigs): Remove.
59603         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59604         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59605         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59606         Remove conditional code.
59607         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59608         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59609         return 1.
59610         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59611         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59612         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59613         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59615 2012-05-14  Andreas Jaeger  <aj@suse.de>
59617         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59618         it's not used in glibc.
59619         (__coshm1): Likewise.
59620         (__acosh1p): Likewise.
59621         (__sgn): Likewise.
59623         * manual/string.texi (Copying and Concatenation): Add missing
59624         variable in concat example.
59625         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59629         [BZ #14103]
59630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59631         __builtin_clzl with __builtin_clzll.
59633 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59635         [BZ #14104]
59636         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59637         libc_freeres_ptr.
59639 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59641         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59642         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59643         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59644         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59646 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59648         * NEWS: Update ia64 info.
59650 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59652         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59653         used as bcopy.
59655 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59657         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59658         * sysdeps/unix/syscalls.list (dup3): Likewise.
59659         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59660         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59662 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59664         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59665         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59667 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59669         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59670         thread pointer.
59671         (TLS_IE): Use mov/add instead of movq/addq to load thread
59672         pointer.
59673         (TLS_GD_PREFIX): New.
59674         (TLS_GD): Use it.
59676 2012-05-11  David S. Miller  <davem@davemloft.net>
59678         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59679         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59680         (_FPU_SETCW): Likewise.
59682 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59684         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59685         is 32-byte aligned.
59687 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59689         [BZ #11837]
59690         * iconvdata/gb18030.c: Update tables.
59691         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59692         characters specially.
59693         (BODY for TO_LOOP): Add encoding of missing ranges.
59695 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59697         [BZ #13673]
59698         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59699         * sysdeps/mach/hurd/dup3.c: Likewise.
59700         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59701         * sysdeps/powerpc/memmove.c:: Likewise.
59703 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59705         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59706         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59708 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59710         * elf/elf.h (R_X86_64_RELATIVE64): New.
59711         (R_X86_64_NUM): Updated.
59712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59713         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59714         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59715         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59716         tst-quad1pie tst-quad2pie
59717         (modules-names): Add tst-quadmod1 tst-quadmod2.
59718         ($(objpfx)tst-quad1): New dependency.
59719         ($(objpfx)tst-quad2): Likewise.
59720         ($(objpfx)tst-quad1pie): Likewise.
59721         ($(objpfx)tst-quad2pie): Likewise.
59722         * sysdeps/x86_64/tst-quad1.c: New file.
59723         * sysdeps/x86_64/tst-quad1pie.c: New file.
59724         * sysdeps/x86_64/tst-quad2.c: Likewise.
59725         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59726         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59727         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59728         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59729         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59733         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59734         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59735         * streams/stropts.h (t_scalar_t): Define type.
59737         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59738         (_PATH_PRESERVE): Set to "/var/lib".
59739         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59741         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59742         instead of int.
59744         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59745         if __dir_mkfile succeeded.
59747         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59748         checking for _hurd_dtablesize.  Unlock it right after having
59749         finished _hurd_dtable allocation.
59751 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59753         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59754         * sysdeps/mach/hurd/configure: Regenerated.
59755         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59756         special-casing to...
59757         * sysdeps/gnu/configure.in: ... this new file.
59758         * sysdeps/unix/sysv/linux/configure: Regenerated.
59759         * sysdeps/gnu/configure: New generated file.
59761         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59762         for Linux: use nsec instead of usec, as well as:
59763         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59764         members of type struct timespec.
59765         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59766         New macros.
59767         (struct stat64): Likewise.
59768         (_STATBUF_ST_NSEC): New macro.
59769         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59771         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59772         __strtoul_internal rather than strtoul.
59774 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59776         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59777         and reject them.
59779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59781         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59782         which preserves existing values.
59783         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59785 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59787         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59788         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59789         greater than FD_SETSIZE.
59791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59793         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59794         allocated, call __vm_protect to finish enabling the existing space, and
59795         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59796         allocate the remainder.
59798 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59800         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59801         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59805         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59806         sysdeps/mach/hurd/readlink.c.
59808         * posix/tst-sysconf.c (posix_options): Only use
59809         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59810         _POSIX_SYNCHRONIZED_IO when they are defined
59811         * sysdeps/mach/hurd/bits/posix_opt.h:
59812         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59813         (_XOPEN_REALTIME): Undefine macro.
59814         (_XOPEN_REALTIME_THREADS): Undefine macro.
59815         (_XOPEN_SHM): Undefine macro.
59816         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59817         macro to -1.
59818         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59819         macro to -1.
59820         (_POSIX_ASYNC_IO): Undefine macro.
59821         (_POSIX_PRIORITIZED_IO): Undefine macro.
59822         (_POSIX_SPIN_LOCKS): Define macro to -1.
59824         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59825         SA_NODEFER, SA_RESETHAND.
59826         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59827         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59828         F_DUPFD_CLOEXEC.
59830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59832         * elf/Makefile (pldd-modules): Define unconditionally.
59834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59836         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59840         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59841         Return ENOENT when name is empty.
59842         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59844 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59846         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59848         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59852         Fix mlock in all cases except non-readable pages.
59853         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59854         instead of VM_PROT_ALL as parameter to __vm_wire function.
59856         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59857         (__mkdir): When path is `/', just fail with EEXIST.
59858         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59860 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59862         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59863         <sys/uio.h> (for writev).
59864         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59865         and <sys/param.h> (for MIN).
59867 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59869         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59870         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59871         if interrupted.
59873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59875         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59876         Depend on against $(link-rpcuserlibs).
59878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59880         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59881         (__libc_stack_end): Do not use attribute_relro.
59882         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59883         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59884         to libthread-provided value.
59885         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59886         attribute_relro.
59888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59890         [BZ #3748]
59891         * bits/libc-lock.h (__libc_once_get): New macro.
59892         * sysdeps/mach/bits/libc-lock.h: Likewise.
59893         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59894         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59895         instead of using implementation details.
59897         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59898         * libio/freopen.c: Likewise.
59899         * libio/freopen64.c: Likewise.
59900         * misc/syslog.c: Likewise.
59901         * nscd/connections.c: Likewise.
59902         * nscd/netgroupcache.c: Likewise.
59903         * sysdeps/posix/getcwd.c: Likewise.
59905 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59907         * math/w_ilogbf.c: Add #include <limits.h>.
59909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59911         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59912         path instead of returning without unlocking.
59914         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59915         immediate-write ioctls.
59916         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59920         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59921         __builtin_frame_address instead of making assumptions about the
59922         location of the return address relative to DATA.  Force early load of
59923         the return address.
59924         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59925         __builtin_frame_address.
59927         dup3 for GNU Hurd.
59928         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59929         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59930         implement dup3 and do some further code clean-ups.
59931         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59932         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59934 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59936         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59938         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59939         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59940         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59941         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59942         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59943         d->port.lock.
59945         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59946         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59947         when handler == SIG_ERR, not when handler != SIG_ERR.
59949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59951         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59952         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59953         definitions.
59955         accept4 for GNU Hurd.
59956         * include/sys/socket.h (__libc_accept4): New prototype.
59957         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59958         to implement __libc_accept4.
59959         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59960         __libc_accept4.
59961         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59963         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59964         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59965         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59966         signal-defines.sym.
59968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59970         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59972 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59974         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59975         assertion on O_CLOEXEC flag.
59976         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59977         * hurd/intern-fd.c: Likewise.
59978         * hurd/port2fd.c: Likewise.
59980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59982         [BZ #3906]
59983         * bits/in.h (IPV6_PKTINFO): Define new macro.
59984         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59986 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59988         [BZ #13954]
59989         [BZ #13955]
59990         [BZ #13956]
59991         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59992         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59993         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59994         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59996         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59997         * math/libm-test.inc (logb_test) : Additional logb tests.
59999 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60000             Andreas Jaeger  <aj@suse.de>
60002         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60003         * configure: Regenerated.
60004         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60005         * config.make.in (link-obsolete-rpc): New substituted variable.
60006         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60007         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60008         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60009         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60010         so that libc.a contains the symbols.
60011         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60012         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60013         * sunrpc/auth_none.c: Likewise.
60014         * sunrpc/auth_unix.c: Likewise.
60015         * sunrpc/authdes_prot.c: Likewise.
60016         * sunrpc/authuxprot.c: Likewise.
60017         * sunrpc/clnt_gen.c: Likewise.
60018         * sunrpc/clnt_perr.c: Likewise.
60019         * sunrpc/clnt_raw.c: Likewise.
60020         * sunrpc/clnt_simp.c: Likewise.
60021         * sunrpc/clnt_tcp.c: Likewise.
60022         * sunrpc/clnt_udp.c: Likewise.
60023         * sunrpc/clnt_unix.c: Likewise.
60024         * sunrpc/des_crypt.c: Likewise.
60025         * sunrpc/des_soft.c: Likewise.
60026         * sunrpc/get_myaddr.c: Likewise.
60027         * sunrpc/key_call.c: Likewise.
60028         * sunrpc/key_prot.c: Likewise.
60029         * sunrpc/netname.c: Likewise.
60030         * sunrpc/pm_getmaps.c: Likewise.
60031         * sunrpc/pm_getport.c: Likewise.
60032         * sunrpc/pmap_clnt.c: Likewise.
60033         * sunrpc/pmap_prot.c: Likewise.
60034         * sunrpc/pmap_prot2.c: Likewise.
60035         * sunrpc/pmap_rmt.c: Likewise.
60036         * sunrpc/publickey.c: Likewise.
60037         * sunrpc/rpc_cmsg.c: Likewise.
60038         * sunrpc/rpc_common.c: Likewise.
60039         * sunrpc/rpc_dtable.c: Likewise.
60040         * sunrpc/rpc_prot.c: Likewise.
60041         * sunrpc/rpc_thread.c: Likewise.
60042         * sunrpc/rtime.c: Likewise.
60043         * sunrpc/svc.c: Likewise.
60044         * sunrpc/svc_auth.c: Likewise.
60045         * sunrpc/svc_raw.c: Likewise.
60046         * sunrpc/svc_run.c: Likewise.
60047         * sunrpc/svc_tcp.c: Likewise.
60048         * sunrpc/svc_udp.c: Likewise.
60049         * sunrpc/svc_unix.c: Likewise.
60050         * sunrpc/svcauth_des.c: Likewise.
60051         * sunrpc/xcrypt.c: Likewise.
60052         * sunrpc/xdr.c: Likewise.
60053         * sunrpc/xdr_array.c: Likewise.
60054         * sunrpc/xdr_float.c: Likewise.
60055         * sunrpc/xdr_intXX_t.c: Likewise.
60056         * sunrpc/xdr_mem.c: Likewise.
60057         * sunrpc/xdr_rec.c: Likewise.
60058         * sunrpc/xdr_ref.c: Likewise.
60059         * sunrpc/xdr_sizeof.c: Likewise.
60060         * sunrpc/xdr_stdio.c: Likewise.
60062 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60065         change.  Update copyright years.
60067 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60069         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60071 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60072             Joseph Myers  <joseph@codesourcery.com>
60073             Paul Pluzhnikov  <ppluzhnikov@google.com>
60075         [BZ #14012]
60076         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60077         requiring rpcgen.
60078         [cross-compiling] (extra-libs): Likewise.
60079         [cross-compiling] (extra-libs-others): Likewise.
60080         [cross-compiling] (librpcsvc-routines): Likewise.
60081         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60082         [cross-compiling] (omit-deps): Likewise.
60083         (sunrpc-CPPFLAGS): New variable.
60084         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60085         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60086         (cross-rpcgen-objs): New variable.
60087         (extra-objs): Append $(cross-rpcgen-objs).
60088         ($(cross-rpcgen-objs)): New rule.
60089         ($(objpfx)cross-rpcgen): Likewise.
60090         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60091         comment.
60092         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60093         ($(objpfx)x%.stmp): Likewise.
60094         * sunrpc/proto.h [IS_IN_build] (_): Define.
60095         [IS_IN_build] (_libc_intl_domainname): Likewise.
60097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60100         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60101         and R_X86_64_TPOFF64.
60103 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60105         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60106         sysdeps/unix/sysv/syscalls.list.
60107         (stime): Likewise.
60108         (utime): Likewise.
60109         * sysdeps/unix/sysv/syscalls.list: Remove file.
60111 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60113         [BZ #3440]
60114         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60115         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60116         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60117         (__LC_IDENTIFICATION): Make these macros useful in #if
60118         expressions, as required by C99.
60120 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60122         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60123         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60124         after this.
60126 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60128         * stdlib/longlong.h: Updated from GCC.
60130 2012-05-09  Andreas Jaeger  <aj@suse.de>
60132         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60133         default is first entry.
60134         (run_mode): Set type.
60135         (main): Remove informal message about syslog.
60136         (options): Fix typo.
60138         [BZ #14053]
60139         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60140         to asm.
60141         (lrint): Likewise.
60142         (llrintf): Likewise.
60143         (llrint): Likewise.
60144         (rint): Likewise.
60145         (rintf): Likewise.
60146         (nearbyint): Likewise.
60147         (nearbyintf): Likewise.
60149 2012-05-09  Andreas Jaeger  <aj@suse.de>
60150             Pedro Alves  <palves@redhat.com>
60152         * nscd/nscd.c (run_mode): Use enum.
60153         (main): Cleanup coding style issue.
60155 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60156             Andreas Jaeger  <aj@suse.de>
60158         * nscd/nscd.c (go_background): Replaced with...
60159         (run_mode): ... this.
60160         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60161         (options): Add -F --foreground.
60162         (main): Implement it.
60163         (parse_opt): Parse it.
60165 2012-05-09  Andreas Jaeger  <aj@suse.de>
60167         [BZ #14083]
60168         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60169         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60170         -Wconversion warning.
60171         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60172         Likewise.
60174 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60176         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60177         == 0.
60178         (LC_ALL): Use macro-int-constant.
60179         (LC_COLLATE): Likewise.
60180         (LC_CTYPE): Likewise.
60181         (LC_MESSAGES): Likewise.
60182         (LC_MONETARY): Likewise.
60183         (LC_NUMERIC): Likewise.
60184         (LC_TIME): Likewise.
60185         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60186         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60187         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60188         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60189         Specify type.
60190         [C99-based standards] (float_t): Expect type.
60191         [C99-based standards] (double_t): Expect type.
60192         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60193         type.
60194         [C99-based standards] (HUGE_VALL): Likewise.
60195         [C99-based standards] (INFINITY): Likewise.
60196         [C99-based standards] (NAN): Likewise.
60197         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60198         [C99-based standards] (FP_NAN): Likewise.
60199         [C99-based standards] (FP_NORMAL): Likewise.
60200         [C99-based standards] (FP_SUBNORMAL): Likewise.
60201         [C99-based standards] (FP_ZERO): Likewise.
60202         [C99-based standards] (FP_FAST_FMA): Use
60203         optional-macro-int-constant.  Specify type.  Require == 1.
60204         [C99-based standards] (FP_FAST_FMAF): Likewise.
60205         [C99-based standards] (FP_FAST_FMAL): Likewise.
60206         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60207         [C99-based standards] (FP_ILOGBNAN): Likewise.
60208         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60209         Specify type.
60210         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60211         [C99-based standards] (math_errhandling): Specify type.
60212         [ISO99 || ISO11] (signgam): Do not allow.
60213         [non-C99-based standards] (copysignf): Do not allow.
60214         [non-C99-based standards] (exp2f): Likewise.
60215         [non-C99-based standards] (log2f): Likewise.
60216         [non-C99-based standards] (modff): Allow.
60217         [non-C99-based standards] (erff): Do not allow.
60218         [non-C99-based standards] (erfcf): Likewise.
60219         [non-C99-based standards] (gammaf): Likewise.
60220         [non-C99-based standards] (hypotf): Likewise.
60221         [non-C99-based standards] (j0f): Likewise.
60222         [non-C99-based standards] (j1f): Likewise.
60223         [non-C99-based standards] (jnf): Likewise.
60224         [non-C99-based standards] (lgammaf): Likewise.
60225         [non-C99-based standards] (tgammaf): Likewise.
60226         [non-C99-based standards] (y0f): Likewise.
60227         [non-C99-based standards] (y1f): Likewise.
60228         [non-C99-based standards] (ynf): Likewise.
60229         [non-C99-based standards] (isnanf): Likewise.
60230         [non-C99-based standards] (acoshf): Likewise.
60231         [non-C99-based standards] (asinhf): Likewise.
60232         [non-C99-based standards] (atanhf): Likewise.
60233         [non-C99-based standards] (cbrtf): Likewise.
60234         [non-C99-based standards] (expm1f): Likewise.
60235         [non-C99-based standards] (ilogbf): Likewise.
60236         [non-C99-based standards] (log1pf): Likewise.
60237         [non-C99-based standards] (logbf): Likewise.
60238         [non-C99-based standards] (nextafterf): Likewise.
60239         [non-C99-based standards] (remainderf): Likewise.
60240         [non-C99-based standards] (rintf): Likewise.
60241         [non-C99-based standards] (scalbf): Likewise.
60242         [non-C99-based standards] (copysignl): Likewise.
60243         [non-C99-based standards] (exp2l): Likewise.
60244         [non-C99-based standards] (log2l): Likewise.
60245         [non-C99-based standards] (modfl): Allow.
60246         [non-C99-based standards] (erfl): Do not allow.
60247         [non-C99-based standards] (erfcl): Likewise.
60248         [non-C99-based standards] (gammal): Likewise.
60249         [non-C99-based standards] (hypotl): Likewise.
60250         [non-C99-based standards] (j0l): Likewise.
60251         [non-C99-based standards] (j1l): Likewise.
60252         [non-C99-based standards] (jnl): Likewise.
60253         [non-C99-based standards] (lgammal): Likewise.
60254         [non-C99-based standards] (tgammal): Likewise.
60255         [non-C99-based standards] (y0l): Likewise.
60256         [non-C99-based standards] (y1l): Likewise.
60257         [non-C99-based standards] (ynl): Likewise.
60258         [non-C99-based standards] (isnanl): Likewise.
60259         [non-C99-based standards] (acoshl): Likewise.
60260         [non-C99-based standards] (asinhl): Likewise.
60261         [non-C99-based standards] (atanhl): Likewise.
60262         [non-C99-based standards] (cbrtl): Likewise.
60263         [non-C99-based standards] (expm1l): Likewise.
60264         [non-C99-based standards] (ilogbl): Likewise.
60265         [non-C99-based standards] (log1pl): Likewise.
60266         [non-C99-based standards] (logbl): Likewise.
60267         [non-C99-based standards] (nextafterl): Likewise.
60268         [non-C99-based standards] (remainderl): Likewise.
60269         [non-C99-based standards] (rintl): Likewise.
60270         [non-C99-based standards] (scalbl): Likewise.
60271         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60272         [non-C99-based standards] (FP_*): Do not allow.
60273         [C99-based standards] (FP_*): Change to
60274         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60275         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60276         allow.
60277         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60278         (SIG_ERR): Likewise.
60279         [X/Open-based standards] (SIG_HOLD): Likewise.
60280         (SIG_IGN): Likewise.
60281         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60282         positive value.
60283         (SIGFPE): Likewise.
60284         (SIGILL): Likewise.
60285         (SIGINT): Likewise.
60286         (SIGSEGV): Likewise.
60287         (SIGTER): Likewise.
60288         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60289         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60290         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60291         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60292         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60293         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60294         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60295         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60296         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60297         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60298         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60299         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60300         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60301         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60302         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60303         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60304         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60305         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60306         [X/Open-based standards] (SIGTRAP): Likewise.
60307         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60308         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60309         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60310         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60311         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60312         allow.
60314 2012-05-08  Ian Wienand  <ianw@vmware.com>
60316         [BZ #14080]
60317         * time/tzset.c (__tzset_parse_tz): Update default rules for
60318         daylight time changes in the Energy Policy Act of 2005.
60320 2012-05-09  Andreas Jaeger  <aj@suse.de>
60322         [BZ #13983]
60323         * elf/ldconfig.c (parse_conf): Change string to make clear that
60324         ldconfig only issued a warning if ld.so.conf does not exist.
60326 2012-05-08  David S. Miller  <davem@davemloft.net>
60328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60329         movxtod instead of popping the value on the stack.
60331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60333 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60335         * config.h.in: Add HAVE_ARM_PCS_VFP.
60337 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60339         [BZ #13979]
60340         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60341         checking but the checks are disabled for any reason.
60343 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60345         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60346         and ELF64_R_TYPE with ELFW(R_TYPE).
60348 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60350         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60351         (ulimit): Likewise.
60353         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60354         (settimeofday): Likewise.
60356 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60358         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60359         a struct th_u2 inside the union, and move tu_block/tu_code into
60360         a new th_u3 union of tu_block/tu_code inside of that.  Move
60361         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60362         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60363         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60364         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60365         (th_stuff): Change to th_u1.tu_stuff.
60366         (th_data): Define.
60367         (th_msg): Change to th_u1.th_u2.tu_data.
60369 2012-05-07  David S. Miller  <davem@davemloft.net>
60371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60373         [BZ #14074]
60374         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60375         (SETUP_PIC_REG): Use it.
60376         (SETUP_PIC_REG_LEAF): Use it.
60378 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60380         [BZ #13885]
60381         [BZ #13923]
60382         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60383         USE_AS_EXPM1L.
60384         (EXPL_FINITE): Likewise.
60385         (FLDLOG): Likewise.
60386         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60387         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60388         e_expl.S.
60389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60390         USE_AS_EXPM1L.
60391         (EXPL_FINITE): Likewise.
60392         (FLDLOG): Likewise.
60393         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60394         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60395         e_expl.S.
60396         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60397         test of -max_value argument for long double.
60398         * sysdeps/i386/fpu/libm-test-ulps: Update.
60399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60401 2012-05-06  David S. Miller  <davem@davemloft.net>
60403         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60404         quad soft-float symbols whose references which are compiler
60405         generated.
60406         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60408 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60410         [BZ #13884]
60411         [BZ #13914]
60412         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60413         USE_AS_EXP10L.
60414         (EXPL_FINITE): Likewise.
60415         (FLDLOG): Likewise.
60416         (c0): Likewise.
60417         (c1): Likewise.
60418         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60419         Adjust comments for base varying.
60420         (__expl_finite): Change alias to EXPL_FINITE.
60421         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60422         e_expl.S.
60423         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60424         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60425         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60426         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60427         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60428         USE_AS_EXP10L.
60429         (EXPL_FINITE): Likewise.
60430         (FLDLOG): Likewise.
60431         (c0): Likewise.
60432         (c1): Likewise.
60433         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60434         Adjust comments for base varying.
60435         (__expl_finite): Change alias to EXPL_FINITE.
60436         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60437         tests for bugs.
60438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60440         [BZ #14064]
60441         * math/libm-test.inc (check_float_internal): Correct ulp
60442         calculation for subnormal expected results.
60444 2012-05-06  Andreas Jaeger  <aj@suse.de>
60446         * Makeconfig (+math-flags): New, set to -frounding-math.
60447         (+cflags): Add +math-flags so that all of glibc gets compiled with
60448         it.
60450         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60452 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60454         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60455         Disable one test.
60457         [BZ #13787]
60458         [BZ #13922]
60459         [BZ #14036]
60460         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60461         (__ieee754_expl): Allow for and saturate large arguments.
60462         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60463         (u_threshold): Likewise.
60464         (__exp): Call __ieee754_exp before checking for overflow and
60465         underflow.
60466         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60467         (u_threshold): Likewise.
60468         (__expf): Call __ieee754_expf before checking for overflow and
60469         underflow.
60470         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60471         (u_threshold): Likewise.
60472         (__expl): Call __ieee754_expl before checking for overflow and
60473         underflow.
60474         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60475         (__ieee754_expl): Allow for and saturate large arguments.
60476         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60477         missing overflow exception on overflow.
60478         (expm1_test): Do not allow missing overflow exception on overflow.
60480         * sysdeps/i386/fpu/e_expl.c: Move to ...
60481         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60482         rather than using inline asm.
60483         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60484         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60485         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60487         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60488         (nice): Likewise.
60489         (poll): Likewise.
60490         (signal): Likewise.
60491         (time): Likewise.
60492         (times): Likewise.
60494 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60496         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60497         sysdeps/unix/common/syscalls.list.
60498         (fchmod): Likewise.
60499         (fchown): Likewise.
60500         (ftruncate): Likewise.
60501         (getrusage): Likewise.
60502         (gettimeofday): Likewise.
60503         (setpgid): Likewise.
60504         (setregid): Likewise.
60505         (setreuid): Likewise.
60506         (sigaction): Likewise.
60507         (truncate): Likewise.
60508         (vhangup): Likewise.
60509         * sysdeps/unix/common/syscalls.list: Remove file.
60510         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60511         * sysdeps/unix/sysv/linux/Implies: Likewise.
60513 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60515         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60517         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60518         Moved to ...
60519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60520         Here.
60521         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60522         to ...
60523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60524         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60525         to ...
60526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60527         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60528         to ...
60529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60530         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60531         to ...
60532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60533         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60534         to ...
60535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60536         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60537         to ...
60538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60539         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60540         to ...
60541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60542         Here.
60543         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60544         to ...
60545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60546         Here.
60547         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60548         to ...
60549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60550         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60551         Moved to ...
60552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60553         Here.
60554         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60555         to ...
60556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60558 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60560         * sysdeps/unix/common/bits/dirent.h: Remove file.
60561         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60563         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60564         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60565         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60566         * sysdeps/unix/bsd/isatty.c: Likewise.
60567         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60568         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60569         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60571 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60573         [BZ #13563]
60574         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60575         long double comparison inaccuracies.
60576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60579 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60581         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60582         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60584 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60586         [BZ #14049]
60587         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60588         nonzero digits before rounding a hex value.
60589         * stdlib/tst-strtod.c (tests): Add another test.
60591 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60593         * sysdeps/s390/fpu/libm-test-ulps: Update.
60595 2012-05-03  Andreas Jaeger  <aj@suse.de>
60597         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60598         does not get optimized out.
60599         (malloc_opt_barrier): New.
60601 2012-05-03  Andreas Jaeger  <aj@suse.de>
60602             Roland McGrath  <roland@hack.frob.com>
60604         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60605         intermediate file deletion.
60606         (generated): Add .symlist files.
60608 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60610         [BZ #13775]
60611         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60612         Redirect under this condition.
60613         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60614         [__USE_GNU] (__dprintf_chk): Not under this condition.
60615         [__USE_GNU] (__vdprintf_chk): Likewise.
60616         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60617         under this condition.
60618         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60619         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60620         [__USE_XOPEN2K8] (vdprintf): Likewise.
60621         [__USE_GNU] (__dprintf_chk): Not under this condition.
60622         [__USE_GNU] (__vdprintf_chk): Likewise.
60623         [__USE_GNU] (dprintf): Likewise.
60624         [__USE_GNU] (vdprintf): Likewise.
60626 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60628         * elf/Makefile (common-generated): Set this instead of generated for
60629         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60630         $(all-built-dso)-derived lists.
60632 2012-05-03  Andreas Jaeger  <aj@suse.de>
60634         * sysdeps/i386/fpu/libm-test-ulps: Update.
60636         * FAQ: Removed.
60637         * FAQ.in: Likewise.
60638         * scripts/gen-FAQ.pl: Likewise.
60639         * manual/install.texi (Installation): Point to online location of
60640         FAQ.
60641         * Makefile (files-for-dist): Remove FAQ.
60642         (FAQ): Remove.
60644 2012-05-02  Allan McRae  <allan@archlinux.org>
60646         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60647         (LDFLAGS-reldepmod5.so): Likewise.
60648         (LDFLAGS-reldep6mod1.so): Likewise.
60649         (LDFLAGS-reldep6mod4.so): Likewise.
60650         (LDFLAGS-reldep8mod3.so): Likewise.
60651         (LDFLAGS-unload4mod1.so): Likewise.
60652         (LDFLAGS-unload4mod2.so): Likewise.
60653         (LDFLAGS-tst-initorder): Likewise.
60654         (LDFLAGS-tst-initordera2.so): Likewise.
60655         (LDFLAGS-tst-initordera3.so): Likewise.
60656         (LDFLAGS-tst-initordera4.so): Likewise.
60657         (LDFLAGS-tst-initorderb2.so): Likewise.
60658         (LDFLAGS-noload): Likewise.
60659         (LDFLAGS-next): Likewise.
60660         (LDFLAGS-order2mod1.so): Likewise.
60661         (LDFLAGS-order2mod2.so): Likewise.
60662         (LDFLAGS-tst-initorder2): Likewise.
60663         (LDFLAGS-tst-initorder2a.so): Likewise.
60664         (LDFLAGS-tst-initorder2b.so): Likewise.
60665         (LDFLAGS-tst-initorder2c.so): Likewise.
60666         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60668 2012-05-02  David S. Miller  <davem@davemloft.net>
60670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60672 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60674         [BZ #14055]
60675         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60677 2012-05-02  Andreas Jaeger  <aj@suse.de>
60679         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60680         since we manipulate rounding mode.
60681         (CPPFLAGS-test-idouble.c): Likewise.
60682         (CPPFLAGS-test-ifloat.c): Likewise.
60683         (CFLAGS-test-ldouble.c): Likewise.
60684         (CFLAGS-test-double.c): Likewise.
60685         (CFLAGS-test-float.c): Likewise.
60686         (CFLAGS-test-misc.c): Likewise.
60687         (CFLAGS-test-test-fenv.c): Likewise.
60689 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60691         [BZ #2550]
60692         [BZ #2570]
60693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60694         comparisons to determine direction to adjust input.
60696 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60698         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60699         output to the target.
60701         * scripts/localplt.awk: New file.
60702         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60703         (check-localplt-CFLAGS): Variable removed.
60704         ($(all-built-dso:=.jmprel)): New static pattern rule.
60705         (generated): Add those targets.
60706         (localplt-built-dso): New variable.
60707         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60709         * elf/check-localplt.c: File removed.
60711         * scripts/check-execstack.awk: New file.
60712         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60713         (check-execstack-CFLAGS): Variable removed.
60714         ($(objpfx)check-execstack.h): Target removed.
60715         ($(objpfx)execstack-default): New target.
60716         (generated): Add that instead of check-execstack.h.
60717         ($(all-built-dso:=.phdr)): New static pattern rule.
60718         (generated): Add those targets.
60719         * elf/check-execstack.c: File removed.
60721         * scripts/check-textrel.awk: New file.
60722         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60723         (check-textrel-CFLAGS): Variable removed.
60724         (all-built-dso): Use := to define.o
60725         ($(all-built-dso:=.dyn)): New static pattern rule.
60726         (generated): Add those targets.
60727         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60728         * config.make.in (READELF): New substituted variable.
60729         * elf/check-textrel.c: File removed.
60731 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60733         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60734         allow.
60735         * conform/data/ctype.h-data [C99-based standards] (isblank):
60736         Expect function.
60737         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60738         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60740         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60741         Specify type.  Require positive value.
60742         (EILSEQ): Likewise.
60743         (ERANGE): Likewise.
60744         [ISO || POSIX] (EILSEQ): Do not expect.
60745         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60746         Specify type.  Require positive value.
60747         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60748         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60749         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60750         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60751         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60752         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60753         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60754         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60755         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60756         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60757         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60758         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60759         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60760         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60761         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60762         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60763         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60764         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60765         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60766         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60767         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60768         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60769         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60770         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60771         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60772         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60773         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60774         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60775         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60776         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60777         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60778         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60779         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60780         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60781         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60782         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60783         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60784         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60785         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60786         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60787         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60788         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60789         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60790         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60791         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60792         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60793         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60794         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60795         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60796         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60797         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60798         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60799         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60800         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60801         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60802         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60803         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60804         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60805         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60806         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60807         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60808         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60809         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60810         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60811         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60812         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60813         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60814         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60815         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60816         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60817         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60818         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60819         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60820         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60821         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60822         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60823         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60824         Require >= 2.
60825         (FLT_ROUNDS): Expect as macro, not constant.
60826         (FLT_MANT_DIG): Use macro-int-constant.
60827         (DBL_MANT_DIG): Likewise.
60828         (LDBL_MANT_DIG): Likewise.
60829         (FLT_DIG): Likewise.
60830         (DBL_DIG): Likewise.
60831         (LDBL_DIG): Likewise.
60832         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60833         (DBL_MIN_EXP): Likewise.
60834         (LDBL_MIN_EXP): Likewise.
60835         (FLT_MAX_EXP): Use macro-int-constant.
60836         (DBL_MAX_EXP): Likewise.
60837         (LDBL_MAX_EXP): Likewise.
60838         (FLT_MAX_10_EXP): Likewise.
60839         (DBL_MAX_10_EXP): Likewise.
60840         (LDBL_MAX_10_EXP): Likewise.
60841         (FLT_MAX): Use macro-constant.
60842         (DBL_MAX): Likewise.
60843         (LDBL_MAX): Likewise.
60844         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60845         (DBL_EPSILON): Likewise.
60846         (LDBL_EPSILON): Likewise.
60847         (FLT_MIN): Likewise.
60848         (DBL_MIN): Likewise.
60849         (LDBL_MIN): Likewise.
60850         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60851         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60852         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60853         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60854         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60855         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60856         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60857         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60858         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60859         [ISO11] (FLT_TRUE_MIN): Likewise.
60860         [ISO11] (LDBL_TRUE_MIN): Likewise.
60861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60862         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60863         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60864         (SCHAR_MAX): Likewise.
60865         (UCHAR_MAX): Likewise.
60866         (CHAR_MIN): Likewise.
60867         (CHAR_MAX): Likewise.
60868         (MB_LEN_MAX): Use macro-int-constant.
60869         (SHRT_MIN): Use macro-int-constant.  Specify type.
60870         (SHRT_MAX): Likewise.
60871         (USHRT_MAX): Likewise.
60872         (INT_MAX): Likewise.
60873         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60874         bound negative.
60875         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60876         bound with "U".
60877         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60878         bound with "L".
60879         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60880         bound negative.  Suffix upper bound with "L".
60881         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60882         bound with "UL".
60883         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60884         Specify type.
60885         [C99-based standards] (LLONG_MAX): Likewise.
60886         [C99-based standards] (ULLONG_MAX): Likewise.
60887         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60888         == 0.
60889         [ISO11] (max_align_t): Require type.
60890         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60892         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60893         from $CFLAGS, without defining away __attribute__ calls.
60894         (checknamespace): Use $CFLAGS_namespace.
60896         * conform/conformtest.pl (@keywords): Only include C99 keywords
60897         for standards based on C99 or C11.
60899         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60900         Disable tests.
60901         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60902         UNIX98]: Likewise.
60904         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60905         usability of symbols in #if.
60907         * conform/conformtest.pl: If macro or constant types start
60908         "promoted:", expect the symbol to be of the following type
60909         promoted by the integer promotions.
60911         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60912         in one place.  Also handle "macro-constant".
60914         * conform/conformtest.pl: Only accept expected macro values with
60915         "==".  Parse all "macro" lines in one place.
60916         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60918         * conform/conformtest.pl: Handle braced types on "constant" lines
60919         instead of handling "typed-constant".
60920         * conform/data/signal.h-data: Use "constant" instead of
60921         "typed-constant".
60923         * conform/conformtest.pl: Handle "optional-" at start of lines in
60924         one place rather than duplicating several cases.  Handle each
60925         format of "macro" line with initial "optional-".
60927         * conform/conformtest.pl: Only accept expected constant or
60928         optional-constant values with "==".  Parse all "constant" lines in
60929         one place.  Parse all "optional-constant" lines in one place.
60930         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60931         * conform/data/fmtmsg.h-data: Likewise.
60932         * conform/data/netinet/in.h-data: Likewise.
60933         * conform/data/tar.h-data: Likewise.
60934         * conform/data/limits.h-data: Use "==" form on "constant" and
60935         "optional-constant" lines.
60937         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60938         Use -std=c99 for XOPEN2K.
60939         (@knownproblems): Remove.
60940         (newtoken): Don't check %isknown.
60942         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60943         Do not expect macro.
60944         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60945         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60946         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60947         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60948         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60949         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60950         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60951         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60952         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60953         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60954         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60955         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60956         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60957         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60958         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60959         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60960         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60961         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60962         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60963         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60964         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60965         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60966         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60967         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60968         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60969         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60970         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60971         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60972         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60973         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60974         [XPG3] (acosh): Likewise.
60975         [XPG3] (asinh): Likewise.
60976         [XPG3] (atanh): Likewise.
60977         [XPG3] (cbrt): Likewise.
60978         [XPG3] (expm1): Likewise.
60979         [XPG3] (ilogb): Likewise.
60980         [XPG3] (log1p): Likewise.
60981         [XPG3] (logb): Likewise.
60982         [XPG3] (nextafter): Likewise.
60983         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60984         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60985         [XPG3] (remainder): Likewise.
60986         [XPG3] (rint): Likewise.
60987         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60988         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60989         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60990         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60991         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60992         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60993         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60994         [UNIX98 || XOPEN2K] (scalb): Expect.
60995         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60996         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60997         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60998         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60999         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61000         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61001         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61002         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61003         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61004         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61005         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61006         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61007         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61008         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61009         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61010         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61011         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61012         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61013         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61014         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61015         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61016         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61017         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61018         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61019         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61020         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61021         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61022         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61023         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61024         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61025         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61026         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61027         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61028         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61029         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61030         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61031         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61032         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61033         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61034         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61035         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61036         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61037         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61038         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61039         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61040         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61041         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61042         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61043         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61044         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61045         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61046         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61047         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61048         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61049         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61050         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61051         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61052         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61053         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61054         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61055         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61056         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61057         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61058         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61059         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61060         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61061         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61062         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61063         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61064         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61065         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61066         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61067         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61068         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61069         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61070         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61071         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61072         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61073         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61074         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61075         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61076         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61077         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61078         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61079         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61080         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61081         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61082         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61083         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61084         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61085         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61086         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61087         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61088         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61089         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61090         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61091         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61092         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61093         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61094         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61095         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61096         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61097         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61098         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61099         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61100         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61101         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61102         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61103         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61104         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61105         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61106         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61107         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61108         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61109         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61110         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61111         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61112         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61113         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61114         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61115         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61116         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61117         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61118         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61119         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61120         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61121         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61122         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61123         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61124         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61125         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61126         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61127         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61128         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61129         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61130         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61131         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61133         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61134         _XOPEN_SOURCE_EXTENDED for XPG4.
61136         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61138         * Makeconfig (localtime): Remove variable.
61139         (inst_localtime-file): Likewise.
61141 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61144         Update.
61145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61146         Update.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61148         Update.
61149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61150         Update.
61151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61152         Update.
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61154         Update.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61156         Update.
61157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61158         Update.
61159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61160         Update.
61162 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61164         [BZ #2550]
61165         [BZ #2570]
61166         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61167         comparisons to determine direction to adjust input.
61168         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61169         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61170         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61171         Likewise.
61172         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61173         Likewise.
61174         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61175         Likewise.
61176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61178         Likewise.
61179         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61180         Likewise.
61181         * math/libm-test.inc (nexttoward_test): Add more tests.
61183 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61185         [BZ #14040]
61186         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61187         in version GLIBC_2.1, not GLIBC_2.0.
61188         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61189         Likewise.
61191 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61193         [BZ #13942]
61194         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61195         (1 - x) * (1 + x).
61196         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61197         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61198         * math/libm-test.inc (acos_test): Add more tests.
61199         (asin_test): Likewise.
61200         * sysdeps/i386/fpu/libm-test-ulps: Update.
61201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61203         [BZ #14034]
61204         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61205         of square root.
61206         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61207         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61208         * math/libm-test.inc (acos_test_tonearest): New function.
61209         (acos_test_towardzero): Likewise.
61210         (acos_test_downward): Likewise.
61211         (acos_test_upward): Likewise.
61212         (asin_test_tonearest): Likewise.
61213         (asin_test_towardzero): Likewise.
61214         (asin_test_downward): Likewise.
61215         (asin_test_upward): Likewise.
61216         (main): Call the new functions.
61217         * sysdeps/i386/fpu/libm-test-ulps: Update.
61218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61220         [BZ #13884]
61221         [BZ #13924]
61222         * math/e_exp10.c: Include <float.h>.
61223         (__ieee754_exp10): Handle underflow here rather than multiplying
61224         large negative argument by M_LN10.
61225         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61226         of __ieee754_expf.
61227         * math/e_exp10l.c: Include <float.h>.
61228         (__ieee754_exp10l): Handle underflow here rather than multiplying
61229         large negative argument by M_LN10l.
61230         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61231         spurious overflow exception on underflow.
61233 2012-04-29  Marek Polacek  <polacek@redhat.com>
61235         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61236         (__fortify_function): New macro.
61237         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61238         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61239         __extern_always_inline.
61240         * libio/bits/stdio2.h: Likewise.
61241         * libio/bits/stdio.h: Likewise.
61242         * string/string.h: Likewise.
61243         * string/bits/string3.h: Likewise.
61244         * include/stdio.h: Likewise.
61245         * stdlib/bits/stdlib.h: Likewise.
61246         * stdlib/stdlib.h: Likewise.
61247         * rt/bits/mqueue2.h: Likewise.
61248         * rt/mqueue.h: Likewise.
61249         * posix/bits/unistd.h: Likewise.
61250         * posix/unistd.h: Likewise.
61251         * io/bits/poll2.h: Likewise.
61252         * io/bits/fcntl2.h: Likewise.
61253         * io/fcntl.h: Likewise.
61254         * io/sys/poll.h: Likewise.
61255         * misc/bits/syslog.h: Likewise.
61256         * misc/bits/syslog-ldbl.h: Likewise.
61257         * misc/sys/syslog.h: Likewise.
61258         * socket/bits/socket2.h: Likewise.
61259         * socket/sys/socket.h: Likewise.
61260         * debug/tst-chk1.c: Likewise.
61261         * wcsmbs/bits/wchar2.h: Likewise.
61262         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61263         * wcsmbs/wchar.h: Likewise.
61265 2012-04-29  Andreas Jaeger  <aj@suse.de>
61267         * Makerules (tests): Remove enable-check-abi protection.
61268         (check-abi-warn): Remove.
61269         (check-abi-%): Remove check-abi-warn usage.
61271         * configure.in: Remove check-abi configure option.
61272         * configure: Regenerated.
61273         * config.make.in (enable-check-abi): Remove.
61275 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61277         [BZ #14033]
61278         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61279         double functions to double *_finite functions.
61281         [BZ #13941]
61282         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61283         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61284         LDBL_MIN_EXP.
61285         * stdio-common/Makefile (tests): Add tst-sprintf3.
61286         * stdio-common/tst-sprintf3.c: New file.
61288         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61289         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61291 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61293         * conform/conformtest.pl: Remove duplicate typed-constant
61294         handling.
61296 2012-04-28  David S. Miller  <davem@davemloft.net>
61298         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61299         (check-abi-%): Remove AWK script prerequisite and explicit
61300         abilist directory.
61301         (check-abi): Rewrite to just diff the symlist with the abilist.
61302         (config-tls, config-abi-config): Delete, no longer used.
61303         (update-abi-%): Remove AWK script and explicit abilist directory.
61304         (update-abi): Rewrite to simply compare and conditionally copy the
61305         symlist and the sysdep abilist file.  Remove update-abi-config
61306         checks.
61307         * abilist/ld.abilist: Remove.
61308         * abilist/libBrokenLocale.abilist: Remove.
61309         * abilist/libanl.abilist: Remove.
61310         * abilist/libcrypt.abilist: Remove.
61311         * abilist/libdl.abilist: Remove.
61312         * abilist/librt.abilist: Remove.
61313         * abilist/libthread_db.abilist: Remove.
61314         * abilist/libutil.abilist: Remove.
61315         * scripts/extract-abilist.awk: Remove.
61316         * scripts/merge-abilist.awk: Remove.
61317         * sysdeps/generic/libcidn.abilist: New file.
61318         * sysdeps/generic/libnss_compat.abilist: New file.
61319         * sysdeps/generic/libnss_db.abilist: New file.
61320         * sysdeps/generic/libnss_dns.abilist: New file.
61321         * sysdeps/generic/libnss_files.abilist: New file.
61322         * sysdeps/generic/libnss_hesiod.abilist: New file.
61323         * sysdeps/generic/libnss_nis.abilist: New file.
61324         * sysdeps/generic/libnss_nisplus.abilist: New file.
61325         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61326         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61327         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61328         file.
61329         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61330         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61331         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61332         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61333         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61334         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61335         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61336         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61337         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61338         file.
61339         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61340         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61341         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61342         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61343         file.
61344         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61345         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61346         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61347         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61348         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61349         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61350         file.
61351         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61352         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61353         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61354         file.
61355         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61357         New file.
61358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61359         New file.
61360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61361         New file.
61362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61363         New file.
61364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61365         New file.
61366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61367         New file.
61368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61369         New file.
61370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61371         New file.
61372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61373         New file.
61374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61375         New file.
61376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61377         New file.
61378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61379         New file.
61380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61381         New file.
61382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61383         file.
61384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61385         New file.
61386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61387         New file.
61388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61389         file.
61390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61391         New file.
61392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61393         New file.
61394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61395         file.
61396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61397         New file.
61398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61399         New file.
61400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61401         New file.
61402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61403         New file.
61404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61405         New file.
61406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61407         New file.
61408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61410         file.
61411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61412         New file.
61413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61414         file.
61415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61416         file.
61417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61418         file.
61419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61420         file.
61421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61422         file.
61423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61424         New file.
61425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61426         file.
61427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61428         file.
61429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61430         New file.
61431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61432         file.
61433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61435         file.
61436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61437         New file.
61438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61439         file.
61440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61441         file.
61442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61443         file.
61444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61445         file.
61446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61447         file.
61448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61449         New file.
61450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61451         file.
61452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61453         file.
61454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61455         New file.
61456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61457         file.
61458         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61459         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61460         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61461         file.
61462         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61463         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61464         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61465         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61466         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61467         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61468         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61469         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61470         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61471         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61474         file.
61475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61476         New file.
61477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61478         file.
61479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61480         file.
61481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61482         file.
61483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61484         file.
61485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61486         file.
61487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61488         New file.
61489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61490         New file.
61491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61492         file.
61493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61494         New file.
61495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61496         file.
61497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61499         file.
61500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61501         New file.
61502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61503         file.
61504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61505         file.
61506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61507         file.
61508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61509         file.
61510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61511         file.
61512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61513         New file.
61514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61515         New file.
61516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61517         file.
61518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61519         New file.
61520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61521         file.
61523 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61525         * conform/conformtest.pl: Fix typo in handling typed-constant from
61526         allow-header.
61528 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61530         * README: Cut down references to pre-2.6 Linux kernels and
61531         Linuxthreads.  Update lists of configurations in libc and ports
61532         and sort alphabetically.  Say "or newer" with Linux kernel version
61533         requirements.
61535         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61537 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61539         [BZ #887]
61540         * math/libm-test.inc (logb_test_downward): New test to expose
61541         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61542         rounding mode.
61544 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61546         [BZ #14027]
61547         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61548         to be done.
61549         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61550         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61552 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61554         * sysdeps/unix/i386/brk.S: Remove file.
61555         * sysdeps/unix/i386/dl-brk.S: Likewise.
61556         * sysdeps/unix/i386/pipe.S: Likewise.
61557         * sysdeps/unix/i386/sigreturn.S: Likewise.
61558         * sysdeps/unix/i386/syscall.S: Likewise.
61559         * sysdeps/unix/i386/vfork.S: Likewise.
61560         * sysdeps/unix/i386/wait.S: Likewise.
61562         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61563         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61565         * configure.in (arm*-none*): Do not allow without
61566         --enable-hacker-mode.
61567         (netbsd*): Remove case setting base_os.
61568         (386bsd*): Likewise.
61569         (freebsd*): Likewise.
61570         (bsdi*): Likewise.
61571         (osf*): Likewise.
61572         (sunos*): Likewise.
61573         (ultrix*): Likewise.
61574         (newsos*): Likewise.
61575         (dynix*): Likewise.
61576         (*bsd*): Likewise.
61577         (sysv*): Likewise.
61578         (isc*): Likewise.
61579         (esix*): Likewise.
61580         (sco*): Likewise.
61581         (minix*): Likewise.
61582         (irix4*): Likewise.
61583         (irix6*): Likewise.
61584         (solaris[2-9]*): Likewise.
61585         (none): Likewise.
61586         * configure: Regenerated.
61588 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61590         [BZ #11521]
61591         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61592         overflow or cancellation in calculating denominator.
61593         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61595         down expression to avoid unexpected rounding in newer GCCs.
61596         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61598 2012-04-26  David S. Miller  <davem@davemloft.net>
61600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61601         long-double compat symbols.
61602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61616 2012-04-25  David S. Miller  <davem@davemloft.net>
61618         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61619         HWCAP_* values only after the memory barriers have been defined.
61620         (atomic_full_barrier): Define.
61621         (atomic_read_barrier): Define.
61622         (atomic_write_barrier): Define.
61624 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61626         * shlib-versions: Add libgcc_s version information.
61627         * sysdeps/generic/libgcc_s.h: Remove.
61628         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61629         libgcc_s.h.
61630         * sysdeps/gnu/unwind-resume.c: Likewise.
61631         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61633 2012-04-25  David S. Miller  <davem@davemloft.net>
61635         * sysdeps/unix/sparc/brk.S: Delete.
61636         * sysdeps/unix/sparc/dl-brk.S: Delete.
61637         * sysdeps/unix/sparc/pipe.S: Delete.
61638         * sysdeps/unix/sparc/sysdep.S: Delete.
61639         * sysdeps/unix/sparc/sysdep.h: Delete.
61640         * sysdeps/unix/sparc/vfork.S: Delete.
61641         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61642         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61643         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61644         (ret_ERRVAL, r0, r1, MOVE): Define.
61645         (JUMPTARGET): Remove.
61646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61647         sysdeps/unix/sparc/sysdep.h
61648         (ENTRY, END): Remove.
61649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61651 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61653         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61654         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61655         -DIS_IN_build.
61657         * timezone/README: Update upstream location and email address for
61658         tzcode and tzdata.
61659         * timezone/zdump.c: Update from tzcode 2012b.
61660         * timezone/zic.c: Likewise.
61662         * configure.in (libc_cv_as_needed): Remove test.
61663         * configure: Regenerated.
61664         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61665         conditional definition.
61666         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61667         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61668         * config.make.in (have-as-needed): Remove variable.
61670 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61671             Paul Pluzhnikov  <ppluzhnikov@google.com>
61673         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61674         strings correctly.
61676 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61678         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61679         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61680         * sysdeps/sh/strlen.S: Likewise.
61682 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61684         * sysdeps/unix/fork.S: Remove file.
61685         * sysdeps/unix/i386/fork.S: Likewise.
61686         * sysdeps/unix/sparc/fork.S: Likewise.
61688         * sysdeps/unix/system.c: Remove file.
61689         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61691         * sysdeps/unix/getegid.S: Remove file.
61692         * sysdeps/unix/geteuid.S: Likewise.
61694 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61696         * scripts/check-localplt.awk: New file.
61697         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61698         of diff.
61699         * scripts/data/localplt-generic.data: Add a comment.
61701         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61702         NODE when __dir_mkfile failed.
61703         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61704         Reported by Ludovic Courtès <ludo@gnu.org>.
61706 2012-04-24  Andreas Jaeger  <aj@suse.de>
61708         * Makerules (common-clean): Also remove gen-as-const-headers
61709         files.
61711 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61713         * Makerules (native-compile): Do not change working directory for
61714         build.  Use $(OUTPUT_OPTION) in command.
61715         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61717 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61719         [BZ #13886]
61720         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61721         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61722         * math/libm-test.inc (floor_test): Add more tests.
61723         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61725 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61727         * sysdeps/unix/getdents.c: Remove file.
61728         * sysdeps/unix/sysv/getdents.c: Likewise.
61729         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61731         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61732         sysdeps/unix/mman/syscalls.list.
61733         (mmap): Likewise.
61734         (mprotect): Likewise.
61735         (msync): Likewise.
61736         (munmap): Likewise.
61737         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61738         * sysdeps/unix/mman/syscalls.list: Remove.
61739         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61741         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61742         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61743         * configure: Regenerated.
61744         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61745         $(libgcc_s_suffix).
61746         * config.make.in (libgcc_s_suffix): Remove variable.
61748 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61750         * sysdeps/unix/sysv/gethostname.c: Move to ...
61751         * sysdeps/posix/gethostname.c: ... here.
61753         * sysdeps/unix/execve.S: Remove file.
61755         * sysdeps/unix/_exit.S: Remove file.
61757 2012-04-23  Andreas Jaeger  <aj@suse.de>
61759         [BZ #13739]
61760         * manual/Makefile: Remove make dist support, there's no
61761         need for a stand-alone documentation tar ball.
61762         (TEXI2DVI): Define always, it's not in Makeconfig.
61763         (dist): Removed.
61764         (tar-it): Removed.
61765         (edition): Removed.
61766         (glibc-doc-$(edition).tar): Removed
61767         (%.Z): Removed.
61768         (%.gz): Removed.
61769         (%.uu): Removed.
61770         (ETAGS): Remove, it's in Makeconfig.
61771         (move-if-change): Remove, it's in Makeconfig.
61773 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61775         [BZ #13970]
61776         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61777         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61778         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61779         (strtod_l, strtof_l, strtold_l): Remove __wur.
61780         It is not necessarily an error to ignore strtol's return value.
61781         One can reliably look at the stored endptr to decide whether
61782         the number had valid syntax.
61784 2012-04-21  Andreas Jaeger  <aj@suse.de>
61786         [BZ #13739]
61787         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61789 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61791         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61792         * sysdeps/unix/sysv/Versions: Remove file.
61794 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61796         [BZ #13927]
61797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61799 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61801         [BZ #7064]
61802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61803         version from __vm86.
61805 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61807         * sysdeps/unix/common/lxstat.c: Remove file.
61808         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61810         * sysdeps/unix/sysv/Makefile: Remove file.
61812         * sysdeps/unix/sysv/direct.h: Remove file.
61814         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61815         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61816         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61817         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61818         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61819         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61820         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61822         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61824         * sysdeps/unix/xmknod.c: Remove file.
61825         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61827         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61829         * sysdeps/unix/sysv/i386/time.S: Remove file.
61831         * sysdeps/unix/fxstat.c: Remove file.
61832         * sysdeps/unix/xstat.c: Likewise.
61833         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61835         * sysdeps/unix/sysv/sigaction.c: Remove file.
61837         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61838         (sysdep_headers): Remove variable.
61839         [termio.h not in sysdep_headers] (generated): Likewise.
61840         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61841         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61842         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61843         * sysdeps/unix/sysv/tcflow.c: Likewise.
61844         * sysdeps/unix/sysv/tcflush.c: Likewise.
61845         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61846         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61847         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61848         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61849         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61851         * sysdeps/unix/siglist.c: Remove file.
61853         * sysdeps/unix/getppid.S: Remove file.
61855         * sysdeps/unix/mkdir.c: Remove file.
61856         * sysdeps/unix/rmdir.c: Likewise.
61858 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61860         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61861         ERR_MAX value.
61862         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61863         errlist-compat value.
61865 2012-04-18  David S. Miller  <davem@davemloft.net>
61867         * sysdeps/generic/memcopy.h (reg_char): Delete.
61868         * debug/strcat_chk.c: Use char, not reg_char.
61869         * debug/strcpy_chk.c: Likewise.
61870         * debug/strncat_chk.c: Likewise.
61871         * debug/strncpy_chk.c: Likewise.
61872         * string/memchr.c: Likewise.
61873         * string/memrchr.c: Likewise.
61874         * string/rawmemchr.c: Likewise.
61875         * string/strcat.c: Likewise.
61876         * string/strchr.c: Likewise.
61877         * string/strchrnul.c: Likewise.
61878         * string/strcmp.c: Likewise.
61879         * string/strcpy.c: Likewise.
61880         * string/strncat.c: Likewise.
61881         * string/strncmp.c: Likewise.
61882         * string/strncpy.c: Likewise.
61884 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61886         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61887         __builtin_memcopy is called when src and dest ranges are known to not
61888         overlap.
61890 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61892         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61893         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61894         fwd_align_merge macro call.
61895         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61896         bwd_align_merge macro call.
61897         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61899 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61901         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61902         bwd_align_merge macros.
61903         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61904         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61905         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61907 2012-04-18  David S. Miller  <davem@davemloft.net>
61909         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61911 2012-04-18  Andreas Jaeger  <aj@suse.de>
61913         [BZ# 6794]
61914         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61915         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61916         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61918         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61919         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61920         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61922         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61923         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61924         Adjust for changed ldbl-128 files.
61926         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61927         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61928         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61930 2012-04-17  David S. Miller  <davem@davemloft.net>
61932         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61934 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61936         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61937         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61938         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61939         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61940         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61941         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61943 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61945         [BZ #6794]
61946         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61947         * math/libm-test.inc: Add ilogb errno and exception tests.
61948         * math/w_ilogb.c: New file: ilogb wrapper.
61949         * math/w_ilogbf.c: New file: ilogbf wrapper.
61950         * math/w_ilogbl.c: New file: ilogbl wrapper.
61951         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61952         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61953         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61954         exception being thrown with 0.0 as argument.
61955         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61956         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61957         exception being thrown with 0.0 as argument.
61958         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61959         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61960         exception being thrown with 0.0 as argument.
61961         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61962         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61963         exception being thrown with 0.0 as argument.
61964         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61965         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61966         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61967         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61968         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61969         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61970         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61971         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61972         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61974 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61976         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61977         with altivec.
61979 2012-04-16  Marek Polacek  <polacek@redhat.com>
61981         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61983 2012-04-16  Marek Polacek  <polacek@redhat.com>
61985         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61986         operands of fdivp instruction.
61988 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61990         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61991         * elf/tst-auditmod3b.c: Likewise.
61992         * elf/tst-auditmod4b.c: Likewise.
61993         * elf/tst-auditmod5b.c: Likewise.
61994         * elf/tst-auditmod6b.c: Likewise.
61995         * elf/tst-auditmod6c.c: Likewise.
61996         * elf/tst-auditmod7b.c: Likewise.
61997         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61998         * sysdeps/x86_64/preconfigure.in: Likewise.
61999         * sysdeps/x86_64/preconfigure: Regenerated.
62001 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62003         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62004         __ILP32__.
62006 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62009         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62011 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62013         [BZ #13973]
62014         * locale/iso-639.def: Fix gl language name. Spotted by
62015         Yaron Shahrabani.
62017 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62019         [BZ #2074]
62020         * libio/libio.h (__io_write_fn): Update comment.
62022 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62024         [BZ #2074]
62025         * stdio.texi (Hook Functions): The user provided writer function
62026         is not allowed to return -1.
62028 2012-04-11  David S. Miller  <davem@davemloft.net>
62030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62032 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62034         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62035         Add a leading slash to rtkaio.
62037 2012-04-11  Jim Meyering  <meyering@redhat.com>
62039         [BZ #11959]
62040         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62041         It is not necessarily an error to ignore fwrite's return
62042         value.  One can reliably use ferror to test for errors after
62043         the fact.
62045 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62047         * bits/types.h (__snseconds_t): New type.
62048         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62050         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62052         (__SNSECONDS_T_TYPE): Likewise.
62053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62054         (__SNSECONDS_T_TYPE): Likewise.
62055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62056         (__SNSECONDS_T_TYPE): Likewise.
62058 2012-04-10  Andreas Jaeger  <aj@suse.de>
62060         [BZ #2636]
62061         * manual/time.texi (Processor Time): Return type of times is
62062         elapsed real time since an arbitrary point in the past.
62063         (CPU Time): Move CLK_TCK from here...
62064         (Processor Time): ...to here.  Correct description.
62065         * manual/conf.texi (Constants for Sysconf): Correct description of
62066         _SC_CLK_TCK.
62068 2012-04-10  David S. Miller  <davem@davemloft.net>
62070         [BZ #13967]
62071         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62072         where the is a gap between DT_REL(A) and DT_JMPREL.
62074 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62076         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62077         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62078         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62080 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62082         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62083         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62084         (dl_main): Handle --inhibit-cache.
62085         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62086         _dl_inhibit_cache.
62087         * elf/dl-load.c (_dl_map_object): Use it.
62088         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62090 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62092         [BZ #13872]
62093         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62094         (__ieee754_powl): Saturate large exponents rather than testing for
62095         overflow of y*log2(x).
62096         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62097         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62098         exceptions.
62100         [BZ #11521]
62101         * math/s_ctan.c: Include <float.h>.
62102         (__ctan): Avoid internal overflow or cancellation in calculating
62103         denominator.
62104         * math/s_ctanf.c: Likewise.
62105         * math/s_ctanl.c: Likewise.
62106         * math/s_ctanh.c: Likewise.
62107         * math/s_ctanhf.c: Likewise.
62108         * math/s_ctanhl.c: Likewise.
62109         * math/libm-test.inc (ctan_test): Add more tests.
62110         (ctanh_test): Likewise.
62111         * sysdeps/i386/fpu/libm-test-ulps: Update.
62112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62114 2012-04-09  Andreas Jaeger  <aj@suse.de>
62116         [BZ #6894]
62117         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62118         is an optional BSD extension.
62120         [BZ #10254]
62121         * manual/stdio.texi (Opening Streams): Document additional fopen
62122         parameters.
62124 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62126         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62127         %eax without telling the compiler.
62129 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62131         [BZ # 13963]
62132         * manual/install.texi: Use sourceware.org.
62134 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62136         [BZ #13873]
62137         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62138         (__ieee754_pow): Generate overflow and underflow using huge*huge
62139         and tiny*tiny rather than just returning constant infinity or zero
62140         for large exponents.
62141         * math/libm-test.inc (pow_test): Require overflow exceptions for
62142         applicable cases of large exponents.
62144         [BZ #706]
62145         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62146         (__ieee754_pow): Use iterative multiplication algorithm only for
62147         integer exponents with absolute value below 1024.  Check for odd
62148         integer exponents when using algorithm for real exponents.
62149         * math/libm-test.inc (pow_test): Add more tests.
62150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62152 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62154         [BZ #13705]
62155         * math/libm-test.inc (exp_test): Do not allow overflow exception
62156         on underflow test.
62158 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62160         [BZ #13705]
62161         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62162         instead of __kernel_standard_f.
62164 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62166         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62167         * sysdeps/x86_64/memset_chk.S: Likewise.
62169 2012-04-08  Andreas Jaeger  <aj@suse.de>
62171         [BZ #10153]
62172         * manual/startup.texi (Environment Access): Describe return value
62173         for putenv and setenv.
62175         [BZ #6895]
62176         * manual/filesys.texi (Directory Entries): Add description for
62177         DT_LNK.
62179         [BZ #6890]
62180         * manual/filesys.texi (Directory Entries): Clarify that it's file
62181         system not operating system in the description of DT_UNKNOWN.
62183         [BZ #6578]
62184         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62186 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62188         [BZ #6649]
62189         * manual/llio.texi (Opening and Closing Files): Add cross
62190         reference to explain mode argument.
62192 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62194         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62195         * sysdeps/x86_64/memset_chk.S: Likewise.
62197 2012-04-07  David S. Miller  <davem@davemloft.net>
62199         * elf/elf.h (R_SPARC_WDISP10): Define.
62200         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62201         R_SPARC_SIZE32.
62202         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62203         R_SPARC_SIZE64 and R_SPARC_H34.
62205 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62207         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62208         conditions and remove no longer applicable assertion.
62210 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62212         * bits/byteswap.h: Include <features.h>.
62213         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62214         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62216 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62218         * bits/byteswap.h (__bswap_16): Removed.
62219         Include <bits/byteswap-16.h> to get __bswap_16.
62220         * sysdeps/i386/bits/byteswap.h: Likewise.
62221         * sysdeps/s390/bits/byteswap.h: Likewise.
62222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62223         * bits/byteswap-16.h: New file.
62224         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62225         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62226         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62227         * string/Makefile (headers): Add bits/byteswap-16.h.
62229 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62231         [BZ #13895]
62232         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62233         extra indirection.
62234         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62235         * nss/tst-nss-static.c: New.
62237 2012-04-06  Robert Millan  <rmh@gnu.org>
62239         [BZ #6486]
62240         * manual/llio.texi (File Position Primitive): lseek
62241         refers to WHENCE when it really means OFFSET.
62243 2012-04-06  Andreas Jaeger  <aj@suse.de>
62245         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62246         strncmp declarations.
62248         * abilist/libc.abilist: Add __poll and __ppoll.
62250 2012-04-05  David S. Miller  <davem@davemloft.net>
62252         * scripts/check-local-headers.sh: Accept a host triplet in the
62253         path matched by the exclude regexp.
62255         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62256         definition.
62257         * sysdeps/powerpc/powerpc32/dl-machine.h
62258         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62259         * sysdeps/s390/s390-32/dl-machine.h
62260         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62261         * sysdeps/sparc/sparc32/dl-machine.h
62262         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62263         * sysdeps/sparc/sparc64/dl-machine.h
62264         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62266         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62267         lazy binding.
62268         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62269         undefined symbol errors.
62271         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62272         DT_NEEDED entries.
62274 2012-04-05  Michael Matz  <matz@suse.de>
62276         [BZ #13592]
62277         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62279 2012-04-05  Andreas Jaeger  <aj@suse.de>
62281         [BZ #13908]
62282         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62283         comment.
62285 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62287         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62288         which ROUND is no valid rounding mode.
62290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62292         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62293         read again.
62294         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62298         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62299         an exception using FPU order intentionally.
62301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62303         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62304         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62305         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62306         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62308 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62310         [BZ #12340]
62311         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62312         EINVAL when BUFLEN is too smal.
62314 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62316         [BZ #13553]
62317         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62318         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62320 2012-04-03  Andreas Jaeger  <aj@suse.de>
62322         [BZ #13938]
62323         * manual/setjmp.texi (System V contexts): Fix sentence.
62325         [BZ #13926]
62326         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62327         New macro for this case.
62328         [!__GNUC__] (__bswap_64): New inline function for this case.
62329         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62330         * bits/byteswap.h: Likewise.
62331         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62332         ull, guard with __GLIBC_HAVE_LONG_LONG.
62334         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62335         __GLIBC_HAVE_LONG_LONG.
62337         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62338         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62340 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62342         [BZ #13691]
62343         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62344         inptr and inend, rather than using last_ch.
62346 2012-04-02  David S. Miller  <davem@davemloft.net>
62348         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62349         * stdio-common/printf-parse.h (read_int): Change return type to
62350         'int', return -1 on INT_MAX overflow.
62351         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62352         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62353         overflows INT_MAX.  Check for overflow of in-format-string precision
62354         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62355         SIZE_MAX not INT_MAX for integer overflow test.
62356         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62357         skip the construct in the format string but do not record anything.
62358         * stdio-common/bug22.c: Adjust to test both width/prevision
62359         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62360         explicitly for proper errno values.
62362 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62364         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62365         CHAR_MAX.
62366         * string/test-strcmp.c [! WIDE]: Likewise.
62367         * time/tst-mktime2.c: Likewise for INT_MAX.
62368         * string/test-string.h: #include <sys/param.h> for MIN.
62370         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62371         * sysdeps/i386/init-first.c (init): Likewise.
62372         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62373         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62374         * sysdeps/sh/init-first.c (init): Likewise.
62376 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62378         * po/ru.po: Update from translation team.
62379         * po/vi.po: Likewise.
62381 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62383         * resolv/nss_dns/dns-host.c: Merge copyright years.
62385 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62387         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62388         Optimize memcpy with prefetch if
62389         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62390         src, dst pointers have unequal 16 byte alignments.
62392 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62394         [BZ #13928]
62395         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62396         from a CNAME entry and return the minimum ttl for the query.
62397         (gaih_getanswer_slice): Likewise.
62399 2012-03-30  Jeff Law  <law@redhat.com>
62401         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62402         due to long keys.
62403         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62404         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62406         * resolv/nss_dns/dns-host.c: Update copyright year.
62408 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62410         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62411         requests to save a system call.  Fix check that all bytes are sent.
62413         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62414         comments for sendmmsg.
62416 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62418         [BZ #13691]
62419         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62420         with only 1 character between 0x0041 and 0x01b0.
62421         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62422         * wcsmbs/tst-mbsnrtowcs.c: New file.
62424 2012-03-29  David S. Miller  <davem@davemloft.net>
62426         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62427         small copies by hand.
62429 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62431         [BZ #13761]
62432         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62433         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62434         group memberships.
62436 2012-03-28  David S. Miller  <davem@davemloft.net>
62438         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62439         that branches into memcpy.
62440         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62441         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62443         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62445         bits.
62446         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62447         implementation too.
62448         * sysdeps/sparc/mempcpy.S: New file.
62450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62451         the IFUNC routine in the libc case.
62452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62454         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62455         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62456         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62457         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62458         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62459         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62460         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62461         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62463         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62464         loop to 256 bytes instead of 64 bytes and fix test signedness.
62466         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62467         * sysdeps/sparc/sparc32/Makefile: rather than here...
62468         * sysdeps/sparc/sparc64/Makefile: and here.
62470 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62472         * malloc/mallocbug.c: Avoid warnings about unused variables.
62474 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62476         [BZ #13760]
62477         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62478         in the right place. Discard and retry query if response is
62479         larger than input buffer size.
62481 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62483         [BZ #369]
62484         [BZ #2678]
62485         [BZ #3866]
62486         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62487         x for large integer exponent.
62488         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62489         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62490         sign of result as needed afterwards.
62491         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62492         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62493         result for underflowing pow the same as for overflow.
62494         (__kernel_standard_l): Handle powl overflow and underflow here
62495         rather than calling __kernel_standard.
62496         * math/libm-test.inc (pow_test): Add more tests.
62498         [BZ #3868]
62499         [BZ #13879]
62500         [BZ #13910]
62501         [BZ #13911]
62502         [BZ #13912]
62503         [BZ #13913]
62504         [BZ #13915]
62505         [BZ #13916]
62506         [BZ #13917]
62507         [BZ #13918]
62508         [BZ #13919]
62509         [BZ #13920]
62510         [BZ #13921]
62511         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62512         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62513         (__kernel_standard_l): New function.
62514         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62515         __kernel_standard.
62516         * math/w_acosl.c (__acosl): Likewise.
62517         * math/w_asinl.c (__asinl): Likewise.
62518         * math/w_atan2l.c (__atan2l): Likewise.
62519         * math/w_atanhl.c (__atanhl): Likewise.
62520         * math/w_coshl.c (__coshl): Likewise.
62521         * math/w_exp10l.c (__exp10l): Likewise.
62522         * math/w_exp2l.c (__exp2l): Likewise.
62523         * math/w_fmodl.c (__fmodl): Likewise.
62524         * math/w_hypotl.c (__hypotl): Likewise.
62525         * math/w_j0l.c (__j0l, __y0l): Likewise.
62526         * math/w_j1l.c (__j1l, __y1l): Likewise.
62527         * math/w_jnl.c (__jnl, __ynl): Likewise.
62528         * math/w_lgammal.c (__lgammal): Likewise.
62529         * math/w_log10l.c (__log10l): Likewise.
62530         * math/w_log2l.c (__log2l): Likewise.
62531         * math/w_logl.c (__logl): Likewise.
62532         * math/w_powl.c (__powl): Likewise.
62533         * math/w_remainderl.c (__remainderl): Likewise.
62534         * math/w_scalbl.c (sysv_scalbl): Likewise.
62535         * math/w_sinhl.c (__sinhl): Likewise.
62536         * math/w_sqrtl.c (__sqrtl): Likewise.
62537         * math/w_tgammal.c (__tgammal): Likewise.
62538         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62539         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62540         * math/libm-test.inc (acos_test): Add more tests.
62541         (acosh_test): Likewise.
62542         (asin_test): Likewise.
62543         (atanh_test): Likewise.
62544         (exp_test): Likewise.
62545         (exp10_test): Likewise.
62546         (exp2_test): Likewise.
62547         (expm1_test): Likewise.
62548         (lgamma_test): Likewise.
62549         (log_test): Likewise.
62550         (log10_test): Likewise.
62551         (log1p_test): Likewise.
62552         (log2_test): Likewise.
62553         (pow_test): Do not allow some spurious overflow exceptions.
62554         (sqrt_test): Add more tests.
62555         (tgamma_test): Likewise.
62556         (y0_test): Likewise.
62557         (y1_test): Likewise.
62558         (yn_test): Likewise.
62560 2012-03-27  Anton Blanchard  <anton@samba.org>
62562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62563         MAP_HUGETLB.
62564         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62565         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62566         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62568 2012-03-27  David S. Miller  <davem@davemloft.net>
62570         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62572         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62573         have-as-vis3 check.
62575 2012-03-27  Andreas Jaeger  <aj@suse.de>
62577         * sysdeps/x86_64/elf/configure.in: Moved to ...
62578         * sysdeps/x86_64/configure.in: ... here.
62579         * sysdeps/x86_64/elf/start.S: Moved to ...
62580         * sysdeps/x86_64/start.S: ... here.
62581         * sysdeps/x86_64/elf/configure: Delete.
62583         * sysdeps/x86_64/configure.in: Merge contents from
62584         sysdeps/i386/configure.in (without i686 check).
62586         * sysdeps/i386/elf/Versions: Merge into ...
62587         * sysdeps/i386/Versions: ... this.
62588         * sysdeps/i386/elf/Versions: Delete file.
62589         * sysdeps/i386/elf/start.S: Moved to ...
62590         * sysdeps/i386/start.S: ...here.
62591         * sysdeps/i386/elf/configure.in: Merge into...
62592         * sysdeps/i386/configure.in: ...here.
62593         * sysdeps/i386/elf/configure.in: Delete file.
62594         * sysdeps/i386/elf/configure: Delete file.
62596         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62597         * debug/backtracesyms.c: ... here.
62598         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62599         * debug/backtracesymsfd.c: ... here.
62600         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62601         * sysdeps/generic/ifunc-sel.h: ... here.
62603         * sysdeps/unix/i386/start.c: Delete file.
62604         * sysdeps/unix/sparc/start.c: Delete file.
62605         * sysdeps/unix/start.c: Delete file.
62607         * sysdeps/sh/elf/configure.in: Moved to ...
62608         * sysdeps/sh/configure.in: ... here.
62609         * sysdeps/sh/elf/start.S: Moved to ...
62610         * sysdeps/sh/start.S: ... here.
62611         * sysdeps/sh/elf/configure: Delete file.
62613         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62614         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62615         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62616         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62617         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62618         * sysdeps/powerpc/powerpc64/start.S: here.
62619         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62620         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62621         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62622         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62623         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62625         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62626         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62627         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62628         * sysdeps/powerpc/powerpc32/start.S: ... here.
62629         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62630         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62631         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62633         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62634         * sysdeps/powerpc/ifunc-sel.h: ... here.
62635         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62636         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62638         * sysdeps/sparc/elf/configure.in: Moved to ...
62639         * sysdeps/sparc/configure.in: ... here.
62640         * sysdeps/sparc/elf/configure: Delete file.
62641         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62642         * sysdeps/sparc/sparc32/start.S: ... here.
62643         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62644         * sysdeps/sparc/sparc64/start.S: ... here.
62645         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62646         * sysdeps/sparc/sparc32/Makefile: ... this.
62647         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62648         * sysdeps/sparc/sparc64/Makefile: ... this.
62650         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62651         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62652         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62653         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62654         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62655         * sysdeps/s390/s390-32/setjmp.S: ... here.
62656         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62657         * sysdeps/s390/s390-32/configure.in: ... here.
62658         * sysdeps/s390/s390-32/elf/configure: Delete file.
62659         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62660         * sysdeps/s390/s390-32/start.S: ... here.
62662         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62663         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62664         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62665         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62666         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62667         * sysdeps/s390/s390-64/setjmp.S: ... here.
62668         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62669         * sysdeps/s390/s390-64/configure.in: ... here
62670         * sysdeps/s390/s390-64/elf/configure: Delete file.
62671         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62672         * sysdeps/s390/s390-64/start.S: ... here.
62673         * sysdeps/s390/s390-64/elf/configure: Delete.
62675         * configure.in: Remove support for elf directories in sysdeps.
62677         * configure: Regenerated.
62678         * sysdeps/i386/configure: Regenerated.
62679         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62680         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62681         * sysdeps/s390/s390-32/configure: Regenerated.
62682         * sysdeps/s390/s390-64/configure: Regenerated.
62683         * sysdeps/sh/configure: Regenerated.
62684         * sysdeps/sparc/configure: Regenerated.
62685         * sysdeps/x86_64/configure: Regenerated.
62687 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62692         denormal result into account.
62694 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62696         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62697         Reported by Allan McRae <allan@archlinux.org>.
62699 2012-03-23  Jeff Law  <law@redhat.com>
62701         * nss/getnssent.c (__nss_getent): Fix typo.
62703 2012-03-23  David S. Miller  <davem@davemloft.net>
62705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62707 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62709         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62710         to pad to uint64_t for each field.
62711         (dl_tls_index): Replace unsigned long with uint64_t.
62713 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62714         Paul Pluzhnikov  <ppluzhnikov@google.com>
62716         [BZ #6528]
62717         * grp/Makefile (otherlibs): Don't set it.
62718         * inet/Makefile (otherlibs): Likewise.
62719         * login/Makefile (otherlibs): Likewise.
62720         * nscd/Makefile (otherlibs): Likewise.
62721         * posix/Makefile (otherlibs): Likewise.
62722         * pwd/Makefile (otherlibs): Likewise.
62723         * rt/Makefile (otherlibs): Likewise.
62724         * sunrpc/Makefile (otherlibs): Likewise.
62725         * nss/Makefile (otherlibs): Likewise.
62726         Add libnss_files to routines and static-only-routines.
62727         ($(objpfx)getent): Remove rule.
62728         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62729         static-only-routines.
62731 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62733         [BZ #13892]
62734         * math/s_cexp.c: Include <float.h>.
62735         (__cexp): Handle exp result overflowing not necessarily
62736         overflowing both real and imaginary parts of result.
62737         * math/s_cexpf.c: Likewise.
62738         * math/s_cexpl.c: Likewise.
62739         * math/libm-test.inc (cexp_test): Add more tests.
62740         * sysdeps/i386/fpu/libm-test-ulps: Update.
62741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62745         * include/link.h (ELFW): New macro.
62746         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62747         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62749 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62751         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62752         with uint64_t.
62754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62756         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62757         declaration.
62758         (struct La_x32_retval): Likewise.
62760 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62762         * sysdeps/x86_64/preconfigure.in: New file.
62763         * sysdeps/x86_64/preconfigure: New generated file.
62765 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62767         [BZ #13824]
62768         * math/e_exp2l.c: Include <float.h>.
62769         (__ieee754_exp2l): Handle overflow and underflow cases
62770         separately.  Only pass fractional part of argument to
62771         __ieee754_expl.
62772         * math/libm-test.inc (exp2_test): Add more tests.
62774         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62775         negating x to take absolute value.
62776         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62777         Likewise.
62778         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62779         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62780         Likewise.
62781         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62782         computing low part if x was negated.
62783         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62785 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62787         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62788         la_x32_gnu_pltexit.
62789         (pltexit): Cast int_retval to ptrdiff_t.
62790         * elf/tst-auditmod3b.c: Likewise.
62791         * elf/tst-auditmod4b.c: Likewise.
62792         * elf/tst-auditmod5b.c: Likewise.
62793         * elf/tst-auditmod6b.c: Likewise.
62794         * elf/tst-auditmod6c.c: Likewise.
62795         * elf/tst-auditmod7b.c: Likewise.
62797         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62798         and x32_gnu_pltexit.
62800         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62801         __ELF_NATIVE_CLASS.
62802         (La_x32_regs): New macro.
62803         (La_x32_retval): Likewise.
62804         (la_x32_gnu_pltenter): New function prototype.
62805         (la_x32_gnu_pltexit): Likewise.
62807 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62809         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62810         exponent.
62812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62814         * configure.in (libc_cv_cc_nofma): Check for option to disable
62815         generation of FMA instructions.
62816         * configure: Regenerate.
62817         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62818         * sysdeps/ieee754/dbl-64/Makefile: New file.
62819         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62820         Remove brandred-fma4.
62821         (CFLAGS-brandred-fma4.c): Remove.
62822         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62823         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62824         define.
62825         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62826         define.
62828 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62830         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62831         LLONG_MAX != LONG_MAX.
62832         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62833         (_fitoa_word): Likewise.
62834         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62835         LLONG_MAX != LONG_MAX.
62836         * stdio-common/_itowa.h: Include <_itoa.h>.
62837         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62838         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62839         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62840         only if not defined.
62841         (_ITOA_WORD_TYPE): Likewise.
62842         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62843         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62845 2012-03-21  David S. Miller  <davem@davemloft.net>
62847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62849 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62851         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62852         of x86_64 when setting libc_cv_slibdir, libdir and
62853         libc_cv_localedir.
62854         * sysdeps/unix/sysv/linux/configure: Regenerated.
62856 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62858         * manual/lang.texi (Old Varargs): Remove section.
62859         (How Variadic): Update menu.
62860         (va_start): Do not mention varargs.h.
62862 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62863             Joseph Myers  <joseph@codesourcery.com>
62865         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62866         link test.
62867         * configure: Regenerated.
62869 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62871         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62872         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62873         conformtest.pl
62875 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62877         * NOTES: Remove.
62878         * Makefile (files-for-dist): Remove NOTES.
62879         (NOTES): Remove rule.
62880         * README: Don't refer to NOTES.
62881         * manual/creature.texi: Don't include macros.texi.
62882         * manual/intro.texi (creature.texi): Remove comment referring to
62883         NOTES.
62885         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62886         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62887         * configure: Regenerated.
62888         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62889         LIBC_TRY_CC_OPTION.
62890         (libc_cv_as_i686): Likewise.
62891         (libc_cv_cc_avx): Likewise.
62892         (libc_cv_cc_sse2avx): Likewise.
62893         (libc_cv_cc_fma4): Likewise.
62894         (libc_cv_cc_novzeroupper): Likewise.
62895         * sysdeps/i386/configure: Regenerated.
62897         [BZ #13883]
62898         * sysdeps/i386/fpu/s_cexp.S: Remove.
62899         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62900         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62901         * math/libm-test.inc (cexp_test): Add more tests.
62902         * sysdeps/i386/fpu/libm-test-ulps: Update.
62903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62905 2012-03-21  Allan McRae  <allan@archlinux.org>
62907         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62909 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62911         [BZ #13871]
62912         * math/w_exp2.c: Do not include <float.h>.
62913         (o_threshold, u_threshold): Remove.
62914         (__exp2): Calculate result before checking finiteness and calling
62915         __kernel_standard.
62916         * math/w_exp2f.c: Likewise.
62917         * math/w_exp2l.c: Likewise.
62918         * math/libm-test.inc (exp2_test): Require overflow exception for
62919         1e6 input.
62921         [BZ #3866]
62922         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62923         range of signed 64-bit integers before using fistpll.  Remove
62924         checks for whether integers fit in mantissa bits.
62925         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62926         the range of signed 32-bit integers before using fistpl.  Remove
62927         checks for whether integers fit in mantissa bits.
62928         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62929         (__ieee754_powl): Test for y outside the range of signed 64-bit
62930         integers before using fistpll.  Reduce 64-bit values to 63-bit
62931         ones as needed.
62932         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62933         divide-by-zero is raised for zero to large negative powers.
62934         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62935         (__ieee754_powl): Test for y outside the range of signed 64-bit
62936         integers before using fistpll.  Reduce 64-bit values to 63-bit
62937         ones as needed.
62938         * math/libm-test.inc (pow_test): Add more tests.
62940 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62942         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62943         <stdio-common/_itoa.h>.
62944         * debug/segfault.c: Likewise.
62945         * elf/dl-cache.c: Likewise.
62946         * elf/dl-minimal.c: Likewise.
62947         * elf/dl-misc.c: Likewise.
62948         * elf/dl-sysdep.c: Likewise.
62949         * elf/dl-version.c: Likewise.
62950         * elf/rtld.c: Likewise.
62951         * hurd/hurdsock.c: Likewise.
62952         * hurd/lookup-retry.c: Likewise.
62953         * malloc/malloc.c: Likewise.
62954         * malloc/mtrace.c: Likewise.
62955         * nscd/nscd_getgr_r.c: Likewise.
62956         * nscd/nscd_getpw_r.c: Likewise.
62957         * nscd/nscd_getserv_r.c: Likewise.
62958         * posix/getopt_init.c: Likewise.
62959         * posix/wordexp.c: Likewise.
62960         * stdio-common/_itoa.c: Likewise.
62961         * stdio-common/printf_fphex.c: Likewise.
62962         * stdio-common/vfprintf.c: Likewise.
62963         * string/_strerror.c: Likewise.
62964         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62965         * sysdeps/i386/i686/hp-timing.h: Likewise.
62966         * sysdeps/mach/_strerror.c: Likewise.
62967         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62968         * sysdeps/mach/hurd/sethostid.c: Likewise.
62969         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62970         * sysdeps/mach/xpg-strerror.c: Likewise.
62971         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62972         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62973         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62974         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62975         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62976         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62977         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62978         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62979         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62980         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62981         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62982         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62983         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62984         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62985         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62986         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62987         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62988         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62989         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62990         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62991         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62993         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62995         * stdio-common/_itoa.h: Moved to ...
62996         * sysdeps/generic/_itoa.h: Here.
62998         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63000         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63001         instead of "_itoa.h" and "_itowa.h".
63002         * stdio-common/vfprintf.: Likewise.
63004 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63006         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63007         <bits/wordsize.h>.
63008         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63009         (__signbit): Likwise.
63010         (llrintf): Likwise.
63011         (llrint): Likwise.
63013 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63015         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63016         __WORDSIZE != 64.
63018 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63020         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63021         OVERFLOW_EXCEPTION_OK.
63022         * math/libm-test.inc ("Philosophy"): Update comment about
63023         exception testing.
63024         (OVERFLOW_EXCEPTION): Define.
63025         (OVERFLOW_EXCEPTION_OK): Likewise.
63026         (INVALID_EXCEPTION_OK): Renumber.
63027         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63028         (IGNORE_ZERO_INF_SIGN): Likewise.
63029         (test_exceptions): Handle FE_OVERFLOW.
63030         (exp10_test): Expect overflow exceptions.
63031         (exp2_test): Likewise.
63032         (expm1_test): Likewise.
63033         (nextafter_test): Likewise.
63034         (pow_test): Likewise.
63035         (scalbn_test): Likewise.
63036         (scalbln_test): Likewise.
63038 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63040         * sysdeps/x86_64/bits/atomic.h
63041         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63042         64bit integer.
63043         (atomic_exchange_acq): Likewise.
63044         (__arch_exchange_and_add_body): Likewise.
63045         (__arch_add_body): Likewise.
63046         (atomic_add_negative): Likewise.
63047         (atomic_add_zero): Likewise.
63049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63051         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63052         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63054 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63056         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63057         Check __x86_64__ instead of __WORDSIZE.
63059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63061         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63063 2012-03-19  David S. Miller  <davem@davemloft.net>
63065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63067         * sysdeps/sparc/fpu/fenv_private.h: New file.
63068         * sysdeps/sparc/fpu/math_private.h: Use it.
63069         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63070         Remove.
63071         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63072         (libc_feholdexcept_setroundl): Remove.
63073         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63074         Remove.
63075         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63076         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63078 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63080         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63081         int64_t instead of long int.
63082         (INSERT_WORDS64): Likwise.
63084 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63086         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63087         _Unwind_GetCFA return to _Unwind_Ptr first.
63089 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63091         [BZ #13629]
63092         * math/s_clog.c: Include <float.h>.
63093         (__clog): Scale large or subnormal inputs.
63094         * math/s_clogf.c: Likewise.
63095         * math/s_clogl.c: Likewise.
63096         * math/s_clog10.c: Include <float.h>.
63097         (M_LOG10_2): Define.
63098         (__clog10): Scale large or subnormal inputs.
63099         * math/s_clog10f.c: Likewise.
63100         * math/s_clog10l.c: Likewise.
63101         * math/libm-test.inc (clog_test): Add more tests.
63102         (clog10_test): Likewise.
63103         * sysdeps/i386/fpu/libm-test-ulps: Update.
63104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63106         [BZ #11451]
63107         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63108         x and y.
63109         * math/libm-test.inc (atan2_test): Add another test.
63111         * Makerules (common-objdir-compile): Remove.
63112         * sysdeps/unix/Makefile (config-generated): Do not add
63113         $(unix-generated) to variable.
63114         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63115         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63116         Remove rule.
63117         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63118         Likewise.
63119         [generic bits/local_lim.h] (before-compile): Do not append to
63120         variable.
63121         [generic bits/local_lim.h] (common-generated): Likewise.
63122         [generic sys/param.h] (before-compile): Do not append to variable.
63123         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63124         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63125         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63126         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63127         include.
63128         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63129         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63130         [generic sys/param.h] ($(addprefix
63131         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63132         [generic sys/param.h] (common-generated): Do not append to
63133         variable.
63134         [generic sys/param.h] (sysdep_headers): Likewise.
63135         [generic bits/errno.h] (before-compile): Do not append to
63136         variable.
63137         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63138         rule.
63139         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63140         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63141         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63142         [generic bits/errno.h] (common-generated): Do not append to
63143         variable.
63144         [generic bits/ioctls.h] (before-compile): Do not append to
63145         variable.
63146         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63147         rule.
63148         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63149         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63150         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63151         rule.
63152         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63153         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63154         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63155         [generic bits/ioctls.h] (common-generated): Do not append to
63156         variable.
63157         [generic sys/syscall.h] (syscall.h): Remove variable.
63158         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63159         rule.
63160         [generic sys/syscall.h] (before-compile): Do not append to
63161         variable.
63162         [generic sys/syscall.h] (common-generated): Likewise.
63163         * sysdeps/unix/errnos-tmpl.c: Remove file.
63164         * sysdeps/unix/errnos.awk: Likewise.
63165         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63166         * sysdeps/unix/ioctls.awk: Likewise.
63167         * sysdeps/unix/mk-local_lim.c: Likewise.
63168         * sysdeps/unix/snarf-ioctls: Likewise.
63170 2012-03-19  Richard Henderson  <rth@twiddle.net>
63172         * sysdeps/i386/fpu/fenv_private.h: New file.
63173         * sysdeps/i386/fpu/math_private.h: Use it.
63174         (math_opt_barrier, math_force_eval): Remove.
63175         (libc_feholdexcept_setround_53bit): Remove.
63176         (libc_feupdateenv_53bit): Remove.
63177         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63178         (math_opt_barrier, math_force_eval): Remove.
63179         (libc_feholdexcept): Remove.
63180         (libc_feholdexcept_setround): Remove.
63181         (libc_fetestexcept, libc_fesetenv): Remove.
63182         (libc_feupdateenv_test): Remove.
63183         (libc_feupdateenv, libc_feholdsetround): Remove.
63184         (libc_feresetround): Remove.
63186         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63187         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63189         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63190         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63191         (libc_feupdateenv_testl): New.
63192         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63193         (libc_feupdateenv_testf): New.
63194         (libc_feupdateenv): Use libc_feupdateenv_test.
63195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63196         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63198         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63199         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63200         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63201         (libc_feresetround_noex): New.
63202         (libc_feresetround_noexf): New.
63203         (libc_feresetround_noexl): New.
63204         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63205         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63206         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63207         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63208         SET_RESTORE_ROUND.
63209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63211         (__cos): Likewise.
63212         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63213         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63214         SET_RESTORE_ROUND_NOEX.
63215         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63216         SET_RESTORE_ROUND_NOEXF.
63217         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63218         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63219         (libc_feholdsetroundf): New.
63220         (libc_feresetround, libc_feresetroundf): New.
63222         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63223         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63224         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63226         * sysdeps/generic/math_private.h: Include <fenv.h>.
63227         (default_libc_feholdexcept): New.
63228         (default_libc_feholdexcept_setround): New.
63229         (default_libc_fesetenv, default_libc_feupdateenv): New.
63230         (libc_feholdexcept): Only define if undefined.
63231         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63232         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63233         (libc_feholdexcept_setroundl): Likewise.
63234         (libc_feholdexcept_setround_53bit): Likewise.
63235         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63236         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63237         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63238         (libc_feupdateenv_53bit): Likewise.
63239         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63240         (libc_feholdexcept): Convert from macro to inline function.
63241         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63242         (libc_fesetenv, libc_feupdateenv): Likewise.
63244         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63245         not previously defined.
63246         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63247         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63248         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63249         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63250         * sysdeps/ieee754/flt-32/math_private.h: New file.
63251         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63252         math_private.h below SET_FLOAT_WORD.
63253         (__isnan, __isinf_ns, __finite): Remove.
63254         (__isnanf, __isinf_nsf, __finitef): Remove.
63256 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63260 2012-03-17  David S. Miller  <davem@davemloft.net>
63262         [BZ #6471]
63263         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63264         for 2.16.
63266 2012-03-16  David S. Miller  <davem@davemloft.net>
63268         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63269         warnings.
63271         [BZ #6471]
63272         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63273         properly.
63274         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63275         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63276         sysdep_routines when subdir is sysvipc.
63277         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63278         __getshmlba helper.
63280         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63284         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63285         [__LP64__].
63287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63289         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63290         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63291         (__lround): Renamed to ...
63292         (__llround): This.  Replace long int with long long int.
63293         Define lround functions as aliases of llround functions.
63294         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63296 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63298         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63299         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63300         adresses to uintptr_t.  Replace "long int" and "unsigned long
63301         int" with "greg_t" on va_arg.
63303 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63305         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63306         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63308         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63309         Move e_machine check before EI_CLASS check.  Handle x32
63310         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63311         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63312         SKIP_EM_IA_64 and include
63313         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63315         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63316         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63317         (add_system_dir): New macro.
63319         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63320         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63322 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63324         [BZ #2551]
63325         [BZ #2552]
63326         [BZ #2553]
63327         [BZ #2554]
63328         [BZ #2562]
63329         [BZ #2563]
63330         [BZ #2565]
63331         [BZ #2566]
63332         [BZ #2576]
63333         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63334         (y0): Likewise.
63335         * math/w_j0f.c (j0f): Likewise.
63336         (y0f): Likewise.
63337         * math/w_j0l.c (__j0l): Likewise.
63338         (__y0l): Likewise.
63339         * math/w_j1.c (j1): Likewise.
63340         (y1): Likewise.
63341         * math/w_j1f.c (j1f): Likewise.
63342         (y1f): Likewise.
63343         * math/w_j1l.c (__j1l): Likewise.
63344         (__y1l): Likewise.
63345         * math/w_jn.c (jn): Likewise.
63346         (yn): Likewise.
63347         * math/w_jnf.c (jnf): Likewise.
63348         (ynf): Likewise.
63349         * math/w_jnl.c (__jnl): Likewise.
63350         (__ynl): Likewise.
63351         * math/libm-test.inc (j0_test): Add more tests.
63352         (j1_test): Likewise.
63353         (jn_test): Likewise.  Add trailing semicolon to existing test.
63354         (y0_test): Likewise.
63355         (y1_test): Likewise.
63356         * sysdeps/i386/fpu/libm-test-ulps: Update.
63357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63359         [BZ #13851]
63360         [BZ #13854]
63361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63362         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63363         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63364         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63365         (__tanl): Set errno for infinite argument.
63366         * sysdeps/i386/fpu/mptan.c: Remove.
63367         * sysdeps/i386/fpu/s_tan.S: Likewise.
63368         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63369         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63370         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63371         * math/libm-test.inc (tan_test): Add more tests and enable more
63372         tests for double and long double.
63373         * sysdeps/i386/fpu/libm-test-ulps: Update.
63374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63376 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63378         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63379         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63381 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63383         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63384         * configure.in: Use it for both main tree and add-ons.
63385         * configure: Regenerated.
63387 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63389         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63391 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63393         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63394         in comment.
63396         [BZ #13851]
63397         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63398         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63399         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63400         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63401         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63402         infinite argument.
63403         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63405         != 0 for prec == 2.
63406         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63407         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63408         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63409         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63410         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63411         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63412         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63413         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63414         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63415         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63416         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63417         * math/libm-test.inc (cos_test): Add more tests and enable more
63418         tests for long double.
63419         (sin_test): Likewise.
63420         (sincos_test): Likewise.
63421         * sysdeps/i386/fpu/libm-test-ulps: Update.
63422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63424 2012-03-16  David S. Miller  <davem@davemloft.net>
63426         * sysdeps/sparc/fpu/math_private.h: New file.
63428 2012-03-15  David S. Miller  <davem@davemloft.net>
63430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63431         file.
63432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63434         file.
63435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63440         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63441         sysdep routines.
63442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63444         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63445         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63447         * sysdeps/sparc/sparc-ifunc.h: New file.
63448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63449         sparc-ifunc.h
63450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63452         Likewise.
63453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63454         Likewise.
63455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63459         Likewise.
63460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63465         Likewise.
63466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63467         Likewise.
63468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63474         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63475         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63486         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63487         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63488         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63489         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63490         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63491         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63493 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63495         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63496         scaling.
63497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63499 2012-03-15  Andreas Jaeger  <aj@suse.de>
63501         [BZ #13852]
63502         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63503         ieee754/flt-32 implementation for sin, cos and sincos.
63504         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63505         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63506         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63507         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63508         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63509         ieee754/flt-32 implementation for tan.
63511         * math/libm-test.inc (cos_test): Enable some large input tests for
63512         float as well
63513         (sin_test): Likewise.
63514         (sincos_test): Likewise.
63515         (tan_test): Add tests for large input.
63517         * sysdeps/i386/fpu/libm-test-ulps: Update.
63519 2012-03-15  Andreas Jaeger  <aj@suse.de>
63521         [BZ #13658]
63522         * math/libm-test.inc (cos_test): Add more test cases.
63523         (sin_test): Likewise.
63524         (sincos_test): Likewise.
63526 2012-03-15  Andreas Jaeger  <aj@suse.de>
63528         [BZ #13837]
63529         * math/libm-test.inc (cos_test): Add a test case for large input
63530         value.
63531         (sin_test): Likewise.
63532         (sincos_test): Likewise.
63534 2012-03-15  Andreas Jaeger  <aj@suse.de>
63535             Joseph Myers  <joseph@codesourcery.com>
63537         [BZ #13658]
63538         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63539         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63540         * sysdeps/i386/fpu/branred.c: Likewise.
63541         * sysdeps/i386/fpu/dosincos.c: Likewise.
63542         * sysdeps/i386/fpu/mpa.c: Likewise.
63543         * sysdeps/i386/fpu/s_cos.S: Likewise.
63544         * sysdeps/i386/fpu/s_sin.S: Likewise.
63545         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63546         * sysdeps/i386/fpu/sincos32.c: Likewise.
63548         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63549         Define.
63550         (libc_feupdateenv_53bit): Define.
63551         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63552         Define.
63553         (libc_feupdateenv_53bit): Define.
63555         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63556         53 bit (without extend i386 double precision).
63558         * math/libm-test.inc (sincos_test): Add tests for large input.
63559         (sin): Likewise.
63560         (cos): Likewise.
63562         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63564 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63568 2012-03-15  David S. Miller  <davem@davemloft.net>
63570         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63571         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63572         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63573         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63586         file.
63587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63589         file.
63590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63592         file.
63593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63595         file.
63596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63598         fmin/fmax sysdep routines.
63599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63601 2012-03-14  David S. Miller  <davem@davemloft.net>
63603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63608         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63609         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63610         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63624         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63625         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63626         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63628         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63629         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63632         routines.
63633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63634         file.
63635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63637         file.
63638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63640         file.
63641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63643         file.
63644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63646         file.
63647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63649         file.
63650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63651         file.
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63653         file.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63655         file.
63656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63657         New file.
63658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63659         file.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63661         file.
63662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63664         file.
63665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63667         file.
63668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63670         file.
63671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63673         VIS3 routines.
63675         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63676         New file.
63678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63680         * sysdeps/sparc/configure.in: New file.
63681         * sysdeps/sparc/configure: Generate.
63682         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63683         * configure: Regenerate.
63684         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63685         * config.make.in (have-as-vis3): New.
63686         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63687         available use -Av9d instead of -Av9a.
63688         * sysdeps/sparc/sparc64/Makefile: Likewise.
63689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63691         New file.
63692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63693         file.
63694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63695         New file.
63696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63697         file.
63698         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63700         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63701         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63704         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63705         fzeros/fnegs to load 0x80000000 into a float register instead of
63706         using the stack.
63707         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63709 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63712         bits/syscall.h.
63713         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63714         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63715         ($(inst_includedir)/bits/syscall.h): Remove rule.
63716         ($(objpfx)bits/syscall.d): Include instead of
63717         $(objpfx)syscall-list.d.
63718         (generated): Change syscall-list.h and syscall-list.d to
63719         bits/syscall.h and bits/syscall.d.
63721 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63723         [BZ #13846]
63724         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63726 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63728         [BZ #13841]
63729         * math/s_csqrt.c: Include <float.h>.
63730         (__csqrt): Scale large or subnormal inputs.
63731         * math/s_csqrtf.c: Likewise.
63732         * math/s_csqrtl.c: Likewise.
63733         * math/libm-test.inc (csqrt_test): Add more tests.
63734         * sysdeps/i386/fpu/libm-test-ulps: Update.
63735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63737         [BZ #13840]
63738         * math/libm-test.inc (hypot_test): Add more tests.
63740 2012-03-13  David S. Miller  <davem@davemloft.net>
63742         [BZ #13840]
63743         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63744         double-precision for the calculation instead of scaling.
63746 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63748         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63749         manipulate bits before adding and subtracting TWO52[sx].
63750         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63751         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63752         Likewise.
63753         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63755 2012-03-13  David S. Miller  <davem@davemloft.net>
63757         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63758         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63760         rtld-global-offsets.h
63761         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63763         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63764         large parameters.
63766         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63768         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63769         'err' in the ifdef scope in which it is actually used.
63771         * nss/nss_db/db-init.c: Include string.h
63773 2012-03-12  David S. Miller  <davem@davemloft.net>
63775         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63776         masking out of the most significant byte of random value used.
63777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63778         Fix coding style in previous change.
63780         * sysdeps/unix/sysv/linux/kernel-features.h
63781         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63782         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63783         expression.
63784         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63785         later.
63787 2012-03-11  David S. Miller  <davem@davemloft.net>
63789         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63790         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63791         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63792         for 'resultvar' otherwise things get truncated on 64-bit.
63794         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63795         Fix masking out of the most significant byte of random value used.
63797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63799 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63803 2012-03-09  David S. Miller  <davem@davemloft.net>
63805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63806         variables with appropriate CPP guards.
63807         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63808         from the frame pointer, not the stack pointer.  Correct layout
63809         comments.  Fix test on resulting framesize and the management of
63810         the outregs buffer for pltexit.  Preserve floating point return
63811         values across _dl_call_pltexit call.
63812         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63813         framesize and the management of the outregs buffer for pltexit.
63814         Preserve floating point return values across _dl_call_pltexit
63815         call.
63816         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63817         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63818         (la_sparc64_gnu_pltexit): New functions.
63819         (print_exit): Fix format string for return register value.
63821 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63823         * sunrpc/Makefile (others): Add rpcgen.
63824         ($(objpfx)rpcgen): Remove special build rule and dependency on
63825         libc.
63826         * sunrpc/rpcgen.c: New file.
63828 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63830         [BZ #13673]
63831         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63832         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63833         * sysdeps/i386/crti.S: Likewise.
63834         * sysdeps/i386/crtn.S: Likewise.
63835         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63836         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63837         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63838         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63839         * sysdeps/sh/crti.S: Likewise.
63840         * sysdeps/sh/crtn.S: Likewise.
63841         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63843         [BZ #13673]
63844         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63845         with URL.
63846         * locale/programs/locfile-kw.gperf: Likewise.
63847         * locale/programs/charmap-kw.h: Regenerated.
63848         * locale/programs/locfile-kw.h: Likewise.
63850         [BZ #13673]
63851         * intl/plural.y: Replace FSF snail mail address with URL.
63852         * intl/plural.c: Regenerated.
63854 2012-03-09  Richard Henderson  <rth@twiddle.net>
63856         * include/math_private.h: Remove file.
63857         * math/math_private.h: Move file ...
63858         * sysdeps/generic/math_private.h: ... here.
63860         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63861         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63862         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63864         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63865         and <math_private.h>.
63866         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63867         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63868         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63869         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63870         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63871         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63872         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63874         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63875         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63877         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63878         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63879         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63880         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63881         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63884         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63885         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63887         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63888         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63890         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63891         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63892         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63893         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63894         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63895         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63896         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63898         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63899         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63900         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63901         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63902         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63903         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63904         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63905         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63906         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63907         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63908         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63909         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63910         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63911         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63912         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63913         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63914         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63915         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63916         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63917         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63918         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63919         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63920         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63921         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63922         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63923         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63924         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63925         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63927         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63928         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63929         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63930         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63931         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63932         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63933         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63934         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63936         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63937         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63938         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63939         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63940         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63942         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63944         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63945         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63946         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63947         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63949         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63950         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63952         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63953         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63954         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63955         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63956         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63957         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63958         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63959         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63960         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63961         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63962         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63963         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63964         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63965         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63966         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63967         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63968         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63969         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63970         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63971         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63972         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63973         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63974         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63975         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63976         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63977         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63978         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63979         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63980         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63981         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63982         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63983         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63984         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63985         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63986         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63987         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63988         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63989         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63990         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63991         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63992         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63993         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63994         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63995         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63996         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63997         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63998         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63999         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64000         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64001         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64002         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64003         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64004         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64005         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64006         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64007         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64008         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64009         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64010         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64011         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64012         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64013         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64014         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64015         * sysdeps/ieee754/k_standard.c: Likewise.
64016         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64017         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64018         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64019         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64020         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64021         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64022         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64023         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64024         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64025         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64026         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64027         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64028         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64029         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64030         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64031         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64032         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64033         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64034         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64035         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64036         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64037         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64038         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64040         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64041         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64042         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64043         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64044         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64045         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64046         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64047         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64048         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64049         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64050         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64051         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64052         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64053         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64054         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64055         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64056         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64057         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64058         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64059         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64060         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64061         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64062         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64063         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64064         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64065         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64066         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64067         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64068         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64069         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64070         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64071         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64072         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64073         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64074         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64075         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64076         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64077         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64078         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64079         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64082         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64083         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64084         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64085         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64086         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64088         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64089         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64090         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64091         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64093         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64095         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64097         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64098         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64131         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64135         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64136         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64138         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64142         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64143         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64145         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64146         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64148         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64149         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64150         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64151         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64152         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64154         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64157         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64159         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64160         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64162         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64163         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64164         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64165         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64166         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64167         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64168         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64169         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64170         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64172         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64173         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64174         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64175         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64176         * sysdeps/ieee754/s_lib_version.c: Likewise.
64177         * sysdeps/ieee754/s_matherr.c: Likewise.
64178         * sysdeps/ieee754/s_signgam.c: Likewise.
64179         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64180         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64181         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64182         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64183         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64184         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64185         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64186         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64187         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64188         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64189         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64190         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64191         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64192         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64193         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64194         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64195         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64196         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64197         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64198         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64199         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64201 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64203         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64204         * sunrpc/rpc_main.c: Likewise.
64205         * sunrpc/rpc_svcout.c: Likewise.
64207 2012-03-09  David S. Miller  <davem@davemloft.net>
64209         * include/math_private.h: New file.
64211 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64213         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64214         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64215         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64216         from <bits/socket_type.h>.
64217         (enum __socket_type): Don't define here.
64218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64220         bits/socket_type.h.
64222         [BZ #13566]
64223         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64224         checking __USE_GNU.
64226         * Makerules ($(inst_includedir)/%.h): New rule.
64227         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64228         (install-others): Remove variable setting.
64229         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64231 2012-03-08  Richard Henderson  <rth@twiddle.net>
64233         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64234         from macro to inline function; merge with the
64235         !__LIBC_INTERNAL_MATH_INLINES version.
64236         (__ieee754_sqrtf): Likewise.
64238         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64239         to inline function.
64240         (__rintf, __floor, __floorf): Likewise.
64242         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64243         macro to inline function.
64244         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64246         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64247         not <math/math_private.h>.
64249 2012-03-08  David S. Miller  <davem@davemloft.net>
64251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64252         copyright year.
64253         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64255 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64257         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64258         normalization.
64259         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64260         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64262 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64264         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64265         be defined individually, they must be defined as a block.  Define
64266         S for printing a string instead of hidint the different by using a
64267         macro for adding the 'l'.
64268         * stdio-common/tst-fphex-wide.c: Adjust.
64270 2012-03-07  Marek Polacek  <polacek@redhat.com>
64272         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64274 2012-03-08  Marek Polacek  <polacek@redhat.com>
64276         [BZ #13806]
64277         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64278         * stdio-common/tst-fphex.c: Define a few macros to make the
64279         test reusable.  Use them.
64280         * stdio-common/tst-fphex-wide.c: New file.
64282 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64284         [BZ #6911]
64285         * manual/macros.texi (gnusystems): New macro.
64286         (nongnusystems): Likewise.
64287         (gnulinuxhurdsystems): Likewise.
64288         (gnuhurdsystems): Likewise..
64289         (gnulinuxsystems): Likewise.
64290         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64291         variants of the GNU system, not "GNU system".
64292         * manual/conf.texi: Likewise.
64293         * manual/errno.texi: Likewise.  Update example of errno macro
64294         expansion.
64295         * manual/filesys.texi: Likewise.
64296         (getumask): Document as specific to GNU/Hurd.
64297         * manual/install.texi: Likewise.  Reword some references to
64298         GNU/Linux.
64299         * manual/intro.texi: Likewise.
64300         * manual/io.texi: Likewise.
64301         (File Name Portability): Detail which constraints are inapplicable
64302         to all GNU systems and which are only inapplicable to GNU/Hurd.
64303         * manual/job.texi: Likewise.
64304         * manual/llio.texi: Likewise.
64305         (O_NOCTTY): Document as present on GNU/Linux.
64306         * manual/maint.texi: Likewise.
64307         * manual/memory.texi: Likewise.
64308         * manual/pattern.texi: Likewise.
64309         * manual/pipe.texi: Likewise.
64310         * manual/process.texi: Likewise.
64311         * manual/resource.texi: Likewise.
64312         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64313         child on GNU/Hurd.
64314         * manual/setjmp.texi: Likewise.
64315         * manual/signal.texi: Likewise.
64316         * manual/startup.texi: Likewise.
64317         * manual/stdio.texi: Likewise.
64318         * manual/terminal.texi: Likewise.
64319         (ONLCR): Document as POSIX.
64320         (OXTABS): Document availability on GNU/Linux as XTABS.
64321         (ONOEOT): Document availability separately from other bits.
64322         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64323         * manual/time.texi: Likewise.
64324         * manual/users.texi: Likewise.
64325         * INSTALL: Regenerated.
64326         * sysdeps/gnu/errlist.c: Regenerated.
64328         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64329         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64330         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64331         puts.
64332         * configure: Regenerated.
64334 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64336         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64337         default includes instead of AC_HEADER_CHECK.
64338         * sysdeps/i386/configure: Regenerated.
64340         [BZ #10716]
64341         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64342         * math/s_cacoshf.c (__cacoshf): Likewise.
64343         * math/s_cacoshl.c (__cacoshl): Likewise.
64344         * math/s_casinh.c (__casinh): Set signs of result from argument.
64345         * math/s_casinhf.c (__casinhf): Likewise.
64346         * math/s_casinhl.c (__casinhl): Likewise.
64347         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64348         (casinh_test): Add more tests.
64349         * sysdeps/i386/fpu/libm-test-ulps: Update.
64350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64352 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64354         * po/zh_TW.po: Update from translation team.
64356         * login/Makefile (distribute): Remove variable.
64357         * catgets/Makefile: Likewise.
64358         * mach/Makefile: Likewise.
64359         * malloc/Makefile: Likewise.
64360         * misc/Makefile: Likewise.
64361         * iconv/Makefile: Likewise.
64362         * nscd/Makefile: Likewise.
64363         * hurd/Makefile: Likewise.
64364         * manual/Makefile: Likewise.
64365         * locale/Makefile: Likewise.
64366         * intl/Makefile: Likewise.
64367         * conform/Makefile: Likewise.
64368         * nss/Makefile: Likewise.
64369         * time/Makefile: Likewise.
64370         * soft-fp/Makefile: Likewise.
64371         * dirent/Makefile: Likewise.
64372         * gmon/Makefile: Likewise.
64373         * po/Makefile: Likewise.
64374         * rt/Makefile: Likewise.
64375         * socket/Makefile: Likewise.
64376         * math/Makefile: Likewise.
64377         * signal/Makefile: Likewise.
64378         * debug/Makefile: Likewise.
64379         * elf/Makefile: Likewise.
64380         * timezone/Makefile: Likewise.
64381         * stdlib/Makefile: Likewise.
64382         * iconvdata/Makefile: Likewise.
64383         * sunrpc/Makefile: Likewise.
64384         * io/Makefile: Likewise.
64385         * argp/Makefile: Likewise.
64386         * inet/Makefile: Likewise.
64387         * hesiod/Makefile: Likewise.
64388         * grp/Makefile: Likewise.
64389         * csu/Makefile: Likewise.
64390         * wctype/Makefile: Likewise.
64391         * crypt/Makefile: Likewise.
64392         * libio/Makefile: Likewise.
64393         * string/Makefile: Likewise.
64394         * nis/Makefile: Likewise.
64395         * resolv/Makefile: Likewise.
64396         * stdio-common/Makefile: Likewise.
64397         * wcsmbs/Makefile: Likewise.
64398         * dlfcn/Makefile: Likewise.
64399         * posix/Makefile: Likewise.
64401         [BZ #6959]
64402         * timezone/Makefile: Don't install timezone files, just the programs
64403         and scripts.
64405 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64407         * nss/databases.def: Add missing gshadow entry.
64409         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64411 2012-03-06  Marek Polacek  <polacek@redhat.com>
64413         [BZ #13726]
64414         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64415         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64416         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64417         * stdio-common/tst-long-dbl-fphex.c: New file.
64419 2012-03-06  David S. Miller  <davem@davemloft.net>
64421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64422         (set_obp_int): New function.
64423         (get_obp_int): New function.
64424         (__get_clockfreq_via_dev_openprom): Likewise.
64425         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64426         Avoid unused variable warnings on 'val' and use builtin_expect.
64427         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64428         __builtin_expect.
64429         (INLINE_CLONE_SYSCALL): Likewise.
64431 2012-03-05  David S. Miller  <davem@davemloft.net>
64433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64435 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64439         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64440         only for |x| >= 40.
64441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64443 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64445         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64446         Replace gettimeofday with __vdso_gettimeofday.
64448         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64449         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64450         __vdso_clock_gettime and __vdso_getcpu.
64452         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64453         time with __vdso_time.
64455 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64457         * manual/lang.texi (size_t): Note types to which size_t may be
64458         equivalent with the GNU C Library, but do not describe when
64459         differences between them are significant.
64461 2012-03-05  Andreas Jaeger  <aj@suse.de>
64463         * sysdeps/i386/fpu/libm-test-ulps: Update.
64465 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64467         [BZ #3976]
64468         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64469         (__ieee754_pow): Save and restore rounding mode and use
64470         round-to-nearest for main computations.
64471         * math/libm-test.inc (pow_test_tonearest): New function.
64472         (pow_test_towardzero): Likewise.
64473         (pow_test_downward): Likewise.
64474         (pow_test_upward): Likewise.
64475         (main): Call the new functions.
64476         * sysdeps/i386/fpu/libm-test-ulps: Update.
64477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64479         [BZ #3976]
64480         * math/libm-test.inc (cosh_test_tonearest): New function.
64481         (cosh_test_towardzero): Likewise.
64482         (cosh_test_downward): Likewise.
64483         (cosh_test_upward): Likewise.
64484         (sinh_test_tonearest): Likewise.
64485         (sinh_test_towardzero): Likewise.
64486         (sinh_test_downward): Likewise.
64487         (sinh_test_upward): Likewise.
64488         (main): Call the new functions.
64489         * sysdeps/i386/fpu/libm-test-ulps: Update.
64490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64492 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64494         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64495         default stack guard is set in last bytes.
64496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64498 2012-03-05  Kees Cook  <keescook@chromium.org>
64500         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64502         [BZ #13656]
64503         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64504         possibly allocate from heap instead of stack.
64505         * stdio-common/bug-vfprintf-nargs.c: New file.
64506         * stdio-common/Makefile (tests): Add nargs overflow test.
64508 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64512 2012-03-03  Marek Polacek  <polacek@redhat.com>
64514         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64515         * math/math_private.h: Likewise.
64516         * stdlib/tst-strtod.c: Likewise.
64517         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64518         * sysdeps/x86_64/bits/atomic.h: Likewise.
64520 2012-03-02  David S. Miller  <davem@davemloft.net>
64522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64526         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64527         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64528         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64529         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64531 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64533         [BZ #13792]
64534         * manual/examples/README: New file, says the example source files
64535         can be used under GPL>=2.
64536         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64537         line containing just "*/".
64538         * manual/examples/add.c: Add copyright header (GPL>=2).
64539         * manual/examples/argp-ex1.c: Likewise.
64540         * manual/examples/argp-ex2.c: Likewise.
64541         * manual/examples/argp-ex3.c: Likewise.
64542         * manual/examples/argp-ex4.c: Likewise.
64543         * manual/examples/atexit.c: Likewise.
64544         * manual/examples/db.c: Likewise.
64545         * manual/examples/dir.c: Likewise.
64546         * manual/examples/dir2.c: Likewise.
64547         * manual/examples/execinfo.c: Likewise.
64548         * manual/examples/filecli.c: Likewise.
64549         * manual/examples/filesrv.c: Likewise.
64550         * manual/examples/fmtmsgexpl.c: Likewise.
64551         * manual/examples/genpass.c: Likewise.
64552         * manual/examples/inetcli.c: Likewise.
64553         * manual/examples/inetsrv.c: Likewise.
64554         * manual/examples/isockad.c: Likewise.
64555         * manual/examples/longopt.c: Likewise.
64556         * manual/examples/memopen.c: Likewise.
64557         * manual/examples/memstrm.c: Likewise.
64558         * manual/examples/mkfsock.c: Likewise.
64559         * manual/examples/mkisock.c: Likewise.
64560         * manual/examples/mygetpass.c: Likewise.
64561         * manual/examples/pipe.c: Likewise.
64562         * manual/examples/popen.c: Likewise.
64563         * manual/examples/rprintf.c: Likewise.
64564         * manual/examples/search.c: Likewise.
64565         * manual/examples/select.c: Likewise.
64566         * manual/examples/setjmp.c: Likewise.
64567         * manual/examples/sigh1.c: Likewise.
64568         * manual/examples/sigusr.c: Likewise.
64569         * manual/examples/stpcpy.c: Likewise.
64570         * manual/examples/strdupa.c: Likewise.
64571         * manual/examples/strftim.c: Likewise.
64572         * manual/examples/strncat.c: Likewise.
64573         * manual/examples/subopt.c: Likewise.
64574         * manual/examples/swapcontext.c: Likewise.
64575         * manual/examples/termios.c: Likewise.
64576         * manual/examples/testopt.c: Likewise.
64577         * manual/examples/testpass.c: Likewise.
64578         * manual/examples/timeval_subtract.c: Likewise.
64580         [BZ #13792]
64581         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64582         function to ...
64583         * manual/timeval_subtract.c.texi: ... here, new file.
64585 2012-03-02  David S. Miller  <davem@davemloft.net>
64587         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64589 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64591         [BZ #3976]
64592         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64593         (__sin): Save and restore rounding mode and use round-to-nearest
64594         for all computations.
64595         (__cos): Save and restore rounding mode and use round-to-nearest
64596         for all computations.
64597         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64598         <fenv.h>.
64599         (tan): Save and restore rounding mode and use round-to-nearest for
64600         all computations.
64601         * math/libm-test.inc (cos_test_tonearest): New function.
64602         (cos_test_towardzero): Likewise.
64603         (cos_test_downward): Likewise.
64604         (cos_test_upward): Likewise.
64605         (sin_test_tonearest): Likewise.
64606         (sin_test_towardzero): Likewise.
64607         (sin_test_downward): Likewise.
64608         (sin_test_upward): Likewise.
64609         (tan_test_tonearest): Likewise.
64610         (tan_test_towardzero): Likewise.
64611         (tan_test_downward): Likewise.
64612         (tan_test_upward): Likewise.
64613         (main): Call the new functions.
64614         * sysdeps/i386/fpu/libm-test-ulps: Update.
64615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64617         [BZ #10135]
64618         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64619         small n, then large n, before computing and testing k+n.
64620         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64622         Likewise.
64623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64624         Likewise.
64625         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64626         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64627         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64628         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64631         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64632         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64633         * math/libm-test.inc (scalbn_test): Add more tests.
64634         (scalbln_test): Likewise.
64636         * manual/filesys.texi (mode_t): Describe constraints on size and
64637         signedness, not exact equivalence to a particular type.
64638         (ino_t): Likewise.
64639         (ino64_t): Likewise.
64640         (dev_t): Likewise.
64641         (nlink_t): Likewise.
64642         (blkcnt_t): Likewise.
64643         (blkcnt64_t): Likewise.
64644         * manual/llio.texi (off_t): Likewise.
64646         [BZ #3976]
64647         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64648         (__ieee754_exp): Save and restore rounding mode and use
64649         round-to-nearest for all computations.
64650         * math/libm-test.inc (exp_test_tonearest): New function.
64651         (exp_test_towardzero): Likewise.
64652         (exp_test_downward): Likewise.
64653         (exp_test_upward): Likewise.
64654         (main): Call the new functions.
64655         * sysdeps/i386/fpu/libm-test-ulps: Update.
64656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64658 2012-03-01  Chris Demetriou  <cgd@google.com>
64660         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64661         have predictable order.
64663 2012-03-01  David S. Miller  <davem@davemloft.net>
64665         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64667         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64668         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64669         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64670         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64672         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64673         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64674         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64676         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64677         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64678         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64679         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64680         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64684         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64685         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64686         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64688         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64689         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64690         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64691         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64692         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64693         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64694         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64695         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64696         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64697         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64698         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64699         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64701         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64702         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64704         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64705         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64706         * sysdeps/sparc/elf/configure: Regenerated.
64708 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64710         * configure.in (AS, LD): Require binutils 2.20 or later.
64711         * configure: Regenerated.
64712         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64713         as required minimum version.
64714         * INSTALL: Regenerated.
64716         [BZ #2541]
64717         [BZ #4108]
64718         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64719         before squaring exponent.
64720         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64721         bottom long double and 27 bits of top long double before squaring
64722         exponent.
64723         * math/libm-test.inc (erfc_test): Add more tests.
64724         * sysdeps/i386/fpu/libm-test-ulps: Update.
64725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64728 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64730         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64731         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64732         containing bit-fields.
64733         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64734         * soft-fp/single.h (_FP_UNION_S): Likewise.
64735         * soft-fp/double.h (_FP_UNION_D): Likewise.
64737 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64739         [BZ #13786]
64740         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64741         not include ../strcmp.S.
64742         [USE_AS_STRNCASECMP_L]: Likewise.
64743         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64744         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64745         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64746         (__strncasecmp_l_ia32): Define as alias to
64747         __strncasecmp_l_nonascii.
64749         [BZ #5794]
64750         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64751         * sysdeps/i386/fpu/libm-test-ulps: Update.
64752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64754         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64757 2012-02-29  Jeff Law  <law@redhat.com>
64759         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64760         out of bounds read.
64762 2012-02-29  Marek Polacek  <polacek@redhat.com>
64764         [BZ #13706]
64765         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64766         * elf/Makefile: Add rules to run tst-unused-dep.out.
64768 2012-02-28  David S. Miller  <davem@davemloft.net>
64770         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64771         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64772         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64774         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64775         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64777 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64779         * math/libm-test.inc (llround_test): Move one test from
64780         lround_test.  Use TEST_f_L in moved test.
64781         (lround_test): Move misplaced test to llround_test.  Add testcase
64782         from bug 2561.
64784 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64786         * sysdeps/x86_64/fpu/e_expf.S: New file.
64787         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64789 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64791         [BZ #13637]
64792         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64793         of remain_len that may cause incomplete multi-byte character and
64794         false match.
64795         * posix/bug-regex33.c: New file.
64796         * posix/Makefile (tests): Add bug-regex33.
64798 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64800         * manual/macros.texi: New file.
64801         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64802         * manual/libc.texinfo: Include macros.texi.
64803         * manual/creatute.texi: Likewise.
64804         * manual/install.texi: Likewise.
64805         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64806         @glibcadj{} in references to the GNU C Library.
64807         * manual/charset.texi: Likewise.
64808         * manual/conf.texi: Likewise.
64809         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64810         when not using those macros.
64811         * manual/creature.texi: Likewise.
64812         * manual/crypt.texi: Likewise.
64813         * manual/errno.texi: Likewise.
64814         * manual/filesys.texi: Likewise.
64815         * manual/header.texi: Likewise.
64816         * manual/install.texi: Likewise.
64817         * manual/intro.texi: Likewise.
64818         * manual/io.texi: Likewise.
64819         * manual/job.texi: Likewise.
64820         * manual/lang.texi: Likewise.
64821         * manual/libc.texiinfo: Likewise.
64822         * manual/llio.texi: Likewise.
64823         * manual/locale.texi: Likewise.
64824         * manual/maint.texi: Likewise.
64825         * manual/math.texi: Likewise.
64826         * manual/memory.texi: Likewise.
64827         * manual/message.texi: Likewise.
64828         * manual/nss.texi: Likewise.
64829         * manual/pattern.texi: Likewise.
64830         * manual/process.texi: Likewise.
64831         * manual/resource.texi: Likewise.
64832         * manual/search.texi: Likewise.
64833         * manual/setjmp.texi: Likewise.
64834         * manual/signal.texi: Likewise.
64835         * manual/socket.texi: Likewise.
64836         * manual/startup.texi: Likewise.
64837         * manual/stdio.texi: Likewise.
64838         * manual/string.texi: Likewise.
64839         * manual/sysinfo.texi: Likewise.
64840         * manual/syslog.texi: Likewise.
64841         * manual/terminal.texi: Likewise.
64842         * manual/time.texi: Likewise.
64843         * manual/users.texi: Likewise.
64844         * INSTALL: Regenerated.
64845         * NOTES: Regenerated.
64846         * sysdeps/gnu/errlist.c: Regenerated.
64848 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64850         * include/dirent.h: Include <dirstream.h> before
64851         <dirent/dirent.h>.
64853 2012-02-28  David S. Miller  <davem@davemloft.net>
64855         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64856         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64857         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64858         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64860 2012-02-27  David S. Miller  <davem@davemloft.net>
64862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64864         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64865         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64868         frame pointer instead of stack pointer relative arg slot.
64869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64870         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64871         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64873 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64875         [BZ #3992]
64876         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64878 2012-02-27  David S. Miller  <davem@davemloft.net>
64880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64884         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64885         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64886         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64887         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64889 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64891         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64892         later.  Allow versions 5-9.
64893         * configure: Regenerated.
64894         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64895         required minimum version and 4.6 as recommended version.  Do not
64896         mention bugs in GCC 2.7 and 2.8.
64897         * INSTALL: Regenerated.
64899 2012-02-27  David S. Miller  <davem@davemloft.net>
64901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64905         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64906         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64907         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64908         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64910         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64911         manipulate bits before adding and subtracting TWO112[sx].
64912         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64914 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64916         [BZ #13775]
64917         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64918         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64919         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64920         being in POSIX, because they are in 1003.1-2008.
64922         * rt/tst-aio.c: Include <fcntl.h>.
64923         * rt/tst-aio7.c: Likewise.
64924         * rt/tst-aio64.c: Likewise.
64926         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64928 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64930         * manual/install.texi (--with-headers): Describe headers as
64931         interface headers, not private headers.
64932         (Specific advice for GNU/Linux systems): Describe use of headers
64933         from "make headers_install", not private headers from older
64934         kernels.
64935         * INSTALL: Regenerated.
64936         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64937         Change to 2.6.19.
64938         * sysdeps/unix/sysv/linux/configure: Regenerated.
64940         * manual/llio.texi (fclean): Remove documentation.
64942         * manual/Makefile (libc-texi-generated): New variable.  Include
64943         version.texi.
64944         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64945         $(libc-texi-generated), not duplicated list of files.
64946         (version.texi, stamp-version): New rules.
64947         (realclean): Remove $(libc-texi-generated), not individual files
64948         from that list.  Do not remove dir-add.texinfo.
64949         * manual/libc.texinfo: Comment out uses of edition numbers and
64950         references to printed manual.  Remove last-updated dates.
64951         (EDITION): Comment out.
64952         (ISBN): Likewise.
64953         (VERSION, UPDATED): Remove.
64954         (version.texi): Include.
64956 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64958         * sysdeps/posix/spawni.c: Include <signal.h>.
64959         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64960         * sysdeps/pthread/aio_fsync.c: Likewise.
64962 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64964         * conform/Makefile (tests): Run only when not cross-compiling and
64965         when fast-check is not defined.
64967         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64968         * conform/data/limits.h-data: Fixes for POSIX2008.
64969         * conform/run-conformtest.sh: Run all tests.
64970         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64971         headers.
64972         * include/bits/dlfcn.h: Likewise.
64973         * include/langinfo.h: Likewise.
64974         * include/monetary.h: Likewise.
64975         * include/sys/poll.h: Likewise.
64977         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64978         for __USE_GNU.
64979         * posix/spawn.h: Define __need_sigset_t.
64980         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64981         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64982         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64983         to get sigevent_t only.
64984         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64985         only for __USE_GNU.
64986         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64987         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64988         process_vm_writev only for __USE_GNU.
64989         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64991         * conform/Makefile: For now ignore errors from run-conformtest.
64992         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64993         POSIX to avoid namespace pollution.  Don't prepend headers.
64994         * conform/data/aio.h-data: Fixes for POSIX testing.
64995         * conform/data/fcntl.h-data: Likewise.
64996         * conform/data/glob.h-data: Likewise.
64997         * conform/data/grp.h-data: Likewise.
64998         * conform/data/pthread.h-data: Likewise.
64999         * conform/data/pwd.h-data: Likewise.
65000         * conform/data/signal.h-data: Likewise.
65001         * conform/data/spawn.h-data: Likewise.
65002         * conform/data/stdio.h-data: Likewise.
65003         * conform/data/stdlib.h-data: Likewise.
65004         * conform/data/stropts.h-data: Likewise.
65005         * conform/data/sys/mman.h-data: Likewise.
65006         * conform/data/sys/stat.h-data: Likewise.
65007         * conform/data/sys/types.h-data: Likewise.
65008         * conform/data/sys/wait.h-data: Likewise.
65009         * conform/data/time.h-data: Likewise.
65010         * conform/data/unistd.h-data: Likewise.
65011         * conform/data/utime.h-data: Likewise.
65013         * io/sys/stat.h: fchmod was always in POSIX.
65014         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65015         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65016         * rt/aio.h: Define __need_timespec before including <time.h>.
65017         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65018         struct.  Add forward declaration of pthread_attr_t and use it in
65019         sigevent.
65020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65022         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65023         always remove CLK_TCK definition.
65025 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65027         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65029 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65031         * conform/run-conformtest.sh: New file.
65032         * conform/Makefile: Run run-conformtest for tests.
65033         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65034         support.
65036         * conform/data/uchar.h-data: New file.
65037         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65038         * conform/data/arpa/inet.h-data: Likewise.
65039         * conform/data/assert.h-data: Likewise.
65040         * conform/data/complex.h-data: Likewise.
65041         * conform/data/cpio.h-data: Likewise.
65042         * conform/data/ctype.h-data: Likewise.
65043         * conform/data/dirent.h-data: Likewise.
65044         * conform/data/dlfcn.h-data: Likewise.
65045         * conform/data/errno.h-data: Likewise.
65046         * conform/data/fcntl.h-data: Likewise.
65047         * conform/data/float.h-data: Likewise.
65048         * conform/data/fmtmsg.h-data: Likewise.
65049         * conform/data/fnmatch.h-data: Likewise.
65050         * conform/data/ftw.h-data: Likewise.
65051         * conform/data/glob.h-data: Likewise.
65052         * conform/data/grp.h-data: Likewise.
65053         * conform/data/iconv.h-data: Likewise.
65054         * conform/data/inttypes.h-data: Likewise.
65055         * conform/data/langinfo.h-data: Likewise.
65056         * conform/data/libgen.h-data: Likewise.
65057         * conform/data/limits.h-data: Likewise.
65058         * conform/data/locale.h-data: Likewise.
65059         * conform/data/math.h-data: Likewise.
65060         * conform/data/monetary.h-data: Likewise.
65061         * conform/data/mqueue.h-data: Likewise.
65062         * conform/data/ndbm.h-data: Likewise.
65063         * conform/data/net/if.h-data: Likewise.
65064         * conform/data/netdb.h-data: Likewise.
65065         * conform/data/netinet/in.h-data: Likewise.
65066         * conform/data/nl_types.h-data: Likewise.
65067         * conform/data/poll.h-data: Likewise.
65068         * conform/data/pthread.h-data: Likewise.
65069         * conform/data/pwd.h-data: Likewise.
65070         * conform/data/regex.h-data: Likewise.
65071         * conform/data/sched.h-data: Likewise.
65072         * conform/data/search.h-data: Likewise.
65073         * conform/data/semaphore.h-data: Likewise.
65074         * conform/data/setjmp.h-data: Likewise.
65075         * conform/data/signal.h-data: Likewise.
65076         * conform/data/spawn.h-data: Likewise.
65077         * conform/data/stdarg.h-data: Likewise.
65078         * conform/data/stdio.h-data: Likewise.
65079         * conform/data/stdlib.h-data: Likewise.
65080         * conform/data/string.h-data: Likewise.
65081         * conform/data/strings.h-data: Likewise.
65082         * conform/data/stropts.h-data: Likewise.
65083         * conform/data/sys/ipc.h-data: Likewise.
65084         * conform/data/sys/mman.h-data: Likewise.
65085         * conform/data/sys/msg.h-data: Likewise.
65086         * conform/data/sys/resource.h-data: Likewise.
65087         * conform/data/sys/select.h-data: Likewise.
65088         * conform/data/sys/sem.h-data: Likewise.
65089         * conform/data/sys/shm.h-data: Likewise.
65090         * conform/data/sys/socket.h-data: Likewise.
65091         * conform/data/sys/stat.h-data: Likewise.
65092         * conform/data/sys/statvfs.h-data: Likewise.
65093         * conform/data/sys/time.h-data: Likewise.
65094         * conform/data/sys/timeb.h-data: Likewise.
65095         * conform/data/sys/times.h-data: Likewise.
65096         * conform/data/sys/types.h-data: Likewise.
65097         * conform/data/sys/uio.h-data: Likewise.
65098         * conform/data/sys/un.h-data: Likewise.
65099         * conform/data/sys/utsname.h-data: Likewise.
65100         * conform/data/sys/wait.h-data: Likewise.
65101         * conform/data/syslog.h-data: Likewise.
65102         * conform/data/tar.h-data: Likewise.
65103         * conform/data/termios.h-data: Likewise.
65104         * conform/data/utime.h-data: Likewise.
65105         * conform/data/utmpx.h-data: Likewise.
65106         * conform/data/varargs.h-data: Likewise.
65107         * conform/data/wchar.h-data: Likewise.
65108         * conform/data/wctype.h-data: Likewise.
65109         * conform/data/wordexp.h-data: Likewise.
65111         * include/stropts.h: New file.
65112         * include/uchar.h: New file.
65113         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65114         * include/assert.h: Likewise.
65115         * include/ctype.h: Likewise.
65116         * include/dirent.h: Likewise.
65117         * include/dlfcn.h: Likewise.
65118         * include/fcntl.h: Likewise.
65119         * include/fnmatch.h: Likewise.
65120         * include/glob.h: Likewise.
65121         * include/grp.h: Likewise.
65122         * include/libio.h: Likewise.
65123         * include/locale.h: Likewise.
65124         * include/math.h: Likewise.
65125         * include/net/if.h: Likewise.
65126         * include/netdb.h: Likewise.
65127         * include/netinet/in.h: Likewise.
65128         * include/pthread.h: Likewise.
65129         * include/pwd.h: Likewise.
65130         * include/regex.h: Likewise.
65131         * include/sched.h: Likewise.
65132         * include/search.h: Likewise.
65133         * include/setjmp.h: Likewise.
65134         * include/signal.h: Likewise.
65135         * include/stdio.h: Likewise.
65136         * include/stdlib.h: Likewise.
65137         * include/string.h: Likewise.
65138         * include/sys/cdefs.h: Likewise.
65139         * include/sys/mman.h: Likewise.
65140         * include/sys/msg.h: Likewise.
65141         * include/sys/resource.h: Likewise.
65142         * include/sys/select.h: Likewise.
65143         * include/sys/socket.h: Likewise.
65144         * include/sys/stat.h: Likewise.
65145         * include/sys/statvfs.h: Likewise.
65146         * include/sys/time.h: Likewise.
65147         * include/sys/times.h: Likewise.
65148         * include/sys/uio.h: Likewise.
65149         * include/sys/utsname.h: Likewise.
65150         * include/sys/wait.h: Likewise.
65151         * include/termios.h: Likewise.
65152         * include/time.h: Likewise.
65153         * include/ulimit.h: Likewise.
65154         * include/unistd.h: Likewise.
65155         * include/utime.h: Likewise.
65156         * include/wchar.h: Likewise.
65157         * include/wctype.h: Likewise.
65158         * include/wordexp.h: Likewise.
65160         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65162         * time/time.h: TIME_UTC must be a macro.
65163         Make timespec_get available for ISO C11 only as well.
65165 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65167         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65168         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65170 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65172         * configure.in: Use -o not -a in test for unsupported multi-arch.
65174 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65176         * manual/texinfo.tex: Update to version 2012-01-19.16.
65178 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65180         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65182 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65184         [BZ #13738]
65185         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65186         * manual/fdl-1.3.texi: New file.
65187         * manual/fdl-1.1.texi: File removed.
65189         [BZ #13738]
65190         * manual/libc.texinfo (FDL_VERSION): New @set.
65191         Use it for mention of FDL in cover text.
65192         (Documentation License): Use it in @include file name.
65194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65195             Roland McGrath  <roland@hack.frob.com>
65197         [BZ #5461]
65198         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65199         (not LONG_LONG_MAX and LONG_LONG_MIN.
65200         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65201         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65202         name.
65203         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65207         [BZ #2547]
65208         [BZ #11365]
65209         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65210         manipulate bits before adding and subtracting TWO23[sx].
65211         * math/libm-test.inc (nearbyint_test): Add more tests.
65213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65215         [BZ #2548]
65216         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65217         bits before adding and subtracting TWO23[sx].
65218         * math/libm-test.inc (rint_test): Add more tests.
65219         (rint_test_tonearest): Likewise.
65220         (rint_test_towardzero): Likewise.
65221         (rint_test_downward): Likewise.
65222         (rint_test_upward: Likewise.
65224 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65226         [BZ #10110]
65227         * include/stdc-predef.h: New file.  Extracted from features.h.
65228         * include/features.h: Include stdc-predef.h.
65229         * Makefile (headers): Add stdc-predef.h.
65230         * CONFORMANCE (Compiler limitations): Update.
65232 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65234         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65236 2012-02-21  David S. Miller  <davem@davemloft.net>
65238         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65239         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65241 2012-02-20  David S. Miller  <davem@davemloft.net>
65243         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65244         using a normal save/restore sequence, rather than allocating a
65245         dummy stack frame just to store a frame pointer and restore.
65246         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65248 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65250         * manual/install.texi: Fix stray word in line-wrapped comment.
65252 2012-02-20  David S. Miller  <davem@davemloft.net>
65254         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65255         both binutils and gcc support GOTDATA.
65257         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65258         "rd %pc" in the PIC register setup sequences.
65260         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65261         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65262         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65263         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65264         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65267         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65269         (SYSCALL_ERROR_HANDLER): Likewise.
65270         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65271         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65273         (SYSCALL_ERROR_HANDLER): Likewise.
65275         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65276         (HAVE_GCC_GOTDATA): New.
65277         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65278         relocation support in both binutils and gcc.
65279         * sysdeps/sparc/elf/configure: Regenerate.
65281         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65282         * sysdeps/sparc/sparc32/elf/configure: Delete.
65283         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65284         * sysdeps/sparc/sparc64/elf/configure: Delete.
65285         * sysdeps/sparc/elf/configure.in: New file.
65286         * sysdeps/sparc/elf/configure: Generate.
65288         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65289         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65290         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65291         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65292         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65294 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65296         * manual/install.texi: Do not mention specific glibc version
65297         numbers.
65298         * manual/libc.texinfo (VERSION, UPDATED): Update.
65299         (@copying): Use @copyright{} and range of years.
65301 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65303         [BZ #13695]
65304         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65305         [crti.S not in sysdirs] (generated): Do not append.
65306         [crti.S not in sysdirs] (omit-deps): Likewise.
65307         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65308         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65309         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65310         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65311         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65312         Likewise.
65313         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65314         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65315         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65316         * csu/defs.awk: Remove file.
65317         * sysdeps/generic/initfini.c: Likewise.
65318         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65319         variable.
65320         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65321         Likewise.
65323 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65325         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65326         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65327         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65328         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65329         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65330         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65331         <bits/epoll.h>.
65332         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65333         (__EPOLL_PACKED): Define to empty if not defined by
65334         <bits/epoll.h>.
65335         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65337         bits/epoll.h.
65339 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65341         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65342         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65343         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65344         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65345         <bits/timerfd.h>.
65346         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65348         bits/timerfd.h.
65350 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65352         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65353         in C locale.
65354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65356         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65359 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65361         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65362         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65364 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65366         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65367         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65368         defined.
65369         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65370         Likewise.
65371         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65372         entry for 2.16.
65374 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65376         * math/w_acos.c: Use non-signaling floating-point comparisons.
65377         * math/w_acosf.c: Likewise.
65378         * math/w_acosh.c: Likewise.
65379         * math/w_acoshf.c: Likewise.
65380         * math/w_acoshl.c: Likewise.
65381         * math/w_acosl.c: Likewise.
65382         * math/w_asin.c: Likewise.
65383         * math/w_asinf.c: Likewise.
65384         * math/w_asinl.c: Likewise.
65385         * math/w_atanh.c: Likewise.
65386         * math/w_atanhf.c: Likewise.
65387         * math/w_atanhl.c: Likewise.
65388         * math/w_exp2.c: Likewise.
65389         * math/w_exp2f.c: Likewise.
65390         * math/w_exp2l.c: Likewise.
65391         * math/w_j0.c: Likewise.
65392         * math/w_j0f.c: Likewise.
65393         * math/w_j0l.c: Likewise.
65394         * math/w_j1.c: Likewise.
65395         * math/w_j1f.c: Likewise.
65396         * math/w_j1l.c: Likewise.
65397         * math/w_jn.c: Likewise.
65398         * math/w_jnf.c: Likewise.
65399         * math/w_log.c: Likewise.
65400         * math/w_log10.c: Likewise.
65401         * math/w_log10f.c: Likewise.
65402         * math/w_log10l.c: Likewise.
65403         * math/w_log2.c: Likewise.
65404         * math/w_log2f.c: Likewise.
65405         * math/w_log2l.c: Likewise.
65406         * math/w_logf.c: Likewise.
65407         * math/w_logl.c: Likewise.
65408         * math/w_sqrt.c: Likewise.
65409         * math/w_sqrtf.c: Likewise.
65410         * math/w_sqrtl.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65412         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65413         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65414         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65415         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65417 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65419         [BZ #9739]
65420         * manual/string.texi (strnlen): Use correct parameter name in
65421         equivalent expression.
65423 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65425         [BZ #11174]
65426         * manual/users.texi (seteuid): Consistently use neweuid for
65427         argument name.
65429 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65431         [BZ #13704]
65432         * manual/nss.texi (Services in the NSS configuration): Correct
65433         list of services in example configuration file.
65435 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65437         [BZ #11322]
65438         * manual/arith.texi: Remove statements about negative zero
65439         behaving identically to zero.
65441 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65443         [BZ #5993]
65444         * manual/install.texi: Do not document upgrading from libc5.
65446 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65448         [BZ #4596]
65449         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65451 2012-02-18  David S. Miller  <davem@davemloft.net>
65453         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65454         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65455         %o7 across the call.
65456         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65457         instead.
65458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65459         SETUP_PIC_REG_LEAF.
65460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65461         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65462         * sysdeps/sparc/crtn.S: Likewise.
65464 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65466         * aout/Makefile: Remove.
65468 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65470         [BZ #13058]
65471         * manual/examples/argp-ex1.c (main): Format definition in GNU
65472         style.
65473         * manual/examples/argp-ex2.c (main): Likewise.
65474         * manual/examples/argp-ex3.c (main): Likewise.
65475         * manual/examples/argp-ex4.c (main): Likewise.
65476         * manual/examples/longopt.c (main): Use new-style prototype
65477         definition.
65478         * manual/examples/strncat.c (main): Specify return type and use
65479         (void) for arguments.
65480         * manual/examples/subopt.c (main): Use char **argv argument.
65482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65484         [BZ #5077]
65485         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65486         rounding modes.
65488 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65490         [BZ #6907]
65491         * manual/string.texi (strchr): Change when strchrnul is
65492         recommended.
65494 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65496         [BZ #174]
65497         * manual/locale.texi (setlocale): Document LOCPATH.
65499 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65501         [BZ #10210]
65502         * manual/process.texi (execle): Move @dots{} before last argument.
65504 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65506         [BZ #12047]
65507         * manual/charset.texi (Generic Charset Conversion): Fix typo
65508         (LC_TYPE -> LC_CTYPE).
65510 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65512         [BZ #5805]
65513         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65514         (scalbnf): Likewise.
65515         (scalbnl): Likewise.
65516         (scalbln): Likewise.
65517         (scalblnf): Likewise.
65518         (scalblnl): Likewise.
65519         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65520         (vwarnx): Likewise.
65521         (verr): Likewise.
65522         (verrx): Likewise.
65523         * manual/filesys.texi (telldir): Use braces around return type.
65524         * manual/llio.texi (mmap): Add space after comma.
65525         (mmap64): Likewise.
65526         * manual/math.texi (jn): Use @var{} on parameter names.
65527         (jnf): Likewise.
65528         (jnl): Likewise.
65529         (yn): Likewise.
65530         (ynf): Likewise.
65531         (ynl): Likewise.
65532         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65533         line.
65534         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65535         "...".
65536         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65537         (sched_get_priority_max): Likewise.
65538         * manual/signal.texi (sigvec): Add space after comma.
65539         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65540         names.
65541         (if_indextoname): Likewise.
65542         (if_freenameindex): Likewise.
65543         (sendto): Use ',' instead of '.' in prototype.
65544         * manual/startup.texi (syscall): Use @dots{} instead of literal
65545         "...".
65546         * manual/stdio.texi (__fpending): Separate initial words of
65547         paragraph from @deftypefun line.
65548         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65549         "...".
65550         (vsyslog): Use @var{} on parameter names.
65551         * manual/terminal.texi (stty): Use @var{} on parameter names.
65552         * manual/users.texi (getutmp): Use @var{} on parameter names.
65553         (getutmpx): Likewise.
65555 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65557         [BZ #6884]
65558         * manual/stdio.texi (fopen): Fix typos in description of
65559         ",ccs=STRING".
65561 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65563         [BZ #4026]
65564         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65565         get clock_id definition.
65567 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65569         [BZ #4822]
65570         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65571         (madvise): Cast every argument to void on its own.
65573 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65575         [BZ #9902]
65576         * manual/startup.texi (Exit Status): Fix typo.
65578 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65580         [BZ #10140]
65581         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65582         * manual/examples/argp-ex2.c: Likewise.
65583         * manual/examples/argp-ex3.c: Likewise.
65585 2012-02-16  Richard Henderson  <rth@redhat.com>
65587         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65588         * sysdeps/s390/s390-32/initfini.c: Remove.
65589         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65590         * sysdeps/s390/s390-64/initfini.c: Remove.
65592 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65594         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65595         compiler output for sysdeps/generic/initfini.c.
65596         * sysdeps/sh/elf/initfini.c: Remove file.
65598 2012-02-16  David S. Miller  <davem@davemloft.net>
65600         [BZ #11494]
65601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65603         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65604         * sysdeps/sparc/crti.S: New file.
65605         * sysdeps/sparc/crtn.S: New file.
65606         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65607         * sysdeps/sparc/sparc64/Makefile: Likewise.
65609 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65611         [BZ #3335]
65612         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65614 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65616         [BZ #4822]
65617         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65619         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65620         (write, read, close): Likewise.
65621         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65623 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65625         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65626         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65627         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65628         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65629         <bits/signalfd.h>.
65630         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65632         bits/signalfd.h.
65634 2012-02-14  Marek Polacek  <polacek@redhat.com>
65636         * sysdeps/x86_64/crti.S: New file.
65637         * sysdeps/x86_64/crtn.S: New file.
65638         * sysdeps/x86_64/elf/initfini.c: Remove file.
65640 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65642         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65643         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65644         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65645         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65646         <bits/inotify.h>.
65647         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65649         bits/inotify.h.
65651 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65653         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65654         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65655         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65656         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65657         <bits/eventfd.h>.
65658         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65660         bits/eventfd.h.
65662 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65664         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65665         __feraiseexcept instead of feraiseexcept.
65667         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65668         nanosleep invocations.
65669         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65670         strings, and add error checking for a nanosleep invocations.
65672 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65674         Replace FSF snail mail address with URLs, as per GNU coding standards.
65675         Most of the snail mail addresses were wrong anyway, and omitting
65676         them makes the source code easier to maintain.  Almost all of the
65677         changes are to license notices and to locale LC_IDENTIFICATION
65678         addresses, except for this one:
65679         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65680         not its snail mail address.
65682 2012-02-09  Richard Henderson  <rth@twiddle.net>
65684         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65685         of kernel-features.h.
65687         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65689 2012-02-08  Marek Polacek  <polacek@redhat.com>
65691         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65692         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65693         * sysdeps/gnu/_G_config.h: Likewise.
65694         * sysdeps/generic/_G_config.h: Likewise.
65696 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65698         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65699         tests.
65700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65702         * sysdeps/powerpc/powerpc32/crti.S: New file.
65703         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65704         * sysdeps/powerpc/powerpc64/crti.S: New file.
65705         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65707         * Makeconfig (have-initfini): Don't set.
65708         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65709         * configure.in (nopic_initfini): Don't substitute.
65710         * config.h.in (HAVE_INITFINI): Don't #undef.
65711         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65712         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65714 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65716         Support crti.S and crtn.S provided directly by architectures.
65717         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65718         [crti.S in sysdirs] (omit-deps): Likewise.
65719         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65720         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65721         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65722         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65723         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65724         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65725         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65726         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65727         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65728         compiler output for sysdeps/generic/initfini.c.
65729         * sysdeps/i386/elf/Makefile: Remove file.
65730         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65732 2012-02-07  Marek Polacek  <polacek@redhat.com>
65734         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65735         * sysdeps/gnu/_G_config.h: Likewise.
65736         * sysdeps/mach/hurd/_G_config.h: Likewise.
65738 2012-02-07  Marek Polacek  <polacek@redhat.com>
65740         * math/Makefile (tests): Add tst-CMPLX2.
65741         * math/tst-CMPLX2.c: New file.
65743 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65745         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65747         * math/libm-test.inc (jn_test): Add missing L suffix.
65749 2012-02-06  Marek Polacek  <polacek@redhat.com>
65751         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65752         * sysdeps/i386/fpu/e_powf.S: Likewise.
65753         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65754         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65755         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65756         * sysdeps/i386/fpu/e_pow.S: Likewise.
65757         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65758         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65759         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65760         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65761         * sysdeps/i386/fpu/e_log2.S: Likewise.
65762         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65763         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65764         * sysdeps/i386/fpu/e_powl.S: Likewise.
65765         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65766         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65767         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65768         * sysdeps/i386/fpu/e_logl.S: Likewise.
65769         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65770         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65771         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65772         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65773         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65774         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65775         * sysdeps/i386/fpu/e_log.S: Likewise.
65776         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65777         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65778         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65779         * sysdeps/i386/fpu/e_logf.S: Likewise.
65780         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65781         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65782         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65783         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65784         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65785         * sysdeps/i386/fpu/e_log10.S: Likewise.
65786         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65787         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65788         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65789         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65790         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65791         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65792         * sysdeps/i386/asm-syntax.h: Likewise.
65793         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65794         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65795         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65796         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65797         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65798         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65799         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65800         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65801         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65802         * sysdeps/powerpc/sysdep.h: Likewise.
65803         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65804         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65806 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65808         [BZ #411]
65809         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65811 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65813         * sysdeps/i386/sysdep.h: Include <features.h>.
65814         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65815         version.
65817 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65819         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65820         Define.
65821         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65822         LOAD_PIC_REG_STR.
65824 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65826         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65827         (SETUP_PIC_REG): Use GET_PC_THUNK.
65828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65829         macro.
65831 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65833         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65834         for non-PIC compilation.
65835         (SETUP_PIC_REG): Add .p2align directive.
65836         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65837         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65838         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65839         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65840         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65841         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65842         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65843         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65850         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65851         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65852         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65853         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65854         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65855         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65856         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65857         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65858         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65859         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65862         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65863         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65864         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65865         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65866         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65867         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65868         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65869         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65870         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65871         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65872         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65873         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65874         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65875         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65876         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65878 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65880         * math/tst-CMPLX.c: Include <stdio.h>.
65882 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65884         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65885         float.
65886         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65887         * sysdeps/sparc/bits/mathdef.h: Likewise.
65889 2012-01-31  Marek Polacek  <polacek@redhat.com>
65891         * libio/libio.h: Don't define _PARAMS.
65892         * locale/programs/config.h: Don't define PARAMS.
65893         * stdlib/strtol_l.c: Likewise.
65894         (__strtol_l): Remove PARAMS from the prototype.
65896 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65898         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65899         names.  Just use the correct names.  Remove unnecessary wrapper
65900         functions.
65901         * malloc/arena.c: Likewise.
65902         * malloc/hooks.c: Likewise.
65904         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65905         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65906         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65908 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65910         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65911         into tail calls.
65912         (update_get_addr): New function.
65913         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65914         GET_ADDR_MODULE parameter.
65916 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65918         * crypt/cert.c: Remove __STDC__ conditionals.
65919         * crypt/crypt-entry.c: Likewise.
65920         * crypt/crypt_util.c: Likewise.
65921         * libio/filedoalloc.c: Likewise.
65922         * libio/fileops.c: Likewise.
65923         * libio/genops.c: Likewise.
65924         * libio/iofclose.c: Likewise.
65925         * libio/iofdopen.c: Likewise.
65926         * libio/iofopen.c: Likewise.
65927         * libio/iofopen64.c: Likewise.
65928         * libio/iogetdelim.c: Likewise.
65929         * libio/iopopen.c: Likewise.
65930         * libio/obprintf.c: Likewise.
65931         * libio/oldfileops.c: Likewise.
65932         * libio/oldiofclose.c: Likewise.
65933         * libio/oldiofdopen.c: Likewise.
65934         * libio/oldiofopen.c: Likewise.
65935         * libio/oldiopopen.c: Likewise.
65936         * libio/wfiledoalloc.c: Likewise.
65937         * libio/wgenops.c: Likewise.
65938         * locale/programs/xmalloc.c: Likewise.
65939         * misc/syslog.c: Likewise.
65940         * stdio-common/xbug.c: Likewise.
65941         * string/memchr.c: Likewise.
65942         * string/memcmp.c: Likewise.
65943         * string/memrchr.c: Likewise.
65944         * string/rawmemchr.c: Likewise.
65945         * sysdeps/posix/getcwd.c: Likewise.
65946         * time/strftime_l.c: Likewise.
65948 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65950         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65951         * config.make.in (config-cflags-sse2avx): Define.
65952         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65953         Fix typo.
65955 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65957         * scripts/config.guess: Update from upstream config git repository.
65958         * scripts/config.sub: Likewise.
65960 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65962         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65963         (EM_NUM): Update.
65964         (R_TILEPRO_*, R_TILEGX_*): New macros.
65966         * scripts/firstversions.awk: Fix bug in version range handling.
65968         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65970         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65972         * include/sys/epoll.h: New file.
65973         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65974         libc_hidden_def.
65976 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65978         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65979         Avoid unnecessary __WORDSIZE == 64 test.
65980         (fmaxf): Use VEX format if possible.
65981         (fmax): Likewise.
65982         (fminf): Likewise.
65983         (fmin): Likewise.
65985         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65986         * math/math_private.h: Remove libc_fegetround* and
65987         libc_fesetround*.
65988         * sysdeps/i386/configure.in: Check for -msse2avx.
65989         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65990         also if SSE2AVX is defined.
65991         Remove libc_fegetround* and libc_fesetround*.
65992         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65993         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65995         of HAS_YMM_USABLE.
65996         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65997         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65999         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66002         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66004 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66006         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66007         size is not set.
66008         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66010 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66012         [BZ #13618]
66013         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66014         relocation.
66015         * Makeconfig (libm): Define.
66016         * elf/Makefile: Add rules to build and run tst-relsort1.
66017         * elf/tst-relsort1.c: New file.
66018         * elf/tst-relsort1mod1.c: New file.
66019         * elf/tst-relsort1mod2.c: New file.
66021 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66023         * math/s_ldexp.c: Remove __STDC__ conditionals.
66024         * math/s_ldexpf.c: Likewise.
66025         * math/s_ldexpl.c: Likewise.
66026         * math/s_nextafter.c: Likewise.
66027         * math/s_nexttowardf.c: Likewise.
66028         * math/s_significand.c: Likewise.
66029         * math/s_significandf.c: Likewise.
66030         * math/s_significandl.c: Likewise.
66031         * math/w_jnl.c: Likewise.
66032         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66033         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66034         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66035         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66036         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66037         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66038         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66039         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66040         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66041         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66042         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66043         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66044         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66045         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66046         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66047         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66048         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66049         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66050         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66051         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66052         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66053         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66054         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66056         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66057         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66058         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66059         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66060         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66061         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66062         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66063         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66064         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66065         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66066         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66067         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66068         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66069         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66070         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66071         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66072         * sysdeps/ieee754/k_standard.c: Likewise.
66073         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66074         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66079         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66082         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66084         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66085         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66089         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66092         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66093         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66094         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66096         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66098         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66099         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66102         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66103         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66104         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66105         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66106         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66110         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66131         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66134         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66138         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66139         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66142         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66144         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66147         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66148         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66149         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66152         * sysdeps/ieee754/s_matherr.c: Likewise.
66153         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66154         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66155         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66158 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66160         * crypt/md5.h: Remove __STDC__ conditionals.
66161         * libio/libioP.h: Likewise.
66162         * locale/programs/config.h: Likewise.
66163         * sysdeps/generic/sysdep.h: Likewise.
66164         * sysdeps/i386/asm-syntax.h: Likewise.
66165         * sysdeps/s390/asm-syntax.h: Likewise.
66166         * sysdeps/unix/sysdep.h: Likewise.
66167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66170 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66172         * libio/libio.h: Remove __STDC__ conditionals.
66173         * malloc/obstack.h: Likewise.
66174         * math/complex.h: Likewise.
66175         * math/math.h: Likewise.
66176         * sysdeps/generic/_G_config.h: Likewise.
66177         * sysdeps/gnu/_G_config.h: Likewise.
66178         * sysdeps/mach/hurd/_G_config.h: Likewise.
66179         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66180         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66181         * sysdeps/sparc/bits/mathdef.h: Likewise.
66183 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66185         [BZ #13583]
66186         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66187         Clean up HAS_* macros.
66188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66189         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66190         possible.
66191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66192         HAS_AVX.
66193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66194         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66195         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66199 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66201         * elf/tst-unique3.cc (gets): Remove declaration.
66202         * elf/tst-unique3lib.cc (gets): Likewise.
66203         * elf/tst-unique3lib2.cc (gets): Likewise.
66204         * elf/tst-unique4.cc (gets): Likewise.
66206 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66208         * include/stdio.h: Add C++ protection.  Add gets declarations and
66209         definitions.
66210         * debug/tst-chk1.c: Don't declare gets here.
66211         * stdio-common/tst-gets.c: Likewise.
66213 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66215         * posix/glob: Remove directory.
66217 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66219         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66221 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66223         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66224         of the non-standard EPFNOSUPPORT.
66226 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66228         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66229         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66230         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66232 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66234         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66236 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66238         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66239         transient errors.
66240         * nscd/grpcache.c (cache_addgr): Likewise.
66241         * nscd/hstcache.c (cache_addhst): Likewise.
66242         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66243         * nscd/pwdcache.c (cache_addpw): Likewise.
66244         * nscd/servicescache.c (cache_addserv): Likewise.
66246 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66248         * malloc/malloc.c: Various cleanups.
66249         * malloc/hooks.c: Likewise.
66251         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66252         * stdlib/bug-fmtmsg1.c: New file.
66254         * stdlib/fmtmsg.c (init): Add missing unlock.
66255         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66257 2012-01-12  Marek Polacek  <polacek@redhat.com>
66259         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66260         and _GNU_SOURCE.
66262 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66264         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66265         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66266         macro to ensure uniqueness of label name.
66267         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66268         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66270 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66272         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66274         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66275         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66276         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66277         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66279 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66281         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66283         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66284         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66285         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66287         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66289         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66290         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66291         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66294         * math/bits/math-finite.h: Add ldexp support.
66296 2012-01-10  Marek Polacek  <polacek@redhat.com>
66298         * locale/programs/localedef.h (show_archive_content): Add noreturn
66299         attribute.
66301 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66303         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66305 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66307         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66309         * io/Makefile (headers): Add bits/poll2.h.
66311 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66314         typo #include statement.
66316 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66318         * include/sys/cdefs.h: Define __attribute_alloc_size.
66319         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66320         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66321         * elf/pldd.c: Likewise.
66322         * iconv/iconv_charmap.c: Likewise.
66323         * iconv/iconvconfig.c: Likewise.
66324         * iconv/strtab.c: Likewise.
66325         * locale/programs/locale.c: Likewise.
66326         * locale/programs/localedef.h: Likewise.
66327         * locale/programs/simple-hash.c: Likewise.
66328         * nscd/nscd.h: Likewise.
66329         * nss/makedb.c: Likewise.
66330         * sysdeps/generic/ldconfig.h: Likewise.
66331         * locale/programs/localedef.c: Remove xmalloc prototype.
66332         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66334 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66336         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66337         appropriate.
66339 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66341         * math/Makefile (tests): Add tst-CMPLX.
66342         * math/tst-CMPLX.c: New file.
66344         * math/complex.h (CMPLXL): Fix typo.
66346         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66347         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66348         GLIBC_2.16.
66349         * debug/tst-chk1.c: Add poll and ppoll tests.
66350         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66351         * include/sys/poll.h: Add hidden proto for ppoll.
66352         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66353         * sysdeps/mach/hurd/ppoll.c: Likewise.
66354         * io/ppoll.c: Likewise.
66355         * debug/poll_chk.c: New file.
66356         * debug/ppoll_chk.c: New file.
66357         * include/bits/poll2.h: New file.
66358         * io/bits/poll2.h: New file.
66360         [BZ #1350]
66361         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66363         * configure.in: static is always set to yes.  Remove.
66364         * config.make.in: Don't set build-static.
66365         * Makeconfig: Remove use of build-static.
66366         * dlfcn/Makefile: Likewise.
66367         * elf/Makefile: Likewise.
66368         * math/Makefile: Likewise.
66369         * misc/Makefile: Likewise.
66370         * nptl/Makefile: Likewise.
66371         * sysdeps/mach/hurd/Makefile: Likewise.
66373         * configure.in: PWD_P is not used anymore.
66374         * config.make.in: Remove PWD_P entry.
66376         * configure.in: Remove last remnants of RANLIB.
66377         No need to check for signed size_t anymore.
66378         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66379         and IA-64.
66380         Remove __builtin_expect test because we require at least gcc 3.4.
66381         * aclocal.m4: Likewise.
66383         * wcsmbs/mbrtoc16.c: Implement using towc function.
66384         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66385         * wcsmbs/wcsmbsload.c: Likewise.
66386         * iconv/gconv_simple.c: Likewise.
66387         * iconv/gconv_int.h: Likewise.
66388         * iconv/gconv_builtin.h: Likewise.
66389         * iconv/iconv_prog.c: Remove CHAR16 handling.
66391         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66393         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66395         * configure.in: Remove --with-elf and --enable-bounded options.
66396         Dont set base_machine for ia64.  More non-ELF conditions removed.
66397         Remove testing and setting of leading underscore information.
66398         * config.make.in (build-bounded): Set to no.
66399         * config.h.in: Remove NO_UNDERSCORES entry.
66400         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66401         them.
66402         * csu/start.c: Remove !NO_UNDERSCORE code.
66403         * locale/localeinfo.h: Likewise.
66404         * sysdeps/generic/machine-gmon.h: Likewise.
66405         * sysdeps/generic/sysdep.h: Likewise.
66406         * sysdeps/i386/sysdep.h: Likewise.
66407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66408         * sysdeps/mach/sysdep.h: Likewise.
66409         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66410         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66411         * sysdeps/sh/sysdep.h: Likewise.
66412         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66413         * sysdeps/unix/i386/sysdep.S: Likewise.
66414         * sysdeps/unix/sparc/start.c: Likewise.
66415         * sysdeps/unix/sparc/sysdep.S: Likewise.
66416         * sysdeps/unix/sparc/sysdep.h: Likewise.
66417         * sysdeps/unix/start.c: Likewise.
66418         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66419         * sysdeps/x86_64/sysdep.h: Likewise.
66421 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66423         [BZ #13553]
66424         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66425         for non-gcc.
66426         * argp/argp-fmtstream.h: Use const instead __const.
66427         * argp/argp.h: Likewise.
66428         * assert/assert.h: Likewise.
66429         * bits/fenv.h: Likewise.
66430         * bits/sched.h: Likewise.
66431         * bits/sigset.h: Likewise.
66432         * bits/sigthread.h: Likewise.
66433         * catgets/nl_types.h: Likewise.
66434         * conform/data/pthread.h-data: Likewise.
66435         * crypt/crypt-private.h: Likewise.
66436         * crypt/crypt.h: Likewise.
66437         * crypt/crypt_util.c: Likewise.
66438         * ctype/ctype.h: Likewise.
66439         * debug/execinfo.h: Likewise.
66440         * debug/mbsnrtowcs_chk.c: Likewise.
66441         * debug/mbsrtowcs_chk.c: Likewise.
66442         * debug/wcsnrtombs_chk.c: Likewise.
66443         * debug/wcsrtombs_chk.c: Likewise.
66444         * debug/wcstombs_chk.c: Likewise.
66445         * dirent/dirent.h: Likewise.
66446         * dlfcn/dlfcn.h: Likewise.
66447         * elf/neededtest4.c: Likewise.
66448         * grp/grp.h: Likewise.
66449         * gshadow/gshadow.h: Likewise.
66450         * iconv/gconv.h: Likewise.
66451         * iconv/gconv_int.h: Likewise.
66452         * iconv/gconv_simple.c: Likewise.
66453         * iconv/iconv.h: Likewise.
66454         * iconv/loop.c: Likewise.
66455         * iconv/skeleton.c: Likewise.
66456         * include/aio.h: Likewise.
66457         * include/aliases.h: Likewise.
66458         * include/argz.h: Likewise.
66459         * include/arpa/inet.h: Likewise.
66460         * include/assert.h: Likewise.
66461         * include/dirent.h: Likewise.
66462         * include/dlfcn.h: Likewise.
66463         * include/execinfo.h: Likewise.
66464         * include/fcntl.h: Likewise.
66465         * include/fenv.h: Likewise.
66466         * include/glob.h: Likewise.
66467         * include/grp.h: Likewise.
66468         * include/libintl.h: Likewise.
66469         * include/mntent.h: Likewise.
66470         * include/netdb.h: Likewise.
66471         * include/pwd.h: Likewise.
66472         * include/rpc/netdb.h: Likewise.
66473         * include/sched.h: Likewise.
66474         * include/search.h: Likewise.
66475         * include/shadow.h: Likewise.
66476         * include/signal.h: Likewise.
66477         * include/stdio.h: Likewise.
66478         * include/stdlib.h: Likewise.
66479         * include/string.h: Likewise.
66480         * include/sys/socket.h: Likewise.
66481         * include/sys/stat.h: Likewise.
66482         * include/sys/statfs.h: Likewise.
66483         * include/sys/statvfs.h: Likewise.
66484         * include/sys/syslog.h: Likewise.
66485         * include/sys/time.h: Likewise.
66486         * include/sys/uio.h: Likewise.
66487         * include/time.h: Likewise.
66488         * include/unistd.h: Likewise.
66489         * include/utmp.h: Likewise.
66490         * include/wchar.h: Likewise.
66491         * include/wctype.h: Likewise.
66492         * inet/aliases.h: Likewise.
66493         * inet/arpa/inet.h: Likewise.
66494         * inet/netinet/ether.h: Likewise.
66495         * inet/netinet/in.h: Likewise.
66496         * intl/libintl.h: Likewise.
66497         * io/bits/fcntl2.h: Likewise.
66498         * io/fcntl.h: Likewise.
66499         * io/ftw.h: Likewise.
66500         * io/sys/poll.h: Likewise.
66501         * io/sys/stat.h: Likewise.
66502         * io/sys/statfs.h: Likewise.
66503         * io/sys/statvfs.h: Likewise.
66504         * io/utime.h: Likewise.
66505         * libio/bits/stdio.h: Likewise.
66506         * libio/bits/stdio2.h: Likewise.
66507         * libio/libio.h: Likewise.
66508         * libio/libioP.h: Likewise.
66509         * libio/stdio.h: Likewise.
66510         * locale/lc-ctype.c: Likewise.
66511         * locale/locale.h: Likewise.
66512         * login/utmp.h: Likewise.
66513         * malloc/arena.c: Likewise.
66514         * malloc/malloc.c: Likewise.
66515         * malloc/malloc.h: Likewise.
66516         * malloc/mcheck.c: Likewise.
66517         * malloc/mtrace.c: Likewise.
66518         * math/bits/mathcalls.h: Likewise.
66519         * math/fenv.h: Likewise.
66520         * math/math_private.h: Likewise.
66521         * misc/bits/error.h: Likewise.
66522         * misc/bits/syslog.h: Likewise.
66523         * misc/err.h: Likewise.
66524         * misc/error.h: Likewise.
66525         * misc/fstab.h: Likewise.
66526         * misc/mntent.h: Likewise.
66527         * misc/regexp.h: Likewise.
66528         * misc/search.h: Likewise.
66529         * misc/sgtty.h: Likewise.
66530         * misc/sys/mman.h: Likewise.
66531         * misc/sys/syslog.h: Likewise.
66532         * misc/sys/uio.h: Likewise.
66533         * misc/sys/xattr.h: Likewise.
66534         * misc/ttyent.h: Likewise.
66535         * nis/rpcsvc/ypclnt.h: Likewise.
66536         * nss/nss.h: Likewise.
66537         * posix/bits/unistd.h: Likewise.
66538         * posix/fnmatch.h: Likewise.
66539         * posix/glob.h: Likewise.
66540         * posix/sched.h: Likewise.
66541         * posix/spawn.h: Likewise.
66542         * posix/sys/wait.h: Likewise.
66543         * posix/unistd.h: Likewise.
66544         * posix/wordexp.h: Likewise.
66545         * pwd/pwd.h: Likewise.
66546         * resolv/netdb.h: Likewise.
66547         * resource/sys/resource.h: Likewise.
66548         * rt/aio.h: Likewise.
66549         * rt/bits/mqueue2.h: Likewise.
66550         * rt/mqueue.h: Likewise.
66551         * shadow/shadow.h: Likewise.
66552         * signal/signal.h: Likewise.
66553         * socket/send.c: Likewise.
66554         * socket/sendto.c: Likewise.
66555         * socket/sys/socket.h: Likewise.
66556         * stdio-common/printf.h: Likewise.
66557         * stdlib/bits/stdlib.h: Likewise.
66558         * stdlib/fmtmsg.h: Likewise.
66559         * stdlib/monetary.h: Likewise.
66560         * stdlib/stdlib.h: Likewise.
66561         * stdlib/ucontext.h: Likewise.
66562         * streams/stropts.h: Likewise.
66563         * string/argz.h: Likewise.
66564         * string/bits/string2.h: Likewise.
66565         * string/string.h: Likewise.
66566         * string/strings.h: Likewise.
66567         * sunrpc/rpc/auth.h: Likewise.
66568         * sunrpc/rpc/auth_des.h: Likewise.
66569         * sunrpc/rpc/clnt.h: Likewise.
66570         * sunrpc/rpc/netdb.h: Likewise.
66571         * sunrpc/rpc/pmap_clnt.h: Likewise.
66572         * sunrpc/rpc/xdr.h: Likewise.
66573         * sysdeps/generic/inttypes.h: Likewise.
66574         * sysdeps/generic/net/if.h: Likewise.
66575         * sysdeps/generic/sys/swap.h: Likewise.
66576         * sysdeps/gnu/net/if.h: Likewise.
66577         * sysdeps/gnu/utmpx.h: Likewise.
66578         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66579         * sysdeps/i386/i486/bits/string.h: Likewise.
66580         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66581         * sysdeps/s390/bits/string.h: Likewise.
66582         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66583         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66584         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66585         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66586         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66587         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66588         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66589         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66590         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66591         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66592         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66593         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66594         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66595         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66596         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66597         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66598         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66599         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66600         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66601         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66602         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66603         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66604         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66605         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66606         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66607         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66608         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66610         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66611         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66612         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66613         * sysvipc/sys/ipc.h: Likewise.
66614         * sysvipc/sys/msg.h: Likewise.
66615         * sysvipc/sys/sem.h: Likewise.
66616         * sysvipc/sys/shm.h: Likewise.
66617         * termios/termios.h: Likewise.
66618         * time/sys/time.h: Likewise.
66619         * time/time.h: Likewise.
66620         * wcsmbs/bits/wchar2.h: Likewise.
66621         * wcsmbs/uchar.h: Likewise.
66622         * wcsmbs/wchar.h: Likewise.
66623         * wctype/wctype.h: Likewise.
66625         [BZ #13551]
66626         * Makeconfig: Remove all but ELF support including AIX support.
66627         * Makerules: Likewise.
66628         * config.h.in: Likewise.
66629         * config.make.in: Likewise.
66630         * configure: Likewise.
66631         * configure.in: Likewise.
66632         * csu/Makefile: Likewise.
66633         * csu/version.c: Likewise.
66634         * debug/Makefile: Likewise.
66635         * dlfcn/Makefile: Likewise.
66636         * elf/Makefile: Likewise.
66637         * extra-lib.mk: Likewise.
66638         * iconv/Makefile: Likewise.
66639         * include/libc-symbols.h: Likewise.
66640         * include/shlib-compat.h: Likewise.
66641         * resolv/Makefile: Likewise.
66642         * resolv/res_libc.c: Likewise.
66643         * rt/Makefile: Likewise.
66644         * sysdeps/i386/asm-syntax.h: Likewise.
66645         * sysdeps/i386/sysdep.h: Likewise.
66646         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66647         * sysdeps/mach/sysdep.h: Likewise.
66648         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66649         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66650         * sysdeps/s390/asm-syntax.h: Likewise.
66651         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66652         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66653         * sysdeps/sh/sysdep.h: Likewise.
66654         * sysdeps/unix/sparc/sysdep.h: Likewise.
66655         * sysdeps/wordsize-32/divdi3.c: Likewise.
66656         * sysdeps/x86_64/sysdep.h: Likewise.
66658         * argp/Versions: Remove _argp_unlock_xxx.
66660         [BZ #13559]
66661         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66662         * abilist/libBrokenLocale.abilist: Likewise.
66663         * abilist/libanl.abilist: Likewise.
66664         * abilist/libc.abilist: Likewise.
66665         * abilist/libcrypt.abilist: Likewise.
66666         * abilist/libdl.abilist: Likewise.
66667         * abilist/libm.abilist: Likewise.
66668         * abilist/libnsl.abilist: Likewise.
66669         * abilist/libpthread.abilist: Likewise.
66670         * abilist/libresolv.abilist: Likewise.
66671         * abilist/librt.abilist: Likewise.
66672         * abilist/libthread_db.abilist: Likewise.
66673         * abilist/libutil.abilist: Likewise.
66674         * abilist/libnss_db.abilist: New file.
66676         * scripts/abilist.awk: Add support for indirect functions.
66678         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66680         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66682         * shlib-versions: Remove entries for ports architectures.
66684         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66685         files in ports.
66686         * elf/stackguard-macros.h: Remove support for IA-64.
66687         * elf/tst-auditmod1.c: Likewise.
66688         * sysdeps/generic/ldsodefs.h: Likewise.
66690         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66691         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66692         configure files.
66694         [BZ #13552]
66695         * configure.in: Remove --enable-omitfp support.
66696         * FAQ.in: Adjust.
66697         * config.make.in: Likewise.
66698         * Makeconfig: Likewise.
66699         * manual/install.texi: Likewise.
66701         In case anyone cares, the IA-64 architecture could move to ports.
66702         * sysdeps/ia64/*: Removed.
66703         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66704         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66706         [BZ #13555]
66707         * configure.in: Remove entries for unsupported architectures.
66709         [BZ #13533]
66710         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66711         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66712         routines.
66713         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66714         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66715         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66716         fall back to using wcrtomb.
66717         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66718         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66719         renaming.
66720         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66721         * wcsmbs/tst-c16c32-1.c: New file.
66723         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66724         local variable.
66726         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66728         * elf/tst-unique3.cc: Add explicit declaration of gets.
66729         * elf/tst-unique3lib.cc: Likewise.
66730         * elf/tst-unique3lib2.cc: Likewise.
66731         * elf/tst-unique4.cc: Likewise.
66733         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66735 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66737         [BZ #13566]
66738         * assert/assert.h (static_assert): Don't define for C++.
66739         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66740         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66742 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66744         * iconv/loop.c (single loop): Fix assertion in storing of
66745         remaining bytes.
66747         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66749 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66751         * posix/getconf.c: Update copyright year.
66752         * nss/getent.c: Likewise.
66753         * nss/makedb.c: Likewise.
66754         * iconv/iconvconfig.c: Likewise.
66755         * iconv/iconv_prog.c: Likewise.
66756         * elf/ldconfig.c: Likewise.
66757         * elf/pldd.c: Likewise.
66758         * elf/sotruss.ksh: Likewise.
66759         * catgets/gencat.c: Likewise.
66760         * csu/version.c: Likewise.
66761         * elf/ldd.bash.in: Likewise.
66762         * elf/sprof.c (print_version): Likewise.
66763         * locale/programs/locale.c: Likewise.
66764         * locale/programs/localedef.c: Likewise.
66765         * login/programs/pt_chown.c: Likewise.
66766         * nscd/nscd.c (print_version): Likewise.
66767         * debug/xtrace.sh: Likewise.
66768         * malloc/memusage.sh: Likewise.
66769         * malloc/mtrace.pl: Likewise.
66770         * debug/catchsegv.sh: Likewise.
66772 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66774         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66775         pure attribute.
66777 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66779         [BZ #13533]
66780         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66781         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66782         transformations.
66783         * iconv/gconv_int.h: Likewise.
66784         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66785         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66786         from libc for GLIBC_2.16.
66787         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66788         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66789         * wcsmbs/uchar.h: Really define mbstate_t.
66790         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66791         * wcsmbs/c16rtomb.c: New file.
66792         * wcsmbs/mbrtoc16.c: New file.
66793         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66794         for C/POSIX locale.
66795         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66796         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66798         * wcsmbs/wchar.h: Add missing __restrict.
66800 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66802         [BZ #13532]
66803         * time/Makefile (routines): Add timespec_get.
66804         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66805         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66806         timespec for ISO C11.
66807         * time/timespec_get.c: New file.
66808         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66809         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66811         [BZ #13531]
66812         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66813         * stdlib/stdlib.h: Declare aligned_alloc.
66814         * Versions.def: Add GLIBC_2.16 for libc.
66815         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66817         [BZ 13527]
66818         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66819         ISO C11.
66821         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66822         code.
66824         [BZ #13528]
66825         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66827         [BZ #13529]
66828         * assert/assert.h (static_assert): Define.
66830         * version.h: Update for 2.16 development version.
66832         [BZ #13526]
66833         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66834         _ISOC11_SOURCE.
66836         * version.h (RELEASE): Bump for 2.15 release.
66837         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66839         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66840         Patch by Marek Polacek <mpolacek@redhat.com>.
66842         * bits/byteswap.h: Protect long long constants with __extension__.
66843         * sysdeps/i386/bits/byteswap.h: Likewise.
66844         * sysdeps/ia64/bits/byteswap.h: Likewise.
66845         * sysdeps/s390/bits/byteswap.h: Likewise.
66846         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66848 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66850         [BZ #13540]
66851         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66852         destination buffer.
66853         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66855 2011-12-23  Marek Polacek  <polacek@redhat.com>
66857         * elf/dl-addr.c (determine_info): Add inline keyword.
66858         * elf/tst-auditmod4b.c (check_avx): Likewise.
66859         * elf/tst-auditmod6b.c (check_avx): Likewise.
66860         * elf/tst-auditmod6c.c (check_avx): Likewise.
66861         * elf/tst-auditmod7b.c (check_avx): Likewise.
66863 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66865         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66866         !__SSE_MATH__.
66868 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66870         [BZ #13540]
66871         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66872         processing for last bytes.
66874 2011-08-06  Bruno Haible  <bruno@clisp.org>
66876         [BZ #13061]
66877         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66878         U+0385, not to U+1FEE.
66880         [BZ #13062]
66881         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66882         entry for U+00A5 U+0301.
66884 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66886         [BZ #13166]
66887         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66888         buffer for the output is too small.
66890         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66891         optimization.
66893         [BZ #13185]
66894         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66895         SSE flags if possible.
66897 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66899         [BZ #13540]
66900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66901         processing for last bytes.
66903 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66905         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66906         (syscall-list-default-options, syscall-list-default-condition)
66907         (syscall-list-includes): Define.
66908         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66909         list of ABIs and options and #if conditions for each ABI.  Do not
66910         handle common syscalls between ABIs specially.
66911         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66912         Remove.
66913         (syscall-list-variants, syscall-list-32bit-options)
66914         (syscall-list-32bit-condition, syscall-list-64bit-options)
66915         (syscall-list-64bit-condition): Define.
66916         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66917         (syscall-list-variants, syscall-list-32bit-options)
66918         (syscall-list-32bit-condition, syscall-list-64bit-options)
66919         (syscall-list-64bit-condition): Define.
66920         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66921         Remove.
66922         (syscall-list-variants, syscall-list-32bit-options)
66923         (syscall-list-32bit-condition, syscall-list-64bit-options)
66924         (syscall-list-64bit-condition): Define.
66925         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66926         Remove.
66927         (syscall-list-variants, syscall-list-32bit-options)
66928         (syscall-list-32bit-condition, syscall-list-64bit-options)
66929         (syscall-list-64bit-condition): Define.
66931 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66933         * locale/iso-639.def: Add brx entry.
66935         [BZ #13328]
66936         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66937         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66939         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66940         __feraiseexcept_renamed.
66942 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66944         [BZ #13538]
66945         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66946         EPOLLET with unsigned values.
66947         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66948         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66950         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66951         to large cancellation.
66952         * math/s_cacoshf.c: Likewise.
66953         * math/s_cacoshl.c: Likewise.
66955 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66957         [BZ #13305]
66958         [BZ #12786]
66959         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66960         * math/s_cacoshf.c: Likewise.
66961         * math/s_cacoshl.c: Likewise.
66963 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66965         [BZ #13439]
66966         * iconv/gconv.h: Define __GCONV_SWAP.
66967         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66968         * iconvdata/utf-16.c: Likewise.
66969         * iconvdata/utf-32.c: Likewise.
66971 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66973         [BZ #13524]
66974         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66975         numerator after shifting it by one limb.
66977 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66980         under [__USE_EXTERN_INLINES].
66982 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66984         [BZ #13446]
66985         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66987 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66989         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66990         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66991         optimized code.
66992         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66993         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66994         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66995         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66996         for strncasecmp/strncasecmp_l compilation.
66997         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66998         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67000 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67002         [BZ #13484]
67003         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67004         of __asm__.
67006 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67008         [BZ #13506]
67009         * time/tzfile.c (__tzfile_read): Check values from file header.
67011 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67013         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67014         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67015         * powerpc/powerpc32/dl-start.S: Likewise.
67016         * powerpc/powerpc32/elf/start.S: Likewise.
67017         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67018         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67019         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67020         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67021         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67022         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67023         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67024         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67025         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67026         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67027         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67028         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67029         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67030         * powerpc/powerpc32/memset.S: Likewise.
67031         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67032         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67033         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67034         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67035         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67036         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67037         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67038         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67039         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67040         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67041         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67042         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67043         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67045 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67047         * math/libm-test.inc: Added more nearbyint tests.
67048         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67049         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67050         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67053 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67055         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67056         FD_CLOEXEC.
67058 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67060         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67061         Add wcscpy-ssse3 wcscpy-c.
67062         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67063         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67064         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67065         * sysdeps/x86_64/wcschr.S: New file.
67066         * sysdeps/x86_64/wcsrchr.S: New file.
67067         * string/test-strcmp.c: Remove checking of wcscmp function for
67068         wrong alignments.
67069         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67070         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67071         wcsrchr-sse2 wcsrchr-c.
67072         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67073         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67074         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67075         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67076         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67077         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67078         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67079         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67080         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67081         * wcsmbc/wcschr.c (WCSCHR): New macro.
67083 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67085         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67086         * wcsmbs/test-wcsrchr.c: New file.
67087         * string/test-strrchr.c: Add wcsrchr support.
67088         (WIDE): New macro.
67089         * wcsmbs/test-wcscpy.c: New file.
67090         * string/test-strcpy.c: Add wcscpy support.
67091         (WIDE): New macro.
67093 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67095         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67096         the inner loop.
67098 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67100         [BZ #13472]
67101         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67103 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67105         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67106         Minor optimizations.
67108         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67109         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67110         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67112 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67114         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67115         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67116         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67117         for gcc to avoid warnings.
67118         * inet/Makefile (tests): Add tst-checks.
67119         * inet/tst-checks.c: New file.
67121         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67122         warning.
67124         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67125         __wmemcmp_sse2.
67127         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67128         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67130         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67132 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67134         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67135         problem.
67137         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67139 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67141         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67142         conditional on GCC version.
67143         (__arch_compare_and_exchange_val_8_acq)
67144         (__arch_compare_and_exchange_val_16_acq)
67145         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67146         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67147         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67149 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67151         * sysdeps/sh/backtrace.c: New file.
67153 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67155         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67156         parenthesis.
67158 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67160         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67161         falling back to utime.
67163 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67165         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67166         expectations for float.
67168 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67170         * locale/weight.h (findidx): Add parameter len.
67171         * locale/weightwc.h (findidx): Likewise.
67172         * posix/fnmatch_loop.c (FCT): Adjust caller.
67173         * posix/regcomp.c (build_equiv_class): Likewise.
67174         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67175         * posix/regexec.c (check_node_accept_bytes): Likewise.
67176         * string/strcoll_l.c (STRCOLL): Likewise.
67177         * string/strxfrm_l.c (STRXFRM): Likewise.
67179 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67181         * Makefile.in: Remove CVSOPT handling.
67182         * configure.in: Remove use of AC_REVISION.
67183         * iconvdata/Makefile (distribute): No need to filter out CVS.
67184         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67185         handling.
67187 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67190         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67191         [USE_AS_STRNCASECMP_L]: Likewise.
67192         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67193         NO_TLS_DIRECT_SEG_REFS.
67194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67195         Fix argument offsets for non-PIC.
67196         [USE_AS_STRNCASECMP_L]: Likewise.
67197         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67198         NO_TLS_DIRECT_SEG_REFS.
67200 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67202         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67203         O_CLOEXEC.
67204         * locale/loadlocale.c (_nl_load_locale): Likewise.
67206 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67208         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67209         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67210         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67211         (SYSCALL_GETTIME): Set errno on error.
67213         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67214         count references to noai6ai_cached.
67216 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67218         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67220         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67221         FD_CLOEXEC for /proc/self/maps.
67223         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67224         FD_CLOEXEC for /proc/meminfo.
67226         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67227         gai.conf.
67229         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67230         FD_CLOEXEC for given file.
67232         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67234         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67235         FD_CLOEXEC for /etc/hosts.
67236         (_gethtent): Likewise.
67238         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67240         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67241         cancellation and set FD_CLOEXEC for /etc/netgroup.
67243         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67244         reading /etc/publickey.
67246         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67247         allow cancellation when reading /etc/group.
67249         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67250         cancellation.
67251         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67253         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67254         when using data file.
67256         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67258         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67259         (write_nis_obj): Use "c" and "e" in fopen.
67261         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67263         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67265         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67267         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67269         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67270         locale.alias.
67272         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67274         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67276         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67278         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67279         file parsing and set FD_CLOEXEC.
67281 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67283         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67285 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67287         * malloc/arena.c (arena_get2): Don't call reused_arena when
67288         _int_new_arena failed.
67290 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67292         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67293         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67294         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67295         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67296         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67297         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67298         to compile strcasecmp and strncasecmp.
67299         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67300         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67302         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67304 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67306         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67307         locale-defines.sym to gen-as-const-headers.
67308         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67309         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67311         to compile strcasecmp and strncasecmp.
67312         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67313         strcasecmp_l and strncasecmp_l.
67314         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67315         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67316         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67317         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67318         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67319         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67320         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67321         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67322         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67323         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67324         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67326 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67328         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67329         result of SYSDEP_GETTIME_CPU to retval.
67330         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67331         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67333         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67334         variable.
67336         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67337         mantissa words.
67338         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67340         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67341         from unused variable.
67343         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67344         DWARF definitions.
67345         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67346         for assembling.
67348         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67349         over namespaces.
67351         * sunrpc/rpc_prot.c (rejected): Fix case value.
67353         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67354         unsigned long long int to avoid warnings in shift.
67356         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67357         of use of trans.
67358         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67359         variable tmp.
67361         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67362         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67363         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67365         * nis/nis_table.c (nis_list): Use variable of correct type for
67366         result of __follow_path call.
67368 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67370         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67371         of math functions ceil, trunc, floor, round, and sqrt, when
67372         avaliable on the platform.
67373         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67374         name clash.
67375         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67376         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67377         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67379 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67381         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67382         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67384 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67386         * include/unistd.h: Fix __readlink return type.
67387         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67389 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67391         * stdlib/ucontext.h: Undo last change for makecontext.
67393 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67395         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67397         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67398         * setjmp/setjmp.h: Mark functions as non-leaf.
67399         * setjmp/bits/setjmp2.h: Likewise.
67400         * stdlib/ucontext.h: Likewise.
67402 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67404         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67405         (reused_arena): Don't check arena limit.
67406         (arena_get2): Atomically check arena limit.
67408 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67410         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67411         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67414         instructions.
67416 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67418         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67419         handler when locking.
67421         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67422         Fix size of allocated buffer.
67424 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67426         [BZ #10103]
67427         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67428         declarations for long double functions.
67429         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67431         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67433 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67435         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67436         installed.
67438         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67439         is disabled.
67441 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67443         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67445 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67447         * include/alloca.h (stackinfo_alloca_round): Define.
67448         (extend_alloca): Use it.
67449         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67450         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67451         here.
67453         * scripts/check-local-headers.sh: Ignore libaudit.h.
67455         * nscd/Makefile (extra-objs): Make recursively expanded.
67457 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67459         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67460         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67462         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67463         * posix/tst-rfc3484-2.c: Likewise.
67464         * posix/tst-rfc3484-3.c: Likewise.
67466         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67467         process_vm_writev.
67468         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67469         process_vm_writev.
67470         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67471         process_vm_writev from libc using GLIBC_2.15 version.
67473         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67475 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67477         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67478         stack usage.
67480 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67482         [BZ #13367]
67483         * nss/getent.c (initgroups_keys): Show error message in case no group
67484         names are given.
67486         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67487         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67488         __bump_nl_timestamp.
67489         * nscd/connections (nscd_init): When host database is served open
67490         netlink socket and request notification about configuration changes.
67491         (main_loop_poll): Track netlink file descriptor and bump timestamp
67492         in case data becomes available.
67493         (main_loop_epoll): Likewise.
67494         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67495         (database_pers_head): Add extra_data fileds.
67496         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67497         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67498         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67499         Adjust caller.
67500         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67501         in6ai data, call __free_in6ai.
67502         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67503         Add -DHAVE_NETLINK.
67504         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67505         interface information.  Reuse previous data if netlink timestamp
67506         is not changed.
67507         (__bump_nl_timestamp): New function.
67508         (__free_in6ai): New function.
67510 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67512         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67513         close_not_cancel_no_status here.
67514         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67516 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67518         [BZ #13276]
67519         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67520         return value.
67522         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67523         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67524         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67526 2011-07-03  Andreas Jaeger  <aj@suse.de>
67528         [BZ #10709]
67529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67530         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67531         * math/libm-test.inc (sin_test): Add test case.
67533 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67535         [BZ #13337]
67536         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67537         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67539         * elf/chroot_canon.c (chroot_canon): Cleanups.
67541         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67543         [BZ #13335]
67544         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67545         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67547         * string/test-strchr.c: Make usable for strchrnul testing.
67548         * string/test-strchrnul.c: New file.
67549         * string/Makefile (strop-tests): Add strchrnul.
67551         * po/it.po: Update from translation team.
67552         * po/es.po: Likewise.
67554 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67556         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67557         the three constants needed as parameters.  Drop the others.
67558         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67559         __m128i_strloadu_tolower.
67560         Create and initialize variable zero and use it in all the places
67561         where _mm_setzero_si128 was used.
67563         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67564         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67565         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67566         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67567         anymore.
67568         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67569         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67570         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67571         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67572         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67573         __mpranred, __mptan.
67574         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67575         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67576         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67577         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67578         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67579         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67580         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67581         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67582         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67584 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67586         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67587         redefine if SHARED.
67588         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67591         wide char related routines to wcsmbs subdir.
67593 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67595         [BZ #13344]
67596         * misc/sys/cdefs.h (__THROWNL): Define.
67597         * posix/unistd.h: Use __THREADNL instead of __THREAD
67598         for memory synchronization functions.
67600 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67602         [BZ #13349]
67603         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67604         doesn't exist.
67605         * manual/stdio.texi (Obstack Streams): Node removed.
67607 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67609         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67610         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67611         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67613         * math/math_private.h (math_force_eval): Allow non-addressable
67614         arguments.
67615         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67617 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67619         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67620         file is not needed.
67622         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67625         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67626         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67627         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67628         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67629         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67630         Add AVX variants.
67631         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67632         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67633         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67634         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67635         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67636         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67637         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67638         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67639         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67640         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67641         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67642         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67643         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67644         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67645         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67646         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67647         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67648         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67649         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67651         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67652         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67654         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67655         place.  Use VEX encoding when compiling for AVX.
67657 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67659         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67660         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67662         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67664 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67666         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67667         useless if() expression.
67668         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67673         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67674         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67675         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67676         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67677         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67678         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67679         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67680         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67681         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67682         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67683         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67684         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67686         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67688         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67690 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67692         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67693         condition.
67694         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67696 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67698         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67699         .text section.  Avoid duplicate constants.
67700         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67701         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67702         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67704         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67708         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67709         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67710         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67711         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67712         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67713         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67714         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67715         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67716         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67717         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67718         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67719         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67720         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67721         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67722         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67723         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67724         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67725         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67726         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67727         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67728         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67729         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67730         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67731         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67733         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67734         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67735         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67736         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67737         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67738         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67739         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67740         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67741         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67742         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67743         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67744         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67746 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67748         * sysdeps/x86_64/dla.h: Move to ...
67749         * sysdeps/x86_64/fpu/dla.h: ...here.
67750         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67751         situations.  Use __builtin_fma only for gcc 4.6 and up.
67753         * config.make.in: Add have-mfma4 entry.
67754         * configure.in: Substitute libc_cv_cc_fma4.
67755         * math/Makefile (dbl-only-routines): Add sincostab.
67756         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67757         Use __sincostab not sincos.
67758         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67759         name is a macro.
67760         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67764         using __copysign.
67765         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67766         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67767         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67768         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67769         and __inv.
67770         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67771         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67772         __copysign.
67773         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67774         define aliases when function name is a macro.
67775         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67776         sysdeps/ieee754/dbl-64/sincos.tbl.
67777         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67778         fma4-enabled routines.
67779         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67780         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67781         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67782         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67783         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67784         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67786         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67787         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67788         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67789         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67790         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67791         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67792         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67793         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67794         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67795         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67796         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67797         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67798         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67799         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67800         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67801         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67802         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67803         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67804         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67805         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67806         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67807         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67808         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67810         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67811         rename.
67812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67821 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67823         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67825 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67827         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67829         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67830         prediction.
67831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67833         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67834         Remove unused variable magic_bits.
67835         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67837         * string/strnlen.c: Define and use STRNLEN macro.
67838         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67839         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67840         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67841         * wcsmbs/wcslen.c: Define and use WCSLEN.
67842         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67843         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67844         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67845         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67846         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67847         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67848         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67850 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67853         strnlen-sse2-no-bsf.
67854         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67855         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67856         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67857         Add strnlen support.
67858         (USE_AS_STRNLEN): New macro.
67859         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67860         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67861         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67862         * sysdeps/x86_64/wcslen.S: New file.
67864 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67866         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67867         XMM-moves are used for copying on small sizes.
67869 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67871         * wcsmbs/Makefile (strop-tests): Add wcschr.
67872         * wcsmbs/test-wcschr.c: New file.
67873         * string/test-strchr.c: Update.
67874         Add wcschr support.
67875         (WIDE): New macro.
67877 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67879         * wcsmbs/Makefile (strop-tests): Add wcslen.
67880         * wcsmbs/test-wcslen.c: New file.
67881         * string/test-strlen.c: Update.
67882         Add wcslen support.
67883         (WIDE): New macro.
67885 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67887         * po/it.po: Update from translation team.
67889 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67891         * sysdeps/x86_64/wcscmp.S: Update.
67892         Fix wrong comparison semantics.
67893         wcscmp shall use signed comparison not unsigned.
67894         Don't use substraction to avoid overflow bug.
67895         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67896         * wcsmbc/wcscmp.c: Likewise.
67897         * string/test-strcmp.c: Likewise.
67898         Add new tests to check cases with negative values.
67900 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67902         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67903         * sysdeps/x86_64/dla.h: ...here.  New file.
67904         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67907         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67908         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67909         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67910         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67911         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67912         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67914 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67917         __ynl_finite aliases.
67919 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67923         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67924         define DLA_FMA.
67925         [DLA_FMA] (EMULV): Use DLA_FMA.
67926         [DLA_FMA] (MUL12): Use EMULV.
67927         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67928         that are not needed.
67929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67934         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67935         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67937 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67939         * math/s_nan.c: Undef __nan.
67940         * math/s_nanf.c: Undef __nanf.
67941         * math/s_nanl.c: Undef __nanl.
67942         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67943         "math_private.h".
67945 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67947         * math/s_catan.c: Add branch predictions.
67948         * math/s_catanf.c: Likewise.
67949         * math/s_catanh.c: Likewise.
67950         * math/s_catanhf.c: Likewise.
67951         * math/s_catanhl.c: Likewise.
67952         * math/s_catanl.c: Likewise.
67953         * math/s_cexp.c: Likewise.
67954         * math/s_cexpf.c: Likewise.
67955         * math/s_cexpl.c: Likewise.
67956         * math/s_clog.c: Likewise.
67957         * math/s_clog10.c: Likewise.
67958         * math/s_clog10f.c: Likewise.
67959         * math/s_clog10l.c: Likewise.
67960         * math/s_clogf.c: Likewise.
67961         * math/s_clogl.c: Likewise.
67962         * math/s_csqrt.c: Likewise.
67963         * math/s_csqrtf.c: Likewise.
67964         * math/s_csqrtl.c: Likewise.
67965         * math/s_ctanf.c: Likewise.
67966         * math/s_ctanh.c: Likewise.
67967         * math/s_ctanhf.c: Likewise.
67968         * math/s_ctanhl.c: Likewise.
67969         * math/s_ctanl.c: Likewise.
67971         * math/math_private.h: Define __nan, __nanf, __nanl.
67972         * math/s_cacosh.c: Include <math_private.h>.
67973         * math/s_cacoshl.c: Likewise.
67974         * math/s_casinh.c: Likewise.
67975         * math/s_casinhf.c: Likewise.
67976         * math/s_casinhl.c: Likewise.
67977         * math/s_ccos.c: Rely entire on ccosh.
67978         * math/s_ccosf.c: Rely entire on ccoshf.
67979         * math/s_ccosl.c: Rely entirely on ccoshl.
67980         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67981         Remove tests for FE_INVALID.
67982         * math/s_ccoshf.c: Likewise.
67983         * math/s_ccoshl.c: Likewise.
67984         * math/s_csin.c: Likewise.
67985         * math/s_csinf.c: Likewise.
67986         * math/s_csinh.c Likewise.
67987         * math/s_csinhf.c: Likewise.
67988         * math/s_csinhl.c: Likewise.
67989         * math/s_csinl.c: Likewise.
67990         * math/s_ctan.c: Likewise.
67991         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67992         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67993         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67995 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67998         compilation problems.
68000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68001         __builtin_expect.
68003 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68005         * sysdeps/i386/configure.in: Test for -mfma4 option.
68006         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68007         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68008         COMMON_CPUID_INDEX_80000001.
68009         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68010         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68011         use it if FMA3 is not supported.
68012         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68014         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68015         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68017 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68019         [BZ #12892]
68020         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68021         it would create a cycle with a link time dependency.
68023 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68025         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68026         instruction.
68027         * string/Makefile (strop-tests): Add rawmemchr.
68028         * string/test-rawmemchr.c: New file.
68030         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68031         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68032         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68033         when compiling str{,n}casecmp and when AVX is available.  Hook up
68034         new optimized code in initializers.
68036 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68038         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68039         __feraiseexcept instead of feraiseexcept.
68041 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68043         * math/math_private.h: Define defaults for libc_fetestexcept and
68044         libc_feupdateenv.
68045         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68046         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68047         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68048         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68049         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68050         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68051         libc_fetestexcept and libc_feupdateenv.
68053         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68054         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68055         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68056         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68057         libc_feholdexcept_setround.
68059         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68060         Add s_nearbyint-c and s_nearbyintf-c.
68061         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68062         nearbyintf inlines.
68063         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68064         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68065         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68066         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68068         * math/math_private.h: Define defaults for libc_fegetround,
68069         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68070         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68071         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68072         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68073         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68074         standard functions.
68075         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68076         Remove comments and hacks for old compiler versions.
68077         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68078         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68079         libc_feholdexceptl.
68081 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68083         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68084         (__feraiseexcept_renamed): Add __NTH.
68085         (feraiseexcept): Add __NTH.  Rename local variables to fix
68086         namespace violations.
68088 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68090         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68092         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68094         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68095         recently added interfaces.
68096         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68098         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68099         about macro parameter expansion.
68101         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68102         __NO_MATH_INLINES is defined.  Cleanups.
68104         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68105         and __floorf is target has SSE4.1.
68106         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68107         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68108         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68109         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68111         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68112         name.
68113         (floorf): Likewise.
68115         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68117 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68119         * misc/sys/cdefs.h: Fix last change.
68121         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68122         database lookup.
68124 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68126         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68128         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68129         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68130         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68131         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68132         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68133         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68134         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68135         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68136         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68137         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68138         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68139         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68140         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68141         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68142         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68143         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68144         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68145         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68146         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68147         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68148         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68149         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68151         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68152         ceil, ceilf, floor, floorf.
68154         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68155         Perform IRELATIVE relocations last.
68157         * elf/do-rel.h: Add another parameter nrelative, replacing the
68158         local variable with the same name.  Change name of the function
68159         to end in Rel or Rela (uppercase).
68160         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68161         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68162         elf_dynamic_do_##reloc function.
68164 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68166         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68167         is sufficient, at least on modern CPUs.
68169         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68171         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68172         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68174         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68175         __expl_finite.
68176         * math/bits/math-finite.h: Add entries for exp.
68177         * math/e_expl.c: Add __*_finite alias.
68178         * sysdeps/i386/fpu/e_exp.S: Likewise.
68179         * sysdeps/i386/fpu/e_expf.S: Likewise.
68180         * sysdeps/i386/fpu/e_expl.c: Likewise.
68181         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68182         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68183         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68185         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68186         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68187         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68189         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68190         is sufficient, at least on modern CPUs.
68192         * ctype/ctype-info.c (__ctype_init): Define.
68193         * include/ctype.h (__ctype_init): Declare.
68194         (__ctype_b_loc): The variable is always initialized.
68195         (__ctype_toupper_loc): Likewise.
68196         (__ctype_tolower_loc): Likewise.
68197         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68198         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68200 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68202         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68204         * configure.in: Also look in $cxxmachine/include for C++ system
68205         headers.
68207 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68209         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68210         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68211         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68212         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68213         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68214         (USE_AS_WMEMCMP): New macro.
68215         Fixing indents.
68216         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68217         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68218         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68219         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68221         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68222         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68223         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68224         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68225         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68226         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68227         (USE_AS_WMEMCMP): New macro.
68228         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68229         * sysdeps/string/test-memcmp.c: Update.
68230         Fix simple_wmemcmp.
68231         Add new tests.
68232         * wcsmbs/wmemcmp.c: Update.
68233         (WMEMCMP): New macro.
68234         Fix overflow bug.
68236 2011-10-12  Andreas Jaeger  <aj@suse.de>
68238         [BZ #13268]
68239         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68241 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68243         * libio/iofwide.c (do_length): Avoid warning.
68245         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68247 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68249         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68251         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68252         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68253         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68254         * sysdeps/i386/i686/fpu/e_log.S: New file.
68255         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68256         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68258         * ctype/ctype.h: Add support for inlined isXXX functions when
68259         compiling C++ code.
68261 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68263         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68265         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68267 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68269         [BZ #13291]
68270         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68272 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68274         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68275         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68276         feraiseexcept.
68278         * sysdeps/x86_64/memrchr.S: Check for zero size.
68280         * string/stratcliff.c: Add memrchr tests.
68282 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68285         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68286         rawmemchr-sse2 rawmemchr-sse2-bsf.
68287         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68288         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68289         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68290         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68291         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68292         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68293         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68294         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68295         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68296         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68297         * string/memrchr.c (MEMRCHR): New macro.
68299 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68301         Add integration with gcc's -ffinite-math-only and optimize wrapper
68302         functions in libm.
68303         * Versions.def: Define GLIBC_2.15 version for libm.
68304         * math/Makefile (headers): Add bits/math-finite.h.
68305         * math/bits/math-finite.h: New file.
68306         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68307         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68308         * math/e_acoshl.c: Add __*_finite alias.
68309         * math/e_acosl.c: Likewise.
68310         * math/e_asinl.c: Likewise.
68311         * math/e_atan2l.c: Likewise.
68312         * math/e_atanhl.c: Likewise.
68313         * math/e_coshl.c: Likewise.
68314         * math/e_exp10.c: Likewise.
68315         * math/e_exp10f.c: Likewise.
68316         * math/e_exp10l.c: Likewise.
68317         * math/e_exp2l.c: Likewise.
68318         * math/e_fmodl.c: Likewise.
68319         * math/e_gammal_r.c: Likewise.
68320         * math/e_hypotl.c: Likewise.
68321         * math/e_j0l.c: Likewise.
68322         * math/e_j1l.c: Likewise.
68323         * math/e_jnl.c: Likewise.
68324         * math/e_lgammal_r.c: Likewise.
68325         * math/e_log10l.c: Likewise.
68326         * math/e_log2l.c: Likewise.
68327         * math/e_logl.c: Likewise.
68328         * math/e_powl.c: Likewise.
68329         * math/e_sinhl.c: Likewise.
68330         * math/e_sqrtl.c: Likewise.
68331         * math/e_scalb.c: Completely rewritten and optimized.
68332         * math/e_scalbf.c: Likewise.
68333         * math/e_scalbl.c: Likewise.
68334         * math/w_acos.c: Likewise.
68335         * math/w_acosf.c: Likewise.
68336         * math/w_acosl.c: Likewise.
68337         * math/w_acosh.c: Likewise.
68338         * math/w_acoshf.c: Likewise.
68339         * math/w_acoshl.c: Likewise.
68340         * math/w_asin.c: Likewise.
68341         * math/w_asinf.c: Likewise.
68342         * math/w_asinl.c: Likewise.
68343         * math/w_atan2.c: Likewise.
68344         * math/w_atan2f.c: Likewise.
68345         * math/w_atan2l.c: Likewise.
68346         * math/w_atanh.c: Likewise.
68347         * math/w_atanhf.c: Likewise.
68348         * math/w_atanhl.c: Likewise.
68349         * math/w_exp10.c: Likewise.
68350         * math/w_exp10f.c: Likewise.
68351         * math/w_exp10l.c: Likewise.
68352         * math/w_fmod.c: Likewise.
68353         * math/w_fmodf.c: Likewise.
68354         * math/w_fmodl.c: Likewise.
68355         * math/w_j0.c: Likewise.
68356         * math/w_j0f.c: Likewise.
68357         * math/w_j0l.c: Likewise.
68358         * math/w_j1.c: Likewise.
68359         * math/w_j1f.c: Likewise.
68360         * math/w_j1l.c: Likewise.
68361         * math/w_jn.c: Likewise.
68362         * math/w_jnf.c: Likewise.
68363         * math/w_log.c: Likewise.
68364         * math/w_logf.c: Likewise.
68365         * math/w_logl.c: Likewise.
68366         * math/w_log10.c: Likewise.
68367         * math/w_log10f.c: Likewise.
68368         * math/w_log10l.c: Likewise.
68369         * math/w_log2.c: Likewise.
68370         * math/w_log2f.c: Likewise.
68371         * math/w_log2l.c: Likewise.
68372         * math/w_pow.c: Likewise.
68373         * math/w_powf.c: Likewise.
68374         * math/w_powl.c: Likewise.
68375         * math/w_remainder.c: Likewise.
68376         * math/w_remainderf.c: Likewise.
68377         * math/w_remainderl.c: Likewise.
68378         * math/w_scalb.c: Likewise.
68379         * math/w_scalbf.c: Likewise.
68380         * math/w_scalbl.c: Likewise.
68381         * math/w_sqrt.c: Likewise.
68382         * math/w_sqrtf.c: Likewise.
68383         * math/w_sqrtl.c: Likewise.
68384         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68385         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68386         used.
68387         * math/math_private.h: Declare __kernel_standard_f.
68388         * math/w_cosh.c: Remove cruft and optimize a bit.
68389         * math/w_coshf.c: Likewise.
68390         * math/w_coshl.c: Likewise.
68391         * math/w_exp2.c: Likewise.
68392         * math/w_exp2f.c: Likewise.
68393         * math/w_exp2l.c: Likewise.
68394         * math/w_hypot.c: Likewise.
68395         * math/w_hypotf.c: Likewise.
68396         * math/w_hypotl.c: Likewise.
68397         * math/w_lgamma.c: Likewise.
68398         * math/w_lgamma_r.c: Likewise.
68399         * math/w_lgammaf.c: Likewise.
68400         * math/w_lgammaf_r.c: Likewise.
68401         * math/w_lgammal.c: Likewise.
68402         * math/w_lgammal_r.c: Likewise.
68403         * math/w_sinh.c: Likewise.
68404         * math/w_sinhf.c: Likewise.
68405         * math/w_sinhl.c: Likewise.
68406         * math/w_tgamma.c: Likewise.
68407         * math/w_tgammaf.c: Likewise.
68408         * math/w_tgammal.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68410         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68411         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68412         Minor optimizations.  Pretty printing.  Remove cruft.
68413         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68414         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68415         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68416         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68417         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68418         * sysdeps/i386/fpu/e_asin.S: Likewise.
68419         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68420         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68421         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68422         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68423         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68424         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68425         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68426         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68427         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68428         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68429         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68430         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68431         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68432         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68433         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68434         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68435         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68436         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68437         * sysdeps/i386/fpu/e_log.S: Likewise.
68438         * sysdeps/i386/fpu/e_log10.S: Likewise.
68439         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68440         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68441         * sysdeps/i386/fpu/e_log2.S: Likewise.
68442         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68443         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68444         * sysdeps/i386/fpu/e_logf.S: Likewise.
68445         * sysdeps/i386/fpu/e_logl.S: Likewise.
68446         * sysdeps/i386/fpu/e_pow.S: Likewise.
68447         * sysdeps/i386/fpu/e_powf.S: Likewise.
68448         * sysdeps/i386/fpu/e_powl.S: Likewise.
68449         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68450         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68451         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68452         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68453         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68454         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68455         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68456         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68457         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68458         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68459         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68461         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68462         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68463         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68464         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68465         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68466         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68468         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68469         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68471         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68472         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68474         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68475         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68476         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68477         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68478         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68479         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68480         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68481         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68482         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68483         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68484         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68485         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68486         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68487         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68488         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68489         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68490         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68491         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68492         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68493         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68494         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68495         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68496         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68497         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68498         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68499         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68500         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68501         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68502         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68503         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68504         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68505         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68506         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68508         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68509         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68511         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68513         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68514         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68515         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68516         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68517         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68518         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68522         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68526         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68527         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68528         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68529         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68532         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68534         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68535         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68536         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68537         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68538         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68539         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68540         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68541         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68542         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68543         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68544         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68545         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68546         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68547         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68548         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68549         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68551         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68552         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68553         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68554         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68555         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68556         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68557         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68558         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68559         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68560         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68561         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68562         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68563         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68564         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68565         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68566         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68567         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68568         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68569         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68570         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68571         (__isnanf): Likewise.
68572         (__isinf_ns): Likewise.
68573         (__isinf_nsf): Likewise.
68574         (__finite): Likewise.
68575         (__finitef): Likewise.
68576         (__ieee754_sqrt): Define as macro.
68577         (__ieee754_sqrtf): Define as macro.
68578         (__ieee754_sqrtl): Define as macro.
68579         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68580         inlined copy.
68581         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68582         __FINITE_MATH_ONLY__ consistent.
68583         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68585 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68587         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68588         of rawmemchr.
68590         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68592 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68594         * po/ja.po: Update from translation team.
68596 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68598         * locale/programs/locarchive.c (prepare_address_space): New function.
68599         (create_archive, enlarge_archive, open_archive): Use it.
68601         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68602         inside [SHARED], where it is used.
68604         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68606         * nss/getent.c (netgroup_keys): Remove unused variable.
68607         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68609 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68611         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68612         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68614         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68615         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68616         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68617         * math/Makefile (libm-calls): Add s_isinf_ns.
68618         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68619         * math/multc3.c: Likewise.
68620         * math/s_casin.c: Likewise.
68621         * math/s_casinf.c: Likewise.
68622         * math/s_casinl.c: Likewise.
68623         * math/s_ccos.c: Likewise.
68624         * math/s_ccosf.c: Likewise.
68625         * math/s_ccosl.c: Likewise.
68626         * math/s_ctan.c: Likewise.
68627         * math/s_ctanf.c: Likewise.
68628         * math/s_ctanh.c: Likewise.
68629         * math/s_ctanhf.c: Likewise.
68630         * math/s_ctanhl.c: Likewise.
68631         * math/s_ctanl.c: Likewise.
68632         * math/w_fmod.c: Likewise.
68633         * math/w_fmodf.c: Likewise.
68634         * math/w_fmodl.c: Likewise.
68635         * math/w_remainder.c: Likewise.
68636         * math/w_remainderf.c: Likewise.
68637         * math/w_remainderl.c: Likewise.
68638         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68639         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68640         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68642         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68643         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68644         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68645         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68647         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68648         of the number.
68649         * stdio-common/printf_fphex.c: Likewise.
68650         * stdio-common/printf_size.c: Likewise.
68652         * math/e_exp10.c: Include math_private.h using <...> not "...".
68653         * math/e_exp10f.c: Likewise.
68654         * math/e_exp10l.c: Likewise.
68655         * math/e_exp2l.c: Likewise.
68656         * math/e_j0l.c: Likewise.
68657         * math/e_j1l.c: Likewise.
68658         * math/e_jnl.c: Likewise.
68659         * math/e_lgammal_r.c: Likewise.
68660         * math/e_rem_pio2l.c: Likewise.
68661         * math/e_scalb.c: Likewise.
68662         * math/e_scalbf.c: Likewise.
68663         * math/e_scalbl.c: Likewise.
68664         * math/k_cosl.c: Likewise.
68665         * math/k_sinl.c: Likewise.
68666         * math/k_tanl.c: Likewise.
68667         * math/s_cacoshf.c: Likewise.
68668         * math/s_catan.c: Likewise.
68669         * math/s_catanf.c: Likewise.
68670         * math/s_catanh.c: Likewise.
68671         * math/s_catanhf.c: Likewise.
68672         * math/s_catanhl.c: Likewise.
68673         * math/s_catanl.c: Likewise.
68674         * math/s_ccosh.c: Likewise.
68675         * math/s_ccoshf.c: Likewise.
68676         * math/s_ccoshl.c: Likewise.
68677         * math/s_cexp.c: Likewise.
68678         * math/s_cexpf.c: Likewise.
68679         * math/s_cexpl.c: Likewise.
68680         * math/s_clog.c: Likewise.
68681         * math/s_clog10.c: Likewise.
68682         * math/s_clog10f.c: Likewise.
68683         * math/s_clog10l.c: Likewise.
68684         * math/s_clogf.c: Likewise.
68685         * math/s_clogl.c: Likewise.
68686         * math/s_csin.c: Likewise.
68687         * math/s_csinf.c: Likewise.
68688         * math/s_csinh.c: Likewise.
68689         * math/s_csinhf.c: Likewise.
68690         * math/s_csinhl.c: Likewise.
68691         * math/s_csinl.c: Likewise.
68692         * math/s_csqrt.c: Likewise.
68693         * math/s_csqrtf.c: Likewise.
68694         * math/s_csqrtl.c: Likewise.
68695         * math/s_ctan.c: Likewise.
68696         * math/s_ctanf.c: Likewise.
68697         * math/s_ctanh.c: Likewise.
68698         * math/s_ctanhf.c: Likewise.
68699         * math/s_ctanhl.c: Likewise.
68700         * math/s_ctanl.c: Likewise.
68701         * math/s_ldexp.c: Likewise.
68702         * math/s_ldexpf.c: Likewise.
68703         * math/s_ldexpl.c: Likewise.
68704         * math/s_significand.c: Likewise.
68705         * math/s_significandf.c: Likewise.
68706         * math/s_significandl.c: Likewise.
68707         * math/w_acos.c: Likewise.
68708         * math/w_acosf.c: Likewise.
68709         * math/w_acosh.c: Likewise.
68710         * math/w_acoshf.c: Likewise.
68711         * math/w_acoshl.c: Likewise.
68712         * math/w_acosl.c: Likewise.
68713         * math/w_asin.c: Likewise.
68714         * math/w_asinf.c: Likewise.
68715         * math/w_asinl.c: Likewise.
68716         * math/w_atan2.c: Likewise.
68717         * math/w_atan2f.c: Likewise.
68718         * math/w_atan2l.c: Likewise.
68719         * math/w_atanh.c: Likewise.
68720         * math/w_atanhf.c: Likewise.
68721         * math/w_atanhl.c: Likewise.
68722         * math/w_cosh.c: Likewise.
68723         * math/w_coshf.c: Likewise.
68724         * math/w_coshl.c: Likewise.
68725         * math/w_dremf.c: Likewise.
68726         * math/w_exp10.c: Likewise.
68727         * math/w_exp10f.c: Likewise.
68728         * math/w_exp10l.c: Likewise.
68729         * math/w_exp2.c: Likewise.
68730         * math/w_exp2f.c: Likewise.
68731         * math/w_fmod.c: Likewise.
68732         * math/w_fmodf.c: Likewise.
68733         * math/w_fmodl.c: Likewise.
68734         * math/w_hypot.c: Likewise.
68735         * math/w_hypotf.c: Likewise.
68736         * math/w_hypotl.c: Likewise.
68737         * math/w_j0.c: Likewise.
68738         * math/w_j0f.c: Likewise.
68739         * math/w_j0l.c: Likewise.
68740         * math/w_j1.c: Likewise.
68741         * math/w_j1f.c: Likewise.
68742         * math/w_j1l.c: Likewise.
68743         * math/w_jn.c: Likewise.
68744         * math/w_jnf.c: Likewise.
68745         * math/w_jnl.c: Likewise.
68746         * math/w_lgamma.c: Likewise.
68747         * math/w_lgamma_r.c: Likewise.
68748         * math/w_lgammaf.c: Likewise.
68749         * math/w_lgammaf_r.c: Likewise.
68750         * math/w_lgammal.c: Likewise.
68751         * math/w_lgammal_r.c: Likewise.
68752         * math/w_log.c: Likewise.
68753         * math/w_log10.c: Likewise.
68754         * math/w_log10f.c: Likewise.
68755         * math/w_log10l.c: Likewise.
68756         * math/w_log2.c: Likewise.
68757         * math/w_log2f.c: Likewise.
68758         * math/w_log2l.c: Likewise.
68759         * math/w_logf.c: Likewise.
68760         * math/w_logl.c: Likewise.
68761         * math/w_pow.c: Likewise.
68762         * math/w_powf.c: Likewise.
68763         * math/w_powl.c: Likewise.
68764         * math/w_remainder.c: Likewise.
68765         * math/w_remainderf.c: Likewise.
68766         * math/w_remainderl.c: Likewise.
68767         * math/w_scalb.c: Likewise.
68768         * math/w_scalbf.c: Likewise.
68769         * math/w_scalbl.c: Likewise.
68770         * math/w_sinh.c: Likewise.
68771         * math/w_sinhf.c: Likewise.
68772         * math/w_sinhl.c: Likewise.
68773         * math/w_sqrt.c: Likewise.
68774         * math/w_sqrtf.c: Likewise.
68775         * math/w_sqrtl.c: Likewise.
68776         * math/w_tgamma.c: Likewise.
68777         * math/w_tgammaf.c: Likewise.
68778         * math/w_tgammal.c: Likewise.
68780         * po/ja.po: Update from translation team.
68782 2011-09-29  Andreas Jaeger  <aj@suse.de>
68784         [BZ #13179]
68785         * sunrpc/netname.c (netname2host): Fix logic.
68787         [BZ #6779]
68788         [BZ #6783]
68789         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68790         correctly.
68791         * math/w_remainder.c (__remainder): Likewise.
68792         * math/w_remainderf.c (__remainderf): Likewise.
68793         * math/libm-test.inc (remainder_test): Add test cases.
68795 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68797         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68798         sdiv_qrnnd.
68800 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68802         * string/test-memcmp.c: Avoid unncessary #defines.
68803         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68805 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68807         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68808         Use new sse2 version for core i3 - i7 as it's faster
68809         than sse42 version.
68810         (bit_Prefer_PMINUB_for_stringop): New.
68811         * sysdeps/x86_64/rawmemchr.S: Update.
68812         Replace with faster SSE2 version.
68813         * sysdeps/x86_64/memrchr.S: New file.
68814         * sysdeps/x86_64/memchr.S: Update.
68815         Replace with faster SSE2 version.
68817 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68819         * elf/dl-load.c (lose): Add cast to avoid warning.
68821 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68823         * po/ca.po: Update from translation team.
68825         * inet/getnetgrent_r.c: Hook up nscd.
68826         * nscd/Makefile (routines): Add nscd_netgroup.
68827         (nscd-modules): Add netgroupcache.
68828         (CFLAGS-netgroupcache.c): Define.
68829         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68830         (cache_search): Add const to second parameter.
68831         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68832         INNETGR.
68833         (dbs): Add netgrdb entry.
68834         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68835         (verify_persistent_db): Handle netgrdb.
68836         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68837         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68838         GETFDNETGR.
68839         (netgroup_response_header): Define.
68840         (innetgroup_response_header): Define.
68841         (datahead): Add netgroup_response_header and innetgroup_response_header
68842         elements.
68843         * nscd/nscd.conf: Add entries for netgroup cache.
68844         * nscd/nscd.h (dbtype): Add netgrdb.
68845         (_PATH_NSCD_NETGROUP_DB): Define.
68846         (netgroup_iov_disabled): Declare.
68847         (xmalloc, xcalloc, xrealloc): Move declarations here.
68848         (cache_search): Adjust prototype.
68849         Add netgroup-related prototypes.
68850         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68851         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68852         (__nscd_innetgr): Declare.
68853         * nscd/selinux.c (perms): Use access_vector_t as element type and
68854         add netgroup-related initializers.
68855         * nscd/netgroupcache.c: New file.
68856         * nscd/nscd_netgroup.c: New file.
68857         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68858         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68859         For four parameters use innetgr.
68860         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68861         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68862         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68863         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68865         * nscd/connections.c (register_traced_file): Don't register file
68866         for disabled databases.
68868 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68870         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68872         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68873         from tree and freeing node.
68875 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68877         * nss/nsswitch.c (__nss_database_lookup): Handle
68878         nss_parse_service_list out of memory case.
68880 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68882         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68883         out of memory case.
68885 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68887         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68888         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68889         pass it down.
68890         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68891         elf_machine_rela, elf_machine_lazy_rel.
68892         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68893         (ELF_DYNAMIC_DO_REL): Likewise.
68894         (ELF_DYNAMIC_DO_RELA): Likewise.
68895         (ELF_DYNAMIC_RELOCATE): Likewise.
68896         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68897         to ELF_DYNAMIC_DO_REL.
68898         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68899         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68900         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68901         elf_machine_rela.
68902         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68903         skip_ifunc, don't call ifunc function if non-zero.
68904         (elf_machine_rela): Likewise.
68905         (elf_machine_lazy_rel): Likewise.
68906         (elf_machine_lazy_rela): Likewise.
68907         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68908         (elf_machine_lazy_rel): Likewise.
68909         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68910         Likewise.
68911         (elf_machine_lazy_rel): Likewise.
68912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68913         Likewise.
68914         (elf_machine_lazy_rel): Likewise.
68915         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68916         (elf_machine_lazy_rel): Likewise.
68917         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68918         (elf_machine_lazy_rel): Likewise.
68919         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68920         (elf_machine_lazy_rel): Likewise.
68921         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68922         (elf_machine_lazy_rel): Likewise.
68923         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68924         (elf_machine_lazy_rel): Likewise.
68925         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68926         (elf_machine_lazy_rel): Likewise.
68928 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68930         * nss/nss_files/files-init.c (_nss_files_init): Use static
68931         initialization for all the *_traced_file variables.
68933 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68935         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68937 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68939         [BZ #13226]
68940         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68942 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68944         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68945         Reread the line before reparsing it.
68947 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68949         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68951 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68952             Maxim Kuvyrkov  <maxim@codesourcery.com>
68953             Joseph Myers  <joseph@codesourcery.com>
68955         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68956         if needed for __stack_chk_guard.
68958 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68960         * sysdeps/posix/spawni.c (script_execute): Always define it.
68961         It will be optimized away if unused.
68962         (maybe_script_execute): New function.
68963         (__spawni): Call it.
68965         * Makerules: Don't include tls.make.
68966         (config-tls): Always set to thread.
68967         * tls.make.c: File removed.
68969 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68971         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68972         * config.make.in (CPPFLAGS-config): New substituted variable.
68974 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68976         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68978         [BZ #13192]
68979         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68980         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68982 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68984         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68985         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68986         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68987         (CALL_FAIL): Likewise.
68988         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68989         (CALL_FAIL): Macro removed.
68990         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68992 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68994         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68995         for __FINITE_MATH_ONLY__ == 1.
68997 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68999         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69000         __ieee754_sqrt instead of sqrt.
69001         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69002         __ieee754_sqrtf instead of sqrtf.
69003         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69004         __floorf instead of floorf.
69005         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69006         __floorf, __truncf instead of floorf, truncf.
69008 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69010         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69012         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69013         __extern_always_inline.
69014         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69015         32-bit.
69017 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69019         * elf/rtld.c (dl_main): Also relocate in dependency order when
69020         doing symbol dependency testing.
69022 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69025         Always define `refsym'.
69027 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69029         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69030         (__FD_ELT): Renamed from __FDELT.
69031         * misc/bits/select2.h (__FD_ELT): Likewise.
69032         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69033         __FD_MASK instead of __FDELT, __FDMASK.
69034         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69035         Likewise.
69036         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69037         Likewise.
69039         * elf/Makefile (gen-ldd): Fix pattern.
69041         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69042         (init_tls): Likewise.
69044 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69046         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69048 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69050         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69051         `struct cmsghdr *' instead of `void *'.
69052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69053         Likewise.
69055 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69057         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69058         if non-absolute.
69059         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69060         ldd_rewrite_script.
69062 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69064         * configure.in: Remove --with-tls option.
69065         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69066         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69067         out in case it is missing.
69068         * sysdeps/ia64/elf/configure.in: Likewise.
69069         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69070         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69071         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69072         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69073         * sysdeps/sh/elf/configure.in: Likewise.
69074         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69075         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69076         * sysdeps/x86_64/elf/configure.in: Likewise.
69077         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69078         * sysdeps/mach/hurd/tls.h: Likewise.
69080         [BZ #13067]
69081         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69083         [BZ #13090]
69084         * configure.in: Fix use of AC_INIT.
69086         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69088 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69090         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69091         __set_errno.
69092         * malloc/hooks.c: Likewise.
69094         [BZ #11929]
69095         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69096         variables statically.
69097         (narenas): Initialize.
69098         (list_lock): Initialize.
69099         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69100         initializtion of main_arena and list_lock.  Small cleanups.
69101         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69102         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69103         Add initializers to main_arena and mp_.
69104         (malloc_state): Remove pagesize member.  Change all users to use
69105         GLRO(dl_pagesize).
69107         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69108         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69109         is always initialized.
69111         * malloc/malloc.c: Removed unused configurations and dead code.
69112         * malloc/arena.c: Likewise.
69113         * malloc/hooks.c: Likewise.
69114         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69116         * include/tls.h: Removed.  USE___THREAD must always be defined.
69117         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69118         * elf/dl-libc.c: Likewise.
69119         * elf/dl-tsd.c: Likewise.
69120         * include/errno.h: Likewise.
69121         * include/netdb.h: Likewise.
69122         * include/resolv.h: Likewise.
69123         * inet/herrno-loc.c: Likewise.
69124         * inet/herrno.c: Likewise.
69125         * malloc/arena.c: Likewise.
69126         * malloc/hooks.c: Likewise.
69127         * malloc/malloc.c: Likewise.
69128         * resolv/res-state.c: Likewise.
69129         * resolv/res_libc.c: Likewise.
69130         * sysdeps/i386/dl-machine.h: Likewise.
69131         * sysdeps/ia64/dl-machine.h: Likewise.
69132         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69133         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69134         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69135         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69136         * sysdeps/sh/dl-machine.h: Likewise.
69137         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69138         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69139         * sysdeps/unix/i386/sysdep.S: Likewise.
69140         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69141         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69144         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69146         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69150         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69151         * sysdeps/x86_64/dl-machine.h: Likewise.
69152         * tls.make.c: Likewise.
69154         * configure.in: Remove --with-__thread option.  Make tests for
69155         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69156         tls_model attribute fail if no support is available.  Remove
69157         USE_IN_LIBIO.
69158         * Makeconfig: Adjust for dropped configure option.  All features are
69159         now mandatory.
69160         * Makerules: Likewise.
69161         * Versions.def: Likewise.
69162         * argp/argp-fmtstream.c: Likewise.
69163         * argp/argp-fmtstream.h: Likewise.
69164         * argp/argp-help.c: Likewise.
69165         * assert/assert.c: Likewise.
69166         * config.h.in: Likewise.
69167         * config.make.in: Likewise.
69168         * configure: Likewise.
69169         * configure.in: Likewise.
69170         * csu/Versions: Likewise.
69171         * csu/init.c: Likewise.
69172         * elf/tst-audit2.c: Likewise.
69173         * elf/tst-tls10.c: Likewise.
69174         * elf/tst-tls10.h: Likewise.
69175         * elf/tst-tls11.c: Likewise.
69176         * elf/tst-tls12.c: Likewise.
69177         * elf/tst-tls14.c: Likewise.
69178         * elf/tst-tlsmod11.c: Likewise.
69179         * elf/tst-tlsmod12.c: Likewise.
69180         * elf/tst-tlsmod13.c: Likewise.
69181         * elf/tst-tlsmod13a.c: Likewise.
69182         * elf/tst-tlsmod14a.c: Likewise.
69183         * elf/tst-tlsmod15b.c: Likewise.
69184         * elf/tst-tlsmod16a.c: Likewise.
69185         * elf/tst-tlsmod16b.c: Likewise.
69186         * elf/tst-tlsmod7.c: Likewise.
69187         * elf/tst-tlsmod8.c: Likewise.
69188         * elf/tst-tlsmod9.c: Likewise.
69189         * gmon/gmon.c: Likewise.
69190         * grp/fgetgrent_r.c: Likewise.
69191         * grp/putgrent.c: Likewise.
69192         * hurd/fopenport.c: Likewise.
69193         * include/libc-symbols.h: Likewise.
69194         * include/tls.h: Likewise.
69195         * intl/gettextP.h: Likewise.
69196         * intl/loadinfo.h: Likewise.
69197         * locale/global-locale.c: Likewise.
69198         * locale/localeinfo.h: Likewise.
69199         * mach/devstream.c: Likewise.
69200         * malloc/arena.c: Likewise.
69201         * malloc/set-freeres.c: Likewise.
69202         * misc/err.c: Likewise.
69203         * misc/getttyent.c: Likewise.
69204         * misc/mntent_r.c: Likewise.
69205         * posix/getopt.c: Likewise.
69206         * posix/wordexp.c: Likewise.
69207         * pwd/fgetpwent_r.c: Likewise.
69208         * resolv/Versions: Likewise.
69209         * resolv/res_hconf.c: Likewise.
69210         * shadow/fgetspent_r.c: Likewise.
69211         * shadow/putspent.c: Likewise.
69212         * stdio-common/printf_fphex.c: Likewise.
69213         * stdio-common/tmpfile.c: Likewise.
69214         * stdlib/abort.c: Likewise.
69215         * stdlib/fmtmsg.c: Likewise.
69216         * sunrpc/auth_unix.c: Likewise.
69217         * sunrpc/clnt_perr.c: Likewise.
69218         * sunrpc/clnt_tcp.c: Likewise.
69219         * sunrpc/clnt_udp.c: Likewise.
69220         * sunrpc/clnt_unix.c: Likewise.
69221         * sunrpc/openchild.c: Likewise.
69222         * sunrpc/svc_simple.c: Likewise.
69223         * sunrpc/svc_tcp.c: Likewise.
69224         * sunrpc/svc_udp.c: Likewise.
69225         * sunrpc/svc_unix.c: Likewise.
69226         * sunrpc/xdr.c: Likewise.
69227         * sunrpc/xdr_array.c: Likewise.
69228         * sunrpc/xdr_rec.c: Likewise.
69229         * sunrpc/xdr_ref.c: Likewise.
69230         * sunrpc/xdr_stdio.c: Likewise.
69232 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69234         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69236 2011-07-03  Andreas Jaeger  <aj@suse.de>
69238         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69239         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69240         regenerate with gen-libm-tests.pl.
69242 2010-05-12  Petr Baudis  <pasky@suse.cz>
69244         [BZ #11589]
69245         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69246         around j0() zero points by switching to j1().
69247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69248         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69249         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69250         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69252 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69254         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69255         instead of 0.
69256         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69257         instead of 0.
69258         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69259         Patch in part by Pavel Roskin <proski@gnu.org>.
69261         [BZ #13138]
69262         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69263         realloc.
69264         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69265         Free memory block if necessary.
69267         [BZ #12847]
69268         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69269         be NULL.  Don't lock in this case.
69271 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69273         * elf/elf.h (ELFOSABI_GNU): New macro.
69274         (ELFOSABI_LINUX): Define to that.
69276 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69278         * string/strncat.c (strncat): Undef the symbol in case it has been
69279         defined in bits/string.h.
69281 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69283         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69285         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69286         link map.
69288 2011-08-17  Andreas Jaeger  <aj@suse.de>
69290         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69292 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69293             Ian Lance Taylor  <iant@google.com>
69295         * math/libm-test.inc (lround_test): New testcase.
69296         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69298 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69300         * Makefile: Remove support for automatic cvs check-ins.
69301         * Makerules: Likewise.
69302         * config.make.in: Likewise.
69303         * configure.in: Likewise.
69304         * intl/Makefile: Likewise.
69305         * locale/Makefile: Likewise.
69306         * po/Makefile: Likewise.
69307         * posix/Makefile: Likewise.
69308         * sysdeps/gnu/Makefile: Likewise.
69309         * sysdeps/mach/hurd/Makefile: Likewise.
69310         * sysdeps/sparc/sparc32/Makefile: Likewise.
69312         [BZ #13118]
69313         * posix/Makefile (bug-regex32-ENV): Define.
69314         Patch by John Stanley <jpsinthemix@verizon.net>.
69316         * misc/Makefile (headers): Add bits/select2.h.
69317         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69318         * misc/bits/select2.h: New file.
69319         * include/bits/select2.h: New file.
69320         * debug/Makefile (routines): Add fdelt_chk.
69321         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69322         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69323         FD_ISSET.
69324         * debug/fdelt_chk.c: New file.
69326         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69327         * wcsmbs/test-wmemcmp.c: Likewise.
69328         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69329         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69331 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69333         * string/Makefile (strop-tests): Add memcmp.
69334         * string/test-wmemcmp.c: New file.
69335         * string/test-memcmp.c: Add wmemcmp support.
69337 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69339         [BZ #13153]
69340         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69341         2011-07-19 change.
69343         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69344         garbage value in a __mach_port_mod_refs call in the cases of the
69345         task-self and thread-self ports.
69347 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69349         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69351 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69353         * elf/dl-load.c (lose): Check for non-null L.
69355 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69357         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69359         * elf/dl-libc.c (dlerror_run): Pass back error code from
69360         dl_catch_error.
69362         [BZ #13123]
69363         * elf/dl-load.c (lose): Free l_origin if it is valid.
69365         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69366         names.
69367         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69368         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69370         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69371         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69372         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69374 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69376         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69377         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69378         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69379         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69380         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69381         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69382         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69383         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69384         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69385         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69387 2011-08-15  Alan Modra  <amodra@gmail.com>
69389         [BZ #13092]
69390         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69391         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69392         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69393         ppc_mcount to static-only-routines.
69394         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69395         __mcount_internal.
69396         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69397         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69399 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69401         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69402         for finite and infinity parameters.
69404 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69407         and add nop instructions for throughput optimization.
69408         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69410 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69412         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69413         aligned copy for power7 with vector-scalar instructions.
69414         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69416 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69419         AVX check.
69421 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69423         [BZ #13144]
69424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69425         last change.
69427 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69429         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69430         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69431         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69433         clock_gettime.
69435 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69437         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69438         Forgot to demangle the pointer.
69440         * sysdeps/i386/sysdep.h: Define atom_text_section.
69441         * sysdeps/x86_64/sysdep.h: Likewise.
69442         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69443         section with atom_text_section.
69444         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69445         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69446         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69447         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69448         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69450         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69451         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69452         already be defined.  Change to take two parameters and don't assign
69453         result to variable.  Adjust all users.
69454         Define INTERNAL_GETTIME if not already defined.
69455         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69456         call.
69457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69458         HAVE_CLOCK_GETTIME_VSYSCALL.
69459         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69462         gettimeofday vsyscall, just use time.
69464 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69466         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69467         <errno.h>.
69469 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69471         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69472         syscall on x86-64.
69473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69474         syscall.
69475         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69476         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69477         syscall if possible.
69479 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69481         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69482         e_ident.  Don't pass to find_mapsXX.
69483         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69485 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69488         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69489         * sysdeps/x86_64/multiarch/strchr.S: Update.
69490         Check bit_slow_BSF bit.
69491         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69492         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69493         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69495 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69497         [BZ #13134]
69498         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69499         before glibc 2.15.
69500         (tryshell): Define.
69501         (__spawni): Change last parameter to be flag.  Test
69502         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69503         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69504         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69505         * posix/spawni.c: Likewise.
69506         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69507         * posix/spawnp.c: Likewise.  Change normal version to use
69508         SPAWN_XFLAGS_USE_PATH.
69509         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69510         SPAWN_XFLAGS_TRY_SHELL.
69512         [BZ #13150]
69513         * posix/glob.h: Remove gcc 1.x support.
69515         [BZ #13068]
69516         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69518 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69521         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69522         strrchr-sse2-bsf
69523         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69524         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69525         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69526         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69527         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69528         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69530 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69532         * sysdeps/x86_64/wcscmp.S: New file.
69534         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69535         wcscmp-c wcscmp-sse2
69536         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69537         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69538         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69539         * wcsmbs/wcscmp.c: Allow renaming.
69541 2011-09-05  David S. Miller  <davem@davemloft.net>
69543         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69544         stack slot, rather than the struct return pointer slot.
69545         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69546         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69548         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69550 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69552         * po/ja.po: Update from translation team.
69554         [BZ #13144]
69555         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69556         kernel in 64-bit binaries.
69558 2011-09-01  David S. Miller  <davem@davemloft.net>
69560         * elf/elf.h (HWCAP_SPARC_*): Move to..
69561         * sysdeps/sparc/sysdep.h: this new file and add new values.
69562         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69563         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69564         _DL_HWCAP_COUNT to 24.
69565         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69566         entries.
69567         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69568         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69569         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69571         instead of magic constants.
69572         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69574 2011-08-31  David S. Miller  <davem@davemloft.net>
69576         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69578         Reimplement to do errno handling inline.
69579         (SYSCALL_ERROR_HANDLER): New macro.
69580         (__SYSCALL_STRING): Do not do errno handling in asm.
69581         (__CLONE_SYSCALL_STRING): Delete.
69582         (__INTERNAL_SYSCALL_STRING): Delete.
69583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69584         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69585         (PSEUDO): Reimplement to do errno handling inline.
69586         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69587         (SYSCALL_ERROR_HANDLER): New macro.
69588         (__SYSCALL_STRING): Do not do errno handling in asm.
69589         (__CLONE_SYSCALL_STRING): Delete.
69590         (__INTERNAL_SYSCALL_STRING): Delete.
69591         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69592         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69593         i386.
69594         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69595         (inline_syscall*): Add 'err' argument.
69596         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69597         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69598         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69599         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69601         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69602         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69604 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69606         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69608 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69610         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69611         directive.
69613 2011-08-24  David S. Miller  <davem@davemloft.net>
69615         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69617 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69619         * elf/Makefile: Add rules to build and run unload8 test.
69620         * elf/unload8.c: New file.
69621         * elf/unload8mod1.c: New file.
69622         * elf/unload8mod1x.c: New file.
69623         * elf/unload8mod2.c: New file.
69624         * elf/unload8mod3.c: New file.
69626         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69627         it wasn't used.
69629 2011-08-23  David S. Miller  <davem@davemloft.net>
69631         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69632         subtract stack bias.
69633         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69634         %sp not %fp in calculations.
69635         (_JMPBUF_UNWINDS_ADJ): Likewise.
69637         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69638         (aio_suspend): Call it to force an exception region around the
69639         AIO_MISC_WAIT() invocation.
69641 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69643         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69644         backslash.
69646 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69648         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69649         protection macro.
69650         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69651         and <dl-machine.h>.
69652         (Elf64_FuncDesc): Remove.
69654 2011-08-22  David S. Miller  <davem@davemloft.net>
69656         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69657         sigaltstack check, add missing cfi directives.
69658         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69659         missing cfi directives, and sigaltstack handling.
69661 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69663         [BZ #11724]
69664         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69665         object is seen twice.
69666         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69668         * elf/Makefile (distribute): Add tst-initorder2.c.
69669         (tests): Add tst-initorder2.
69670         (modules-names): Add tst-initorder2a tst-initorder2b
69671         tst-initorder2c tst-initorder2d.  Add rules to build them.
69672         ($(objpfx)tst-initorder2.out): New rule.
69673         * elf/tst-initorder2.c: New file.
69674         * elf/tst-initorder2.exp: New file.
69676 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69678         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69680         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69681         dependencies back to end of function.
69683         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69684         $(elfobjdir)/ld.so.
69686 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69689         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69691         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69692         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69693         of __vdso_gettimeofday.
69694         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69695         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69696         attribute_hidden.
69697         (_libc_vdso_platform_setup): Remove initialization of
69698         __vdso_gettimeofday and __vdso_time.
69700 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69702         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69703         and fgetc_unlocked.
69704         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69705         getc_unlocked.
69707         * elf/dl-open.c (add_to_global): Report additions to the global scope
69708         for LD_DEBUG=scopes.
69709         (dl_open_worker): Also print scope of newly loaded dependencies.
69710         (_dl_show_scope): Indicate if there is no scope.
69712         [BZ #13114]
69713         * stdio-common/Makefile (tests): Add bug24.
69714         * stdio-common/bug24.c: New file.
69716 2011-08-19  Andreas Jaeger  <aj@suse.de>
69718         [BZ #13114]
69719         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69720         non-existant file when using close-on-exec mode.
69722 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69724         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69725         the very first instruction.
69727         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69728         the CFI state in the end.
69729         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69730         inclusion of dl-trampoline.h.
69731         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69733 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69735         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69736         expectations for long double.
69738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69739         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69741 2011-08-14  David S. Miller  <davem@davemloft.net>
69743         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69744         artificual limit depends upon the system page size.
69746 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69748         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69749         * resolv/Makefile: Define CFLAGS-libresolv.
69751 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69753         * nss/makedb.c (compute_tables): Make variables used in nested
69754         function static.
69756 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69758         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69759         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69760         if buffer was too small.
69762         * elf/pldd.c (main): Attach to all threads in the process.
69763         Rewrite /proc handling to use *at functions.
69765 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69767         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69768         specifies first scope to show.
69769         (dl_open_worker): Update callers.  Move printing scope of new
69770         object to before the relocation.
69771         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69772         * sysdeps/generic/ldsodefs.h: Update declaration.
69774         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69775         string for the scope number.
69777 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69779         * nscd/servicescache.c (cache_addserv): Make sure written is always
69780         initialized.
69782 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69784         * sysdeps/i386/i486/bits/atomic.h
69785         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69786         statement expression, so as to suppress "set but not used" warning.
69787         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69789         * string/strncat.c (STRNCAT): Use prototype definition.
69791         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69792         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69793         -Iprograms here.
69794         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69795         (localedef-modules): Add localedef.
69796         (locale-modules): Add locale.
69798         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69799         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69800         to avoid a warning.
69802 2011-08-14  David S. Miller  <davem@davemloft.net>
69804         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69805         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69807 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69809         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69810         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69811         * elf/rtld.c (dl_main): Set l_name of vDSO.
69812         Call _dl_show_scope when DL_DEBUG_SCOPES.
69813         (process_dl_debug): Recognize scopes flag and also set it for all.
69814         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69815         Declare _dl_show_scope.
69817         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69818         (do_dlopen): Pass caller_dlopen to dl_open.
69819         (__libc_dlopen_mode): Initialize caller_dlopen.
69821         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69822         of libc.  Make tolower call locale-independent.  Optimize a bit by
69823         using isdigit instead of isalnum.
69824         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69826 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69828         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69829         was a dependency or dynamically loaded.
69831 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69833         * intl/l10nflist.c: Allow architecture-specific pop function.
69834         * sysdeps/x86_64/l10nflist.c: New file.
69836         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69837         classification.
69839 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69841         * include/dirent.h: Add libc_hidden_proto for scandirat and
69842         scandirat64.  Don't declare __scandirat64.
69843         * dirent/scandirat.c: Add libc_hidden_def.
69844         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69845         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69847 2011-08-10  David S. Miller  <davem@davemloft.net>
69849         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69850         enum.
69851         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69852         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69853         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69855 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69857         * Versions.def [libc]: Add GLIBC_2.15.
69858         * dirent/Makefile (routines): Add scandirat and scandirat64.
69859         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69860         GLIBC_2.15.
69861         * dirent/dirent.h: Declare scandirat and scandirat64.
69862         * dirent/scandirat.c: New file.
69863         * dirent/scandirat64.c: New file.
69864         * sysdeps/wordsize-64/scandirat.c: New file.
69865         * sysdeps/wordsize-64/scandirat64.c: New file.
69866         * dirent/opendir.c: Define opendirat.
69867         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69868         using scandirat.
69869         * dirent/scandir64.c: Adjust for scandir.c change.
69870         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69871         __scandirat64, and __scandir_cancel_handler.
69872         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69873         additional parameter and use openat instead of open (outside of ld.so).
69874         Add new __opendir as wrapper around __opendirat.
69875         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69876         here without requiring old scandirat implementation.
69878 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69880         * dirent/scandir.c (cancel_handler): Renamed to
69881         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69882         defined.  Adjust users.
69883         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69884         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69886 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69888         * string/test-string.h (IMPL): Use __STRING to expand name and then
69889         stringify it.
69891         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69892         of cleanups.
69894 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69896         * string/Makefile: Update.
69897         (strop-tests): Append strncat.
69898         * string/test-wcscmp.c: New file.
69899         New comprehensive test for wcscmp.
69900         * string/test-strcmp.c: Update.
69901         (WIDE): New define.
69903 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69905         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69906         line.
69908 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69911         encoding to ACE if AI_IDN.
69913 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69915         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69916         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69918 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69920         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69921         Fix overflow bug in strncat.
69922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69924         * string/test-strncat.c: Update.
69925         Add new tests for checking overflow bugs.
69927 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69930         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69931         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69932         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69934         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69935         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69936         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69937         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69939         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69940         (USE_AS_STRCAT): Define.
69941         Add strcat and strncat support.
69942         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69944 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69946         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69947         __n bigger than INT_MAX+1.
69948         (__strncmp_g): Likewise.
69950 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69952         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69953         * libio/stido.h: Likewise.
69955         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69956         (AF_NFC): Define.
69957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69958         (AF_NFC): Define.
69960         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69961         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69962         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69963         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69964         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69966         [BZ #13021]
69967         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69968         installed.
69970         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69971         typo.
69972         (_dl_x86_64_save_sse): Likewise.
69974 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69977         OSXSAVE.
69978         (_dl_x86_64_save_sse): Likewise.
69980         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69982         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69984 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69987         change.
69988         (_dl_x86_64_save_sse): Use correct AVX check.
69990 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69992         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69993         bug in strncpy/strncat.
69994         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69996 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69998         * string/tester.c (test_strcat): Add tests for different alignments
69999         of source and destination.
70000         (test_strncat): Likewise.
70002 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70004         [BZ #12852]
70005         * posix/glob.c (glob): Check passed in values before using them in
70006         expressions to avoid some overflows.
70007         (glob_in_dir): Likewise.
70009         [BZ #13007]
70010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70011         check for AVX enablement so that we don't crash with old kernels and
70012         new hardware.
70013         * elf/tst-audit4.c: Add same checks here.
70014         * elf/tst-audit6.c: Likewise.
70016         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70018 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70020         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70022 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70024         * po/cs.po: Update from translation team.
70025         * po/bg.po: Likewise.
70027 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70029         * misc/sys/cdefs.h: Add support for const attribute.
70030         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70031         to gnu_dev_{major,minor,makedev} functions.
70033 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70035         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70037 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70039         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70040         strlen results.
70042 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70045         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70046         register in order to avoid conflicts with the soft frame pointer
70047         being held in r11 when necessary.
70048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70049         (INTERNAL_VSYSCALL_NCS): Likewise.
70051 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70053         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70054         * elf/dl-fini.c (_dl_fini): Adjust caller.
70055         * elf/dl-close.c (_dl_close_worker): Likewise.
70056         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70058 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70060         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70061         "aux_cache->nlibs < 0".
70063         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70064         in the reload-count case.
70066 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70069         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70070         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70071         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70072         * sysdeps/x86_64/multiarch/strcat.S: New file.
70073         * sysdeps/x86_64/multiarch/strncat.S: New file.
70074         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70075         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70076         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70077         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70078         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70079         (USE_AS_STRCAT): Define.
70080         Add strcat and strncat support.
70081         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70082         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70083         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70084         * string/strncat.c: Update.
70085         (USE_AS_STRNCAT): Define.
70086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70087         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70088         and i7.
70089         * sysdeps/x86_64/multiarch/init-arch.h
70090         (bit_Prefer_PMINUB_for_stringop): New.
70091         (index_Prefer_PMINUB_for_stringop): Likewise.
70092         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70093         bit_Prefer_PMINUB_for_stringop.
70095 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70097         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70098         buffer64.
70099         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70100         of casting of buffer.
70101         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70102         buffer32 and buffer64.
70103         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70104         writes instead of casting of buffer.
70105         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70106         buffer32.
70107         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70108         casting of buffer.
70110 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70112         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70114 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70116         * nscd/nscd.c (termination_handler): Don't do anything for a database
70117         if it has not yet been initialized.
70119 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70121         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70123 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70125         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70127 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70129         * po/nl.po: Update from translation team.
70130         * po/sv.po: Likewise.
70132 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70134         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70135         now disallowed by GCC.
70137         * configure.in (use-default-link): Default to yes if a test -shared
70138         link meets our qualifications.
70139         * configure: Regenerated.
70141         * config.make.in (output-format): New variable.
70142         * configure.in: Check for ld --print-output-format support.
70143         * configure: Regenerated.
70144         * Makerules ($(common-objpfx)format.lds)
70145         [$(output-format) != unknown]: Just use $(output-format),
70146         instead of the linker-script munging.
70148 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70150         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70151         of $(common-objpfx)shlib.lds.
70152         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70154         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70155         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70157         * configure.in (-z relro check): Adjust test code to add a large
70158         writable data section after it.
70159         * configure: Regenerated.
70161 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70163         * configure.in (-z relro check): Fix test code to make the variable
70164         truly const.
70165         * configure: Regenerated.
70167 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70169         * nscd/nscd.h (struct traced_file): Define.
70170         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70171         elements.  Add traced_files.
70172         (inotify_fd): Declare.
70173         (register_traced_file): Declare.
70174         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70175         (inotify_fd): Export.
70176         (resolv_conf_descr): Remove.
70177         (nscd_init): Move inotify descriptor creation to main.
70178         Don't register files for notification here.
70179         (register_traced_file): New function.
70180         (invalidate_cache): Don't use reset_res to determine whether to call
70181         res_init, go through the list of registered files.
70182         (main_loop_poll): The inotify descriptors are now stored in the
70183         structures for the traced files.
70184         (main_loop_epoll): Likewise.
70185         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70186         to __nss_disable_nscd.
70187         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70188         for a database anymore.  Check the records for all the registered
70189         files instead.
70190         * nss/Makefile (libnss_files-routines): Add files-init.
70191         (libnss_db-routines): Add db-init.
70192         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70193         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70194         * nss/nss_db/db-init.c: New file.
70195         * nss/nss_files/files-init.c: New file.
70196         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70197         __nss_lookup_function.
70198         (__nss_lookup_function): Call nss_load_library.
70199         (nss_load_all_libraries): New function.
70200         (__nss_disable_nscd): Take parameter with callback function for files
70201         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70202         used for the cached services.
70203         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70204         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70205         options for features to all the files in nscd.
70207         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70209 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70211         * csu/elf-init.c (__libc_csu_init): Comment typo.
70213 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70215         * po/pl.po: Update from translation team.
70216         * po/ja.po: Likewise.
70217         * po/ru.po: Likewise.
70218         * po/ko.po: Likewise.
70219         * po/fr.po: Likewise.
70221 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70223         * configure.in (.ctors/.dtors header and trailer check):
70224         Use an empirical test on a built program.
70225         * configure: Regenerated.
70227         * configure.in (-z relro check): Use an empirical test on a built DSO.
70228         Detect, but do not require, on ia64.
70229         * configure: Regenerated.
70231         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70232         Update tests that use readelf to use $READELF instead.
70233         * configure: Regenerated.
70235 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70237         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70238         if the result is not used.
70240 2011-07-05  Andreas Jaeger  <aj@suse.de>
70242         [BZ#9696]
70243         * stdlib/tst-strtod.c: Add testcase.
70245 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70247         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70248         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70249         The latter has a higher limit.  Take additional parameter to pass to
70250         the new function.
70251         (__pathconf): Pass file to __statfs_link_max.
70252         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70253         __statfs_link_max.
70254         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70255         __statfs_link_max.
70257         [BZ #12868]
70258         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70259         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70260         Handle Lustre.
70261         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70262         (__statfs_filesize_max): Likewise.
70263         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70265 2011-07-05  Andreas Jaeger  <aj@suse.de>
70267         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70269 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70271         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70272         `status' variable.
70273         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70274         Likewise.
70276 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70278         * Makefile (strop-tests): Add strncat.
70279         * string/test-strncat.c: New file.
70281 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70283         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70285 2011-06-21  Andreas Jaeger  <aj@suse.de>
70287         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70288         Copy rule from iconvdata/Makefile.
70290 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70292         [BZ #12922]
70293         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70294         but no long options are defined, just return 'W'.
70296 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70298         [BZ #9696]
70299         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70301 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70303         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70304         netgroups to read.
70305         (innetgr): Likewise.
70307 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70309         * config.make.in (install_root): Default to $(DESTDIR).
70311 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70313         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70315 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70317         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70319         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70320         containing directory rather than embedding absolute directory names.
70322         * scripts/check-local-headers.sh: Rewritten using awk.
70323         Match by word, not by line.  Print error messages for matches.
70324         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70326         * Makerules [shlib-lds-flags empty]:
70327         ($(common-objpfx)libc_pic.opts): New target.
70328         ($(common-objpfx)libc_pic.os.clean): New target.
70329         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70331         * config.make.in (OBJCOPY): New variable.
70332         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70333         * configure: Regenerated.
70335         * config.make.in (use-default-link): New variable.
70336         * configure.in (use_default_link): Grok --with-default-link to set it.
70337         * configure: Regenerated.
70338         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70339         (shlib-lds, shlib-lds-flags): Define to empty.
70341         * Makerules (shlib-lds): New variable.
70342         (shlib-lds-flags): New variable.
70343         (build-shlib, build-moduile, build-module-asneeded): Use it.
70344         ($(common-objpfx)libc.so): Use $(shlib-lds).
70345         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70346         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70348         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70349         DT_FLAGS/DT_FLAGS_1 with zero flags.
70351         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70352         linker script munging.
70354 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70356         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70357         as 128-bit value.
70358         * crypt/sha512.c (sha512_process_block): Perform total addition using
70359         128-bit if possible.
70360         (__sha512_finish_ctx): Likewise.
70361         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70362         as 64-bit value.
70363         * crypt/sha256.c (SWAP64): Define.
70364         (sha256_process_block): Perform total addition using 64-bit if
70365         possible.
70366         (__sha256_finish_ctx): Likewise.
70368 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70370         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70371         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70372         * nscd/hstcache.c (cache_addhst): Likewise.
70373         * nscd/grpcache.c (cache_addgr): Likewise.
70374         * nscd/aicache.c (addhstaiX): Likewise.
70375         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70377 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70379         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70380         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70381         * nscd/hstcache.c (cache_addhst): Likewise.
70382         * nscd/grpcache.c (cache_addgr): Likewise.
70383         * nscd/aicache.c (addhstaiX): Likewise.
70385 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70387         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70388         domain only when needed.
70390 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70393         is always restored.
70395 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70397         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70398         are re-adding the entry.
70399         * nscd/servicescache.c (cache_addserv): Likewise.
70401 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70403         * sysdeps/generic/dl-irel.h: fix protection against multiple
70404         inclusions.
70405         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70407 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70409         [BZ #12935]
70410         * malloc/memusage.sh: Fix quoting in message.
70411         * debug/xtrace.sh: Likewise.
70413         * configure.in: Remove support for --experimental-malloc option, make
70414         it the default.
70415         * config.make.in: Likewise.
70416         * malloc/Makefile: Likewise.
70418 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70420         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70421         two-byte characters.
70423 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70425         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70426         AC_CACHE_CHECK invocation.
70427         * configure: Regenerated.
70429         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70431 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70433         [BZ #12350]
70434         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70435         bit from old_res_options.
70437         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70439         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70440         value type for setfct.
70442 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70444         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70445         __gettimeofday instead of gettimeofday.
70447 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70449         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70451 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70453         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70456         info.
70458 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70461         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70462         strcpy-sse2-unaligned strncpy-sse2-unaligned
70463         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70464         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70465         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70466         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70467         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70468         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70469         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70470         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70471         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70472         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70473         (STRCPY): Support SSE2 and SSSE3 versions.
70475 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70477         [BZ #12874]
70478         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70479         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70480         kernels which artificially limit size of requests.
70482 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70485         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70486         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70487         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70488         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70489         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70490         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70491         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70492         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70493         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70494         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70495         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70496         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70497         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70498         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70500         Enable unaligned load optimization for Intel Core i3, i5 and i7
70501         processors.
70502         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70503         Define.
70504         (index_Fast_Unaligned_Load): Define.
70505         (HAS_FAST_UNALIGNED_LOAD): Define.
70507 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70509         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70511 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70513         [BZ #12907]
70514         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70515         until it is clear that the information is realy needed.
70516         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70518 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70522 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70525         /sys/devices/system/cpu/online if it is usable.
70527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70528         reading the information from the /proc filesystem to once a second.
70530 2011-06-21  Andreas Jaeger  <aj@suse.de>
70532         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70533         NULL after inclusion of kernel headers.
70535 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70537         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70538         calls to internal_setent.
70540         [BZ #12885]
70541         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70542         addresses using gethostbyname4_r ignore IPv4 addresses.
70544         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70545         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70547         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70549 2011-06-20  David S. Miller  <davem@davemloft.net>
70551         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70552         inclusions.
70553         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70555         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70556         (elf_irel): Use it.
70557         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70558         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70559         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70560         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70561         * sysdeps/x86_64/dl-irel.h: Likewise.
70563         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70564         * elf/dl-sym.c: Likewise.
70566 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70568         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70569         need to dereference resplen2.
70571 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70573         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70575 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70577         * Makeconfig: Define vardbdir and inst_vardbdir.
70578         * nss/Makefile: Add rules to install db-Makefile.
70580         * nss/nss_db/db-XXX.c: Cleanup.
70582         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70583         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70584         GLIBC_PRIVATE.
70585         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70586         * nss/makedb.c: Implement -g option to specify that value strings
70587         are generated and should not be added to table iterated over for
70588         get*ent calls.
70589         * nss/nss_db/db-initgroups.c: New file.
70591         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70592         interface.
70594         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70595         (internal_getgrouplist): Adjust to name change.
70596         Update use_initgroups_entry if this is not the first call.
70597         * nss/databases.def: Add initgroups entry.
70599         * nss/makedb.c (compute_tables): Check result of multiple hash table
70600         sizes to minimize maximum chain length.
70602 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70604         * Versions.def: Add entry for libnss_db.
70605         * shlib-versions: Likewise.
70606         * nss/Makefile: Add rules to build libnss_db.
70607         * nss/Versions: Add libnss_db information.  Organize libnss_files
70608         entries better.
70609         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70610         makedb progra.  Some minor improvements to generate smaller files.
70611         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70612         here from...
70613         * nss/makedb.c: ...here.
70614         Improve database format to be smaller and require less memory at
70615         runtime.
70616         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70617         db anymore.
70618         * nss/nss_db/db-netgrp.c: Likewise.
70619         * nss/nss_db/db-open.c: Likewise.
70620         * nss/nss_files/flies-XXX.x: Adjust comments.
70621         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70622         * nss/nss_files/files-grp.c: Likewise.
70623         * nss/nss_files/files-hosts.c: Likewise.
70624         * nss/nss_files/files-network.c: Likewise.
70625         * nss/nss_files/files-proto.c: Likewise.
70626         * nss/nss_files/files-pwd.c: Likewise.
70627         * nss/nss_files/files-rpc.c: Likewise.
70628         * nss/nss_files/files-service.c: Likewise.
70629         * nss/nss_files/files-sgrp.c: Likewise.
70630         * nss/nss_files/files-spwd.c: Likewise.
70631         * nss/nss_db/db-alias.c: Removed.
70632         * nss/nss_db/dummy-db.h: Removed.
70634 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70636         * nss/makedb.c: Rewritten to not use database library.
70637         * nss/Makefile: Update to build new makedb program.
70639 2011-06-14  Andreas Jaeger  <aj@suse.de>
70641         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70642         memset declaration.
70644 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70647         tmpbuf.
70649 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70651         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70652         * elf/Makefile ($(objpfx)ld.so): Likewise.
70654         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70655         Don't list ld.so twice in dependencies.
70657         * posix/bug-regex31.c: Include <stdlib.h>.
70659         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70661         * nis/nss_compat/compat-spwd.c
70662         (getspent_next_nss_netgr): Remove unused variable.
70663         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70665         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70666         nonmembers" output to use the right array.
70668         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70670         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70672         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70673         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70674         * catgets/gencat.c (read_input_file): Likewise.
70675         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70677         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70678         variable definition inside #if's controlling its use.
70680         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70682         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70684         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70686         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70687         unreachable code.
70689         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70691         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70692         * configure: Regenerated.
70694         * Makerules: Revert last change.
70695         * elf/Makefile: Likewise.
70697 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70699         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70700         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70701         (reloc-link): Likewise.
70703 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70705         * elf/Makefile: Add rules to build pldd.
70706         * elf/pldd.c: New file.
70707         * elf/pldd-xx.c: New file.
70709 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70711         * version.h: Update for 2.15 development version.
70713 2011-06-07  David S. Miller  <davem@davemloft.net>
70715         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70716         ifuncs.
70717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70718         elf_machine_lazy_rel): Likewise.
70719         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70721         elf_machine_lazy_rel): Likewise.
70722         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70723         dl_hwcap via passed in argument.
70724         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70725         Likewise.
70727 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70729         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70731 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70733         [BZ #12849]
70734         * manual/fdl-1.1.texi: New file, verbatim from:
70735         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70736         * manual/lgpl-2.1.texi: New file, verbatim from:
70737         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70738         * manual/Makefile (licenses): New variable, list those new file names.
70739         (texis): Use it.
70740         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70742         * manual/fdl.texi: File removed.
70743         * manual/lesser.texi: File removed.
70744         * manual/libc.texinfo (Copying, Documentation License):
70745         Use new @include file names, put @appendix directive before @include.
70747 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70749         [BZ #12841]
70750         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70751         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70752         (mq_open): Add __NTH.
70754 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70757         Assume Intel Core i3/i5/i7 processor if AVX is available.
70759 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70761         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70762         typo.
70764 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70766         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70767         memory.  Use alloca_account.  Fix memory leak when retrying.
70769 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70771         * version.h (RELEASE): Bump for 2.14 release.
70772         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70774         * config.make.in (RANLIB): Remove entry.
70776 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70778         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70779         (libc.pot): Work around missing support for .ksh extension in xgettext.
70781         [BZ #12684]
70782         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70783         if both request failed.
70784         (send_dg): In case of server errors clear resplen or *resplen2.
70786         [BZ #12454]
70787         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70788         when there are multiple maps.
70789         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70790         (_dl_fini): Remove test here.
70792         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70794 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70796         [BZ #12350]
70797         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70798         bit from old_res_options.
70799         (gaih_inet): Likewise.
70801         [BZ #11099]
70802         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70803         as signed.
70805         * resolv/res_init.c (res_setoptions): Make the code more compact.
70807         [BZ #11558]
70808         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70809         set RES_USEVC.
70811         [BZ #11634]
70812         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70814         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70816         [BZ #11781]
70817         * malloc/malloc.h: Declare malloc hook variables as volatile.
70819         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70820         in last patch.
70822         [BZ #11799]
70823         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70824         raise in the comment.
70825         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70827         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70829 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70831         [BZ #12811]
70832         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70833         grow the buffers more if it already has to be sufficient.
70834         (build_wcs_upper_buffer): Likewise.
70835         * posix/regexec.c (check_matching): Likewise.
70836         (clean_state_log_if_needed): Likewise.
70837         (extend_buffers): Don't enlarge buffers beyond size of the input
70838         buffer.
70839         Patches mostly by Emil Wojak <emil@wojak.eu>.
70840         * posix/bug-regex32.c: New file.
70841         * posix/Makefile (tests): Add bug-regex32.
70843         * locale/findlocale.c (_nl_find_locale): Return right away if
70844         _nl_explode_name failed.
70845         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70847         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70849         * debug/xtrace.sh: Unify messages.
70850         * malloc/memusage.sh: Likewise.
70852         [BZ #12813]
70853         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70854         time symbol from vDSO.  Substitute with vsyscall if not available.
70855         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70856         __vdso_time.
70858         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70859         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70860         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70861         Add sendmmsg and internal_sendmmsg.
70862         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70863         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70864         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70866         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70867         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70868         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70870 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70872         [BZ #12813]
70873         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70874         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70875         available.
70876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70877         __vdso_getcpu.
70879         [BZ #12814]
70880         * iconvdata/Makefile (tests): Add bug-iconv9.
70881         * iconvdata/bug-iconv9.c: New file.
70883 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70885         [BZ #12814]
70886         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70888 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70890         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70891         (struct user_regs_struct): Change intcs field back to cs.
70893 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70895         * po/ja.po: Update from translation team.
70897 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70899         [BZ #12795]
70900         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70901         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70903 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70905         * stdlib/longlong.h: Update from GCC.
70907 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70909         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70910         parameter name.
70911         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70912         Add parameter name.
70913         (__sysconf): Pass it down.
70915 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70917         [BZ #12671]
70918         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70919         some situations.
70920         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70921         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70922         add in in __libc_use_alloca calls.  Adjust callers.
70923         (glob): Use malloc in some situations.
70925         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70926         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70927         pltexit.
70929 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70931         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70932         and CLOCK_BOOTTIME_ALARM.
70934         [BZ #12782]
70935         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70936         is returned.
70938         * string/_strerror.c (__strerror_r): Print negative errors as signed
70939         numbers.
70941         [BZ #12777]
70942         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70943         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70944         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70946         * configure.in: Fix typo in redirection and correct removal of test
70947         files in two cases.
70949         [BZ #12788]
70950         * locale/setlocale.c (new_composite_name): Fix test to check for
70951         identical name of all categories.
70953         [BZ #12792]
70954         * libio/filedoalloc.c (local_isatty): New function.
70955         (_IO_file_doallocate): Use local_isatty.
70956         * stdio-common/perror.c (perror): In case a new stream is used
70957         forward the stream error.
70958         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70959         error flag.
70961 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70963         [BZ #11884]
70964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70965         alloca.
70966         * include/alloca.h (extend_alloca_account): Define.
70968         [BZ #11857]
70969         * posix/regex.h: Fix comments with documentation of user-accessible
70970         fields after compilation and describe correct free'ing of pattern
70971         after re_compile_pattern.
70972         Patch by Reuben Thomas <rrt@sc3d.org>.
70974 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70976         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70977         and -mno-altivec to prevent the compiler from using Altivec and/or
70978         VSX instructions when the corresponding registers are not available.
70980 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70982         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70984 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70986         * libio/freopen.c (freopen): Use __dup2, not dup2.
70987         * libio/freopen64.c (freopen64): Likewise.
70989 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70991         [BZ #12775]
70992         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70993         * math/Makefile (tests): Add test-powl.
70994         (CFLAGS-test-powl.c): Define.
70995         * math/test-powl.c: New file.
70997 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70999         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71001 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71003         [BZ #11837]
71004         * iconvdata/gb18030.c: Update to GB18020-2005.
71006 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71008         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71009         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71010         Patch by Aharon Robbins <arnold@skeeve.com>.
71012         [BZ #11892]
71013         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71014         on the stack.
71016         [BZ #11895]
71017         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71018         through underflows.
71020         [BZ #12766]
71021         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71022         point to strings before performing equality test for error_one_per_line
71023         mode.
71025         [BZ #11697]
71026         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71028         [BZ #11820]
71029         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71030         (struct user_fpregs_struct): Avoid __uint*_t types.
71032         [BZ #6420]
71033         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71034         symbol info.  Use it instead of calling _dl_addr locally.
71035         (lock_and_info): New function.
71036         (tr_freehook): Call lock_and_info and pass symbol info as additional
71037         parameter to tr_where.
71038         (tr_mallochook): Likewise.
71039         (tr_reallochook): Likewise.
71040         (tr_memalignhook): Likewise.
71042         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71043         used and couldn't be at all thread-safe.
71045 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71047         * libio/freopen.c (freopen): Don't close old file descriptor
71048         before the new one is opened.  Instead dup the new file descriptor
71049         to the old one after the new stream is created.
71050         * libio/freopen64.c (freopen64): Likewise.
71051         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71052         * libio/fileops.c (_IO_new_file_close_it): Handle new
71053         _IO_FLAGS2_NOCLOSE flag.
71054         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71055         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71056         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71057         _IO_FLAGS2_NOCLOSE flag.
71058         * include/unistd.h: Add hidden_proto for dup3.
71059         Define __have_dup3.
71060         * io/dup3.c: Define hidden symbol.
71061         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71063         [BZ #7101]
71064         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71065         when an incomplete long option is used.
71066         * posix/tst-getopt_long1.c: New file.
71067         * posix/Makefile (tests): Add tst-getopt_long1.
71069         [BZ #10138]
71070         * scripts/config.guess: Update from autoconf-2.68.
71071         * scripts/config.sub: Likewise.
71073         [BZ #10157]
71074         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71075         tests into ...
71076         (has_cpuclock): ...this.  New function.
71077         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71078         macro here based on has_cpuclock code.
71080         [BZ #10149]
71081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71082         First byte (not low byte) is now always NUL.
71083         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71086         Use non-cancelable interfaces.
71088         [BZ #9809]
71089         * locale/iso-639.def: Add entry for Sorani.
71091         [BZ #11901]
71092         * include/stdlib.h: Move include protection to the right place.
71093         Define abort_msg_s.  Declare __abort_msg with it.
71094         * stdlib/abort.c (__abort_msg): Adjust type.
71095         * assert/assert.c (__assert_fail_base): New function.  Majority
71096         of code from __assert_fail.  Allocate memory for __abort_msg with
71097         mmap.
71098         (__assert_fail): Now call __assert_fail_base.
71099         * assert/assert-perr.c: Remove bulk of implementation.  Use
71100         __assert_fail_base.
71101         * include/assert.hL Declare __assert_fail_base.
71102         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71103         mmap.
71104         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71106 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71108         [BZ #11952]
71109         [BZ #12453]
71110         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71111         until all modules are registered in the DTV.
71112         * elf/Makefile: Add rules to build and run tst-tls19.
71113         * elf/tst-tls19.c: New file.
71114         * elf/tst-tls19mod1.c: New file.
71115         * elf/tst-tls19mod2.c: New file.
71116         * elf/tst-tls19mod3.c: New file.
71117         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71119         [BZ #12083]
71120         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71121         correctly.
71123         [BZ #12601]
71124         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71125         two-byte sequence errors.
71126         * iconvdata/Makefile (tests): Add bug-iconv8.
71127         * iconvdata/bug-iconv8.c: New file.
71129         [BZ #12626]
71130         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71131         buf2 definition.
71133         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71135         [BZ #12432]
71136         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71137         (dummy_getcfa): New function.
71138         (init): Get _Unwind_GetCFA address, use dummy if not found.
71139         (backtrace_helper): In recursion check, also check whether CFA changes.
71140         (__backtrace): Completely initialize arg.
71142         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71143         storing incomplete byte sequence in state object.  Avoid testing for
71144         guaranteed too small input if we know there is enough data available.
71146 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71148         * Makeconfig (+link-pie): Indent.
71149         * Rules (binaries-pie): Define if $(have-fpie) and
71150         $(build-shared).
71151         (binaries-shared): Also filter out $(binaries-pie).
71152         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71153         * nscd/Makefile (others-pie): Add nscd.
71154         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71155         ($(objpfx)nscd): Remove command override.
71156         * login/Makefile (others-pie): Add pt_chown.
71157         ($(objpfx)pt_chown): Remove command override.
71158         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71159         remove command overrides.
71161 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71163         * libio/tst_putwc.c: Fix error messages.
71165         [BZ #12724]
71166         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71167         currently writing and seek to current position when not.
71168         * libio/Makefile (tests): Add bug-fclose1.
71169         * libio/bug-fclose1.c: New file.
71171 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71173         [BZ #12511]
71174         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71175         don't set DF_1_NODELETE here.
71176         (do_lookup_x): When entering new entry test for copy relocation
71177         and if necessary set DF_1_NODELETE flag.
71178         * elf/tst-unique4.cc: New file.
71179         * elf/tst-unique4.h: New file.
71180         * elf/tst-unique4lib.cc: New file.
71181         * elf/Makefile: Add rules to build and run tst-unique4.
71182         Patch by Piotr Bury <pbury@goahead.com>.
71184 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71186         [BZ #12052]
71187         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71189         [BZ #12625]
71190         * misc/mntent_r.c (addmntent): Flush the stream after the output
71192         [BZ #12393]
71193         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71194         (is_trusted_path_normalize): Skip initial colon.  Append slash
71195         to empty buffer.  Duplicate is_trusted_path code but allow
71196         constructed patch to be prefix.
71197         (is_dst): Allow $ORIGIN followed by /.
71198         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71199         Correct testing of result of is_trusted_path_normalize
71200         (decompose_rpath): Fix warning.
71202 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71204         [BZ #11257]
71205         * grp/initgroups.c (internal_getgrouplist): When we found the service
71206         list through the initgroups entry in nsswitch.conf do not always
71207         continue on a successful lookup.  Don't always use the
71208         __nss_group_database value if it is set.
71209         * nss/nsswitch.conf (initgroups): Change action for successful db
71210         lookup to continue for compatibility.
71212 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71214         [BZ #11532]
71215         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71216         and CP774 modules.
71217         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71218         and CP774 modules.
71219         * iconvdata/tst-tables.sh: Likewise.
71220         * iconvdata/cp770.c: New file.
71221         * iconvdata/cp771.c: New file.
71222         * iconvdata/cp772.c: New file.
71223         * iconvdata/cp773.c: New file.
71224         * iconvdata/cp774.c: New file.
71225         * iconvdata/testdata/CP770: New file.
71226         * iconvdata/testdata/CP770..UTF8: New file.
71227         * iconvdata/testdata/CP771: New file.
71228         * iconvdata/testdata/CP771..UTF8: New file.
71229         * iconvdata/testdata/CP772: New file.
71230         * iconvdata/testdata/CP772..UTF8: New file.
71231         * iconvdata/testdata/CP773: New file.
71232         * iconvdata/testdata/CP773..UTF8: New file.
71233         * iconvdata/testdata/CP774: New file.
71234         * iconvdata/testdata/CP774..UTF8: New file.
71236         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71237         END CHARMAP line.
71238         * iconvdata/gen-8bit-gap.sh: Likewise.
71239         * iconvdata/gen-8bit.sh: Likewise.
71241         * locale/iso-639.def: Add ary entry.
71243         [BZ #11258]
71244         * locale/C-translit.h.in: Add U20A1 transliteration.
71246         [BZ #12178]
71247         * locale/iso-639.def: Add wae entry.
71248         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71250         [BZ #12545]
71251         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71252         for n.
71254         [BZ #12711]
71255         * locale/C-translit.h.in: Add entry for U20B9.
71256         Patch by pravin.d.s@gmail.com.
71258 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71260         [BZ #12713]
71261         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71262         ENAMETOOLONG use generic getcwd.
71263         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71264         in rtld.  Use *stat64.
71265         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71266         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71267         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71268         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71269         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71270         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71271         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71272         __fstatat64 macros.
71273         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71274         * dirent/rewinddir.c: Add libc_hidden_def.
71275         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71276         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71278         * include/dirent.h (__alloc_dir): Add flags parameter.
71279         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71280         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71281         __alloc_dir.
71282         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71283         from fdopendir if O_CLOEXEC is already set.
71285 2011-03-15  Alan Modra  <amodra@gmail.com>
71287         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71288         l_tls_firstbyte_offset non-zero.  Save padding offset in
71289         l_tls_firstbyte_offset for later use.
71290         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71291         freeing static tls block.
71293 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71295         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71296         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71297         being defined by the kernel headers.
71299 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71301         [BZ #12734]
71302         * resolv/resolv.h: Define RES_NOTLDQUERY.
71303         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71304         no-tld-query and set RES_NOTLDQUERY.
71305         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71306         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71307         modern BIND to search name as TLD unless forbidden.
71309 2011-05-07  Petr Baudis  <pasky@suse.cz>
71310             Ulrich Drepper  <drepper@gmail.com>
71312         [BZ #12393]
71313         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71314         (is_trusted_path): ...to here.
71315         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71316         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71317         using is_trusted_path_normalize() in setuid scripts.
71319 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71321         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71322         __BEGIN/__END_DECLS.
71324 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71326         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71327         NSS_STATUS_NOTFOUND if no record was found.
71329 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71331         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71332         (headers-not-in-tirpc): Remove rpc/netdb.h
71333         * resolv/netdb.h: Revert last change.
71335 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71337         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71338         circular dependency between libgcc.a and libc.a.
71340 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71342         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71343         * nis/Makefile: Don't install rpcsvc/*.
71344         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71345         instead of <rpc/types.h>.
71346         (MAXHOSTNAMELEN): Define.
71348 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71350         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71352 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71354         [BZ #12714]
71355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71356         gethostbyname4_r when IPv6 results are possible.
71358 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71360         [BZ #12723]
71361         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71362         _PC_PIPE_BUF handling.
71364 2011-04-30  Bruno Haible  <bruno@clisp.org>
71366         [BZ #12717]
71367         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71368         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71369         to 'int'.
71370         * inet/getnameinfo.c (getnameinfo): Likewise.
71372 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71374         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71375         to groups setting in database lookup.
71376         * nss/nsswitch.conf: Add initgroups entry.
71378 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71380         [BZ #12685]
71381         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71382         mode string.
71383         Patch by Eric Blake <eblake@redhat.com>.
71385 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71387         * sunrpc/Makefile (need-export-routines): Add svc_run.
71388         (routines): Remove svc_run.
71389         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71390         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71391         * sunrpc/svc_run.c (svc_run): Likewise.
71392         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71394 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71396         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71397         problem in reallocation in last patch.
71399 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71401         * sunrpc/Makefile: Move inclusion of Rules.
71403 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71405         * nss/nss_files/files-initgroups.c: New file.
71406         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71407         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71408         _nss_files_initgroups_dyn.
71410 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71412         * elf/elf.h (R_ARM_IRELATIVE): Define.
71414 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71416         * po/ru.po: Update from translation team.
71418 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71420         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71421         dependencies.
71423 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71425         [BZ #12653]
71426         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71427         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71428         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71429         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71430         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71432 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71434         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71435         differing bytes.
71436         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71437         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71438         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71440 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71442         [BZ #12420]
71443         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71444         storing it.
71445         * stdlib/bug-getcontext.c: New file.
71446         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71448 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71450         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71451         instructions into .machine "z9-109".
71452         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71453         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71455 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71457         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71458         between environment variables and auxiliary vector.
71460 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71462         * Makefile: Add rules to build linkobj/libc.so.
71463         * include/libc-symbols.h: Define libc_hidden_nolink.
71464         * include/rpc/auth.h: Mark functions which are to be hidden.
71465         * include/rpc/auth_des.h: Likewise.
71466         * include/rpc/auth_unix.h: Likewise.
71467         * include/rpc/clnt.h: Likewise.
71468         * include/rpc/des_crypt.h: Likewise.
71469         * include/rpc/key_prot.h: Likewise.
71470         * include/rpc/pmap_clnt.h: Likewise.
71471         * include/rpc/pmap_prot.h: Likewise.
71472         * include/rpc/pmap_rmt.h: Likewise.
71473         * include/rpc/rpc_msg.h: Likewise.
71474         * include/rpc/svc.h: Likewise.
71475         * include/rpc/svc_auth.h: Likewise.
71476         * include/rpc/xdr.h: Likewise.
71477         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71478         * nss/Makefile: Likewise.
71479         * sunrpc/Makefile: Don't install headers.  Build library with normal
71480         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71481         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71482         for the compat linking library.  Remove use of INTDEF/INTUSE.
71483         * sunrpc/auth_none.c: Likewise.
71484         * sunrpc/auth_unix.c: Likewise.
71485         * sunrpc/authdes_prot.c: Likewise.
71486         * sunrpc/authuxprot.c: Likewise.
71487         * sunrpc/clnt_gen.c: Likewise.
71488         * sunrpc/clnt_perr.c: Likewise.
71489         * sunrpc/clnt_raw.c: Likewise.
71490         * sunrpc/clnt_simp.c: Likewise.
71491         * sunrpc/clnt_tcp.c: Likewise.
71492         * sunrpc/clnt_udp.c: Likewise.
71493         * sunrpc/clnt_unix.c: Likewise.
71494         * sunrpc/des_crypt.c: Likewise.
71495         * sunrpc/des_soft.c: Likewise.
71496         * sunrpc/get_myaddr.c: Likewise.
71497         * sunrpc/key_call.c: Likewise.
71498         * sunrpc/key_prot.c: Likewise.
71499         * sunrpc/netname.c: Likewise.
71500         * sunrpc/pm_getmaps.c: Likewise.
71501         * sunrpc/pm_getport.c: Likewise.
71502         * sunrpc/pmap_clnt.c: Likewise.
71503         * sunrpc/pmap_prot.c: Likewise.
71504         * sunrpc/pmap_prot2.c: Likewise.
71505         * sunrpc/pmap_rmt.c: Likewise.
71506         * sunrpc/publickey.c: Likewise.
71507         * sunrpc/rpc_cmsg.c: Likewise.
71508         * sunrpc/rpc_common.c: Likewise.
71509         * sunrpc/rpc_dtable.c: Likewise.
71510         * sunrpc/rpc_prot.c: Likewise.
71511         * sunrpc/rpc_thread.c: Likewise.
71512         * sunrpc/rtime.c: Likewise.
71513         * sunrpc/svc.c: Likewise.
71514         * sunrpc/svc_auth.c: Likewise.
71515         * sunrpc/svc_authux.c: Likewise.
71516         * sunrpc/svc_raw.c: Likewise.
71517         * sunrpc/svc_run.c: Likewise.
71518         * sunrpc/svc_simple.c: Likewise.
71519         * sunrpc/svc_tcp.c: Likewise.
71520         * sunrpc/svc_udp.c: Likewise.
71521         * sunrpc/svc_unix.c: Likewise.
71522         * sunrpc/svcauth_des.c: Likewise.
71523         * sunrpc/xcrypt.c: Likewise.
71524         * sunrpc/xdr.c: Likewise.
71525         * sunrpc/xdr_array.c: Likewise.
71526         * sunrpc/xdr_float.c: Likewise.
71527         * sunrpc/xdr_intXX_t.c: Likewise.
71528         * sunrpc/xdr_mem.c: Likewise.
71529         * sunrpc/xdr_rec.c: Likewise.
71530         * sunrpc/xdr_ref.c: Likewise.
71531         * sunrpc/xdr_sizeof.c: Likewise.
71532         * sunrpc/xdr_stdio.c: Likewise.
71534 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71536         [BZ #12650]
71537         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71538         * sysdeps/ia64/dl-tls.h: Likewise.
71539         * sysdeps/powerpc/dl-tls.h: Likewise.
71540         * sysdeps/s390/dl-tls.h: Likewise.
71541         * sysdeps/sh/dl-tls.h: Likewise.
71542         * sysdeps/sparc/dl-tls.h: Likewise.
71543         * sysdeps/x86_64/dl-tls.h: Likewise.
71544         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71546 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71548         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71549         rpath element also skip the following colon.
71550         (expand_dynamic_string_token): Add is_path parameter and pass
71551         down to DL_DST_REQUIRED and _dl_dst_substitute.
71552         (decompose_rpath): Call expand_dynamic_string_token with
71553         non-zero is_path.  Ignore empty rpaths.
71554         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71555         with zero is_path.
71557 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71560         Make cancelable.
71562 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71564         [BZ #12655]
71565         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71566         Patch by Filipe David Manana <fdmanana@apache.org>.
71568 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71571         Maintain aligned stack.
71572         (CHECK_RSP): Remove unused macro.
71574 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71576         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71577         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71579 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71581         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71583         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71585 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71587         [BZ #12518]
71588         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71589         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71590         * sysdeps/x86_64/memmove.c: New file.
71591         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71592         (memcpy): Renamed to ...
71593         (__new_memcpy): This.
71594         (memcpy): Provide GLIBC_2_14 memcpy.
71595         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71596         (memcpy): Provide GLIBC_2_2_5 memcpy.
71598 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71600         [BZ #12631]
71601         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71603 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71605         * misc/syncfs.c: New file.
71606         * misc/Makefile (routines): Add syncfs.
71607         * posix/unistd.h: Declare syncfs.
71608         * sysdeps/unix/syscalls.list: Add syncfs.
71610 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71612         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71613         open_by_handle_at.
71614         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71615         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71617         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71619         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71620         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71622 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71624         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71625         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71626         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71630         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71632         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71633         sync_file_range.c with -fexceptions.
71634         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71635         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71636         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71637         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71638         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71639         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71640         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71641         sync_file_range as cancellation point
71642         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71643         now a wrapper around __call_sync_file_range with cancellation handling.
71644         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71645         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71646         function name to __call_sync_file_range.
71647         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71648         Add call_sync_file_range.
71650 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71653         bits/timex.h.
71655 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71657         * iconv/iconv.h: Fix typo in comment.
71658         * io/fcntl.h: Likewise.
71659         * libio/stdio.h: Likewise.
71660         * posix/spawn.h: Likewise.
71661         * posix/unistd.h: Likewise.
71662         * stdlib/stdlib.h: Likewise.
71663         * time/time.h: Likewise.
71664         * wcsmbs/wchar.h: Likewise.
71666         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71667         open_by_handle): Add.
71668         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71669         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71670         Augment a few comments.
71671         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71673         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71675         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71676         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71677         open_by_handle.
71679         * io/fcntl.h (AT_EMPTY_PATH): Define.
71681 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71683         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71684         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71685         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71686         to...
71687         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71688         * Versions.def: Add GLIBC_2.14.
71689         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71690         Export.
71692 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71694         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71695         round counter.
71696         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71698 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71700         [BZ #12597]
71701         * string/test-strncmp.c (do_page_test): New function.
71702         (check2): Likewise.
71703         (test_main): Call check2.
71704         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71706 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71708         [BZ #12587]
71709         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71710         Handle cache information in CPU leaf 4.
71711         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71713 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71715         [BZ #12583]
71716         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71717         character representation.
71718         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71720 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71722         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71723         END(__isnan) to END(__isnanf) to match function entry point/label
71724         EALIGN(__isnanf,...).
71726 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71728         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71730 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71732         [BZ #12510]
71733         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71734         copy from the symbol referenced in the relocation to initialize the
71735         used variable.
71736         Patch by Piotr Bury <pbury@goahead.com>.
71737         * elf/Makefile: Add rules to build and tst-unique3.
71738         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71739         * elf/tst-unique3.cc: New file.
71740         * elf/tst-unique3.h: New file.
71741         * elf/tst-unique3lib.cc: New file.
71742         * elf/tst-unique3lib2.cc: New file.
71744         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71746 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71748         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71749         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71750         to _start.
71752 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71754         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71755         to-be-loaded object along a path to loader is ld.so.
71757 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71758             Ulrich Drepper  <drepper@gmail.com>
71760         * sysdeps/x86_64/memset.S: After aligning destination, code
71761         branches to different locations depending on the value of
71762         misalignment, when multiarch is enabled. Fix this.
71764 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71766         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71767         Set _x86_64_preferred_memory_instruction for AMD processsors.
71768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71769         Set bit_Prefer_SSE_for_memop for AMD processors.
71771 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71773         * libio/fmemopen.c (fmemopen): Optimize a bit.
71775 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71777         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71779 2011-03-03  Roland McGrath  <roland@redhat.com>
71781         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71783 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71785         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71786         __bzero_ultra1 instead of __memset_ultra1.
71788 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71789             Ulrich Drepper  <drepper@gmail.com>
71791         [BZ #12509]
71792         * include/link.h (struct link_map): Add l_orig_initfini.
71793         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71794         returning unsuccessfully.
71795         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71796         close of a file loaded at startup, restore the original l_initfini
71797         list.
71798         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71799         list, store the pointer.
71800         * elf/Makefile ($(objpfx)noload-mem): New rule.
71801         (noload-ENV): Define.
71802         (tests): Add $(objpfx)noload-mem.
71803         * elf/noload.c: Include <memcheck.h>.
71804         (main): Call mtrace.  Close all opened handles.
71806 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71808         [BZ #12454]
71809         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71810         dependencies are missing.
71812 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71814         Fix __if_freereq crash: Unlike the generic version which uses free,
71815         Hurd needs munmap.
71816         * sysdeps/mach/hurd/ifreq.h: New file.
71818 2011-01-27  Petr Baudis  <pasky@suse.cz>
71819             Ulrich Drepper  <drepper@gmail.com>
71821         [BZ 12445]#
71822         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71823         to extend_alloca().
71824         * stdio-common/bug23.c: New file.
71825         * stdio-common/Makefile (tests): Add bug23.
71827 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71828             Ulrich Drepper  <drepper@gmail.com>
71830         [BZ #12489]
71831         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71832         before performing relro protection.  At old place add assertion
71833         to make sure nothing changed.
71835 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71836             Glauber de Oliveira Costa  <glommer@gmail.com>
71838         * elf/elf.h: Add new ARM TLS relocs.
71840 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71843         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71844         cast from r3.
71845         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71846         'tests' variable.
71847         * sysdeps/wordsize-64/tst-writev.c: New file.
71849 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71851         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71852         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71853         insns in _dl_start to prevent a TOC reference before relocs are
71854         resolved.
71856 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71858         [BZ #12469]
71859         * Makeconfig: Remove RANLIB definition.
71860         * Makerules: Don't use RANLIB.
71861         * aclocal.m4: Remove ranlib test.
71862         * configure.in: No need to check for ranlib.
71863         * elf/rtld-Rules: Don't use RANLIB.
71865 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71867         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71868         protection macro.
71869         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71870         inclusion protection macro.
71872         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71873         SIGRTMIN and SIGRTMAX and print information in that case only when
71874         SIGRTMIN is defined.
71876 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71878         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71879         arginfo fn returning -1.
71881         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71882         and thousands string is zero terminated.
71884 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71887         sysdeps/unix/sysv/linux/bits/socket.h.
71889 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71891         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71892         (__CPU_COUNT): Remove old macros.
71893         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71894         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71895         (__CPU_ALLOC, __CPU_FREE): Add macros.
71896         (__sched_cpualloc, __sched_cpufree): Add declarations.
71898 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71900         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71901         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71902         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71903         (readdhstai): Return value of addhstaiX call.
71904         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71905         (addgrbyX): Return value returned by cache_addgr.
71906         (readdgrbyname): Return value returned by addgrbyX.
71907         (readdgrbygid): Likewise.
71908         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71909         (addpwbyX): Return value returned by cache_addpw.
71910         (readdpwbyname): Return value returned by addhstbyX.
71911         (readdpwbyuid): Likewise.
71912         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71913         (addservbyX): Return value returned by cache_addserv.
71914         (readdservbyname): Return value returned by addservbyX:
71915         (readdservbyport): Likewise.
71916         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71917         (addhstbyX): Return value returned by cache_addhst.
71918         (readdhstbyname): Return value returned by addhstbyX.
71919         (readdhstbyaddr): Likewise.
71920         (readdhstbynamev6): Likewise.
71921         (readdhstbyaddrv6): Likewise.
71922         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71923         (readdinitgroups): Return value returned by addinitgroupsX.
71924         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71925         (prune_cache): Keep track of timeout value of re-added entries.
71926         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71927         * nscd/nscd.h: Adjust prototypes of readd* functions.
71929 2011-02-04  Roland McGrath  <roland@redhat.com>
71931         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71932         (nis_stats): Likewise.
71933         * nis/nis_modify.c (nis_modify): Likewise.
71934         * nis/nis_remove.c (nis_remove): Likewise.
71935         * nis/nis_add.c (nis_add): Likewise.
71937         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71939         * posix/fnmatch_loop.c: Add some consts.
71941         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71943 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71945         [BZ #12460]
71946         * config.make.in (config-cflags-novzeroupper): Define.
71947         * configure.in: Substitute libc_cv_cc_novzeroupper.
71948         * elf/Makefile (AVX-CFLAGS): Define.
71949         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71950         (CFLAGS-tst-auditmod4a.c): Likewise.
71951         (CFLAGS-tst-auditmod4b.c): Likewise.
71952         (CFLAGS-tst-auditmod6b.c): Likewise.
71953         (CFLAGS-tst-auditmod6c.c): Likewise.
71954         (CFLAGS-tst-auditmod7b.c): Likewise.
71955         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71957 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71959         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71960         function to the callback.
71961         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71963 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71965         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71966         of errno.
71968 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71970         [BZ #11724]
71971         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71972         of constructors.
71973         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71974         of destructors.
71975         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71977         [BZ #11724]
71978         * elf/Makefile: Add rules to build and run new test.
71979         * elf/tst-initorder.c: New file.
71980         * elf/tst-initorder.exp: New file.
71981         * elf/tst-initordera1.c: New file.
71982         * elf/tst-initordera2.c: New file.
71983         * elf/tst-initordera3.c: New file.
71984         * elf/tst-initordera4.c: New file.
71985         * elf/tst-initorderb1.c: New file.
71986         * elf/tst-initorderb2.c: New file.
71987         * elf/tst-order-a1.c: New file.
71988         * elf/tst-order-a2.c: New file.
71989         * elf/tst-order-a3.c: New file.
71990         * elf/tst-order-a4.c: New file.
71991         * elf/tst-order-b1.c: New file.
71992         * elf/tst-order-b2.c: New file.
71993         * elf/tst-order-main.c: New file.
71994         New test case by George Gensure <werkt0@gmail.com>.
71996 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71999         decoding ACE if AI_CANONIDN.
72001 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72003         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72005 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72007         * version.h (RELEASE): Bump for 2.13 release.
72008         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72010         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72012         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72013         MADV_NOHUGEPAGE.
72014         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72015         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72016         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72017         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72018         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72019         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72021         * posix/getconf.c: Update copyright year.
72022         * catgets/gencat.c: Likewise.
72023         * csu/version.c: Likewise.
72024         * debug/catchsegv.sh: Likewise.
72025         * debug/xtrace.sh: Likewise.
72026         * elf/ldconfig.c: Likewise.
72027         * elf/ldd.bash.in: Likewise.
72028         * elf/sprof.c (print_version): Likewise.
72029         * iconv/iconv_prog.c: Likewise.
72030         * iconv/iconvconfig.c: Likewise.
72031         * locale/programs/locale.c: Likewise.
72032         * locale/programs/localedef.c: Likewise.
72033         * malloc/memusage.sh: Likewise.
72034         * malloc/mtrace.pl: Likewise.
72035         * nscd/nscd.c (print_version): Likewise.
72036         * nss/getent.c: Likewise.
72038         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72039         PF_CAIF, and PF_ALG.
72040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72042 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72044         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72045         (modules-names): Use them.
72046         (ifunc-test-modules, ifunc-pie-tests): Define.
72047         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72048         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72049         (test-extras): Likewise.
72050         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72051         $(compile-command.c).
72052         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72053         (all-built-dso): Define.
72054         (check-textrel.out, check-execstack.out): Depend on it.
72056         * configure.in: Don't override --enable-multi-arch.
72058 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72060         [BZ #6812]
72061         * nscd/hstcache.c (tryagain): Define.
72062         (cache_addhst): Return tryagain not notfound for temporary errors.
72063         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72064         failed.
72066 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72068         [BZ #10563]
72069         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72070         to make the syscall.
72071         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72073         [BZ #12378]
72074         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72075         and fall back to matching as normal character if the string ends before
72076         the matching ']' is found.  This is what POSIX requires.
72077         * posix/testfnm.c: Adjust test result.
72078         * posix/globtest.sh: Adjust test result.  Add new test.
72079         * posix/tst-fnmatch.input: Likewise.
72080         * posix/tst-fnmatch2.c: Add new test.
72082 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72084         * elf/Makefile (check-execstack): Revert last change.  Depend on
72085         check-execstack.h.
72086         (check-execstack.h): New target.
72087         (generated): Add check-execstack.h.
72088         * elf/check-execstack.c: Include "check-execstack.h".
72089         (main): Revert last change.
72090         (handle_file): Return zero if GNU_STACK is absent and
72091         DEFAULT_STACK_PERMS doesn't include PF_X.
72093 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72095         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72096         in child fails because the descriptor is already closed.
72097         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72098         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72099         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72101         [BZ #12397]
72102         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72103         syscall.
72105         [BZ #10484]
72106         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72107         temporary buffer used to handle multi lookups locally.
72108         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72110 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72112         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72113         loader is ld.so.
72115 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72117         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72118         alignment for SSE2.
72120 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72122         [BZ #12394]
72123         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72124         characters.  When rounding increased number of integer digits recompute
72125         number of groups.
72126         * stdio-common/tst-grouping.c: New file.
72127         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72129 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72131         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72132         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72134         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72135         void.
72136         * bits/select.h: Likewise.
72138 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72140         * po/ja.po: Update from translation team.
72142 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72144         [BZ #11155]
72145         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72146         implementation just like for lxstat, fxstatat, et al.
72148 2010-12-27  Jim Meyering  <meyering@redhat.com>
72150         [BZ #12348]
72151         * posix/regexec.c (build_trtable): Return failure indication upon
72152         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72154 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72156         [BZ #12201]
72157         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72158         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72159         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72160         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72162         [BZ #12207]
72163         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72165         [BZ #12204]
72166         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72167         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72169 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72171         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72172         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72173         script has SORT_BY_INIT_PRIORITY.
72174         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72175         NO_CTORS_DTORS_SECTIONS is defined.
72176         * elf/soinit.c: Likewise.
72177         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72178         NO_CTORS_DTORS_SECTIONS is defined.
72179         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72180         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72181         * sysdeps/sh/init-first.c: Likewise.
72182         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72184 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72186         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72187         always use the slow path.
72189 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72191         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72192         similar rule which adds the sysdep directories to the header search in
72193         order to pick up the correct platform stackinfo.h.
72194         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72195         perform test if it is, otherwise return successfully without testing.
72196         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72197         DEFAULT_STACK_PERMS define in stackinfo.h.
72198         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72199         defined in stackinfo.h.
72200         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72201         DEFAULT_STACK_PERMS defined in stackinfo.h.
72202         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72203         * sysdeps/ia64/stackinfo.h: Likewise.
72204         * sysdeps/s390/stackinfo.h: Likewise.
72205         * sysdeps/sh/stackinfo.h: Likewise.
72206         * sysdeps/sparc/stackinfo.h: Likewise.
72207         * sysdeps/x86_64/stackinfo.h: Likewise.
72208         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72209         PF_X for powerpc64.  Retain PF_X for powerpc32.
72211 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72213         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72214         accurately.
72215         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72216         GETDENTS_64BIT_ALIGNED.
72218 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72220         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72222 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72224         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72225         _GNU_SOURCE.
72227         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72228         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72229         Remove __restrict.
72230         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72231         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72233 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72235         [BZ #11655]
72236         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72237         are initialized.
72239 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72241         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72243 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72245         * po/it.po: Update from translation team.
72247 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72250         unused codes.
72252 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72254         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72256 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72258         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72259         specially.
72260         (gaih_getanswer_slice): Likewise.
72262 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72266 2010-05-31  Petr Baudis  <pasky@suse.cz>
72268         [BZ #11149]
72269         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72270         silently even in the chroot mode.
72272 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72274         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72275         last patch a bit.  Pretty printing
72277 2010-05-31  Petr Baudis <pasky@suse.cz>
72279         [BZ #10085]
72280         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72281         initialization of skip_initgroups_dyn.
72283 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72285         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72286         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72288 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72290         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72292 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72294         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72295         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72296         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72297         ($(objpfx)tst-fnmatch-mem): New rule.
72298         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72299         * posix/tst-fnmatch.c (main): Call mtrace.
72301 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72304         Support Intel processor model 6 and model 0x2c.
72306 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72309           signed comparison.
72311 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72313         [BZ #12205]
72314         * string/test-strncasecmp.c (check_result): New function.
72315         (do_one_test): Use it.
72316         (check1): New function.
72317         (test_main): Use it.
72318         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72319         Support strcasecmp and strncasecmp.
72321 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72323         [BZ #12194]
72324         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72325         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72327 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72329         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72330         IFUNC support.
72331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72332         memset-x86-64.
72333         * sysdeps/x86_64/multiarch/bzero.S: New file.
72334         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72335         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72336         * sysdeps/x86_64/multiarch/memset.S: New file.
72337         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72339         Set bit_Prefer_SSE_for_memop for Intel processors.
72340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72341         Define.
72342         (index_Prefer_SSE_for_memop): Define.
72343         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72345 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72347         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72348         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72350 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72352         [BZ #12191]
72353         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72354         (__x86_64_raw_data_cache_size_half): Likewise.
72355         (__x86_64_raw_shared_cache_size): Likewise.
72356         (__x86_64_raw_shared_cache_size_half): Likewise.
72358         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72359         (__x86_64_raw_data_cache_size_half): Likewise.
72360         (__x86_64_raw_shared_cache_size): Likewise.
72361         (__x86_64_raw_shared_cache_size_half): Likewise.
72362         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72363         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72364         and __x86_64_raw_shared_cache_size_half.  Round
72365         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72366         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72367         to multiple of 256 bytes.
72369 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72371         [BZ #12167]
72372         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72373         of inacessible symlinks.  Verify result of symlink before returning it.
72374         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72375         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72377 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72379         * math/math.h (isinf): Fix typo in comment.
72381 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72383         * po/da.po: Update from translation team.
72385 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72387         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72388         is added to the list.
72390 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72391             Ulrich Drepper  <drepper@gmail.com>
72393         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72394         the global list here.  Move code to...
72395         (_dl_add_to_namespace_list): ...here.  New function.
72396         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72397         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72398         * elf/dl-load.c (lose): Don't remove the element from the list.
72399         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72400         (_dl_map_object): Likewise.
72402 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72404         [BZ #12159]
72405         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72406         into all bytes of SSE register.
72407         Patch by Richard Li <richardpku@gmail.com>.
72409 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72411         [BZ #12140]
72412         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72413         perturbing.
72415 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72417         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72418         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72419         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72420         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72422         submachine.
72423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72425 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72427         * include/dlfcn.h (__RTLD_SECURE): Define.
72428         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72429         mode & __RTLD_SECURE instead.
72430         (open_path): Rename preloaded parameter to secure.
72431         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72432         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72433         * elf/dl-deps.c (openaux): Likewise.
72434         * elf/rtld.c (struct map_args): Remove is_preloaded.
72435         (map_doit): Don't use it.
72436         (dl_main): Likewise.
72437         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72438         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72440 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72442         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72443         (sysd-rules-targets): Remove duplicates.
72444         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72445         rtld-%.$o dependency.
72447 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72449         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72450         _dl_map_object do it.
72452 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72454         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72455         fast fma builtins, define the macros in the C99 standard.
72456         (FP_FAST_FMAF): Likewise.
72457         (FP_FAST_FMAL): Likewise.
72458         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72460         * bits/mathdef.h: Update copyright year.
72461         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72463 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72465         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72466         builtins, define the macros in the C99 standard.
72467         (FP_FAST_FMAF): Likewise.
72468         (FP_FAST_FMAL): Likewise.
72469         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72470         multiply/add.
72471         (FP_FAST_FMAF): Likewise.
72473 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72475         [BZ #3268]
72476         * math/libm-test.inc (fma_test): Some new testcases.
72477         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72478         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72479         y and infinite z.  Do multiplication by C already in long double.
72480         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72482         y and infinite z.  Do bitwise or of inexact bit into u.d.
72483         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72484         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72485         * sysdeps/i386/fpu/s_fma.S: Removed.
72486         * sysdeps/i386/fpu/s_fmal.S: Removed.
72488 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72490         [BZ #3268]
72491         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72493         computation is not scheduled after fetestexcept.  Fix value
72494         of minimum denormal long double.
72496 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72498         [BZ #3268]
72499         * math/libm-test.inc (fma_test): Add some more tests.
72500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72501         correctly.
72503 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72505         * scripts/data/localplt-s390-linux-gnu.data: New file.
72506         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72508 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72510         [BZ #3268]
72511         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72512         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72513         instead of dbl-64.
72514         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72515         inlines.
72516         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72518         if one of x and y is very large and the other is subnormal.
72519         * sysdeps/s390/fpu/s_fmaf.c: New file.
72520         * sysdeps/s390/fpu/s_fma.c: New file.
72521         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72522         * sysdeps/powerpc/fpu/s_fma.S: New file.
72523         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72524         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72525         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72527 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72529         [BZ #3268]
72530         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72531         fma tests.
72532         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72533         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72534         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72535         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72536         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72537         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72538         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72540 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72542         [BZ #12078]
72543         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72544         * posix/bug-regex31.input: Add test case.
72546 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72548         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72549         * posix/bug-regex31.input: New file.
72551         [BZ #12078]
72552         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72553         (parse_sub_exp): Fix last change, use postorder.
72555         * posix/bug-regex31.c: New file.
72556         * posix/Makefile: Add rules to build and run bug-regex31.
72558         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72560         [BZ #12078]
72561         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72563         [BZ #12108]
72564         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72565         to have entries in sys_siglist.
72567         [BZ #12093]
72568         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72569         be NULL.
72571 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72573         [BZ #3268]
72574         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72575         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72576         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72577         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72578         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72579         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72580         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72581         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72582         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72583         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72584         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72585         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72586         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72587         * math/ftestexcept.c (fetestexcept): Likewise.
72588         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72589         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72590         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72591         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72592         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72593         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72594         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72596 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72598         [BZ #12107]
72599         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72600         newline.
72602 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72604         * string/bug-strstr1.c: New file.
72605         * string/Makefile: Add rules to build and run bug-strstr1.
72607 2010-10-05  Eric Blake  <eblake@redhat.com>
72609         [BZ #12092]
72610         * string/str-two-way.h (two_way_long_needle): Always clear memory
72611         when skipping input due to the shift table.
72613 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72615         [BZ #12005]
72616         * malloc/mcheck.c: Handle large requests.
72618         [BZ #12077]
72619         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72620         for strncmp and strncasecmp.
72621         * string/stratcliff.c: Add tests for strcmp and strncmp.
72622         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72624 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72626         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72627         __set_fpscr.
72629 2010-09-30  Andreas Jaeger  <aj@suse.de>
72631         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72632         (CGROUP_SUPER_MAGIC): Define.
72633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72634         Handle btrfs and cgroup file systems.
72635         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72636         Likewise.
72638 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72640         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72641         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72643 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72645         [BZ #12067]
72646         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72647         trying to locate the ELF header.
72649 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72651         [BZ #11611]
72652         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72653         Mask out sign-bit copies when constructing f_fsid.
72655 2010-09-24  Petr Baudis <pasky@suse.cz>
72657         * debug/stack_chk_fail_local.c: Add missing licence exception.
72658         * debug/warning-nop.c: Likewise.
72660 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72662         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72663         implementing getdents64 using getdents syscall, set d_type if
72664         __ASSUME_GETDENTS32_D_TYPE.
72666 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72668         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72669         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72671 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72673         [BZ #12037]
72674         * posix/unistd.h: Undo change of feature selection for ftruncate from
72675         2010-01-11.
72677 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72679         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72680         detection.
72682 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72684         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72685         fanotify_mark.
72686         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72688 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72690         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72691         variables after CHECK_SP call.
72692         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72694 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72695             Ulrich Drepper  <drepper@redhat.com>
72697         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72698         re-relocationg ld.so.
72699         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72700         _dl_init_paths call.
72701         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72702         here anymore.
72704 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72706         * resolv/res_init.c (__res_vinit): Count the default server we added.
72708 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72709             Ulrich Drepper  <drepper@redhat.com>
72711         [BZ #11968]
72712         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72713         (____longjmp_chk): Use %ebx for saving value across system call.
72714         Add unwind info.
72716 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72718         * manual/Makefile: Don't mix pattern rules with normal rules.
72720 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72722         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72723         operation.
72724         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72725         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72726         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72727         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72729         Likewise.
72731 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72733         [BZ #11979]
72734         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72735         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72737 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72739         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72740         * sysdeps/x86_64/addmul_1.S: Likewise.
72741         * sysdeps/x86_64/lshift.S: Likewise.
72742         * sysdeps/x86_64/mul_1.S: Likewise.
72743         * sysdeps/x86_64/rshift.S: Likewise.
72744         * sysdeps/x86_64/sub_n.S: Likewise.
72745         * sysdeps/x86_64/submul_1.S: Likewise.
72747 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72749         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72750         Define __sched_param instead of SCHED_* and sched_param when
72751         <bits/sched.h> is included with __need_schedparam defined.
72752         * bits/sched.h [__need_schedparam]
72753         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72754         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72755         (__defined_schedparam): Define to 1.
72756         (__sched_param): New structure, identical to sched_param.
72757         (__need_schedparam): Undefine.
72759 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72761         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72762         (epoll_create1): Declare.
72764         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72766 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72768         [BZ #7066]
72769         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72770         shifting retval into place.
72772 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72774         * nis/rpcsvc/nis.h: Update copyright notice.
72775         * nis/rpcsvc/nis.x: Likewise.
72776         * nis/rpcsvc/nis_callback.h: Likewise.
72777         * nis/rpcsvc/nis_callback.x: Likewise.
72778         * nis/rpcsvc/nis_object.x: Likewise.
72779         * nis/rpcsvc/nis_tags.h: Likewise.
72780         * nis/rpcsvc/yp.h: Likewise.
72781         * nis/rpcsvc/yp.x: Likewise.
72782         * nis/rpcsvc/ypupd.h: Likewise.
72783         * nis/yp_xdr.c: Likewise.
72784         * nis/ypupdate_xdr.c: Likewise.
72786         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72787         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72788         (pmap_getport): Use __libc_rpc_getport.
72789         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72790         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72791         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72793 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72796         fanotify_mark.
72798 2010-08-27  Roland McGrath  <roland@redhat.com>
72800         * sysdeps/i386/i686/multiarch/Makefile
72801         (CFLAGS-varshift.c): New variable.
72803 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72805         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72806         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72808         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72810         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72812 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72814         * sysdeps/x86_64/strlen.S: Unroll the loop.
72815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72816         strlen-sse2 strlen-sse2-bsf.
72817         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72818         __strlen_no_bsf if bit_Slow_BSF is set.
72819         (__strlen_sse42): Removed.
72820         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72821         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72823 2010-08-25  Roland McGrath  <roland@redhat.com>
72825         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72826         * sysdeps/x86_64/multiarch/varshift.c: New file.
72827         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72828         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72829         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72830         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72832 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72834         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72835         strlen-sse2 strlen-sse2-bsf.
72836         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72837         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72838         (__strlen_sse2): Removed.
72839         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72840         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72842         bit_Slow_BSF for Atom.
72843         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72844         (index_Slow_BSF): Define.
72845         (HAS_SLOW_BSF): Define.
72847 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72849         [BZ #10851]
72850         * resolv/res_init.c (__res_vinit): When no server address at all
72851         is given default to loopback.
72853 2010-08-24  Roland McGrath  <roland@redhat.com>
72855         * configure.in: Remove config-name.h generation.
72856         * configure: Regenerated.
72857         * config-name.in: File removed.
72858         * scripts/config-uname.sh: New file.
72859         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72860         ($(objdir)config-name.h): New target.
72862         * sunrpc/rpc_parse.h: Avoid nested comment.
72864 2010-08-24  Richard Henderson  <rth@redhat.com>
72865             Ulrich Drepper  <drepper@redhat.com>
72866             H.J. Lu  <hongjiu.lu@intel.com>
72868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72870         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72871         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72872         _mm_alignr_epi8 with _mm_loadu_si128.
72873         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72874         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72875         (__m128i_shift_right): Removed.
72876         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72877         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72878         * sysdeps/x86_64/multiarch/varshift.h: New file.
72879         * sysdeps/x86_64/multiarch/varshift.S: New file.
72881 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72883         * configure.in: Move assembler checks to before sysdep dir checking.
72885 2010-08-20  Petr Baudis  <pasky@suse.cz>
72887         * LICENSES: Sync the sunrpc license.
72889 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72891         * sunrpc/auth_des.c: Update copyright notice once again.
72892         * sunrpc/auth_none.c: Likewise.
72893         * sunrpc/auth_unix.c: Likewise.
72894         * sunrpc/authdes_prot.c: Likewise.
72895         * sunrpc/authuxprot.c: Likewise.
72896         * sunrpc/bindrsvprt.c: Likewise.
72897         * sunrpc/clnt_gen.c: Likewise.
72898         * sunrpc/clnt_perr.c: Likewise.
72899         * sunrpc/clnt_raw.c: Likewise.
72900         * sunrpc/clnt_simp.c: Likewise.
72901         * sunrpc/clnt_tcp.c: Likewise.
72902         * sunrpc/clnt_udp.c: Likewise.
72903         * sunrpc/clnt_unix.c: Likewise.
72904         * sunrpc/des_crypt.c: Likewise.
72905         * sunrpc/des_soft.c: Likewise.
72906         * sunrpc/get_myaddr.c: Likewise.
72907         * sunrpc/getrpcport.c: Likewise.
72908         * sunrpc/key_call.c: Likewise.
72909         * sunrpc/key_prot.c: Likewise.
72910         * sunrpc/openchild.c: Likewise.
72911         * sunrpc/pm_getmaps.c: Likewise.
72912         * sunrpc/pm_getport.c: Likewise.
72913         * sunrpc/pmap_clnt.c: Likewise.
72914         * sunrpc/pmap_prot.c: Likewise.
72915         * sunrpc/pmap_prot2.c: Likewise.
72916         * sunrpc/pmap_rmt.c: Likewise.
72917         * sunrpc/rpc/auth.h: Likewise.
72918         * sunrpc/rpc/auth_unix.h: Likewise.
72919         * sunrpc/rpc/clnt.h: Likewise.
72920         * sunrpc/rpc/des_crypt.h: Likewise.
72921         * sunrpc/rpc/key_prot.h: Likewise.
72922         * sunrpc/rpc/netdb.h: Likewise.
72923         * sunrpc/rpc/pmap_clnt.h: Likewise.
72924         * sunrpc/rpc/pmap_prot.h: Likewise.
72925         * sunrpc/rpc/pmap_rmt.h: Likewise.
72926         * sunrpc/rpc/rpc.h: Likewise.
72927         * sunrpc/rpc/rpc_des.h: Likewise.
72928         * sunrpc/rpc/rpc_msg.h: Likewise.
72929         * sunrpc/rpc/svc.h: Likewise.
72930         * sunrpc/rpc/svc_auth.h: Likewise.
72931         * sunrpc/rpc/types.h: Likewise.
72932         * sunrpc/rpc/xdr.h: Likewise.
72933         * sunrpc/rpc_clntout.c: Likewise.
72934         * sunrpc/rpc_cmsg.c: Likewise.
72935         * sunrpc/rpc_common.c: Likewise.
72936         * sunrpc/rpc_cout.c: Likewise.
72937         * sunrpc/rpc_dtable.c: Likewise.
72938         * sunrpc/rpc_hout.c: Likewise.
72939         * sunrpc/rpc_main.c: Likewise.
72940         * sunrpc/rpc_parse.c: Likewise.
72941         * sunrpc/rpc_parse.h: Likewise.
72942         * sunrpc/rpc_prot.c: Likewise.
72943         * sunrpc/rpc_sample.c: Likewise.
72944         * sunrpc/rpc_scan.c: Likewise.
72945         * sunrpc/rpc_scan.h: Likewise.
72946         * sunrpc/rpc_svcout.c: Likewise.
72947         * sunrpc/rpc_tblout.c: Likewise.
72948         * sunrpc/rpc_util.c: Likewise.
72949         * sunrpc/rpc_util.h: Likewise.
72950         * sunrpc/rpcinfo.c: Likewise.
72951         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72952         * sunrpc/rpcsvc/key_prot.x: Likewise.
72953         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72954         * sunrpc/rpcsvc/mount.x: Likewise.
72955         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72956         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72957         * sunrpc/rpcsvc/rex.x: Likewise.
72958         * sunrpc/rpcsvc/rstat.x: Likewise.
72959         * sunrpc/rpcsvc/rusers.x: Likewise.
72960         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72961         * sunrpc/rpcsvc/spray.x: Likewise.
72962         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72963         * sunrpc/rtime.c: Likewise.
72964         * sunrpc/svc.c: Likewise.
72965         * sunrpc/svc_auth.c: Likewise.
72966         * sunrpc/svc_authux.c: Likewise.
72967         * sunrpc/svc_raw.c: Likewise.
72968         * sunrpc/svc_run.c: Likewise.
72969         * sunrpc/svc_simple.c: Likewise.
72970         * sunrpc/svc_tcp.c: Likewise.
72971         * sunrpc/svc_udp.c: Likewise.
72972         * sunrpc/svc_unix.c: Likewise.
72973         * sunrpc/svcauth_des.c: Likewise.
72974         * sunrpc/xcrypt.c: Likewise.
72975         * sunrpc/xdr.c: Likewise.
72976         * sunrpc/xdr_array.c: Likewise.
72977         * sunrpc/xdr_float.c: Likewise.
72978         * sunrpc/xdr_mem.c: Likewise.
72979         * sunrpc/xdr_rec.c: Likewise.
72980         * sunrpc/xdr_ref.c: Likewise.
72981         * sunrpc/xdr_sizeof.c: Likewise.
72982         * sunrpc/xdr_stdio.c: Likewise.
72984         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72985         handling.
72987 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72989         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72991 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72993         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72994         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72995         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72996         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72997         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72998         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72999         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73000         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73002         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73003         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73004         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73005         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73006         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73008 2010-07-26  Anton Blanchard  <anton@samba.org>
73010         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73011         * malloc/arena.c (heap_trim): Likewise.
73013 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73015         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73016         here.  Not...
73017         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73018         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73020 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73022         * sysdeps/i386/elf/Makefile: New file.
73024 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73026         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73027         from fanotify_init.
73028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73031 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73033         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73034         of strncasecmp_l.
73035         * sysdeps/multiarch/strcmp.S: Likewise.
73037 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73039         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73040         strncase_l-nonascii.
73041         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73042         Add strncase_l-ssse3.
73043         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73044         * sysdeps/x86_64/strcmp.S: Likewise.
73045         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73046         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73047         * sysdeps/x86_64/strncase.S: New file.
73048         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73049         * sysdeps/x86_64/strncase_l.S: New file.
73050         * string/Makefile (strop-tests): Add strncasecmp.
73051         * string/test-strncasecmp.c: New file.
73053         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73054         warning.
73056         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73057         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73059 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73061         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73063 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73065         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73066         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73067         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73069 2010-05-01  Alan Modra  <amodra@gmail.com>
73071         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73072         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73073         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73074         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73075         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73076         tidying.  Don't tail-call __sigjmp_save for static lib.
73077         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73078         save location.
73079         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73080         (CALL_MCOUNT): Add eh info, and nop after bl.
73081         (TAIL_CALL_SYSCALL_ERROR): New macro.
73082         (PSEUDO_RET): Use it.
73083         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73084         Correct save location of integer regs and cr.
73085         (_dl_profile_resolve): Correct cr save location.  Delete nops
73086         after bl when SHARED.  Reduce cfi size a little by better
73087         placement of cfi directives.
73088         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73089         make a stack frame.  Instead use parm save area as a temp.
73090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73091         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73093         Don't make a stack frame for parent, use parm save area.
73094         Increase child stack frame to 112 bytes.  Don't save unused reg,
73095         and adjust reg usage.  Set up cfi on error recovery and
73096         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73098         (__makecontext): Add dummy nop after jump to exit.
73099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73100         Use correct parm save area and cr save, reduce stack frame.
73101         Correct cfi for possible PSEUDO_RET frame setup.
73102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73103         Branch to local label emitted by PSEUDO_RET rather than
73104         __syscall_error.
73106 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73108         [BZ #11904]
73109         * locale/programs/locale.c (print_assignment): New function.
73110         (show_locale_vars): Use it.
73112 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73114         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73115         field.
73116         (struct statfs64): Likewise.
73117         (_STATFS_F_FLAGS): Define.
73118         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73120         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73121         (ST_VALID): Define locally.
73122         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73123         __statvfs_getflags, use the provided value.
73124         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73125         __ASSUME_STATFS_F_FLAGS.
73127         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73129         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73130         Add sys/fanotify.h.
73131         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73132         fanotify_mask for GLIBC_2.13.
73133         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73134         fanotify_init and fanotify_mark.
73135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73136         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73138         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73139         Add prlimit.
73140         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73141         prlimit64 for GLIBC_2.13.
73142         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73143         prlimit64.
73144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73145         syscall.
73146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73147         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73148         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73149         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73150         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73151         add prlimit alias.
73152         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73154         [BZ #11903]
73155         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73156         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73158         * nss/Makefile: Add rules to build and run tst-nss-test1.
73159         * shlib-versions: Add entry for libnss_test1.
73160         * nss/nss_test1.c: New file.
73161         * nss/tst-nss-test1.c: New file.
73163         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73164         (__nss_configure_lookup): Set appropriate entry in
73165         __nss_configure_lookup to true.
73166         * nss/nsswitch.h: Define enum with indeces of databases in
73167         databases and __nss_database_custom arrays.  Declare
73168         __nss_database_custom.
73169         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73170         to avoid using nscd when custom rules are installed.
73171         * nss/getXXbyYY_r.c: Likewise.
73172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73174         * nss/nss_files/files-parse.c: Whitespace fixes.
73176 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73178         [BZ #11883]
73179         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73180         * posix/fnmatch_loop.c: Likewise.
73182 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73184         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73185         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73186         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73187         * Versions.def [GLIBC_2.13]: Add.
73189 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73191         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73192         Also fail if tpwd after pwuid call is NULL.
73194 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73196         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73197         when converting to ms.
73199 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73201         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73202         EOPNOTSUPP errors with ENOTTY.
73203         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73204         EOPNOTSUPP errors with ENOTTY.
73206 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73208         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73209         Add strcasecmp_l-ssse3.
73210         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73211         strcasecmp.
73212         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73213         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73214         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73216 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73218         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73220         * string/Makefile (strop-tests): Add strcasecmp.
73221         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73222         strcasecmp_l-nonascii.
73223         (gen-as-const-headers): Add locale-defines.sym.
73224         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73225         * sysdeps/x86_64/strcasecmp.S: New file.
73226         * sysdeps/x86_64/strcasecmp_l.S: New file.
73227         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73228         * sysdeps/x86_64/locale-defines.sym: New file.
73229         * string/test-strcasecmp.c: New file.
73231         * string/test-strcasestr.c: Test both ends of the range of characters.
73232         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73234 2010-07-29  Roland McGrath  <roland@redhat.com>
73236         [BZ #11856]
73237         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73239 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73241         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73242         for ld.so.
73244 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73246         * manual/memory.texi (Malloc Tunable Parameters): Document
73247         M_PERTURB.
73249 2010-07-26  Roland McGrath  <roland@redhat.com>
73251         [BZ #11840]
73252         * configure.in (-fgnu89-inline check): Set and substitute
73253         gnu89_inline, not libc_cv_gnu89_inline.
73254         * configure: Regenerated.
73255         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73257 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73259         * string/test-strnlen.c: New file.
73260         * string/Makefile (strop-tests): Add strnlen.
73261         * string/tester.c (test_strnlen): Add a few more test cases.
73262         * string/tst-strlen.c: Better error reporting.
73264         * sysdeps/x86_64/strnlen.S: New file.
73266 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73268         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73269         lower-latency instructions.
73271 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73273         * string/test-strcasestr.c: New file.
73274         * string/test-strstr.c: New file.
73275         * string/Makefile (strop-tests): Add strstr and strcasestr.
73276         * string/str-two-way.h: Don't undefine MAX.
73277         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73279 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73282         strcasestr-nonascii.
73283         (CFLAGS-strcasestr-nonascii.c): Define.
73284         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73286         Remove unused attribute.
73288 2010-07-20  Roland McGrath  <roland@redhat.com>
73290         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73291         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73292         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73293         like LD_HWCAP_MASK can disable hwcaps.
73295 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73297         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73299 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73301         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73302         call in strcasestr.
73303         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73304         __strcasestr_sse42_nonascii.
73305         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73306         strcasestr-nonascii.c.
73307         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73309 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73311         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73312         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73313         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73314         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73316 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73318         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73319         fcntl.
73321 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73323         [BZ #11577]
73324         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73325         dl_signal_cerror.
73327 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73329         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73330         _PC_PIPE_BUF using F_GETPIPE_SZ.
73332 2010-07-05  Roland McGrath  <roland@redhat.com>
73334         * manual/arith.texi (Rounding Functions): Fix rint description
73335         implicit in round description.
73337 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73339         * elf/Makefile: Fix linking for a few tests to make recent linker
73340         happy.
73342 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73344         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73345         $(common-objpfx)libc_nonshared.a.
73347 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73349         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73350         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73351         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73352         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73353         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73354         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73355         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73356         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73371         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73372         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73373         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73374         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73375         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73376         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73377         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73378         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73379         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73380         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73381         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73382         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73398 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73400         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73401         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73402         * string/memmove.c (memmove): Renamed to ...
73403         (MEMMOVE): ...this.  Default to memmove.
73404         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73405         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73406         (END_CHK): Define.
73407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73408         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73409         mempcpy-ssse3-back memmove-ssse3-back.
73410         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73413         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73414         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73415         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73416         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73417         * sysdeps/x86_64/multiarch/memmove.c: New file.
73418         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73419         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73420         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73421         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73422         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73423         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73424         Define.
73425         (index_Fast_Copy_Backward): Define.
73426         (HAS_ARCH_FEATURE): Define.
73427         (HAS_FAST_REP_STRING): Define.
73428         (HAS_FAST_COPY_BACKWARD): Define.
73430 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73432         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73433         Restore proper fallback handling.
73435 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73437         [BZ #11701]
73438         * posix/group_member.c (__group_member): Correct checking loop.
73440         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73441         OOM in getpwuid_r correctly.  Return error number when the caller
73442         should return, otherwise -1.
73443         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73444         call returning > 0 value.
73445         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73447 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73449         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73450         libc_nonshared.a from targets in modules-names.
73452 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73454         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73455         requires it.
73457 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73459         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73460         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73461         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73464 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73466         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73468 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73470         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73471         and F_GETPIPE_SZ.
73472         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73473         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73475         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73477         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73479 2010-06-14  Roland McGrath  <roland@redhat.com>
73481         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73483 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73485         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73486         __REDIRECT followed by __THROW.
73487         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73488         * posix/getopt.h (getopt): Likewise.
73490 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73492         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73493         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73494         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73495         in AT_FLAGS.
73496         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73497         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73499 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73501         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73503 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73505         [BZ #11640]
73506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73507         Properly check family and model.
73509 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73511         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73513 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73515         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73517 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73519         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73520         symbol reference.
73522 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73524         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73525         symbol reference.
73527 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73529         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73530         and internal_recvmmsg.
73531         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73532         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73533         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73534         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73536         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73537         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73538         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73540 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73542         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73544 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73546         POWER7 optimizations.
73547         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73548         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73550 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73552         * version.h: Update for 2.13 development version.
73554 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73556         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73557         exceptions.  Return 0.
73559 2010-05-07  Roland McGrath  <roland@redhat.com>
73561         * elf/ldconfig.c (main): Add a const.
73563 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73565         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73566         (args_options): Add no-idn option.
73567         (ahosts_keys_int): Add idn_flags to ai_flags.
73568         (parse_option): Handle 'i' option to clear idn_flags.
73570         * malloc/malloc.c (_int_free): Possible race in the most recently
73571         added check.  Only act on the data if no current modification
73572         happened.
73574 See ChangeLog.17 for earlier changes.